CommonPrescription
type: StructureDefinition
node role: treeRoot
id:
  v: CommonPrescription
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> CommonPrescription 0..* Base ePrescription This logical model cannot be the target of a reference patient 0..1 Class identifier 1..* II Regional/National Health Identifier personalInformation 0..1 Class fullName 1..* EN The subject's identifying name(s) within the family group or by which the subject is uniquely socially identified [ISO TS 22220]. givenName 1..* ST Given Name familyName 1..* ST Family Name fullTextName 1..* ST Family Name gender 1..1 CD Gender dateOfBirth 1..1 DT Date of Birth insurance 0..1 Class <a href="StructureDefinition-CommonPrescription-definitions.html#CommonPrescription.patient.insurance.socialorInsuranceNumber" title="If a patient has both Regional /National Health ID and Social /Insurance Number, only the Regional/National Health ID is required by law. If the only identification the patient has is the Social /Insurance Number, then this one is considered as the Regional/National Health ID. This field is required by some national laws">socialorInsuranceNumber 0..1 Untyped Social/Insurance Number prescriber 0..1 Class hpIdentification 0..1 Class identifier 0..1 Untyped personalInformation 0..1 Class fullName 0..1 Untyped profession 0..1 Untyped medicalSpecialty 0..1 Untyped practice 0..1 Class hpFacility 0..1 Class address 0..1 AD street 0..1 Untyped city 0..1 Untyped zip 0..1 Untyped stateProvince 0..1 Untyped country 0..1 Untyped telephone 0..1 Untyped email 0..1 Untyped organization 0..1 Class name 0..1 Untyped identifier 0..1 Untyped prescription 0..1 Class prescriptionIdentifier 0..1 Untyped medicinalProduct 0..1 Class PrescribedProductModel as a separate model posology 0..1 Class posologyInstructions 0..1 Untyped unitsPerIntake 0..1 Untyped frequencyOfIntakes 0..1 Untyped timingOfIntakes 0..1 Untyped durationOfTreatment 0..1 Untyped routeOfAdministration 0..1 Untyped substitution 0..1 Untyped Allowed, not allowed prescrip…
url:
  v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/CommonPrescription
version:
  v: 0.1.0
name:
  v: CommonPrescription
title:
  v: ePrescription
status:
  v: active
date:
  v: 2023-08-03T13:33:51+00:00
publisher:
  v: Integrating the Healthcare Enterprise (IHE)
contact:
  name:
    v: Integrating the Healthcare Enterprise (IHE)
  telecom:
    system:
      v: url
    value:
      v: http://ihe.net
  telecom:
    system:
      v: email
contact:
  name:
    v: Jose Costa Teixeira
  telecom:
    system:
      v: email
    use:
      v: work
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
copyright:
  v: IHE http://www.ihe.net/Governance/#Intellectual_Property
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/CommonPrescription
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  element:
    id:
      v: CommonPrescription
    path:
      v: CommonPrescription
    short:
      v: ePrescription
    definition:
      v: Base definition for all types defined in FHIR type system.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: CommonPrescription.patient
    path:
      v: CommonPrescription.patient
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: CommonPrescription.patient
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: BackboneElement
      profile:
        v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
        link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
  element:
    id:
      v: CommonPrescription.patient.id
    path:
      v: CommonPrescription.patient.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/fhirpath/System.String
    condition:
      v: ele-1
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: CommonPrescription.patient.extension
    path:
      v: CommonPrescription.patient.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Additional content defined by implementations
    definition:
      v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    comment:
      v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    alias:
      v: extensions
    alias:
      v: user content
    min:
      v: 0
    max:
      v: *

v: id

v: value

v: url

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: CommonPrescription.patient.modifierExtension
path:
  v: CommonPrescription.patient.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.identifier
path:
  v: CommonPrescription.patient.identifier
short:
  v: Regional/National Health Identifier
definition:
  v: If the patient has a regional or national Health Identification. This field is required by some national laws
min:
  v: 1
max:
  v: *
base:
  path:
    v: CommonPrescription.patient.identifier
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/II
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/II

id:
  v: CommonPrescription.patient.personalInformation
path:
  v: CommonPrescription.patient.personalInformation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.personalInformation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.personalInformation.id
path:
  v: CommonPrescription.patient.personalInformation.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.personalInformation.extension
path:
  v: CommonPrescription.patient.personalInformation.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.personalInformation.modifierExtension
path:
  v: CommonPrescription.patient.personalInformation.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.personalInformation.fullName
path:
  v: CommonPrescription.patient.personalInformation.fullName
short:
  v: The subject's identifying name(s) within the family group or by which the subject is uniquely socially identified [ISO TS 22220].
definition:
  v: The subject's identifying name(s) within the family group or by which the subject is uniquely socially identified [ISO TS 22220].
min:
  v: 1
max:
  v: *
base:
  path:
    v: CommonPrescription.patient.personalInformation.fullName
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/EN
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/EN
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.personalInformation.fullName.id
path:
  v: CommonPrescription.patient.personalInformation.fullName.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.personalInformation.fullName.extension
path:
  v: CommonPrescription.patient.personalInformation.fullName.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.personalInformation.fullName.givenName
path:
  v: CommonPrescription.patient.personalInformation.fullName.givenName
short:
  v: Given Name
definition:
  v: The first name of the patient. This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: CommonPrescription.patient.personalInformation.fullName.givenName
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST

id:
  v: CommonPrescription.patient.personalInformation.fullName.familyName
path:
  v: CommonPrescription.patient.personalInformation.fullName.familyName
short:
  v: Family Name
definition:
  v: The surname/s of the patient. This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: CommonPrescription.patient.personalInformation.fullName.familyName
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST

id:
  v: CommonPrescription.patient.personalInformation.fullName.fullTextName
path:
  v: CommonPrescription.patient.personalInformation.fullName.fullTextName
short:
  v: Family Name
definition:
  v: The surname/s of the patient. This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: CommonPrescription.patient.personalInformation.fullName.fullTextName
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST

id:
  v: CommonPrescription.patient.personalInformation.gender
path:
  v: CommonPrescription.patient.personalInformation.gender
short:
  v: Gender
definition:
  v: The gender of the patient. Gender is the biological distinction between male and female [ISO TS 22220]. The gender of the patient may be noted on the prescription since this can be important for gender specific effects of drugs, contra-indications etc.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.personalInformation.gender
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/CD
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/CD

id:
  v: CommonPrescription.patient.personalInformation.dateOfBirth
path:
  v: CommonPrescription.patient.personalInformation.dateOfBirth
short:
  v: Date of Birth
definition:
  v: The date of birth of the patient. Since age affects drug ADMET (absorption, distribution, metabolism, excretion and toxicity) parameters, this is important for the choice of drug and drug dosage. This field may contain only the year, if day and month are not available.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.personalInformation.dateOfBirth
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DT
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DT

id:
  v: CommonPrescription.patient.insurance
path:
  v: CommonPrescription.patient.insurance
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.insurance
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.insurance.id
path:
  v: CommonPrescription.patient.insurance.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.insurance.extension
path:
  v: CommonPrescription.patient.insurance.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.insurance.modifierExtension
path:
  v: CommonPrescription.patient.insurance.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.insurance.socialorInsuranceNumber
path:
  v: CommonPrescription.patient.insurance.socialorInsuranceNumber
short:
  v: Social/Insurance Number
definition:
  v: If a patient has both Regional /National Health ID and Social /Insurance Number, only the Regional/National Health ID is required by law. If the only identification the patient has is the Social /Insurance Number, then this one is considered as the Regional/National Health ID. This field is required by some national laws
comment:
  v: Maps to CDA as identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.insurance.socialorInsuranceNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber
path:
  v: CommonPrescription.patient.prescriber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.id
path:
  v: CommonPrescription.patient.prescriber.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.extension
path:
  v: CommonPrescription.patient.prescriber.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.modifierExtension
path:
  v: CommonPrescription.patient.prescriber.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.prescriber.hpIdentification
path:
  v: CommonPrescription.patient.prescriber.hpIdentification
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.hpIdentification
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.hpIdentification.id
path:
  v: CommonPrescription.patient.prescriber.hpIdentification.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.hpIdentification.extension
path:
  v: CommonPrescription.patient.prescriber.hpIdentification.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.hpIdentification.modifierExtension
path:
  v: CommonPrescription.patient.prescriber.hpIdentification.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.prescriber.hpIdentification.identifier
path:
  v: CommonPrescription.patient.prescriber.hpIdentification.identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.hpIdentification.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.personalInformation
path:
  v: CommonPrescription.patient.prescriber.personalInformation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.personalInformation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.personalInformation.id
path:
  v: CommonPrescription.patient.prescriber.personalInformation.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.personalInformation.extension
path:
  v: CommonPrescription.patient.prescriber.personalInformation.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.personalInformation.modifierExtension
path:
  v: CommonPrescription.patient.prescriber.personalInformation.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.prescriber.personalInformation.fullName
path:
  v: CommonPrescription.patient.prescriber.personalInformation.fullName
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.personalInformation.fullName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.personalInformation.profession
path:
  v: CommonPrescription.patient.prescriber.personalInformation.profession
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.personalInformation.profession
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.personalInformation.medicalSpecialty
path:
  v: CommonPrescription.patient.prescriber.personalInformation.medicalSpecialty
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.personalInformation.medicalSpecialty
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice
path:
  v: CommonPrescription.patient.prescriber.practice
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.practice.id
path:
  v: CommonPrescription.patient.prescriber.practice.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.practice.extension
path:
  v: CommonPrescription.patient.prescriber.practice.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.practice.modifierExtension
path:
  v: CommonPrescription.patient.prescriber.practice.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.id
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.extension
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.modifierExtension
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/AD
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/AD
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.id
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.extension
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.street
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.street
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.street
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.city
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.city
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.city
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.zip
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.zip
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.zip
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.stateProvince
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.stateProvince
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.stateProvince
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.country
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.country
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.country
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.telephone
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.telephone
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.telephone
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.email
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.email
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.practice.hpFacility.address.email
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.organization
path:
  v: CommonPrescription.patient.prescriber.organization
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.organization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.patient.prescriber.organization.id
path:
  v: CommonPrescription.patient.prescriber.organization.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.organization.extension
path:
  v: CommonPrescription.patient.prescriber.organization.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.patient.prescriber.organization.modifierExtension
path:
  v: CommonPrescription.patient.prescriber.organization.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.patient.prescriber.organization.name
path:
  v: CommonPrescription.patient.prescriber.organization.name
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.organization.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.organization.identifier
path:
  v: CommonPrescription.patient.prescriber.organization.identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.patient.prescriber.organization.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription
path:
  v: CommonPrescription.prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.prescription.id
path:
  v: CommonPrescription.prescription.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescription.extension
path:
  v: CommonPrescription.prescription.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescription.modifierExtension
path:
  v: CommonPrescription.prescription.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.prescription.prescriptionIdentifier
path:
  v: CommonPrescription.prescription.prescriptionIdentifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.prescriptionIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.medicinalProduct
path:
  v: CommonPrescription.prescription.medicinalProduct
short:
  v: PrescribedProductModel as a separate model
definition:
  v: PrescribedProductModel as a separate model
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.medicinalProduct
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.prescription.posology
path:
  v: CommonPrescription.prescription.posology
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.prescription.posology.id
path:
  v: CommonPrescription.prescription.posology.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescription.posology.extension
path:
  v: CommonPrescription.prescription.posology.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescription.posology.modifierExtension
path:
  v: CommonPrescription.prescription.posology.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.prescription.posology.posologyInstructions
path:
  v: CommonPrescription.prescription.posology.posologyInstructions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology.posologyInstructions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.unitsPerIntake
path:
  v: CommonPrescription.prescription.posology.unitsPerIntake
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology.unitsPerIntake
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.frequencyOfIntakes
path:
  v: CommonPrescription.prescription.posology.frequencyOfIntakes
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology.frequencyOfIntakes
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.timingOfIntakes
path:
  v: CommonPrescription.prescription.posology.timingOfIntakes
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology.timingOfIntakes
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.durationOfTreatment
path:
  v: CommonPrescription.prescription.posology.durationOfTreatment
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology.durationOfTreatment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.routeOfAdministration
path:
  v: CommonPrescription.prescription.posology.routeOfAdministration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.posology.routeOfAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.substitution
path:
  v: CommonPrescription.prescription.substitution
short:
  v: Allowed, not allowed
definition:
  v: Allowed, not allowed
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescription.substitution
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData
path:
  v: CommonPrescription.prescriptionData
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.prescriptionData.id
path:
  v: CommonPrescription.prescriptionData.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescriptionData.extension
path:
  v: CommonPrescription.prescriptionData.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescriptionData.modifierExtension
path:
  v: CommonPrescription.prescriptionData.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.prescriptionData.prescription
path:
  v: CommonPrescription.prescriptionData.prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.prescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: CommonPrescription.prescriptionData.prescription.id
path:
  v: CommonPrescription.prescriptionData.prescription.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescriptionData.prescription.extension
path:
  v: CommonPrescription.prescriptionData.prescription.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CommonPrescription.prescriptionData.prescription.modifierExtension
path:
  v: CommonPrescription.prescriptionData.prescription.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CommonPrescription.prescriptionData.prescription.issueDate
path:
  v: CommonPrescription.prescriptionData.prescription.issueDate
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.prescription.issueDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.treatmentStart
path:
  v: CommonPrescription.prescriptionData.prescription.treatmentStart
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.prescription.treatmentStart
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.treatmentEnd
path:
  v: CommonPrescription.prescriptionData.prescription.treatmentEnd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.prescription.treatmentEnd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.patientInstructions
path:
  v: CommonPrescription.prescriptionData.prescription.patientInstructions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.prescription.patientInstructions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.advicetoDispenser
path:
  v: CommonPrescription.prescriptionData.prescription.advicetoDispenser
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.prescription.advicetoDispenser
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.legalEntity
path:
  v: CommonPrescription.prescriptionData.legalEntity
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.legalEntity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.relatedDocument
path:
  v: CommonPrescription.prescriptionData.relatedDocument
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CommonPrescription.prescriptionData.relatedDocument
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

element:
  id:
    v: CommonPrescription
  path:
    v: CommonPrescription
  short:
    v: ePrescription
element:
  id:
    v: CommonPrescription.patient
  path:
    v: CommonPrescription.patient
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
element:
  id:
    v: CommonPrescription.patient.identifier
  path:
    v: CommonPrescription.patient.identifier
  short:
    v: Regional/National Health Identifier
  definition:
    v: If the patient has a regional or national Health Identification. This field is required by some national laws
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/II
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/II
element:
  id:
    v: CommonPrescription.patient.personalInformation
  path:
    v: CommonPrescription.patient.personalInformation
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
element:
  id:
    v: CommonPrescription.patient.personalInformation.fullName
  path:
    v: CommonPrescription.patient.personalInformation.fullName
  short:
    v: The subject's identifying name(s) within the family group or by which the subject is uniquely socially identified [ISO TS 22220].
  definition:
    v: The subject's identifying name(s) within the family group or by which the subject is uniquely socially identified [ISO TS 22220].
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/EN
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/EN
element:
  id:
    v: CommonPrescription.patient.personalInformation.fullName.givenName
  path:
    v: CommonPrescription.patient.personalInformation.fullName.givenName
  short:
    v: Given Name
  definition:
    v: The first name of the patient. This field can contain more than one element.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
element:
  id:
    v: CommonPrescription.patient.personalInformation.fullName.familyName
  path:
    v: CommonPrescription.patient.personalInformation.fullName.familyName
  short:
    v: Family Name
  definition:
    v: The surname/s of the patient. This field can contain more than one element.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
element:
  id:
    v: CommonPrescription.patient.personalInformation.fullName.fullTextName
  path:
    v: CommonPrescription.patient.personalInformation.fullName.fullTextName
  short:
    v: Family Name
  definition:
    v: The surname/s of the patient. This field can contain more than one element.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/ST
element:
  id:
    v: CommonPrescription.patient.personalInformation.gender
  path:
    v: CommonPrescription.patient.personalInformation.gender
  short:
    v: Gender
  definition:
    v: The gender of the patient. Gender is the biological distinction between male and female [ISO TS 22220]. The gender of the patient may be noted on the prescription since this can be important for gender specific effects of drugs, contra-indications etc.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/CD
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/CD
element:
  id:
    v: CommonPrescription.patient.personalInformation.dateOfBirth
  path:
    v: CommonPrescription.patient.personalInformation.dateOfBirth
  short:
    v: Date of Birth
  definition:
    v: The date of birth of the patient. Since age affects drug ADMET (absorption, distribution, metabolism, excretion and toxicity) parameters, this is important for the choice of drug and drug dosage. This field may contain only the year, if day and month are not available.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Element
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DT
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/DT
element:
  id:
    v: CommonPrescription.patient.insurance
  path:
    v: CommonPrescription.patient.insurance
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
    profile:
      v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
      link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
element:
  id:
    v: CommonPrescription.patient.insurance.socialorInsuranceNumber
  path:
    v: CommonPrescription.patient.insurance.socialorInsuranceNumber
  short:
    v: Social/Insurance Number
  definition:
    v: If a patient has both Regional /National Health ID and Social /Insurance Number, only the Regional/National Health ID is required by law. If the only identification the patient has is the Social /Insurance Number, then this one is considered as the Regional/National Health ID. This field is required by some national laws
  comment:
    v: Maps to CDA as identifier
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Element

id:
  v: CommonPrescription.patient.prescriber
path:
  v: CommonPrescription.patient.prescriber
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.patient.prescriber.hpIdentification
path:
  v: CommonPrescription.patient.prescriber.hpIdentification
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.patient.prescriber.hpIdentification.identifier
path:
  v: CommonPrescription.patient.prescriber.hpIdentification.identifier
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.personalInformation
path:
  v: CommonPrescription.patient.prescriber.personalInformation
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.patient.prescriber.personalInformation.fullName
path:
  v: CommonPrescription.patient.prescriber.personalInformation.fullName
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.personalInformation.profession
path:
  v: CommonPrescription.patient.prescriber.personalInformation.profession
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.personalInformation.medicalSpecialty
path:
  v: CommonPrescription.patient.prescriber.personalInformation.medicalSpecialty
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice
path:
  v: CommonPrescription.patient.prescriber.practice
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/AD
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/AD

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.street
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.street
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.city
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.city
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.zip
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.zip
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.stateProvince
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.stateProvince
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.country
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.country
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.telephone
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.telephone
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.email
path:
  v: CommonPrescription.patient.prescriber.practice.hpFacility.address.email
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.organization
path:
  v: CommonPrescription.patient.prescriber.organization
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.patient.prescriber.organization.name
path:
  v: CommonPrescription.patient.prescriber.organization.name
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.patient.prescriber.organization.identifier
path:
  v: CommonPrescription.patient.prescriber.organization.identifier
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription
path:
  v: CommonPrescription.prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.prescription.prescriptionIdentifier
path:
  v: CommonPrescription.prescription.prescriptionIdentifier
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.medicinalProduct
path:
  v: CommonPrescription.prescription.medicinalProduct
short:
  v: PrescribedProductModel as a separate model
definition:
  v: PrescribedProductModel as a separate model
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.prescription.posology
path:
  v: CommonPrescription.prescription.posology
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.prescription.posology.posologyInstructions
path:
  v: CommonPrescription.prescription.posology.posologyInstructions
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.unitsPerIntake
path:
  v: CommonPrescription.prescription.posology.unitsPerIntake
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.frequencyOfIntakes
path:
  v: CommonPrescription.prescription.posology.frequencyOfIntakes
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.timingOfIntakes
path:
  v: CommonPrescription.prescription.posology.timingOfIntakes
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.durationOfTreatment
path:
  v: CommonPrescription.prescription.posology.durationOfTreatment
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.posology.routeOfAdministration
path:
  v: CommonPrescription.prescription.posology.routeOfAdministration
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescription.substitution
path:
  v: CommonPrescription.prescription.substitution
short:
  v: Allowed, not allowed
definition:
  v: Allowed, not allowed
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData
path:
  v: CommonPrescription.prescriptionData
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.prescriptionData.prescription
path:
  v: CommonPrescription.prescriptionData.prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Class

id:
  v: CommonPrescription.prescriptionData.prescription.issueDate
path:
  v: CommonPrescription.prescriptionData.prescription.issueDate
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.treatmentStart
path:
  v: CommonPrescription.prescriptionData.prescription.treatmentStart
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.treatmentEnd
path:
  v: CommonPrescription.prescriptionData.prescription.treatmentEnd
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.patientInstructions
path:
  v: CommonPrescription.prescriptionData.prescription.patientInstructions
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.prescription.advicetoDispenser
path:
  v: CommonPrescription.prescriptionData.prescription.advicetoDispenser
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.legalEntity
path:
  v: CommonPrescription.prescriptionData.legalEntity
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped

id:
  v: CommonPrescription.prescriptionData.relatedDocument
path:
  v: CommonPrescription.prescriptionData.relatedDocument
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Element
  profile:
    v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped
    link: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/Untyped