eHDSIePrescription
type: StructureDefinition
node role: treeRoot
id:
  v: eHDSIePrescription
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> eHDSIePrescription 0..* Base eHDSI 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 Example null: Manuel familyName 1..* ST Family Name gender 1..1 CD Gender dateOfBirth 1..1 DT Date of Birth insurance 0..1 Class <a href="StructureDefinition-eHDSIePrescription-definitions.html#eHDSIePrescription.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 prescribingHealthProfessional 1..* Class HP prescribing the medicine <a href="StructureDefinition-eHDSIePrescription-definitions.html#eHDSIePrescription.patient.prescribingHealthProfessional.identifier" title="The identification of the person as health professional (the HP prescribing the medicine to the patient). A unique number or code issued for the purpose of identifying a health care provider [ISO/TS 27527: 2010]; this may be a licence or registration number which can be used to trace the HP and to check whether a drug was prescribed by the right person according to the law.">identifier 1..* II HP Identifier personalInformation 0..1 Class fullName 1..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 Example null: Oscar famil…
url:
  v: http://profiles.ihe.net/PHARM/ihe.pharm.mpd/StructureDefinition/eHDSIePrescription
version:
  v: 0.1.0
name:
  v: eHDSIePrescription
title:
  v: eHDSI 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/eHDSIePrescription
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  element:
    id:
      v: eHDSIePrescription
    path:
      v: eHDSIePrescription
    short:
      v: eHDSI 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: eHDSIePrescription.patient
    path:
      v: eHDSIePrescription.patient
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: eHDSIePrescription.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: eHDSIePrescription.patient.id
    path:
      v: eHDSIePrescription.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: eHDSIePrescription.patient.extension
    path:
      v: eHDSIePrescription.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: eHDSIePrescription.patient.modifierExtension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.identifier
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation
path:
  v: eHDSIePrescription.patient.personalInformation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.id
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.extension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.modifierExtension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.fullName
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.fullName.id
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.fullName.extension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.fullName.givenName
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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
example:
  value:
    v: Manuel

id:
  v: eHDSIePrescription.patient.personalInformation.fullName.familyName
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.gender
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.dateOfBirth
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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: eHDSIePrescription.patient.insurance
path:
  v: eHDSIePrescription.patient.insurance
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.insurance.id
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.insurance.extension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.insurance.modifierExtension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.patient.insurance.socialorInsuranceNumber
path:
  v: eHDSIePrescription.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: eHDSIePrescription.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: eHDSIePrescription.patient.prescribingHealthProfessional
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional
short:
  v: HP prescribing the medicine
definition:
  v: HP prescribing the medicine
min:
  v: 1
max:
  v: *
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional
  min:
    v: 1
  max:
    v: *
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: eHDSIePrescription.patient.prescribingHealthProfessional.id
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.extension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.modifierExtension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.identifier
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.identifier
short:
  v: HP Identifier
definition:
  v: The identification of the person as health professional (the HP prescribing the medicine to the patient). A unique number or code issued for the purpose of identifying a health care provider [ISO/TS 27527: 2010]; this may be a licence or registration number which can be used to trace the HP and to check whether a drug was prescribed by the right person according to the law.
min:
  v: 1
max:
  v: *
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.id
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.extension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.modifierExtension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName
  min:
    v: 1
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.id
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.extension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.givenName
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.givenName
short:
  v: Given Name
definition:
  v: The first name of the HP prescribing the medicine to the patient. This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.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
example:
  value:
    v: Oscar

id:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.familyName
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.familyName
short:
  v: Family Name
definition:
  v: The surname/s of the HP prescribing the medicine to the patient. This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.professionOrSpecialty
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.professionOrSpecialty
short:
  v: Profession or Specialty
definition:
  v: The profession or field of practice of the HP prescribing the medicine.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.professionOrSpecialty
  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
example:
  value:
    v: Dentists

id:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress
short:
  v: HP Facility Address
definition:
  v: The place where the HP prescribing the medicine made the prescription
min:
  v: 1
max:
  v: *
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress
  min:
    v: 1
  max:
    v: *
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.id
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.extension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.streetAddress
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.streetAddress
short:
  v: Street Address
definition:
  v: The street of the place where the HP prescribing the medicine made the prescription.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.streetAddress
  min:
    v: 0
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.city
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.city
short:
  v: City
definition:
  v: The city of the place where the HP prescribing the medicine made the prescription.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.city
  min:
    v: 0
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.postalCode
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.postalCode
short:
  v: ZIP or Postal Code
definition:
  v: The postal code of the place where the HP prescribing the medicine made the prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.postalCode
  min:
    v: 0
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.stateProvince
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.stateProvince
short:
  v: State or Province
definition:
  v: The province of the place where the HP prescribing the medicine made the prescription.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.stateProvince
  min:
    v: 0
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.country
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.country
short:
  v: Country
definition:
  v: The country where the prescription was made.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.country
  min:
    v: 1
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.telephone
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.telephone
short:
  v: Telephone
definition:
  v: Telephone
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.telephone
  min:
    v: 0
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.email
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.email
short:
  v: E-mail
definition:
  v: The contact e-mail of the facility or of the HP prescribing the medicine.
min:
  v: 0
max:
  v: *
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.email
  min:
    v: 0
  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: eHDSIePrescription.patient.prescribingHealthProfessional.organization
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.organization
short:
  v: Healthcare provider organization (HCPO)
definition:
  v: The healthcare provider organization of the HP prescribing the medicine.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.organization
  min:
    v: 1
  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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.id
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.extension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.modifierExtension
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.name
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.organization.name
short:
  v: Organization Name
definition:
  v: The name of the healthcare provider organization of the HP prescribing the medicine.
comment:
  v: Note: This is not a field, but a block of information made up of the following fields. This might not be in the data set, but this information needs to be available for the process traceability.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.organization.name
  min:
    v: 1
  max:
    v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.identifier
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.organization.identifier
short:
  v: Organization Identifier
definition:
  v: The identification of the healthcare provider organization of the HP prescribing the medicine. This filed can be numbers and/or letters.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional.organization.identifier
  min:
    v: 1
  max:
    v: 1
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: eHDSIePrescription.prescriptionClinicalData
path:
  v: eHDSIePrescription.prescriptionClinicalData
short:
  v: Prescription
definition:
  v: PRESCRIPTION CLINICAL DATA
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData
  min:
    v: 1
  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: eHDSIePrescription.prescriptionClinicalData.id
path:
  v: eHDSIePrescription.prescriptionClinicalData.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: eHDSIePrescription.prescriptionClinicalData.extension
path:
  v: eHDSIePrescription.prescriptionClinicalData.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: eHDSIePrescription.prescriptionClinicalData.modifierExtension
path:
  v: eHDSIePrescription.prescriptionClinicalData.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: eHDSIePrescription.prescriptionClinicalData.prescriptionIdentifier
path:
  v: eHDSIePrescription.prescriptionClinicalData.prescriptionIdentifier
short:
  v: Prescription identifier
definition:
  v: Identification of the prescription.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.prescriptionIdentifier
  min:
    v: 1
  max:
    v: 1
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct
comment:
  v: The attribute can be used to contain the MPID (Medicinal Product Identifier), the EMA PMS ID of the ISO IDMP Standards or an (inter)national equivalent code. Some countries like Denmark and Sweden might have the same medicinal product identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.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
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.id
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.extension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.modifierExtension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct
short:
  v: Medicinal Product
definition:
  v: Medicinal Product
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.id
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.extension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.modifierExtension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.identifier
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.identifier
short:
  v: Medicinal Product Identifier
definition:
  v: Identifier of a medicinal product refers to the product inside the package, not the packaged item as such.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.identifier
  min:
    v: 0
  max:
    v: 1
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.brandName
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.brandName
short:
  v: Medicinal Product Brand Name
definition:
  v: The name, which may be either an invented name not liable to confusion with the common name, or a common or scientific name accompanied by a trade mark or the name of the marketing authorization holder
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.brandName
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.Classification
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.Classification
short:
  v: Medicinal Product Classification
definition:
  v: Standardized code corresponding to the product classification
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.Classification
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients
short:
  v: Active Ingredient(s)
definition:
  v: Substance that alone or in combination with one or more other ingredients produces the intended activity of a medicinal product. Country of treatment translates (does not change) the active ingredient from Country of affiliation to Country of treatment units (single concept), but it is the same active ingredient.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients
  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
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.id
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.extension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.substance
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.substance
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.substance
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.role
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.role
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.role
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.strength
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.strength
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.strength
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.pharmDoseForm
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.pharmDoseForm
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.pharmDoseForm
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.id
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.extension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.modifierExtension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageDescription
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageDescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageDescription
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageId
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageId
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageId
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageType
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageType
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageType
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageSize
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageSize
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageSize
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.package
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.package
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.package
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.routeOfAdministration
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.routeOfAdministration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.marketingAuthorizationHolder
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.marketingAuthorizationHolder
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.marketingAuthorizationHolder
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.substitution
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.substitution
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.numberOfPackages
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.numberOfPackages
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.numberOfPackages
  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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.id
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.extension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.modifierExtension
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.posologyInstructions
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.posologyInstructions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.unitsPerIntake
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.unitsPerIntake
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.frequencyOfIntakes
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.frequencyOfIntakes
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.timingOfIntakes
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.timingOfIntakes
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.durationOfTreatment
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.durationOfTreatment
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionData
path:
  v: eHDSIePrescription.prescriptionData
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.id
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.extension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.modifierExtension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription
path:
  v: eHDSIePrescription.prescriptionData.prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.id
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.extension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.modifierExtension
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.issueDate
path:
  v: eHDSIePrescription.prescriptionData.prescription.issueDate
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.treatmentStart
path:
  v: eHDSIePrescription.prescriptionData.prescription.treatmentStart
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.treatmentEnd
path:
  v: eHDSIePrescription.prescriptionData.prescription.treatmentEnd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.patientInstructions
path:
  v: eHDSIePrescription.prescriptionData.prescription.patientInstructions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.advicetoDispenser
path:
  v: eHDSIePrescription.prescriptionData.prescription.advicetoDispenser
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.legalEntity
path:
  v: eHDSIePrescription.prescriptionData.legalEntity
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.relatedDocument
path:
  v: eHDSIePrescription.prescriptionData.relatedDocument
min:
  v: 0
max:
  v: 1
base:
  path:
    v: eHDSIePrescription.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: eHDSIePrescription
  path:
    v: eHDSIePrescription
  short:
    v: eHDSI ePrescription
element:
  id:
    v: eHDSIePrescription.patient
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.identifier
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.fullName
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.fullName.givenName
  path:
    v: eHDSIePrescription.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
  example:
    value:
      v: Manuel
element:
  id:
    v: eHDSIePrescription.patient.personalInformation.fullName.familyName
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.gender
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.personalInformation.dateOfBirth
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.insurance
  path:
    v: eHDSIePrescription.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: eHDSIePrescription.patient.insurance.socialorInsuranceNumber
  path:
    v: eHDSIePrescription.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
    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: eHDSIePrescription.patient.prescribingHealthProfessional
  path:
    v: eHDSIePrescription.patient.prescribingHealthProfessional
  short:
    v: HP prescribing the medicine
  definition:
    v: HP prescribing the medicine
  min:
    v: 1

v: *

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: eHDSIePrescription.patient.prescribingHealthProfessional.identifier
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.identifier
short:
  v: HP Identifier
definition:
  v: The identification of the person as health professional (the HP prescribing the medicine to the patient). A unique number or code issued for the purpose of identifying a health care provider [ISO/TS 27527: 2010]; this may be a licence or registration number which can be used to trace the HP and to check whether a drug was prescribed by the right person according to the law.
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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.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: 1
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

id:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.givenName
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.givenName
short:
  v: Given Name
definition:
  v: The first name of the HP prescribing the medicine to 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
example:
  value:
    v: Oscar

id:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.familyName
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.fullName.familyName
short:
  v: Family Name
definition:
  v: The surname/s of the HP prescribing the medicine to 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

id:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.professionOrSpecialty
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.personalInformation.professionOrSpecialty
short:
  v: Profession or Specialty
definition:
  v: The profession or field of practice of the HP prescribing the medicine.
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
example:
  value:
    v: Dentists

id:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress
short:
  v: HP Facility Address
definition:
  v: The place where the HP prescribing the medicine made the prescription
min:
  v: 1
max:
  v: *
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.streetAddress
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.streetAddress
short:
  v: Street Address
definition:
  v: The street of the place where the HP prescribing the medicine made the prescription.
min:
  v: 0
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.city
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.city
short:
  v: City
definition:
  v: The city of the place where the HP prescribing the medicine made the prescription.
min:
  v: 0
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.postalCode
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.postalCode
short:
  v: ZIP or Postal Code
definition:
  v: The postal code of the place where the HP prescribing the medicine made the prescription
min:
  v: 0
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.stateProvince
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.stateProvince
short:
  v: State or Province
definition:
  v: The province of the place where the HP prescribing the medicine made the prescription.
min:
  v: 0
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.country
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.country
short:
  v: Country
definition:
  v: The country where the prescription was made.
min:
  v: 1
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.telephone
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.telephone
short:
  v: Telephone
definition:
  v: Telephone
min:
  v: 0
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.email
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.hpFacilityAddress.email
short:
  v: E-mail
definition:
  v: The contact e-mail of the facility or of the HP prescribing the medicine.
min:
  v: 0
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: eHDSIePrescription.patient.prescribingHealthProfessional.organization
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.organization
short:
  v: Healthcare provider organization (HCPO)
definition:
  v: The healthcare provider organization of the HP prescribing the medicine.
min:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.name
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.organization.name
short:
  v: Organization Name
definition:
  v: The name of the healthcare provider organization of the HP prescribing the medicine.
comment:
  v: Note: This is not a field, but a block of information made up of the following fields. This might not be in the data set, but this information needs to be available for the process traceability.
min:
  v: 1
max:
  v: 1
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: eHDSIePrescription.patient.prescribingHealthProfessional.organization.identifier
path:
  v: eHDSIePrescription.patient.prescribingHealthProfessional.organization.identifier
short:
  v: Organization Identifier
definition:
  v: The identification of the healthcare provider organization of the HP prescribing the medicine. This filed can be numbers and/or letters.
min:
  v: 1
max:
  v: 1
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: eHDSIePrescription.prescriptionClinicalData
path:
  v: eHDSIePrescription.prescriptionClinicalData
short:
  v: Prescription
definition:
  v: PRESCRIPTION CLINICAL DATA
min:
  v: 1
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: eHDSIePrescription.prescriptionClinicalData.prescriptionIdentifier
path:
  v: eHDSIePrescription.prescriptionClinicalData.prescriptionIdentifier
short:
  v: Prescription identifier
definition:
  v: Identification of the prescription.
min:
  v: 1
max:
  v: 1
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct
comment:
  v: The attribute can be used to contain the MPID (Medicinal Product Identifier), the EMA PMS ID of the ISO IDMP Standards or an (inter)national equivalent code. Some countries like Denmark and Sweden might have the same medicinal product identifier
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct
short:
  v: Medicinal Product
definition:
  v: Medicinal Product
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.identifier
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.identifier
short:
  v: Medicinal Product Identifier
definition:
  v: Identifier of a medicinal product refers to the product inside the package, not the packaged item as such.
min:
  v: 0
max:
  v: 1
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.brandName
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.brandName
short:
  v: Medicinal Product Brand Name
definition:
  v: The name, which may be either an invented name not liable to confusion with the common name, or a common or scientific name accompanied by a trade mark or the name of the marketing authorization holder
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.Classification
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.Classification
short:
  v: Medicinal Product Classification
definition:
  v: Standardized code corresponding to the product classification
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients
short:
  v: Active Ingredient(s)
definition:
  v: Substance that alone or in combination with one or more other ingredients produces the intended activity of a medicinal product. Country of treatment translates (does not change) the active ingredient from Country of affiliation to Country of treatment units (single concept), but it is the same active ingredient.
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.substance
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.substance
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.role
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.role
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.strength
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.strength
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.pharmDoseForm
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.medicinalProduct.activeIngredients.pharmDoseForm
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageDescription
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageDescription
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageId
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageId
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageType
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageType
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageSize
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.packageSize
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.package
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.package.package
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.routeOfAdministration
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.marketingAuthorizationHolder
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.marketingAuthorizationHolder
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.substitution
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.numberOfPackages
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.numberOfPackages
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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.posologyInstructions
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.unitsPerIntake
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.frequencyOfIntakes
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.timingOfIntakes
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.posology.durationOfTreatment
path:
  v: eHDSIePrescription.prescriptionClinicalData.medicinalProduct.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: eHDSIePrescription.prescriptionData
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.issueDate
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.treatmentStart
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.treatmentEnd
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.patientInstructions
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.prescription.advicetoDispenser
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.legalEntity
path:
  v: eHDSIePrescription.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: eHDSIePrescription.prescriptionData.relatedDocument
path:
  v: eHDSIePrescription.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