Back To Index << Back To Datasets << Back To Scenarios << Back To Templates

# Template epSOS-Medication Related Overview with associations for transaction dataset epSOS Data Set

Path that leads to this instance: /

XML | Data type | Card/Conf | Concept ID | Concept | Label
--- | --- | --- | --- | --- | ---
`hl7:ClinicalDocument where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.1.5']]`
|  | Required |  |  | epSOS-MRO
| `hl7:realmCode`
| CS | 0 … 1 Required |  |  | epSOS-MRO
| `hl7:typeId where [@root = '2.16.840.1.113883.1.3'] [@extension = 'POCD_HD000040'] root="2.16.840.1.113883.1.3" extension="POCD_HD000040"`
| II.EPSOS | 1 … 1 Mandatory |  |  | epSOS-MRO
| `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.1.5'] root="1.3.6.1.4.1.12559.11.10.1.3.1.1.5"`
| II.EPSOS | 1 … 1 Mandatory |  |  | epSOS-MRO
| `hl7:id`
| II | 1 … 1 Mandatory |  |  | (eHDSI Id)
| `hl7:code where [(@code = '56445-0' and @codeSystem = '2.16.840.1.113883.6.1')] displayName="…" code="56445-0" codeSystem="2.16.840.1.113883.6.1"`
| CV.EPSOS | 1 … 1 Mandatory |  |  | epSOS-MRO
| `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | epSOS-MRO
| `hl7:effectiveTime where [not(@nullFlavor)]`
| TS.EPSOS.TZ | 1 … 1 Mandatory |  |  | epSOS-MRO
| `hl7:confidentialityCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.31-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.31"`
| CE.EPSOS | 1 … 1 Required |  |  | epSOS-MRO
| `hl7:languageCode where [not(@nullFlavor)]`
| CS | 1 … 1 Mandatory |  |  | epSOS-MRO
| `hl7:setId`
|  | 0 … 1 Required |  |  | (eHDSI SetId)
| `hl7:versionNumber`
|  | 0 … 1 Required |  |  | epSOS-MRO
| `hl7:recordTarget where [hl7:patientRole] typeCode="RCT" contextControlCode="OP"`
|  | 1 … 1 Mandatory |  |  | (eHDSI RecordTarget)
|  | `hl7:patientRole where [not(@nullFlavor)] [hl7:patient] classCode="PAT"`
|  | 1 … 1 Mandatory |  |  | (eHDSI RecordTarget)
|  |  | `hl7:id`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-167 ehdsi-dataelement-170 ehdsi-dataelement-239 ehdsi-dataelement-250 ehdsi-dataelement-313 ehdsi-dataelement-316 ehdsi-dataelement-353 ehdsi-dataelement-356 | Insurance Number National Healthcare Patient identifier (Country of Affiliation) Social/Insurance Number Regional/National Health Identifier Social/Insurance Number Regional/National Health Identifier Insurance Number Regional/National Health ID (Country of Affiliation) | (eHDSI RecordTarget)
|  |  | `hl7:addr nullFlavor="NI"`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-156 ehdsi-dataelement-157 ehdsi-dataelement-341 ehdsi-dataelement-342 | Number of Street Street Number of Street Street | (eHDSI RecordTarget)
|  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-155 ehdsi-dataelement-340 | City City | (eHDSI RecordTarget)
|  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-154 ehdsi-dataelement-339 | Postal Code Postal Code | (eHDSI RecordTarget)
|  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-153 ehdsi-dataelement-338 | State or Province State or Province | (eHDSI RecordTarget)
|  |  |  | `hl7:country`
|  | 0 … 1 Required | ehdsi-dataelement-152 ehdsi-dataelement-337 | Country Country | (eHDSI RecordTarget)
|  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required | ehdsi-dataelement-148 ehdsi-dataelement-150 | E-mail Telephone No | (eHDSI RecordTarget)
|  |  | `hl7:patient where [hl7:administrativeGenderCode [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.34-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="PSN" determinerCode="INSTANCE"`
|  | 1 … 1 Mandatory |  |  | (eHDSI RecordTarget)
|  |  |  | `hl7:name where [not(@nullFlavor)]`
| PN | 1 … * Mandatory |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-163 ehdsi-dataelement-246 ehdsi-dataelement-309 ehdsi-dataelement-349 | Family Name/Surname Family Name/Surname Family Name/Surname Family Name/Surname | (eHDSI RecordTarget)
|  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-164 ehdsi-dataelement-247 ehdsi-dataelement-310 ehdsi-dataelement-350 | Given Name Given Name Given Name Given Name | (eHDSI RecordTarget)
|  |  |  | `hl7:administrativeGenderCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.34-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] nullFlavor="UNK" valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.34"`
| CE.EPSOS | 1 … 1 Required | ehdsi-dataelement-159 ehdsi-dataelement-244 ehdsi-dataelement-307 ehdsi-dataelement-344 | Gender Code Gender Gender Gender Code | (eHDSI RecordTarget)
|  |  |  | `hl7:birthTime where [not(@nullFlavor)]`
| TS | 1 … 1 Mandatory | ehdsi-dataelement-161 ehdsi-dataelement-242 ehdsi-dataelement-346 | Date of Birth Date of Birth Date of Birth | (eHDSI RecordTarget)
|  |  |  | `hl7:guardian where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.2.4']] classCode="GUARD" nullFlavor="…"`
|  | 0 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.2.4'] root="1.3.6.1.4.1.19376.1.5.3.1.2.4"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.38-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.38" flexibility="dynamic"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:addr nullFlavor="NI"`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  | `hl7:country`
|  | 0 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:guardianPerson`
|  | 1 … 1 Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  | `hl7:name`
| PN | 1 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  |  | `choice`
|  | 2 … * |  |  |
|  |  |  |  |  |  |  | `hl7:family`
|  | 1 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  |  |  |  | `hl7:given`
|  | 1 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  | `hl7:languageCommunication where [hl7:languageCode [@code = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.6-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code or @nullFlavor]]`
|  | 0 … * Required |  |  | (eHDSI RecordTarget)
|  |  |  |  | `hl7:languageCode where [@code = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.6-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.6"`
| CS | 1 … 1 Required |  |  | (eHDSI RecordTarget)
| `hl7:author where [hl7:assignedAuthor] typeCode="AUT" contextControlCode="OP"`
|  | 1 … * Required | ehdsi-dataelement-125 | Author and Organisation | (eHDSI Author)
|  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  | `hl7:time`
| TS.EPSOS.TZ | 1 … 1 Required |  |  | (eHDSI Author)
|  | `hl7:assignedAuthor where [not(@nullFlavor)] [hl7:representedOrganization] classCode="ASSIGNED"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-123 | Nature of the Patient Summary | (eHDSI Author)
|  |  | `hl7:id nullFlavor="NA"`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-303 | HP Identifier | (eHDSI Author)
|  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  | `hl7:telecom use="…"`
| TEL.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Author)
|  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-299 | Family Name/Surname | (eHDSI Author)
|  |  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-300 | Given Name | (eHDSI Author)
|  |  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  | `hl7:assignedAuthoringDevice classCode="DEV" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Device)
|  |  |  |  | `hl7:code valueSet="2.16.840.1.113883.1.11.16040"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  | `hl7:manufacturerModelName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  | `hl7:softwareName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
| `hl7:custodian where [hl7:assignedCustodian] typeCode="CST"`
|  | 1 … 1 Mandatory |  |  | (eHDSI Custodian)
|  | `hl7:assignedCustodian where [hl7:representedCustodianOrganization] classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Custodian)
|  |  | `hl7:representedCustodianOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required |  |  | (eHDSI Custodian)
|  |  |  |  | `hl7:city`
|  | 0 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  |  | `hl7:state`
|  | 0 … 1 Required |  |  | (eHDSI Custodian)
|  |  |  |  | `hl7:country`
|  | 1 … 1 Required |  |  | (eHDSI Custodian)
| `hl7:legalAuthenticator where [hl7:signatureCode [@code = 'S' or @nullFlavor]]`
|  | 1 … 1 Mandatory | ehdsi-dataelement-127 ehdsi-dataelement-176 ehdsi-dataelement-327 | Legal Authenticator Responsible of the ePrescription Data/Author Organization Responsible of the Original Clinical Document/Author Organization | (eHDSI LegalAuthenticator)
|  | `hl7:time where [not(@nullFlavor)]`
| TS.EPSOS.TZ | 1 … 1 Mandatory |  |  | (eHDSI LegalAuthenticator)
|  | `hl7:signatureCode where [@code = 'S' or @nullFlavor] code="S"`
| CS | 1 … 1 Required |  |  | (eHDSI LegalAuthenticator)
|  | `hl7:assignedEntity where [not(@nullFlavor)]`
|  | 1 … 1 Mandatory |  |  | (eHDSI LegalAuthenticator)
|  |  | `hl7:id where [not(@nullFlavor)]`
|  | 1 … 1 Mandatory |  |  | (eHDSI LegalAuthenticator)
|  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI LegalAuthenticator)
|  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI LegalAuthenticator)
|  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI LegalAuthenticator)
|  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI LegalAuthenticator)
|  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory |  |  | (eHDSI LegalAuthenticator)
|  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory |  |  | (eHDSI LegalAuthenticator)
|  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI LegalAuthenticator)
|  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI LegalAuthenticator)
|  |  | `hl7:representedOrganization where [not(@nullFlavor)] classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Mandatory |  |  | (eHDSI Organization)
|  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
| `choice`
|  | 0 … * |  |  |
|  | `hl7:participant where [hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.2.4'] typeCode="IND"`
|  | Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.2.4'] root="1.3.6.1.4.1.19376.1.5.3.1.2.4"`
|  | 1 … 1 Mandatory |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  | `hl7:functionCode where [(@code = 'PCP' and @codeSystem = '2.16.840.1.113883.5.88') or @nullFlavor] code="PCP" codeSystem="2.16.840.1.113883.5.88"`
|  | 0 … 1 Conditional |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  | `hl7:time`
| IVL_TS.EPSOS.TZ.OPT | 0 … 1 Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  | `hl7:associatedEntity where [@classCode = 'PRS'] classCode="…"`
|  | Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  | `attribute classCode=""`
| cs |  | ehdsi-dataelement-135 | Role of person |
|  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.38-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.38" flexibility="dynamic"`
| CV.EPSOS | 0 … 1 Required | ehdsi-dataelement-134 | Relationship level | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  | `hl7:addr nullFlavor="NI"`
| AD.EPSOS | 1 … 1 Required | ehdsi-dataelement-143 | Address | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  | `hl7:city`
|  | 0 … 1 Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  | `hl7:state`
|  | 0 … 1 Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  | `hl7:country`
|  | 0 … 1 Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required | ehdsi-dataelement-136 ehdsi-dataelement-137 ehdsi-dataelement-141 ehdsi-dataelement-142 ehdsi-dataelement-331 ehdsi-dataelement-332 | E-mail Telephone No E-mail Telephone No E-mail Telephone No | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  |  | `hl7:associatedPerson`
|  | Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  |  |  | `choice`
|  | 2 … * |  |  |
|  |  |  |  |  |  |  | `hl7:family`
|  | 1 … * Required | ehdsi-dataelement-138 ehdsi-dataelement-145 ehdsi-dataelement-334 | Family Name/Surname Family Name/Surname Family Name/Surname | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  |  |  |  | `hl7:given`
|  | 1 … * Required | ehdsi-dataelement-139 ehdsi-dataelement-146 ehdsi-dataelement-335 | Given Name Given Name Given Name | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  | `hl7:scopingOrganization`
|  | Required |  |  | (eHDSI Contact/Preferred HP/Legal Organization)
|  |  |  |  |  | `hl7:name`
| ON | 1 … 1 Required | ehdsi-dataelement-144 ehdsi-dataelement-333 | OR Name of the Legal organization OR Name of the Legal organization | (eHDSI Contact/Preferred HP/Legal Organization)
|  | `hl7:participant where [@contextControlCode = 'OP'] [@typeCode] [hl7:associatedEntity [@classCode]] typeCode="…" contextControlCode="OP"`
|  | 0 … * Required |  |  | (eHDSI Participant)
|  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Participant)
|  |  | `hl7:time`
| IVL_TS | 0 … 1 Required |  |  | (eHDSI Participant)
|  |  | `hl7:associatedEntity where [@classCode] classCode="…"`
|  | 1 … 1 Required |  |  | (eHDSI Participant)
|  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Participant)
|  |  |  | `hl7:code where [@codeSystem = '2.16.840.1.113883.5.111' or @nullFlavor] codeSystem="2.16.840.1.113883.5.111"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Participant)
|  |  |  | `hl7:addr`
| AD | 0 … * Required |  |  | (eHDSI Participant)
|  |  |  | `hl7:telecom`
| TEL | 0 … * Required |  |  | (eHDSI Participant)
|  |  |  | `hl7:associatedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 Required |  |  | (eHDSI Person)
|  |  |  |  | `hl7:name`
| PN | 1 … * Required |  |  | (eHDSI Person)
|  |  |  | `hl7:scopingOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 0 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
| `hl7:documentationOf where [@typeCode = 'DOC'] [hl7:serviceEvent [@classCode = 'PCPR'] [@moodCode = 'EVN']] typeCode="DOC"`
|  | 1 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  | `hl7:serviceEvent where [@classCode = 'PCPR'] [@moodCode = 'EVN'] classCode="PCPR" moodCode="EVN"`
|  | 1 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  | `hl7:effectiveTime where [hl7:high]`
| IVL_TS | 0 … 1 Conditional |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:low`
| TS | 0 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:high`
| TS | 1 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  | `hl7:effectiveTime where [@nullFlavor or @value]`
| TS | 0 … 1 Conditional |  |  | (eHDSI DocumentationOf PCPR)
|  |  | `hl7:performer where [hl7:functionCode [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] typeCode="…"`
|  | 0 … * Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  | `hl7:time`
| IVL_TS | 0 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  | `hl7:assignedEntity where [not(@nullFlavor)]`
|  | 1 … 1 Mandatory |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:id`
| II.EPSOS | 1 … * Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI DocumentationOf PCPR)
|  |  |  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Person)
|  |  |  |  |  | `hl7:name`
| PN | 1 … * Required |  |  | (eHDSI Person)
|  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Organization)
|  |  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
| `hl7:relatedDocument where [@typeCode = 'XFRM'] [hl7:parentDocument] typeCode="XFRM"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-131 ehdsi-dataelement-174 ehdsi-dataelement-321 | Related Document Related Document Related Document | (eHDSI RelatedDocument)
|  | `hl7:parentDocument classCode="DOCCLIN" moodCode="EVN"`
|  | 1 … 1 Required |  |  | (eHDSI RelatedDocument)
|  |  | `hl7:id`
| II.EPSOS | 1 … * Required |  |  | (eHDSI RelatedDocument)
|  |  | `hl7:code where [@codeSystem = '2.16.840.1.113883.6.1' or @nullFlavor] codeSystem="2.16.840.1.113883.6.1"`
| CD.EPSOS | 0 … 1 Required |  |  | (eHDSI RelatedDocument)
|  |  | `hl7:text`
| ED | 0 … 1 Required |  |  | (eHDSI RelatedDocument)
|  |  | `hl7:setId`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI RelatedDocument)
|  |  | `hl7:versionNumber`
| INT | 0 … 1 Required |  |  | (eHDSI RelatedDocument)
| `hl7:component where [not(@nullFlavor)] [hl7:structuredBody]`
|  | 1 … 1 Mandatory |  |  | epSOS-MRO
|  | `hl7:structuredBody where [not(@nullFlavor)] classCode="DOCBODY"`
|  | 1 … 1 Mandatory |  |  | epSOS-MRO
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.2.3'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.8']]]`
|  | 1 … 1 Required |  |  | (eHDSI Medication Summary)
|  |  |  | `hl7:section where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.2.3'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.8']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.2.3'] root="1.3.6.1.4.1.12559.11.10.1.3.1.2.3"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.8'] root="2.16.840.1.113883.10.20.1.8"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:id`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:code where [(@code = '10160-0' and @codeSystem = '2.16.840.1.113883.6.1')] code="10160-0" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Medication Summary)
|  |  |  |  | `hl7:entry where [hl7:substanceAdministration [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.4'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.24']]]`
|  | 1 … * Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  | `hl7:substanceAdministration where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.4'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.24']] classCode="SBADM" moodCode="…"`
|  | 1 … Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.4'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.4"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7'] root="1.3.6.1.4.1.19376.1.5.3.1.4.7"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.11'] root="1.3.6.1.4.1.19376.1.5.3.1.4.11"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.9'] root="1.3.6.1.4.1.19376.1.5.3.1.4.9"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.24'] root="2.16.840.1.113883.10.20.1.24"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.49-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @code = 'DRUG' or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.49" flexibility="dynamic" code="DRUG"`
| CD.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:text`
| ED | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:reference`
|  | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:statusCode where [@code = 'active' or @code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `choice`
|  | 2 … 2 |  |  |
|  |  |  |  |  |  |  | `hl7:effectiveTime where [@xsi:type='IVL_TS'] nullFlavor="UNK"`
| IVL_TS | 1 … 1 Required | ehdsi-dataelement-87 ehdsi-dataelement-88 | Date of onset of treatment Duration of treatment | (eHDSI Medication Item)
|  |  |  |  |  |  |  |  | `hl7:low`
| IVXB_TS | 0 … 1 |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  |  |  | `hl7:width`
| PQ | 0 … 1 |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  |  |  | `hl7:high`
| IVXB_TS | 0 … 1 |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:effectiveTime where [(@value or @nullFlavor) and not(@xsi:type='IVL_TS' or @xsi:type='PIVL_TS' or @xsi:type='EIVL_TS' or @xsi:type='SXPR_TS')]`
| TS | 0 … 1 Conditional | ehdsi-dataelement-90 | Frequency of intakes | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:effectiveTime where [@xsi:type='PIVL_TS'] institutionSpecified="…"`
| PIVL_TS | 0 … 1 Conditional | ehdsi-dataelement-90 | Frequency of intakes | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:effectiveTime where [@xsi:type='EIVL_TS']`
| EIVL_TS | 0 … 1 Conditional | ehdsi-dataelement-90 | Frequency of intakes | (eHDSI Medication Item)
|  |  |  |  |  |  |  |  | `hl7:event code="…"`
| EIVL.event | 0 … 1 Conditional | ehdsi-dataelement-89 | Timing of intakes | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:effectiveTime where [@xsi:type='SXPR_TS']`
| SXPR_TS | 0 … 1 Conditional | ehdsi-dataelement-90 | Frequency of intakes | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:routeCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.12-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.12"`
| CE.EPSOS | 0 … 1 Required | ehdsi-dataelement-85 | Route of administration | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:doseQuantity unit="…"`
| IVL_PQ | 0 … 1 Required | ehdsi-dataelement-91 | Dosage Regimen | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:low unit="…"`
| PQ | 0 … 1 |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:high unit="…"`
| PQ | 0 … 1 |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:rateQuantity`
| IVL_PQ | 0 … 1 Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `hl7:consumable where [hl7:manufacturedProduct [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.31']]] typeCode="CSM"`
|  | 1 … 1 Required |  |  | (eHDSI PS Medication Information)
|  |  |  |  |  |  |  | `hl7:manufacturedProduct where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.31']] classCode="MANU"`
|  | 1 … 1 Required |  |  | (eHDSI PS Medication Information)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.31'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.31"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI PS Medication Information)
|  |  |  |  |  |  |  |  | `hl7:manufacturedMaterial where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.32']] classCode="MMAT" determinerCode="KIND"`
|  | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.32'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.32"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `hl7:name`
| EN | 0 … 1 Required | ehdsi-dataelement-95 | Brand name | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `pharm:desc`
| EN | 0 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `pharm:formCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.2-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.2"`
| CE.EPSOS | 0 … 1 Required | ehdsi-dataelement-374 ehdsi-dataelement-92 | Package type Pharmaceutical dose form | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `pharm:asContent where [@classCode = 'CONT'] [pharm:containerPackagedProduct [@classCode = 'CONT'] [@determinerCode = 'KIND']] classCode="CONT"`
|  | 0 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  | `pharm:quantity where [not(@nullFlavor)] unit="…" value="…"`
| PQ | 1 … 1 Mandatory | ehdsi-dataelement-201 | Medicinal Product Package size | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  | `pharm:containerPackagedProduct where [pharm:formCode [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.3-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="CONT" determinerCode="KIND"`
|  | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:code`
| CE.EPSOS | 0 … 1 Required | ehdsi-dataelement-373 | Medicinal Product Package identifier | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:name`
| ST | 0 … * Required | ehdsi-dataelement-203 ehdsi-dataelement-372 | Medicinal Product Package description Medicinal Product Package description | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:formCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.3-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.3"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:asContent where [@classCode = 'CONT'] [pharm:containerPackagedProduct [@classCode = 'CONT'] [@determinerCode = 'KIND']] classCode="CONT"`
|  | 0 … 1 |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  | `pharm:quantity where [not(@nullFlavor)] unit="…" value="…"`
| PQ | 1 … 1 Mandatory | ehdsi-dataelement-375 | Package size | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  | `pharm:containerPackagedProduct where [pharm:formCode [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.3-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="CONT" determinerCode="KIND"`
|  | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:name`
| ST | 0 … * Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:formCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.3-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.3"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:asContent where [@classCode = 'CONT'] [pharm:containerPackagedProduct [@classCode = 'CONT'] [@determinerCode = 'KIND']] classCode="CONT"`
|  | 0 … 1 |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:quantity where [not(@nullFlavor)] unit="…" value="…"`
| PQ | 1 … 1 Mandatory |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:containerPackagedProduct where [pharm:formCode [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.3-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="CONT" determinerCode="KIND"`
|  | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:name`
| ST | 0 … * Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `pharm:formCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.3-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.3"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `pharm:asSpecializedKind where [generalizedMaterialKind/code/@codeSystem='2.16.840.1.113883.6.73'] classCode="GRIC"`
|  | 0 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  | `pharm:generalizedMaterialKind where [pharm:code [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] determinerCode="KIND" classCode="MMAT"`
|  | 1 … 1 Mandatory |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.24" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:name`
|  | 0 … 1 |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `pharm:asSpecializedKind where [@classCode = 'GEN'] [pharm:generalizedMaterialKind [@classCode = 'MMAT'] [@determinerCode = 'KIND']] classCode="GEN"`
|  | 0 … * Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  | `pharm:generalizedMaterialKind where [not(@nullFlavor)] [@classCode = 'MMAT'] [@determinerCode = 'KIND'] determinerCode="KIND" classCode="MMAT"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-371 | Product classification | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:code`
| CD.EPSOS | 1 … 1 Required | ehdsi-dataelement-370 | Medicinal Product Classification | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:name`
|  | 0 … * |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  | `pharm:ingredient where [pharm:ingredientSubstance [pharm:code [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.61-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]]] classCode="ACTI"`
|  | 0 … * Required | ehdsi-dataelement-94 | Active ingredient(s) | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  | `pharm:quantity where [not(@nullFlavor)]`
|  | 1 … 1 Mandatory | ehdsi-dataelement-93 | Strength(s) | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:numerator unit="…" value="…"`
| PQ | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:denominator unit="…" value="…"`
| PQ | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  | `pharm:ingredientSubstance where [pharm:code [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.61-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="MMAT" determinerCode="KIND"`
|  | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.61-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.61" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:originalText`
| ED | 0 … * |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference`
| TEL | 0 … * |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:translation`
| CD | 0 … * |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  |  |  |  | `pharm:name`
|  | 0 … 1 |  |  | (eHDSI PS Manufactured Material)
|  |  |  |  |  |  |  |  | `hl7:manufacturerOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI PS Medication Information)
|  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI PS Medication Information)
|  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … 1 Required |  |  | (eHDSI PS Medication Information)
|  |  |  |  |  |  | `hl7:author where [hl7:functionCode [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)]] typeCode="AUT" contextControlCode="OP"`
|  | 0 … * Required |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 1 … 1 Mandatory | ehdsi-dataelement-229 | Profession | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  | `hl7:time`
| TS.EPSOS.TZ | 1 … 1 Required |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  | `hl7:assignedAuthor classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  | `hl7:id nullFlavor="NA"`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-234 | HP Identifier | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required | ehdsi-dataelement-227 | Medical Specialty | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required | ehdsi-dataelement-220 ehdsi-dataelement-221 ehdsi-dataelement-222 ehdsi-dataelement-223 ehdsi-dataelement-224 | Country State or Province Zip or Postal Code City Street Address | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  | `hl7:telecom use="…"`
| TEL.EPSOS | 1 … * Required | ehdsi-dataelement-218 ehdsi-dataelement-219 | E-mail Telephone | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  | `hl7:assignedPerson where [not(@nullFlavor)] classCode="PSN" determinerCode="INSTANCE"`
|  | 1 … 1 Mandatory |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  |  |  | `hl7:family`
|  | 1 … * Required | ehdsi-dataelement-231 | Family Name/Surname | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  |  |  | `hl7:given`
|  | 1 … * Required | ehdsi-dataelement-232 | Given Name | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI Author Prescriber)
|  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required | ehdsi-dataelement-215 ehdsi-dataelement-216 | Organization Identifier Organization Name | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
|  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.13'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.43']]] typeCode="SUBJ" inversionInd="…"`
|  | 0 … * Required |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.13'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.43']] classCode="ACT" moodCode="INT"`
|  | 1 … |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.13'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.13"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.3.1"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.43'] root="2.16.840.1.113883.10.20.1.43"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  | `hl7:code where [(@code = 'FINSTRUCT' and @codeSystem = '1.3.6.1.4.1.19376.1.5.3.2') or @nullFlavor] code="FINSTRUCT" codeSystem="1.3.6.1.4.1.19376.1.5.3.2"`
| CD.EPSOS | 0 … 1 Required |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  | `hl7:text`
| ED | 0 … 1 Required |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 0 … 1 Required |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Medication FulFillment Instructions)
|  |  |  |  |  |  | `hl7:entryRelationship where [@typeCode = 'COMP'] typeCode="COMP"`
|  | 0 … * Required |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  |  | `hl7:sequenceNumber where [not(@nullFlavor)]`
| INT | 1 … 1 Mandatory |  |  | (eHDSI Medication Item)
|  |  |  |  |  |  | `choice`
|  | 0 … * |  |  |
|  |  |  |  |  |  |  | `hl7:entryRelationship where [@typeCode = 'RSON'] typeCode="RSON"`
|  | 0 … * Required | ehdsi-dataelement-97 | Medication reason | (eHDSI Medication Item)
|  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.41'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13']] classCode="OBS" moodCode="EVN"`
|  | 0 … * Required |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.41'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.41"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.23-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.23" flexibility="dynamic"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 1 … 1 Required |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.5-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.63-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.63" flexibility="dynamic"`
| CE.EPSOS | 1 … * Required |  |  | (eHDSI Medication Reason Observation)
|  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']]] typeCode="RSON"`
|  | 0 … * Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']] classCode="ACT" moodCode="…"`
|  | 1 … Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.14"`
| II | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1"`
| II | 0 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  | `hl7:code nullFlavor="NA"`
| CD | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.2'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.13']]]`
|  | 1 … 1 Required |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  | `hl7:section where [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.2'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.13']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory | epsos-dataelement-58 | Allergy | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.2'] root="2.16.840.1.113883.10.20.1.2"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.13'] root="1.3.6.1.4.1.19376.1.5.3.1.3.13"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:id`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:code where [(@code = '48765-2' and @codeSystem = '2.16.840.1.113883.6.1')] code="48765-2" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Allergies and Other Adverse Reactions)
|  |  |  |  | `hl7:entry where [hl7:act [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.27'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.3']]]`
|  | 0 … * Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.27'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.3']] classCode="ACT" moodCode="EVN"`
|  | 1 … * Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.27'] root="2.16.840.1.113883.10.20.1.27"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5.3"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:code`
| CD | 1 … 1 Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:statusCode where [@code = 'active' or @code = 'suspended' or @code = 'aborted' or @code = 'completed' or @nullFlavor] code="completed"`
| CS | 0 … 1 Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 Required |  |  | (eHDSI Allergy And Intolerance Concern)
|  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.18'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.28'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.6']]] typeCode="SUBJ" inversionInd="false"`
|  | 0 … * Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.18'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.28'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.6']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.18'] root="2.16.840.1.113883.10.20.1.18"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.28'] root="2.16.840.1.113883.10.20.1.28"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.6'] root="1.3.6.1.4.1.19376.1.5.3.1.4.6"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.18-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.18"`
| CD | 1 … 1 Required | epsos-dataelement-69 | Allergy code | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required | epsos-dataelement-68 | Allergy description | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 Required | epsos-dataelement-70 | Onset Date | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:value`
| CD | 0 … * Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:participant where [@typeCode = 'CSM'] [hl7:participantRole [@classCode = 'MANU']] typeCode="CSM"`
|  | 0 … 1 Conditional |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  |  | `hl7:participantRole where [hl7:playingEntity [hl7:code [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.19-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]]] classCode="MANU"`
|  | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  |  |  | `hl7:playingEntity where [hl7:code [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.19-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="MMAT"`
|  | 1 … 1 Required |  |  | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.19-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.24-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.24" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required | epsos-dataelement-209 | Agent Code | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 0 … * Required | epsos-dataelement-208 | Agent description | (eHDSI Allergies And Intolerances)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7']]] typeCode="MFST"`
|  | 0 … * Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.7"`
| II | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5"`
| II | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.28'] root="2.16.840.1.113883.10.20.1.28"`
| II | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.23-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.23" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 Required | ehdsi-dataelement-42 | Onset date | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.5-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.50-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.63-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.63" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required | ehdsi-dataelement-43 ehdsi-dataelement-77 | Problem code Problem code | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:originalText`
|  | Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8']]] typeCode="SUBJ" inversionInd="true"`
|  | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.8"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.55'] root="2.16.840.1.113883.10.20.1.55"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = 'SEV' and @codeSystem = '2.16.840.1.113883.5.4') or @nullFlavor] code="SEV" codeSystem="2.16.840.1.113883.5.4"`
| CD | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.13-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.13"`
| CD.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49']]] typeCode="SUBJ" inversionInd="true"`
| ANY | 0 … 1 Required | ehdsi-dataelement-358 | Diagnosis assertion status | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.49"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '66455-7' and @codeSystem = '2.16.840.1.113883.6.1')] code="66455-7" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.64-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.64" flexibility="dynamic"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.57'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.50']]] typeCode="REFR" inversionInd="false"`
|  | 0 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.57'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.50']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.9"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1.1"`
| II | 0 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.57'] root="2.16.840.1.113883.10.20.1.57"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.50'] root="2.16.840.1.113883.10.20.1.50"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '33999-4' and @codeSystem = '2.16.840.1.113883.6.1')] code="33999-4" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory | ehdsi-dataelement-74 | Resolution Circumstances | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.15-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.15"`
| CE.EPSOS | 1 … 1 Required | ehdsi-dataelement-73 | Problem Status code | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10']]] typeCode="REFR" inversionInd="false"`
|  | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.10"`
| II | 1 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1.2"`
| II | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.51'] root="2.16.840.1.113883.10.20.1.51"`
| II | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '11323-3' and @codeSystem = '2.16.840.1.113883.6.1')] code="11323-3" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.30-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.30"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40']]] typeCode="SUBJ" inversionInd="true"`
|  | 0 … * |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40']] classCode="ACT" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.11"`
| II | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.2"`
| II | 0 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.40'] root="2.16.840.1.113883.10.20.1.40"`
| II | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="48767-8" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:author where [hl7:assignedAuthor] typeCode="AUT" contextControlCode="OP"`
|  | 0 … * Required | ehdsi-dataelement-125 | Author and Organisation | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| TS.EPSOS.TZ | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthor where [not(@nullFlavor)] [hl7:representedOrganization] classCode="ASSIGNED"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-123 | Nature of the Patient Summary | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="NA"`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-303 | HP Identifier | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…"`
| TEL.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-299 | Family Name/Surname | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-300 | Given Name | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthoringDevice classCode="DEV" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code valueSet="2.16.840.1.113883.1.11.16040"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:manufacturerModelName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:softwareName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48']]] typeCode="REFR" inversionInd="false"`
|  | 0 … * | ehdsi-dataelement-359 ehdsi-dataelement-361 | Health Professional related with Health Professional related with | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48']] classCode="PCPR" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.48"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '85847-2' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="85847-2" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = doc('include/voc-2.16.840.1.113883.1.11.15933-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15933"`
| CS | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:performer where [hl7:assignedEntity] typeCode="PRF"`
|  | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedEntity classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson where [@classCode = 'PSN'] [@determinerCode = 'INSTANCE'] classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:performer where [hl7:assignedEntity] typeCode="PRF"`
|  | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedEntity classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:asOrganinizationPartOf classCode="PART"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:wholeOrganization classCode="ORG" determinerCode="INSTANCE"`
|  |  |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']]] typeCode="REFR" inversionInd="false"`
|  | 0 … * |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']] classCode="ACT" moodCode="…"`
|  | 1 … Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.14"`
| II | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1"`
| II | 0 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code nullFlavor="NA"`
| CD | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  | `hl7:reference where [@typeCode = 'REFR'] typeCode="REFR" inversionInd="false"`
|  | 0 … * | ehdsi-dataelement-360 ehdsi-dataelement-362 | External Resource related with External Resource related with | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:externalDocument`
|  | 0 … 1 |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
|  | 0 … * |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:text where [hl7:reference]`
| ED | 0 … 1 |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.55']]] typeCode="SUBJ"`
|  | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.55']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.55'] root="2.16.840.1.113883.10.20.1.55"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = 'SEV' and @codeSystem = '2.16.840.1.113883.5.4') or @nullFlavor] code="SEV" codeSystem="2.16.840.1.113883.5.4"`
| CD | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.13-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.13"`
| CD.EPSOS | 0 … * Required | epsos-dataelement-301 epsos-dataelement-302 epsos-dataelement-304 | Problem Severity Problem Severity Allergy Severity | (eHDSI Severity)
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.6'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.11']]]`
|  | 1 … 1 Required |  |  | (eHDSI Active Problems)
|  |  |  | `hl7:section where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.6'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.11']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory | epsos-dataelement-83 | Problem/Diagnosis | (eHDSI Active Problems)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.6'] root="1.3.6.1.4.1.19376.1.5.3.1.3.6"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Active Problems)
|  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.11'] root="2.16.840.1.113883.10.20.1.11"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Active Problems)
|  |  |  |  | `hl7:id`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Active Problems)
|  |  |  |  | `hl7:code where [(@code = '11450-4' and @codeSystem = '2.16.840.1.113883.6.1')] code="11450-4" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Active Problems)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Active Problems)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Active Problems)
|  |  |  |  | `hl7:entry where [hl7:act [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.27'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.2']]]`
|  | 0 … * Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.27'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.2']] classCode="ACT" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.27'] root="2.16.840.1.113883.10.20.1.27"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5.2"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:code`
| CD | 1 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:text`
| ED | 0 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:statusCode where [@code = doc('include/voc-2.16.840.1.113883.3.1937.777.11.11.2-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code or @nullFlavor] valueSet="2.16.840.1.113883.3.1937.777.11.11.2" flexibility="dynamic"`
| CS | 0 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:effectiveTime where [hl7:low]`
| IVL_TS | 0 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  | `hl7:low`
|  | 1 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  | `hl7:high`
|  | 0 … 1 Conditional |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7']]] typeCode="SUBJ"`
|  | 1 … * Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.7"`
| II | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5"`
| II | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.28'] root="2.16.840.1.113883.10.20.1.28"`
| II | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.23-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.23" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 Required | ehdsi-dataelement-42 | Onset date | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.5-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.50-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.63-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.63" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required | ehdsi-dataelement-43 ehdsi-dataelement-77 | Problem code Problem code | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:originalText`
|  | Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8']]] typeCode="SUBJ" inversionInd="true"`
|  | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.8"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.55'] root="2.16.840.1.113883.10.20.1.55"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = 'SEV' and @codeSystem = '2.16.840.1.113883.5.4') or @nullFlavor] code="SEV" codeSystem="2.16.840.1.113883.5.4"`
| CD | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.13-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.13"`
| CD.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49']]] typeCode="SUBJ" inversionInd="true"`
| ANY | 0 … 1 Required | ehdsi-dataelement-358 | Diagnosis assertion status | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.49"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '66455-7' and @codeSystem = '2.16.840.1.113883.6.1')] code="66455-7" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.64-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.64" flexibility="dynamic"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.57'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.50']]] typeCode="REFR" inversionInd="false"`
|  | 0 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.57'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.50']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.9"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1.1"`
| II | 0 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.57'] root="2.16.840.1.113883.10.20.1.57"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.50'] root="2.16.840.1.113883.10.20.1.50"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '33999-4' and @codeSystem = '2.16.840.1.113883.6.1')] code="33999-4" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory | ehdsi-dataelement-74 | Resolution Circumstances | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.15-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.15"`
| CE.EPSOS | 1 … 1 Required | ehdsi-dataelement-73 | Problem Status code | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10']]] typeCode="REFR" inversionInd="false"`
|  | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.10"`
| II | 1 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1.2"`
| II | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.51'] root="2.16.840.1.113883.10.20.1.51"`
| II | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '11323-3' and @codeSystem = '2.16.840.1.113883.6.1')] code="11323-3" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.30-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.30"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40']]] typeCode="SUBJ" inversionInd="true"`
|  | 0 … * |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40']] classCode="ACT" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.11"`
| II | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.2"`
| II | 0 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.40'] root="2.16.840.1.113883.10.20.1.40"`
| II | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="48767-8" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:author where [hl7:assignedAuthor] typeCode="AUT" contextControlCode="OP"`
|  | 0 … * Required | ehdsi-dataelement-125 | Author and Organisation | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| TS.EPSOS.TZ | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthor where [not(@nullFlavor)] [hl7:representedOrganization] classCode="ASSIGNED"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-123 | Nature of the Patient Summary | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="NA"`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-303 | HP Identifier | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…"`
| TEL.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-299 | Family Name/Surname | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-300 | Given Name | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthoringDevice classCode="DEV" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code valueSet="2.16.840.1.113883.1.11.16040"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:manufacturerModelName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:softwareName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48']]] typeCode="REFR" inversionInd="false"`
|  | 0 … * | ehdsi-dataelement-359 ehdsi-dataelement-361 | Health Professional related with Health Professional related with | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48']] classCode="PCPR" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.48"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '85847-2' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="85847-2" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = doc('include/voc-2.16.840.1.113883.1.11.15933-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15933"`
| CS | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:performer where [hl7:assignedEntity] typeCode="PRF"`
|  | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedEntity classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson where [@classCode = 'PSN'] [@determinerCode = 'INSTANCE'] classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:performer where [hl7:assignedEntity] typeCode="PRF"`
|  | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedEntity classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:asOrganinizationPartOf classCode="PART"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:wholeOrganization classCode="ORG" determinerCode="INSTANCE"`
|  |  |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']]] typeCode="REFR" inversionInd="false"`
|  | 0 … * |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']] classCode="ACT" moodCode="…"`
|  | 1 … Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.14"`
| II | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1"`
| II | 0 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code nullFlavor="NA"`
| CD | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  | `hl7:reference where [@typeCode = 'REFR'] typeCode="REFR" inversionInd="false"`
|  | 0 … * | ehdsi-dataelement-360 ehdsi-dataelement-362 | External Resource related with External Resource related with | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:externalDocument`
|  | 0 … 1 |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:code`
|  | 0 … * |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [hl7:reference]`
| ED | 0 … 1 |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  | `hl7:entryRelationship where [@typeCode = 'REFR'] typeCode="REFR"`
|  | 0 … * Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  | `hl7:observation where [hl7:code [(@code = '48766-0' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor]] classCode="OBS" moodCode="EVN"`
|  |  |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  |  | `hl7:code where [(@code = '48766-0' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="48766-0" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
|  | 1 … 1 Required |  |  | (eHDSI Problem Concern)
|  |  |  |  |  |  |  |  | `hl7:value where [not(@nullFlavor)]`
|  | 1 … 1 Mandatory |  |  | (eHDSI Problem Concern)
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.23'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.6']]]`
|  | 1 … 1 Required |  |  | (eHDSI Immunizations)
|  |  |  | `hl7:section where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.23'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.6']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory | epsos-dataelement-167 | Vaccination | (eHDSI Immunizations)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.23'] root="1.3.6.1.4.1.19376.1.5.3.1.3.23"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.6'] root="2.16.840.1.113883.10.20.1.6"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  | `hl7:id`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Immunizations)
|  |  |  |  | `hl7:code where [(@code = '11369-6' and @codeSystem = '2.16.840.1.113883.6.1')] code="11369-6" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  | `hl7:entry where [hl7:substanceAdministration [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.12'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.24']]]`
|  | 1 … * Required |  |  | (eHDSI Immunizations)
|  |  |  |  |  | `hl7:substanceAdministration where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.12'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.24']] classCode="SBADM" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.12'] root="1.3.6.1.4.1.19376.1.5.3.1.4.12"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.24'] root="2.16.840.1.113883.10.20.1.24"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:code where [(@code = 'IMMUNIZ' and @codeSystem = '1.3.5.1.4.1.19376.1.5.3.2')] code="IMMUNIZ" codeSystem="1.3.5.1.4.1.19376.1.5.3.2"`
| CD.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required | epsos-dataelement-171 | Vaccine description | (eHDSI Immunizations)
|  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:effectiveTime`
|  | 1 … 1 Required | epsos-dataelement-169 | Vaccination date | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:routeCode`
| CE | 0 … 1 Required |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:doseQuantity`
| IVL_PQ | 0 … 1 Required |  |  | (eHDSI Immunizations)
|  |  |  |  |  |  | `hl7:consumable where [hl7:manufacturedProduct [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.53']]] typeCode="CSM"`
|  | 1 … 1 Required |  |  | (eHDSI Immunization Product)
|  |  |  |  |  |  |  | `hl7:manufacturedProduct where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.53']] classCode="MANU"`
|  | 1 … 1 Required |  |  | (eHDSI Immunization Product)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Immunization Product)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.53'] root="2.16.840.1.113883.10.20.1.53"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Immunization Product)
|  |  |  |  |  |  |  |  | `hl7:manufacturedMaterial where [hl7:code [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.28-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor]] classCode="MMAT" determinerCode="KIND"`
|  | 1 … 1 Required |  |  | (eHDSI Immunization Material)
|  |  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.28-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.28" flexibility="dynamic"`
| CE | 1 … 1 Required | ehdsi-dataelement-68 | Vaccination code | (eHDSI Immunization Material)
|  |  |  |  |  |  |  |  |  |  | `hl7:originalText`
| ED | 1 … 1 Required |  |  | (eHDSI Immunization Material)
|  |  |  |  |  |  |  |  |  | `hl7:name`
| EN | 1 … 1 Required |  |  | (eHDSI Immunization Material)
|  |  |  |  |  |  |  |  |  | `hl7:lotNumberText`
| ST | 0 … 1 | ehdsi-dataelement-63 | Batch/lot number | (eHDSI Immunization Material)
|  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.46']]]`
|  | 0 … 1 Required |  |  | (eHDSI Position Of Vaccination)
|  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.46']] classCode="OBS" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Position Of Vaccination)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.46'] root="2.16.840.1.113883.10.20.1.46"`
| II | 1 … 1 Required |  |  | (eHDSI Position Of Vaccination)
|  |  |  |  |  |  |  |  | `hl7:code where [(@code = '30973-2' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="30973-2" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Position Of Vaccination)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Position Of Vaccination)
|  |  |  |  |  |  |  |  | `hl7:value`
| INT | 1 … * Required |  |  | (eHDSI Position Of Vaccination)
|  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7']]]`
|  | 0 … * Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.7'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.7"`
| II | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.5'] root="1.3.6.1.4.1.19376.1.5.3.1.4.5"`
| II | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.28'] root="2.16.840.1.113883.10.20.1.28"`
| II | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.23-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.23" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 Required | ehdsi-dataelement-42 | Onset date | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.5-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.50-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.63-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.63" flexibility="dynamic"`
| CD.EPSOS | 1 … 1 Required | ehdsi-dataelement-43 ehdsi-dataelement-77 | Problem code Problem code | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:originalText`
|  | Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 0 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8']]] typeCode="SUBJ" inversionInd="true"`
|  | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8']] classCode="OBS" moodCode="EVN" negationInd="…"`
|  | 1 … Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.8'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.8"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.55'] root="2.16.840.1.113883.10.20.1.55"`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = 'SEV' and @codeSystem = '2.16.840.1.113883.5.4') or @nullFlavor] code="SEV" codeSystem="2.16.840.1.113883.5.4"`
| CD | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.13-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.13"`
| CD.EPSOS | 0 … * Required |  |  | (eHDSI Severity)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49']]] typeCode="SUBJ" inversionInd="true"`
| ANY | 0 … 1 Required | ehdsi-dataelement-358 | Diagnosis assertion status | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.49'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.49"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '66455-7' and @codeSystem = '2.16.840.1.113883.6.1')] code="66455-7" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.64-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.64" flexibility="dynamic"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Certainty Observation)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.57'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.50']]] typeCode="REFR" inversionInd="false"`
|  | 0 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.57'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.50']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.9'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.9"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1.1"`
| II | 0 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.57'] root="2.16.840.1.113883.10.20.1.57"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.50'] root="2.16.840.1.113883.10.20.1.50"`
| II | 1 … 1 Required |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '33999-4' and @codeSystem = '2.16.840.1.113883.6.1')] code="33999-4" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory | ehdsi-dataelement-74 | Resolution Circumstances | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.15-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.15"`
| CE.EPSOS | 1 … 1 Required | ehdsi-dataelement-73 | Problem Status code | (eHDSI Problem Status Observation)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10']]] typeCode="REFR" inversionInd="false"`
|  | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10']] classCode="OBS" moodCode="EVN"`
|  | 1 … |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.10'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.10"`
| II | 1 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.1.2"`
| II | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.51'] root="2.16.840.1.113883.10.20.1.51"`
| II | 0 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '11323-3' and @codeSystem = '2.16.840.1.113883.6.1')] code="11323-3" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  |  |  | `hl7:value where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.30-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.30"`
| CE.EPSOS | 1 … 1 Required |  |  | (eHDSI Health Status Observation)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40']]] typeCode="SUBJ" inversionInd="true"`
|  | 0 … * |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40']] classCode="ACT" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.11'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.11"`
| II | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.2"`
| II | 0 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.40'] root="2.16.840.1.113883.10.20.1.40"`
| II | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="48767-8" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Comment Activity)
|  |  |  |  |  |  |  |  |  |  | `hl7:author where [hl7:assignedAuthor] typeCode="AUT" contextControlCode="OP"`
|  | 0 … * Required | ehdsi-dataelement-125 | Author and Organisation | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| TS.EPSOS.TZ | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthor where [not(@nullFlavor)] [hl7:representedOrganization] classCode="ASSIGNED"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-123 | Nature of the Patient Summary | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="NA"`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-303 | HP Identifier | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…"`
| TEL.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-299 | Family Name/Surname | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-300 | Given Name | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthoringDevice classCode="DEV" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code valueSet="2.16.840.1.113883.1.11.16040"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:manufacturerModelName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:softwareName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
|  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48']]] typeCode="REFR" inversionInd="false"`
|  | 0 … * | ehdsi-dataelement-359 ehdsi-dataelement-361 | Health Professional related with Health Professional related with | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48']] classCode="PCPR" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.48'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.48"`
| II | 1 … 1 Mandatory |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:code where [(@code = '85847-2' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="85847-2" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = doc('include/voc-2.16.840.1.113883.1.11.15933-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15933"`
| CS | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:performer where [hl7:assignedEntity] typeCode="PRF"`
|  | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedEntity classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson where [@classCode = 'PSN'] [@determinerCode = 'INSTANCE'] classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:performer where [hl7:assignedEntity] typeCode="PRF"`
|  | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:time`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedEntity classCode="ASSIGNED"`
|  | 1 … 1 Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom`
| TEL | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:asOrganinizationPartOf classCode="PART"`
|  | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 0 … 1 |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:wholeOrganization classCode="ORG" determinerCode="INSTANCE"`
|  |  |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| ON | 0 … * |  |  | (eHDSI Care Team Act)
|  |  |  |  |  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']]] typeCode="REFR" inversionInd="false"`
|  | 0 … * |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14']] classCode="ACT" moodCode="…"`
|  | 1 … Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.12559.11.10.1.3.1.3.14'] root="1.3.6.1.4.1.12559.11.10.1.3.1.3.14"`
| II | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1"`
| II | 0 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code nullFlavor="NA"`
| CD | 1 … 1 Required |  |  | (eHDSI Internal Reference)
|  |  |  |  |  |  |  |  | `hl7:reference where [@typeCode = 'REFR'] typeCode="REFR" inversionInd="false"`
|  | 0 … * | ehdsi-dataelement-360 ehdsi-dataelement-362 | External Resource related with External Resource related with | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  | `hl7:externalDocument`
|  | 0 … 1 |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:code`
|  | 0 … * |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  | `hl7:text where [hl7:reference]`
| ED | 0 … 1 |  |  | (eHDSI Problem)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:reference`
|  | 1 … 1 Required |  |  | (eHDSI Problem)
|  |  |  |  |  |  | `hl7:entryRelationship where [hl7:act [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2']]]`
|  | 0 … * Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  | `hl7:act where [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2']] classCode="ACT" moodCode="EVN"`
|  | 1 … Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.40'] root="2.16.840.1.113883.10.20.1.40"`
| II | 1 … 1 Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.2"`
| II | 1 … 1 Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  | `hl7:code where [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="48767-8" codeSystem="2.16.840.1.113883.6.1"`
| CD | 1 … 1 Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  | `hl7:text`
| ED | 1 … 1 Required |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Comment)
|  |  |  |  |  |  |  |  | `hl7:author where [hl7:assignedAuthor] typeCode="AUT" contextControlCode="OP"`
|  | 0 … * Required | ehdsi-dataelement-125 | Author and Organisation | (eHDSI Author)
|  |  |  |  |  |  |  |  |  | `hl7:functionCode where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.1-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.1"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  | `hl7:time`
| TS.EPSOS.TZ | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  | `hl7:assignedAuthor where [not(@nullFlavor)] [hl7:representedOrganization] classCode="ASSIGNED"`
|  | 1 … 1 Mandatory | ehdsi-dataelement-123 | Nature of the Patient Summary | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="NA"`
| II.EPSOS | 1 … * Required | ehdsi-dataelement-303 | HP Identifier | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  | `hl7:code`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  | `hl7:addr`
| AD.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…"`
| TEL.EPSOS | 1 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  | `choice`
|  | 1 … 1 |  |  |
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedPerson classCode="PSN" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:name`
| PN | 1 … 1 Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:family where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-299 | Family Name/Surname | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:given where [not(@nullFlavor)]`
|  | 1 … * Mandatory | ehdsi-dataelement-300 | Given Name | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:prefix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  |  |  | `hl7:suffix`
|  | 0 … * Required |  |  | (eHDSI Author)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:assignedAuthoringDevice classCode="DEV" determinerCode="INSTANCE"`
|  | 0 … 1 Conditional |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:code valueSet="2.16.840.1.113883.1.11.16040"`
| CE.EPSOS | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:manufacturerModelName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:softwareName`
| SC | 0 … 1 Required |  |  | (eHDSI Device)
|  |  |  |  |  |  |  |  |  |  | `hl7:representedOrganization classCode="ORG" determinerCode="INSTANCE"`
|  | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:id nullFlavor="…"`
| II.EPSOS | 1 … 1 Required | ehdsi-dataelement-285 ehdsi-dataelement-296 | Organization Identifier Facility (Pharmacy) Identifier | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:name nullFlavor="…"`
| ON | 1 … 1 Required | ehdsi-dataelement-286 ehdsi-dataelement-294 | Organization Name Name of the Facility | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:telecom use="…" nullFlavor="NI"`
| TEL | 1 … * Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  | `hl7:addr where [hl7:country]`
| AD.EPSOS | 1 … 1 Required |  |  | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:streetAddressLine`
|  | 0 … * Required | ehdsi-dataelement-293 | Street address | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:city`
|  | 0 … 1 Required | ehdsi-dataelement-292 | City | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:postalCode`
|  | 0 … 1 Required | ehdsi-dataelement-291 | Zip or Postal Code | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:state`
|  | 0 … 1 Required | ehdsi-dataelement-290 | State or Province | (eHDSI Organization)
|  |  |  |  |  |  |  |  |  |  |  |  | `hl7:country`
|  | 1 … 1 Required | ehdsi-dataelement-289 | Country | (eHDSI Organization)
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.16'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.15']]]`
|  | 1 … 1 Required |  |  | (eHDSI Social History)
|  |  |  | `hl7:section where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.16'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.15']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory | epsos-dataelement-111 | Social History | (eHDSI Social History)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] root="1.3.6.1.4.1.19376.1.5.3.1.3.16.1"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.16'] root="1.3.6.1.4.1.19376.1.5.3.1.3.16"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.15'] root="2.16.840.1.113883.10.20.1.15"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:id`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:code where [(@code = '29762-2' and @codeSystem = '2.16.840.1.113883.6.1')] code="29762-2" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Social History)
|  |  |  |  | `hl7:entry where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.33'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.4']]]`
|  | 1 … * Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.33'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.4']]`
|  | 1 … Required | epsos-dataelement-112 | Social History Observations | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.33'] root="2.16.840.1.113883.10.20.1.33"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.4'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13.4"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.14-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.14" flexibility="dynamic"`
| CD | 1 … 1 Mandatory | epsos-dataelement-113 | Social History Observations related to: smoke, alcohol and diet | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| ED | 1 … 1 Mandatory |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:effectiveTime where [hl7:low]`
| IVL_TS | 1 … 1 Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  |  | `hl7:low`
|  | 1 … 1 Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  |  | `hl7:high`
|  | 0 … 1 Conditional |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:repeatNumber`
|  | 0 … 0 Not permitted |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:value`
| ANY | 1 … * Required |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:interpretationCode`
|  | 0 … 0 Not permitted |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:methodCode`
|  | 0 … 0 Not permitted |  |  | (eHDSI Social History Observation)
|  |  |  |  |  |  | `hl7:targetSiteCode`
|  | 0 … 0 Not permitted |  |  | (eHDSI Social History Observation)
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']]]`
|  | 1 … 1 Required |  |  | (eHDSI Pregnancy History)
|  |  |  | `hl7:section where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory | epsos-dataelement-115 | Pregnancy History | (eHDSI Pregnancy History)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4'] root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Pregnancy History)
|  |  |  |  | `hl7:id`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Pregnancy History)
|  |  |  |  | `hl7:code where [(@code = '10162-6' and @codeSystem = '2.16.840.1.113883.6.1')] code="10162-6" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Pregnancy History)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Pregnancy History)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Pregnancy History)
|  |  |  |  | `hl7:entry where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.5']]]`
|  | 1 … 1 Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.5']]`
|  | 1 … Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13.5"`
| II.EPSOS | 1 … 1 Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:id`
| II | 1 … * Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.9-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.9"`
| CD | 1 … 1 Mandatory |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed' or @nullFlavor] code="completed"`
| CS | 1 … 1 Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:effectiveTime`
| IVL_TS | 1 … 1 Required |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:repeatNumber`
|  | 0 … 0 Not permitted |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:value`
| TS | 1 … 1 Required | epsos-dataelement-116 | Expected date of delivery | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:interpretationCode`
|  | 0 … 0 Not permitted |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:methodCode`
|  | 0 … 0 Not permitted |  |  | (eHDSI Pregnancy Observation)
|  |  |  |  |  |  | `hl7:targetSiteCode`
|  | 0 … 0 Not permitted |  |  | (eHDSI Pregnancy Observation)
|  |  | `hl7:component where [hl7:section [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.25']]]`
|  | 1 … 1 Required |  |  | (eHDSI Vital Signs)
|  |  |  | `hl7:section where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.25']] classCode="DOCSECT"`
|  | 1 … 1 Mandatory | epsos-dataelement-118 | Vital Signs Observations | (eHDSI Vital Signs)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs)
|  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.3.25'] root="1.3.6.1.4.1.19376.1.5.3.1.3.25"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs)
|  |  |  |  | `hl7:id`
| II.EPSOS | 0 … 1 Required |  |  | (eHDSI Vital Signs)
|  |  |  |  | `hl7:code where [(@code = '8716-3' and @codeSystem = '2.16.840.1.113883.6.1')] code="8716-3" codeSystem="2.16.840.1.113883.6.1"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs)
|  |  |  |  | `hl7:title where [not(@nullFlavor)]`
| ST | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs)
|  |  |  |  | `hl7:text where [not(@nullFlavor)]`
| SD.TEXT | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs)
|  |  |  |  | `hl7:entry where [hl7:organizer [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.32'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.35']]]`
|  | 0 … * Required |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  | `hl7:organizer where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.32'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.35']] classCode="CLUSTER" moodCode="EVN"`
|  | 1 … 1 Mandatory | epsos-dataelement-119 | Blood Pressure | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.32'] root="2.16.840.1.113883.10.20.1.32"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.35'] root="2.16.840.1.113883.10.20.1.35"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:id where [not(@nullFlavor)]`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:code where [(@code = '46680005' and @codeSystem = '2.16.840.1.113883.6.96')] code="46680005" codeSystem="2.16.840.1.113883.6.96"`
| CE.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:effectiveTime`
| TS | 1 … 1 Required | epsos-dataelement-122 | Date when blood pressure was measured | (eHDSI Vital Signs Organizer)
|  |  |  |  |  |  | `hl7:component where [hl7:observation [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.31'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.2']]]`
|  | 1 … * Mandatory |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  | `hl7:observation where [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.31'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.2']]`
|  | 1 … 1 Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '2.16.840.1.113883.10.20.1.31'] root="2.16.840.1.113883.10.20.1.31"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:templateId where [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2"`
| II.EPSOS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:id`
| II | 0 … * Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:code where [concat(@code, @codeSystem) = doc('include/voc-1.3.6.1.4.1.12559.11.10.1.3.1.42.21-DYNAMIC.xml')//valueSet [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="1.3.6.1.4.1.12559.11.10.1.3.1.42.21"`
| CE.EPSOS | 1 … 1 Mandatory | epsos-dataelement-120 epsos-dataelement-121 | Systolic Blood Pressure Diastolic Blood Pressure | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:text`
| ED | 0 … 1 Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  |  | `hl7:reference where [not(@nullFlavor)] value="…"`
| TEL | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:statusCode where [@code = 'completed'] code="completed"`
| CS | 1 … 1 Mandatory |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:effectiveTime`
| TS | 1 … 1 Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:value`
| PQ | 1 … 1 Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:interpretationCode`
| CE | 0 … * Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:methodCode`
| CE | 0 … * Required |  |  | (eHDSI Vital Signs Observation)
|  |  |  |  |  |  |  |  | `hl7:targetSiteCode`
| CD | 0 … * Required |  |  | (eHDSI Vital Signs Observation)