<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.hl7.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dammon</id>
	<title>Hl7wiki - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hl7.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dammon"/>
	<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Spezial:Beitr%C3%A4ge/Dammon"/>
	<updated>2026-05-07T00:56:08Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Ballotbox_MI-I&amp;diff=77872</id>
		<title>Ballotbox MI-I</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Ballotbox_MI-I&amp;diff=77872"/>
		<updated>2022-02-24T18:45:34Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BallotboxBegin| Kerndatensatz-Module Medizininformatik Initiative | Profile, Extensions und Value Sets für FHIR (MII) }}&lt;br /&gt;
&lt;br /&gt;
{{BallotboxItem&lt;br /&gt;
|status = vote&lt;br /&gt;
|type = Informativ&lt;br /&gt;
|version = Broad Consent 1.0.0&lt;br /&gt;
|date = 15.02.2022&lt;br /&gt;
|from = 01.03.2021&lt;br /&gt;
|to = 12.04.2021&lt;br /&gt;
|ballotannouncement = [https://www.medizininformatik-initiative.de/de/kommentierung-mii-kerndatensatzmodul-consent-einwilligung]&lt;br /&gt;
|ballotstart =&lt;br /&gt;
|pdf = https://simplifier.net/MedizininformatikInitiative-ModulConsent/~introduction&lt;br /&gt;
|wiki = &lt;br /&gt;
|artdecor = https://art-decor.org/art-decor/decor-datasets--mide-?id=2.16.840.1.113883.3.1937.777.24.1.1&amp;amp;effectiveDate=2018-06-05T12%3A44%3A12&amp;amp;conceptId=2.16.840.1.113883.3.1937.777.24.2.184&amp;amp;conceptEffectiveDate=2018-06-29T16%3A26%3A50&amp;amp;language=de-DE&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BallotboxItem&lt;br /&gt;
|status = vote&lt;br /&gt;
|type = Informativ&lt;br /&gt;
|version = Intensivmedizin 1.0.0&lt;br /&gt;
|date = 11.02.2022&lt;br /&gt;
|from = 25.02.2021&lt;br /&gt;
|to = 08.04.2021&lt;br /&gt;
|ballotannouncement = [https://www.medizininformatik-initiative.de/de/kommentierung-mii-kerndatensatzmodul-intensivmedizin-pdms-daten-und-hochaufloesende-biosignaldaten]&lt;br /&gt;
|ballotstart =&lt;br /&gt;
|pdf = https://simplifier.net/MedizininformatikInitiative-Modul-Intensivmedizin/~introduction&lt;br /&gt;
|wiki = &lt;br /&gt;
|artdecor = https://art-decor.org/art-decor/decor-datasets--mide-?id=2.16.840.1.113883.3.1937.777.24.1.1&amp;amp;effectiveDate=2018-06-05T12%3A44%3A12&amp;amp;conceptId=2.16.840.1.113883.3.1937.777.24.2.9&amp;amp;conceptEffectiveDate=2018-06-05T16%3A14%3A53&amp;amp;language=de-DE&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BallotboxItem&lt;br /&gt;
|status = vote&lt;br /&gt;
|type = Informativ&lt;br /&gt;
|version = Biobank 1.0.0&lt;br /&gt;
|date = 23.06.2021&lt;br /&gt;
|from = 07.07.2021&lt;br /&gt;
|to = 18.08.2021&lt;br /&gt;
|ballotannouncement = Ankuendigung_MII_Biobank&lt;br /&gt;
|ballotstart =&lt;br /&gt;
|pdf = https://simplifier.net/MedizininformatikInitiative-ModulBiobank/~introduction&lt;br /&gt;
|wiki = &lt;br /&gt;
|artdecor = https://art-decor.org/art-decor/decor-datasets--mide-?id=2.16.840.1.113883.3.1937.777.24.1.1&amp;amp;effectiveDate=2018-06-05T12%3A44%3A12&amp;amp;conceptId=2.16.840.1.113883.3.1937.777.24.2.72&amp;amp;conceptEffectiveDate=2018-06-06T06%3A26%3A44&amp;amp;language=de-DE&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BallotboxItem&lt;br /&gt;
|status = reconc&lt;br /&gt;
|type = Informativ&lt;br /&gt;
|version = Fall, Diagnose, Prozedur 1.0.0&lt;br /&gt;
|date = 01.07.2020&lt;br /&gt;
|from = 11.05.2020&lt;br /&gt;
|to = 21.06.2020&lt;br /&gt;
|ballotannouncement = https://www.medizininformatik-initiative.de/de/kerndatensatzmodule-fall-diagnose-und-prozedur-der-medizininformatik-initiative&lt;br /&gt;
|ballotstart =&lt;br /&gt;
|pdf = https://simplifier.net/organization/koordinationsstellemii/~projects&lt;br /&gt;
|wiki = &lt;br /&gt;
|artdecor = https://github.com/medizininformatik-initiative&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BallotboxItem&lt;br /&gt;
|status = reconc&lt;br /&gt;
|type = Informativ&lt;br /&gt;
|version = Medikation, Laborbefund 1.0.0&lt;br /&gt;
|date = 01.04.2020&lt;br /&gt;
|from = 10.02.2020&lt;br /&gt;
|to = 23.03.2020&lt;br /&gt;
|ballotannouncement = https://www.medizininformatik-initiative.de/de/kommentierung-der-kerndatensatzmodule-person-medikation-und-laborbefund-der-medizininformatik&lt;br /&gt;
|ballotstart =&lt;br /&gt;
|pdf = https://simplifier.net/organization/koordinationsstellemii/~projects&lt;br /&gt;
|wiki = &lt;br /&gt;
|artdecor = https://github.com/medizininformatik-initiative&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{BallotboxEnd}}&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Ballotbox]]&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=FHIR-Markt%C3%BCbersicht&amp;diff=75604</id>
		<title>FHIR-Marktübersicht</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=FHIR-Markt%C3%BCbersicht&amp;diff=75604"/>
		<updated>2021-02-08T13:25:03Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Underconstruction}}&lt;br /&gt;
&lt;br /&gt;
Diese Seite dient der Orientierung und soll eine grobe Einschätzung der Verbreitung von FHIR in Deutschland erlauben.&lt;br /&gt;
&lt;br /&gt;
=FHIR-Produkte auf dem Deutschen Markt=&lt;br /&gt;
&lt;br /&gt;
Diese Liste ist alphabetisch nach Hersteller sortiert:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
!Hersteller!!Produkt/ Modul!!Beschreibung!!Rolle!!Ressourcen (Profile)!!FHIR-Version!!Status!!IHE-Profile!!Capability-Statement&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[http://dmi.de DMI]||Archivar 4.0||Dokumentenmanagement in der Langzeitarchivierung||FHIR-Server||Patient&amp;lt;br/&amp;gt; Encounter&amp;lt;br/&amp;gt; DocumentReference&amp;lt;br/&amp;gt; Binary||STU3/R4||produktiv/in (Weiter-)Entwicklung||MHD||&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.corpuls.world GS Elektromedizinische Geräte G. Stemple GmbH]||corpuls.web&amp;lt;br/&amp;gt;LIVE||Telemedizinsoftware zur Liveübertragung von EKGs, Vitalwerten und Patientendaten in der präklinischen Notfallmedizin. Als eigenständiges Medizinprodukt ist es zur Diagnose und Einholung eines Telekonsils im Rettungsdienst und Klinikumfeld zugelassen.||Webanwendung für Telekonsil, Schnittstelle zwischen corpuls Geräten und Drittsoftware||Bundle&amp;lt;br/&amp;gt;CapabilityStatement&amp;lt;br/&amp;gt;(Device)&amp;lt;br/&amp;gt;Encounter&amp;lt;br/&amp;gt;Patient&amp;lt;br/&amp;gt;(Procedure)&amp;lt;br/&amp;gt;Observation||R4||produktiv||-||&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.ibm.com/de-de/ IBM]||eGA (elektronische Gesundheitsakte)||Elektronische Gesundheitsakte für Versicherte der Techniker Krankenkasse ||App||Claim&amp;lt;br/&amp;gt;DocumentReference&amp;lt;br/&amp;gt;Encounter&amp;lt;br/&amp;gt;Immunization&amp;lt;br/&amp;gt;Medication&amp;lt;br/&amp;gt;MedicationDispense&amp;lt;br/&amp;gt;MedicationRequest&amp;lt;br/&amp;gt;Organization&amp;lt;br/&amp;gt;Practitioner||STU3||in Entwicklung||-||&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[http://www.icw.de ICW]||ICW eHealth Suite||Master Patient Index, Provider Directory, Document and Image Exchange, Clinical Data Repository, Integrated Forms, Appointments||FHIR-Server||Patient&amp;lt;br/&amp;gt; Encounter&amp;lt;br/&amp;gt; DocumentReference&amp;lt;br/&amp;gt; Binary&amp;lt;br/&amp;gt; Procedure&amp;lt;br/&amp;gt; ProcedureRequest&amp;lt;br/&amp;gt; Observation&amp;lt;br/&amp;gt; Condition&amp;lt;br/&amp;gt; Medication&amp;lt;br/&amp;gt; MedicationStatement&amp;lt;br/&amp;gt; MedicationDispense&amp;lt;br/&amp;gt; MedicationAdministration&amp;lt;br/&amp;gt; Questionnaire&amp;lt;br/&amp;gt; QuestionnaireResponse&amp;lt;br/&amp;gt; Appointment&amp;lt;br/&amp;gt; Practitioner&amp;lt;br/&amp;gt; PractitionerRole&amp;lt;br/&amp;gt; Organization&amp;lt;br/&amp;gt; Device&amp;lt;br/&amp;gt; ||STU3||produktiv||PIXm, PDQm, MHD, mCSD, QEDm||&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[http://nursit-institute.de/de/startseite/ NursIT Institute]||CareIT Pro||Pflegedokumentationssystem, Pflegeplanung, Bettenbelegung, Questionnaire-Designer||Smart-App Client + SmileCDR Server||Encounter&amp;lt;br/&amp;gt;Patient&amp;lt;br/&amp;gt;Questionnaire&amp;lt;br /&amp;gt;QuestionnaireResponse&amp;lt;br/&amp;gt;Procedure&amp;lt;br/&amp;gt;ProcedureRequest&amp;lt;br/&amp;gt;CarePlan&amp;lt;br/&amp;gt;Observation&amp;lt;br/&amp;gt;||STU3||produktiv||-||&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.sap.com/industries/healthcare.html SAP SE]||SAP Health for Waiting Time Management||Verwaltung und Vorhersage von individuellen Wartezeiten von Patienten in der Notaufnahme und ambulanten Versorgung (siehe Disclaimer und Product Roadmap [https://www.sap.com/products/roadmaps.industry.html#pdf-asset=9435cfc6-c37c-0010-82c7-eda71af511fa&amp;amp;page=1 hier]) ||Cloud Anwendung für Krankenhäuser und Ambulanzen für den Patienten als Konsumenten||Bundle&amp;lt;br/&amp;gt;MessageHeader&amp;lt;br/&amp;gt;Patient&amp;lt;br/&amp;gt;Encounter&amp;lt;br/&amp;gt;Organization&amp;lt;br/&amp;gt;Observation&amp;lt;br/&amp;gt;Location&amp;lt;br/&amp;gt;||STU3||produktiv||-||&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.sap.com/industries/healthcare.html SAP SE]||SAP S/4HANA Healthcare for Patient Accounting||Patientenabrechnung für Leistungserbringer im Gesundheitswesen (siehe Disclaimer und Product Roadmap [https://www.sap.com/products/roadmaps.industry.html#pdf-asset=9435cfc6-c37c-0010-82c7-eda71af511fa&amp;amp;page=1 hier]) || Cloud-Anwendung für Patientenabrechner|| Patient&amp;lt;br/&amp;gt;EpisodeOfCare&amp;lt;br/&amp;gt;Encounter&amp;lt;br/&amp;gt;Coverage&amp;lt;br/&amp;gt;ChargeItem&amp;lt;br&amp;gt;Invoice&amp;lt;br/&amp;gt; ||STU3 und R4||in Entwicklung||-||&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.synedra.com synedra IT GmbH] || synedra AIM / FHIRServer || Anbindung von Laborsystemen direkt über FHIR oder HL7 V2 zu FHIR Konnektor, revisionssichere Archivierung von strukturierten Daten, Multiformat-Viewer inkl. Labor-Viewer, Bereitstellung von Daten für klinische Systeme, Anbindung von mobilen Apps und Webapplikationen von Drittherstellern, Health Content Management, PACS  || FHIR-Server ||  Observation, DiagnosticReport, MedicationAdministration, AuditEvent (read-only), Patient (read-only), Encounter (read-only), Organization (read-only), Practitioner (read-only) || R4 || produktiv und in (Weiter-)Entwicklung || ATNA/ARR/Option RETRIEVE_AUDIT_MSG || [https://aimcloud-integration.synedra.net:8449/fhir/r4/metadata.json]&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{fmbox&lt;br /&gt;
| image = [[Bild:Attention_icon.svg|50px]]&lt;br /&gt;
| text = Die hier aufgeführten Informationen bestehen aus der Selbstauskunft der Hersteller. Diese Liste stellt keine Empfehlung von HL7 Deutschland e.V. dar. Auch wird die tatsächliche Kompatibilität der Produkte zum FHIR-Standard zum jetzigen Zeitpunkt nicht vom [[TC_FHIR|Technischen Komitee für FHIR]] überprüft.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Herstellerübergreifende FHIR-Projekte und Leitfäden in Deutschland==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
!Beteiligte Organisationen!!Projekt!!Beschreibung!!Akteure/Rollen!!Resourcen (Profile)!!FHIR-Version!!Status!!IHE-Profile!!verwendete Produkte/Tools&lt;br /&gt;
|-&lt;br /&gt;
|Hochschule Niederrhein http://hsnr.de||[http://medikationsplan-plus.de MedikationsplanPlus]||FHIR dient neben CDA als strukturierte Darstellungsform für den Medikationsplan. Zudem erhält der auf dem papiergebundenen Medikationsplan aufgedruckte Barcode ein Ultrakurzformat, aus dem die Inhalte der FHIR-Resourcen wiederhergestellt werden können||Erzeuger des Medikationsplans &amp;lt;br /&amp;gt; Konsumenten des Medikationsplans||Patient&amp;lt;br /&amp;gt;Composition&amp;lt;br /&amp;gt;List&amp;lt;br /&amp;gt;MedicationStatement&amp;lt;br /&amp;gt;Medication||STU3||in Entwicklung||-||Simplifier/Forge&lt;br /&gt;
|-&lt;br /&gt;
|Hochschule Niederrhein http://hsnr.de||[http://www.genealyse.de Genealyse]||FHIR dient neben CDA als strukturierte Darstellungsform für den Genetic Testing Report.||Erzeuger des GTR &amp;lt;br /&amp;gt; Konsumenten des GTR||Patient&amp;lt;br /&amp;gt;Composition&amp;lt;br /&amp;gt;List&amp;lt;br /&amp;gt;MedicationStatement&amp;lt;br /&amp;gt;Medication||STU3||in Entwicklung||-||Simplifier/Forge&lt;br /&gt;
|-&lt;br /&gt;
|[http://dmi.de DMI]&amp;lt;br/&amp;gt;[https://dvmd.de/ DVMD]||[https://www.dmi.de/wissen/kdl/ Konsoliderte Dokumentenliste]||Publikation der KDL (einheitliche Terminologie für die Benennung von Dokumenttypen) sowie der Mappings auf IHE-DE Type- und Classcodes als FHIR-Terminologie-Ressourcen||-||ValueSet&amp;lt;br/&amp;gt;CodeSystem&amp;lt;br/&amp;gt;ConceptMap||STU3/R4||Publikation in Vorbereitung||-||Simplifier&lt;br /&gt;
|-&lt;br /&gt;
|UKs Aachen, Bonn, Düsseldorf, Essen, Halle, Hamburg-Eppendorf, Jena, Leipzig, Rostock, HL7 Deutschland u.a.||[http://www.smith.care Smart Medical Information Technology for Healthcare (SMITH)]||neben IHE-XDS-Infrastrukturen werden in den [https://www.medizininformatik-initiative.de/de/start Datenintegrationszentren] von SMITH FHIR-Server die zentrale Vorhaltung von / Zugriffsmöglichkeit auf Daten der Krankenversorgung bilden, die für spezifische Forschungsprojekte zur Nutzung bereitgestellt werden||Krankenversorger&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Forscher||Patient&amp;lt;br /&amp;gt;Encounter&amp;lt;br /&amp;gt;Condition&amp;lt;br /&amp;gt;Procedure&amp;lt;br /&amp;gt;Observation&amp;lt;br /&amp;gt;Medication&amp;lt;br /&amp;gt;DiagnosticReport&amp;lt;br /&amp;gt;Specimen&amp;lt;br /&amp;gt;Provenance&amp;lt;br /&amp;gt;Consent&amp;lt;br /&amp;gt;Questionnaire&amp;lt;br /&amp;gt;ResearchStudy&amp;lt;br /&amp;gt;Group&amp;lt;br /&amp;gt;Organization&amp;lt;br /&amp;gt;etc.||R4||in Entwicklung||-||ART-DECOR&amp;lt;br /&amp;gt;Simplifier&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.uniklinikum-jena.de/gbit/Projekte.html Universitätsklinikum Jena]||ESSENZ||Beschreibung und Umsetzung essenzieller Bestandteile universitätsmedizinischer Dokumentation am UK Jena inkl. notwendiger Mappings, die perspektivisch von allen IT-Subsystemen auf Basis von FHIR kommuniziert und synchronisiert werden sollen (Anbindung von FHIR an ein VNA als Plattformstrategie)||Erzeuger klinischer Dokumentation&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Konsumenten klinischer Dokumentation||Patient&amp;lt;br /&amp;gt;Encounter&amp;lt;br /&amp;gt;Condition&amp;lt;br /&amp;gt;Procedure&amp;lt;br /&amp;gt;Observation&amp;lt;br /&amp;gt;Practitioner&amp;lt;br /&amp;gt;Organization&amp;lt;br /&amp;gt;etc.||R4||in Entwicklung||-||Simplifier (geplant)&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.hs-osnabrueck.de/forschungsgruppe-informatik-im-gesundheitswesen/ Hochschule Osnabrück]||[https://simplifier.net/ePflegebericht/ ePflegebericht]||Darstellung des ePflegeberichts in HL7-FHIR||primär Pflegekräfte, als Empfänger auch Ärzte, Patienten und Angehörige möglich||Bundle&amp;lt;br/&amp;gt;Coding&amp;lt;br/&amp;gt;Composition&amp;lt;br/&amp;gt;Condition&amp;lt;br/&amp;gt;Device&amp;lt;br/&amp;gt;DeviceRequest&amp;lt;br/&amp;gt;Goal&amp;lt;br/&amp;gt;Observation&amp;lt;br/&amp;gt;Patient&amp;lt;br/&amp;gt;Procedure&amp;lt;br/&amp;gt;RelatedPerson||R4||in Entwicklung||-||Simplifier, Forge&lt;br /&gt;
|-&lt;br /&gt;
|[https://www.hs-osnabrueck.de/forschungsgruppe-informatik-im-gesundheitswesen/ Hochschule Osnabrück]||[https://simplifier.net/ewundbericht eWundbericht]||Darstellung des eWundberichts in HL7-FHIR||alle an der Wundversorgung beteiligten Professionen (z.B. Pflegekräfte, Ärzte, Wundmanager), als Empfänger auch Patienten und Angehörige möglich||AllergyIntolerance&amp;lt;br/&amp;gt;BodyStructure&amp;lt;br/&amp;gt;Bundle&amp;lt;br/&amp;gt;Composition&amp;lt;br/&amp;gt;Condition&amp;lt;br/&amp;gt;DeviceDefinition&amp;lt;br/&amp;gt;DocumentReference&amp;lt;br/&amp;gt;Goal&amp;lt;br/&amp;gt;Observation&amp;lt;br/&amp;gt;Procedure&amp;lt;br/&amp;gt;RiskAssessment||R4||in Entwicklung||-||Simplifier, Forge&lt;br /&gt;
|}&lt;br /&gt;
{{fmbox&lt;br /&gt;
| image = [[Bild:Attention_icon.svg|50px]]&lt;br /&gt;
| text = Die hier aufgeführten Informationen bestehen aus der Selbstauskunft der Organisationen. Die Nennung der Projekte impliziert keine Beteiligung von HL7 Deutschland e.V., es sei denn in der Spalte &amp;quot;Beteiligte Organisationen&amp;quot; explizit genannt.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==FHIR-Projekte International==&lt;br /&gt;
siehe http://wiki.hl7.org/index.php?title=National_FHIR_Projects&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=63153</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=63153"/>
		<updated>2020-01-31T13:43:46Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
== Kümmerer im Interoperabilitätsforum ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
== Kerndatensatz ==&lt;br /&gt;
&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der früheren Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Datensatzmodellierung des weiterentwickelten MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
* [https://simplifier.net/organization/koordinationsstellemii/~projects FHIR-Profilierungsprojekte der weiterentwickelten Kerndatensatzmodule auf Simplifier.net]&lt;br /&gt;
&lt;br /&gt;
== Konsortien ==&lt;br /&gt;
&lt;br /&gt;
=== SMITH ===&lt;br /&gt;
&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
&lt;br /&gt;
==== Use Case ASIC ====&lt;br /&gt;
&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==== Use Case HELP ====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
=== HiGHmed ===&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
==== Datenintegrationszentren ====&lt;br /&gt;
&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
==== Use Cases ====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
=== MIRACUM ===&lt;br /&gt;
&lt;br /&gt;
MIRACUM vereint zehn Universitätsklinika, zwei Hochschulen und einen Industriepartner aus sieben deutschen Bundesländern. Ziel ist es, klinische Daten, Bilddaten und Daten aus molekularen/genomischen Untersuchungen sowohl standortbezogen als auch standortübergreifend über modular aufgebaute, skalierbare und föderierte Datenintegrationszentren für innovative Forschungsprojekte nutzbar zu machen. Neben der, mit solchen Datenintegrationszentren grundsätzlichen, Möglichkeit der Durchführung von Machbarkeitsstudien, Beobachtungsstudien und der Untersuchung von „Real World Pathways“ in großem Maßstab, wird MIRACUM die Rekrutierung von Patienten für klinische Studien, die Entwicklung von Prädiktionsmodellen und die Präzisionsmedizin unterstützen. Um die Biomedizinische Informatik und Medical Data Science zu stärken, wurden an den MIRACUM Standorten bereits zehn neue Professuren ausgeschrieben und weitere werden folgen. Zudem soll ein gemeinsames, standortübergreifendes Masterstudium zu „Biomedical Informatics und Medical Data Science“ aufgebaut werden.&lt;br /&gt;
&lt;br /&gt;
* [https://www.miracum.org Link zur MIRACUM-Website]&lt;br /&gt;
&lt;br /&gt;
==== Use Cases ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Alerting in Care – IT Support for Patient Recruitment:&amp;#039;&amp;#039;&amp;#039; Klinische Studien scheitern häufig bereits an der zu geringen Rekrutierung passender Studienteilnehmer/innen. Um die Rekrutierungsprozesse durch IT-Verfahren und vorhandene Routinedaten zu unterstützen, werden wir an jedem unserer Universitätsklinika entsprechende Rekrutierungsplattformen in die KIS-Umgebungen integrieren und die Dokumentationsqualität und Vollständigkeit der für die Rekrutierung herangezogenen Datenelemente kontinuierlich mittels regelmäßiger Evaluationen und Feedbackschleifen verbessern.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From Data to Knowledge – Clinico-molecular predictive knowledge tool:&amp;#039;&amp;#039;&amp;#039; Mit dem schrittweisen inhaltlichen Ausbau der Datenintegrationszentren wird eine Basis gelegt, um Patientenkohorten anhand von klinischen Parametern, Biomarkern und molekularen/genomischen Untersuchungen zu identifizieren und in Subgruppen zu stratifizieren, so dass auf diese jeweils zugeschnittene Prädiktionsmodelle entwickelt werden können. Mittels FHIR-basierter, in die jeweiligen KIS-Umgebungen eingebetteter Smart-Apps werden die Prädiktionsmodelle in den Klinikalltag zurück gespielt und Ärzte in ihren diagnostischen und therapeutischen Entscheidungen unterstützt. Der klinische Fokus wird hierbei zunächst auf Lungenerkrankungen und Patienten mit Hirntumoren gelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From Knowledge to Action – Support for Molecular Tumor Boards:&amp;#039;&amp;#039;&amp;#039; Die Präzisionsmedizin ist im Kontext der Versorgung von Tumorpatienten bereits sehr weit fortgeschritten. Für viele Tumore kann man heute sogenannte “Driver Mutations” mittels tiefer genetischer Charakterisierung identifizieren und diese sehr gezielt therapieren. In Molekularen Tumorboards (MTB) laufen letztendlich alle klinischen Informationen und Bilder, sowie molekulare/genetische Untersuchungsergebnisse zur interdisziplinären Entscheidungsfindung zusammen. In diesem Kontext hat es sich MIRACUM zur Aufgabe gestellt, die komplexen Prozesse der Qualitätssicherung, Datenaufbereitung, Datenintegration und Informationsrecherche zwischen den genetischen Hochdurchsatzanalysen und der medizinischen Therapieentscheidung, mit innovativen IT-Lösungen zu optimieren und den Klinikern durch effiziente Datenvisualisierungen eine Entscheidungsunterstützung zu bieten.&lt;br /&gt;
&lt;br /&gt;
=== DIFUTURE ===&lt;br /&gt;
&lt;br /&gt;
Für die Medizin der Zukunft sind die Integration von Daten und ihre standortübergreifende Nutzung essentiell. DIFUTURE stellt den in der Krankenversorgung Tätigen und für die Forschung Daten und Wissen in innovativer Breite und Tiefe bereit, um die Prozesse der Krankenversorgung zu verbessern, Innovation zu beschleunigen und konkrete Fortschritte für die Patientinnen und Patienten zu erzielen.&lt;br /&gt;
&lt;br /&gt;
In DIFUTURE haben sich drei Exzellenzuniversitäten mit ihren Universitätsklinika und weiteren, auch klinischen Partnern zusammengeschlossen. Es resultiert eine einmalige Synthese des Wissens aus Medizin, Informatik, Biostatistik und Bioinformatik. Die internationale Vernetzung ist eine weitere Stärke.&lt;br /&gt;
&lt;br /&gt;
* [https://difuture.de Link zur DIFUTURE-Website]&lt;br /&gt;
&lt;br /&gt;
==== Datenintegrationszentren ====&lt;br /&gt;
&lt;br /&gt;
Die Datenintegrationszentren von DIFUTURE sind modular, erweiterbar und auf Standards basierend. Der Prozess der Datenintegration umfasst die Harmonisierung von Daten und von Prozessen. Dabei fokussiert er auf hohe Datenqualität. Um die notwendige Interoperabilität zu gewährleisten, werden kommerzielle Komponenten mit frei verfügbarer (Open-Source-) Software kombiniert. Datenschutz und Datensicherheit spielen eine zentrale Rolle, u.a. im Hinblick auf  Sicherheit bereits im Entwurf, Datensparsamkeit und Schalenmodelle. Die Analysen und Studien von DIFUTURE werden verteilte Ansätze verwenden und so dem Methodentransfer gegenüber einem Datentransfer den Vorrang geben.&lt;br /&gt;
&lt;br /&gt;
==== Use Cases ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anwendungsfall 1: Multiple Sklerose (MS)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Die Kliniker und Wissenschaftler des Konsortiums sind zentral in die Erforschung der MS involviert, in der Grundlagenforschung und in nationalen und internationalen Verbünden. Eine Datenintegration wurde bereits vorgenommen, um verteilte Analysen zu ermöglichen. Insbesondere die Entdeckung von Markern und Algorithmen zur Vorhersage des Krankheitsverlaufs und für eine früh einsetzende zielgerichtete und personalisierte Therapie stehen im Fokus. Das Spektrum der integrierten Daten ist breit und reicht von klinischen und Labordaten über multidimensionale Bilddaten zu genetischen Daten. Hier kann auf sehr große, bereits in wesentlichen Teilen standardisierte Datensammlungen zugegriffen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anwendungsfall 2: Parkinson-Krankheit&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Alle Anwendungsfälle von DIFUTURE sind darauf ausgerichtet, verallgemeinerbare Ansätze zu etablieren. So werden die Integrations- und Analysemethoden des MS-Anwendungsfalles in analoger Weise auf die Parkinson-Krankheit übertragen. Auch hier werden Daten verschiedenster Art harmonisiert, in qualitätskontrollierter Weise integriert, und dann für Analysen im Konsortium und darüber hinaus nutzbar gemacht. Für alle Anwendungsfälle – vorgesehen sind auch seltene Erkrankungen, Krebs, Schlaganfall und Herz-Kreislauf-Erkrankungen – soll eine Präzisionsmedizin ermöglicht werden.  Die Therapie, aber auch die (Früh-) Diagnose, die Vorbeugung und die Nachsorge sollen deutlich verbessert werden.&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Wichtige Dokumente und Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Ergebnisdokumente der Medizinformatik-Initiative]&lt;br /&gt;
* [[MI-Initiative:_Modellierung_in_ART-DECOR|MII-Leitfaden zur Modellierung in ART-DECOR]]&lt;br /&gt;
* [https://www.hl7.org/fhir/resourcelist.html Aktuelle FHIR-Spezifikation (engl.)]&lt;br /&gt;
* [[HL7_CDA_Core_Principles|Basisprinzipien für die Spezifikation von CDA-Templates (engl.)]]&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=63152</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=63152"/>
		<updated>2020-01-31T13:40:43Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kümmerer im Interoperabilitätsforum==&lt;br /&gt;
&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
==Kerndatensatz==&lt;br /&gt;
&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Weiterentwicklung des MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==Konsortien==&lt;br /&gt;
&lt;br /&gt;
===SMITH===&lt;br /&gt;
&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
&lt;br /&gt;
====Use Case ASIC====&lt;br /&gt;
&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
====Use Case HELP====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
===HiGHmed===&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
===MIRACUM===&lt;br /&gt;
&lt;br /&gt;
MIRACUM vereint zehn Universitätsklinika, zwei Hochschulen und einen Industriepartner aus sieben deutschen Bundesländern. Ziel ist es, klinische Daten, Bilddaten und Daten aus molekularen/genomischen Untersuchungen sowohl standortbezogen als auch standortübergreifend über modular aufgebaute, skalierbare und föderierte Datenintegrationszentren für innovative Forschungsprojekte nutzbar zu machen. Neben der, mit solchen Datenintegrationszentren grundsätzlichen, Möglichkeit der Durchführung von Machbarkeitsstudien, Beobachtungsstudien und der Untersuchung von „Real World Pathways“ in großem Maßstab, wird MIRACUM die Rekrutierung von Patienten für klinische Studien, die Entwicklung von Prädiktionsmodellen und die Präzisionsmedizin unterstützen. Um die Biomedizinische Informatik und Medical Data Science zu stärken, wurden an den MIRACUM Standorten bereits zehn neue Professuren ausgeschrieben und weitere werden folgen. Zudem soll ein gemeinsames, standortübergreifendes Masterstudium zu „Biomedical Informatics und Medical Data Science“ aufgebaut werden.&lt;br /&gt;
&lt;br /&gt;
* [https://www.miracum.org Link zur MIRACUM-Website]&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Alerting in Care – IT Support for Patient Recruitment:&amp;#039;&amp;#039;&amp;#039; Klinische Studien scheitern häufig bereits an der zu geringen Rekrutierung passender Studienteilnehmer/innen. Um die Rekrutierungsprozesse durch IT-Verfahren und vorhandene Routinedaten zu unterstützen, werden wir an jedem unserer Universitätsklinika entsprechende Rekrutierungsplattformen in die KIS-Umgebungen integrieren und die Dokumentationsqualität und Vollständigkeit der für die Rekrutierung herangezogenen Datenelemente kontinuierlich mittels regelmäßiger Evaluationen und Feedbackschleifen verbessern.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From Data to Knowledge – Clinico-molecular predictive knowledge tool:&amp;#039;&amp;#039;&amp;#039; Mit dem schrittweisen inhaltlichen Ausbau der Datenintegrationszentren wird eine Basis gelegt, um Patientenkohorten anhand von klinischen Parametern, Biomarkern und molekularen/genomischen Untersuchungen zu identifizieren und in Subgruppen zu stratifizieren, so dass auf diese jeweils zugeschnittene Prädiktionsmodelle entwickelt werden können. Mittels FHIR-basierter, in die jeweiligen KIS-Umgebungen eingebetteter Smart-Apps werden die Prädiktionsmodelle in den Klinikalltag zurück gespielt und Ärzte in ihren diagnostischen und therapeutischen Entscheidungen unterstützt. Der klinische Fokus wird hierbei zunächst auf Lungenerkrankungen und Patienten mit Hirntumoren gelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From Knowledge to Action – Support for Molecular Tumor Boards:&amp;#039;&amp;#039;&amp;#039; Die Präzisionsmedizin ist im Kontext der Versorgung von Tumorpatienten bereits sehr weit fortgeschritten. Für viele Tumore kann man heute sogenannte “Driver Mutations” mittels tiefer genetischer Charakterisierung identifizieren und diese sehr gezielt therapieren. In Molekularen Tumorboards (MTB) laufen letztendlich alle klinischen Informationen und Bilder, sowie molekulare/genetische Untersuchungsergebnisse zur interdisziplinären Entscheidungsfindung zusammen. In diesem Kontext hat es sich MIRACUM zur Aufgabe gestellt, die komplexen Prozesse der Qualitätssicherung, Datenaufbereitung, Datenintegration und Informationsrecherche zwischen den genetischen Hochdurchsatzanalysen und der medizinischen Therapieentscheidung, mit innovativen IT-Lösungen zu optimieren und den Klinikern durch effiziente Datenvisualisierungen eine Entscheidungsunterstützung zu bieten.&lt;br /&gt;
&lt;br /&gt;
===DIFUTURE===&lt;br /&gt;
&lt;br /&gt;
Für die Medizin der Zukunft sind die Integration von Daten und ihre standortübergreifende Nutzung essentiell. DIFUTURE stellt den in der Krankenversorgung Tätigen und für die Forschung Daten und Wissen in innovativer Breite und Tiefe bereit, um die Prozesse der Krankenversorgung zu verbessern, Innovation zu beschleunigen und konkrete Fortschritte für die Patientinnen und Patienten zu erzielen.&lt;br /&gt;
&lt;br /&gt;
In DIFUTURE haben sich drei Exzellenzuniversitäten mit ihren Universitätsklinika und weiteren, auch klinischen Partnern zusammengeschlossen. Es resultiert eine einmalige Synthese des Wissens aus Medizin, Informatik, Biostatistik und Bioinformatik. Die internationale Vernetzung ist eine weitere Stärke.&lt;br /&gt;
&lt;br /&gt;
* [https://difuture.de Link zur DIFUTURE-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
&lt;br /&gt;
Die Datenintegrationszentren von DIFUTURE sind modular, erweiterbar und auf Standards basierend. Der Prozess der Datenintegration umfasst die Harmonisierung von Daten und von Prozessen. Dabei fokussiert er auf hohe Datenqualität. Um die notwendige Interoperabilität zu gewährleisten, werden kommerzielle Komponenten mit frei verfügbarer (Open-Source-) Software kombiniert. Datenschutz und Datensicherheit spielen eine zentrale Rolle, u.a. im Hinblick auf  Sicherheit bereits im Entwurf, Datensparsamkeit und Schalenmodelle. Die Analysen und Studien von DIFUTURE werden verteilte Ansätze verwenden und so dem Methodentransfer gegenüber einem Datentransfer den Vorrang geben.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anwendungsfall 1: Multiple Sklerose (MS)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Die Kliniker und Wissenschaftler des Konsortiums sind zentral in die Erforschung der MS involviert, in der Grundlagenforschung und in nationalen und internationalen Verbünden. Eine Datenintegration wurde bereits vorgenommen, um verteilte Analysen zu ermöglichen. Insbesondere die Entdeckung von Markern und Algorithmen zur Vorhersage des Krankheitsverlaufs und für eine früh einsetzende zielgerichtete und personalisierte Therapie stehen im Fokus. Das Spektrum der integrierten Daten ist breit und reicht von klinischen und Labordaten über multidimensionale Bilddaten zu genetischen Daten. Hier kann auf sehr große, bereits in wesentlichen Teilen standardisierte Datensammlungen zugegriffen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anwendungsfall 2: Parkinson-Krankheit&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Alle Anwendungsfälle von DIFUTURE sind darauf ausgerichtet, verallgemeinerbare Ansätze zu etablieren. So werden die Integrations- und Analysemethoden des MS-Anwendungsfalles in analoger Weise auf die Parkinson-Krankheit übertragen. Auch hier werden Daten verschiedenster Art harmonisiert, in qualitätskontrollierter Weise integriert, und dann für Analysen im Konsortium und darüber hinaus nutzbar gemacht. Für alle Anwendungsfälle – vorgesehen sind auch seltene Erkrankungen, Krebs, Schlaganfall und Herz-Kreislauf-Erkrankungen – soll eine Präzisionsmedizin ermöglicht werden.  Die Therapie, aber auch die (Früh-) Diagnose, die Vorbeugung und die Nachsorge sollen deutlich verbessert werden.&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Wichtige Dokumente und Links==&lt;br /&gt;
&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Ergebnisdokumente der Medizinformatik-Initiative]&lt;br /&gt;
* [[MI-Initiative:_Modellierung_in_ART-DECOR|MII-Leitfaden zur Modellierung in ART-DECOR]]&lt;br /&gt;
* [https://www.hl7.org/fhir/resourcelist.html Aktuelle FHIR-Spezifikation (engl.)]&lt;br /&gt;
* [[HL7_CDA_Core_Principles|Basisprinzipien für die Spezifikation von CDA-Templates (engl.)]]&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=60565</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=60565"/>
		<updated>2019-08-03T09:46:50Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kümmerer im Interoperabilitätsforum==&lt;br /&gt;
&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
==Wichtige Dokumente und Links==&lt;br /&gt;
&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Ergebnisdokumente der Medizinformatik-Initiative]&lt;br /&gt;
* [[MI-Initiative:_Modellierung_in_ART-DECOR|MII-Leitfaden zur Modellierung in ART-DECOR]]&lt;br /&gt;
* [https://www.hl7.org/fhir/resourcelist.html Aktuelle FHIR-Spezifikation (engl.)]&lt;br /&gt;
* [[HL7_CDA_Core_Principles|Basisprinzipien für die Spezifikation von CDA-Templates (engl.)]]&lt;br /&gt;
&lt;br /&gt;
==Kerndatensatz==&lt;br /&gt;
&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Weiterentwicklung des MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==Konsortien==&lt;br /&gt;
&lt;br /&gt;
===SMITH===&lt;br /&gt;
&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
&lt;br /&gt;
====Use Case ASIC====&lt;br /&gt;
&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
====Use Case HELP====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
===HiGHmed===&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
===MIRACUM===&lt;br /&gt;
&lt;br /&gt;
MIRACUM vereint zehn Universitätsklinika, zwei Hochschulen und einen Industriepartner aus sieben deutschen Bundesländern. Ziel ist es, klinische Daten, Bilddaten und Daten aus molekularen/genomischen Untersuchungen sowohl standortbezogen als auch standortübergreifend über modular aufgebaute, skalierbare und föderierte Datenintegrationszentren für innovative Forschungsprojekte nutzbar zu machen. Neben der, mit solchen Datenintegrationszentren grundsätzlichen, Möglichkeit der Durchführung von Machbarkeitsstudien, Beobachtungsstudien und der Untersuchung von „Real World Pathways“ in großem Maßstab, wird MIRACUM die Rekrutierung von Patienten für klinische Studien, die Entwicklung von Prädiktionsmodellen und die Präzisionsmedizin unterstützen. Um die Biomedizinische Informatik und Medical Data Science zu stärken, wurden an den MIRACUM Standorten bereits zehn neue Professuren ausgeschrieben und weitere werden folgen. Zudem soll ein gemeinsames, standortübergreifendes Masterstudium zu „Biomedical Informatics und Medical Data Science“ aufgebaut werden.&lt;br /&gt;
&lt;br /&gt;
* [https://www.miracum.org Link zur MIRACUM-Website]&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Alerting in Care – IT Support for Patient Recruitment:&amp;#039;&amp;#039;&amp;#039; Klinische Studien scheitern häufig bereits an der zu geringen Rekrutierung passender Studienteilnehmer/innen. Um die Rekrutierungsprozesse durch IT-Verfahren und vorhandene Routinedaten zu unterstützen, werden wir an jedem unserer Universitätsklinika entsprechende Rekrutierungsplattformen in die KIS-Umgebungen integrieren und die Dokumentationsqualität und Vollständigkeit der für die Rekrutierung herangezogenen Datenelemente kontinuierlich mittels regelmäßiger Evaluationen und Feedbackschleifen verbessern.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From Data to Knowledge – Clinico-molecular predictive knowledge tool:&amp;#039;&amp;#039;&amp;#039; Mit dem schrittweisen inhaltlichen Ausbau der Datenintegrationszentren wird eine Basis gelegt, um Patientenkohorten anhand von klinischen Parametern, Biomarkern und molekularen/genomischen Untersuchungen zu identifizieren und in Subgruppen zu stratifizieren, so dass auf diese jeweils zugeschnittene Prädiktionsmodelle entwickelt werden können. Mittels FHIR-basierter, in die jeweiligen KIS-Umgebungen eingebetteter Smart-Apps werden die Prädiktionsmodelle in den Klinikalltag zurück gespielt und Ärzte in ihren diagnostischen und therapeutischen Entscheidungen unterstützt. Der klinische Fokus wird hierbei zunächst auf Lungenerkrankungen und Patienten mit Hirntumoren gelegt.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From Knowledge to Action – Support for Molecular Tumor Boards:&amp;#039;&amp;#039;&amp;#039; Die Präzisionsmedizin ist im Kontext der Versorgung von Tumorpatienten bereits sehr weit fortgeschritten. Für viele Tumore kann man heute sogenannte “Driver Mutations” mittels tiefer genetischer Charakterisierung identifizieren und diese sehr gezielt therapieren. In Molekularen Tumorboards (MTB) laufen letztendlich alle klinischen Informationen und Bilder, sowie molekulare/genetische Untersuchungsergebnisse zur interdisziplinären Entscheidungsfindung zusammen. In diesem Kontext hat es sich MIRACUM zur Aufgabe gestellt, die komplexen Prozesse der Qualitätssicherung, Datenaufbereitung, Datenintegration und Informationsrecherche zwischen den genetischen Hochdurchsatzanalysen und der medizinischen Therapieentscheidung, mit innovativen IT-Lösungen zu optimieren und den Klinikern durch effiziente Datenvisualisierungen eine Entscheidungsunterstützung zu bieten.&lt;br /&gt;
&lt;br /&gt;
===DIFUTURE===&lt;br /&gt;
&lt;br /&gt;
Für die Medizin der Zukunft sind die Integration von Daten und ihre standortübergreifende Nutzung essentiell. DIFUTURE stellt den in der Krankenversorgung Tätigen und für die Forschung Daten und Wissen in innovativer Breite und Tiefe bereit, um die Prozesse der Krankenversorgung zu verbessern, Innovation zu beschleunigen und konkrete Fortschritte für die Patientinnen und Patienten zu erzielen.&lt;br /&gt;
&lt;br /&gt;
In DIFUTURE haben sich drei Exzellenzuniversitäten mit ihren Universitätsklinika und weiteren, auch klinischen Partnern zusammengeschlossen. Es resultiert eine einmalige Synthese des Wissens aus Medizin, Informatik, Biostatistik und Bioinformatik. Die internationale Vernetzung ist eine weitere Stärke.&lt;br /&gt;
&lt;br /&gt;
* [https://difuture.de Link zur DIFUTURE-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
&lt;br /&gt;
Die Datenintegrationszentren von DIFUTURE sind modular, erweiterbar und auf Standards basierend. Der Prozess der Datenintegration umfasst die Harmonisierung von Daten und von Prozessen. Dabei fokussiert er auf hohe Datenqualität. Um die notwendige Interoperabilität zu gewährleisten, werden kommerzielle Komponenten mit frei verfügbarer (Open-Source-) Software kombiniert. Datenschutz und Datensicherheit spielen eine zentrale Rolle, u.a. im Hinblick auf  Sicherheit bereits im Entwurf, Datensparsamkeit und Schalenmodelle. Die Analysen und Studien von DIFUTURE werden verteilte Ansätze verwenden und so dem Methodentransfer gegenüber einem Datentransfer den Vorrang geben.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anwendungsfall 1: Multiple Sklerose (MS)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Die Kliniker und Wissenschaftler des Konsortiums sind zentral in die Erforschung der MS involviert, in der Grundlagenforschung und in nationalen und internationalen Verbünden. Eine Datenintegration wurde bereits vorgenommen, um verteilte Analysen zu ermöglichen. Insbesondere die Entdeckung von Markern und Algorithmen zur Vorhersage des Krankheitsverlaufs und für eine früh einsetzende zielgerichtete und personalisierte Therapie stehen im Fokus. Das Spektrum der integrierten Daten ist breit und reicht von klinischen und Labordaten über multidimensionale Bilddaten zu genetischen Daten. Hier kann auf sehr große, bereits in wesentlichen Teilen standardisierte Datensammlungen zugegriffen werden.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Anwendungsfall 2: Parkinson-Krankheit&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Alle Anwendungsfälle von DIFUTURE sind darauf ausgerichtet, verallgemeinerbare Ansätze zu etablieren. So werden die Integrations- und Analysemethoden des MS-Anwendungsfalles in analoger Weise auf die Parkinson-Krankheit übertragen. Auch hier werden Daten verschiedenster Art harmonisiert, in qualitätskontrollierter Weise integriert, und dann für Analysen im Konsortium und darüber hinaus nutzbar gemacht. Für alle Anwendungsfälle – vorgesehen sind auch seltene Erkrankungen, Krebs, Schlaganfall und Herz-Kreislauf-Erkrankungen – soll eine Präzisionsmedizin ermöglicht werden.  Die Therapie, aber auch die (Früh-) Diagnose, die Vorbeugung und die Nachsorge sollen deutlich verbessert werden.&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=IF_2019-06-27&amp;diff=59125</id>
		<title>IF 2019-06-27</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=IF_2019-06-27&amp;diff=59125"/>
		<updated>2019-06-28T14:46:49Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Medizininformatik-Initiative (28.06.2019) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{#CustomTitle:Interoperabilitätsforum / TC-Arbeit 27. und 28. Juni 2019 in Heidelberg}}&lt;br /&gt;
{{Infobox Dokument&lt;br /&gt;
|Title     = Interoperabilitätsforum / TC-Arbeit 27. und 28. Juni 2019 in Heidelberg&lt;br /&gt;
|Short     = Interoperabilitätsforum 2019-06-27&lt;br /&gt;
|Type      = Agenda&lt;br /&gt;
|Version   = 1.0&lt;br /&gt;
|Copyright = 2019&lt;br /&gt;
|Namespace = iopfp&lt;br /&gt;
|Status    =&lt;br /&gt;
|Period    =&lt;br /&gt;
|OID       = &lt;br /&gt;
|Realm     = Deutschland&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Veranstaltungsort und -zeiten =&lt;br /&gt;
27. und 28. Juni 2019 in Heidelberg&lt;br /&gt;
&lt;br /&gt;
Tagungsort: Seminarraum 108, Im Neuenheimer Feld 346, 69120 Heidelberg.&lt;br /&gt;
&lt;br /&gt;
Tag 1&lt;br /&gt;
*ab 11 Uhr bis ca. 17:30 Uhr&lt;br /&gt;
*Abendveranstaltung (gemeinsames Essen) wird noch angekündigt&lt;br /&gt;
Tag 2&lt;br /&gt;
*9 Uhr bis ca. 15 Uhr&lt;br /&gt;
&lt;br /&gt;
Siehe auch Abschnitt [[#Hinweise|Hinweise]].&lt;br /&gt;
&lt;br /&gt;
Das [[Interoperabilitätsforum]] diskutiert und bearbeitet Themen zur Standardisierung der Technischen Komitees der HL7-Benutzergruppe, IHE Deutschland und anderer Standardisierungsaktivitäten im Gesundheitswesen.&lt;br /&gt;
&lt;br /&gt;
=vorgesehene Agenda=&lt;br /&gt;
&lt;br /&gt;
= Agenda Do. vormittag =&lt;br /&gt;
&lt;br /&gt;
== FHIR ==&lt;br /&gt;
* FHIR-Slam: Questionnaires (Simone/Patrick)&lt;br /&gt;
&lt;br /&gt;
* Überblick: weitere Entwicklung deutsche Basisprofile (Simone/Stefan)&lt;br /&gt;
** Migration STU3-&amp;gt;R4&lt;br /&gt;
** Basis vs. Core&lt;br /&gt;
** Merge von Observations mit IPS &lt;br /&gt;
** Timeline und Partizipation&lt;br /&gt;
** Encounter CRs&lt;br /&gt;
* Strategie International: IPS als Inhaltsprofile für AppleHealth (außerhalb von US) und Argonaut SMART-Profil als int. Profil für Patientenzugriff? (Simone)&lt;br /&gt;
* Bericht DevDays Redmont (Simone)&lt;br /&gt;
* Patient Reported Outcomes und Formulare on FHIR: Electronic Questionnaires (Patrick)&lt;br /&gt;
* Umgang mit Versichertennummern im PKV-Bereich: Erfordernis von Namensräumen/NamingSystems für PKV-Versicherte (??)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Agenda Do. nachmittag=&lt;br /&gt;
&lt;br /&gt;
== FHIR (Fortsetzung) ==&lt;br /&gt;
* Onkologische Basisprofile: Scope und Status (Alexander)&lt;br /&gt;
* FHIR Store für CQL-Queries (Alexander Kiel)&lt;br /&gt;
&lt;br /&gt;
==IHE==&lt;br /&gt;
* Anregung an IHE Deutschland, ein einheitliches Prozessmodell zu definieren (Diskussion 10-20min)&lt;br /&gt;
&lt;br /&gt;
==abgeschlossene Ballotierungsverfahren: Ergebnisse de Kommentierung==&lt;br /&gt;
* eRezept (F. Oemig)&lt;br /&gt;
* eMDAF (T.Eggers)&lt;br /&gt;
&lt;br /&gt;
== parallel am Do. nachmittag: BREAKOUT-Session: AG Einwilligungsmanagement ==&lt;br /&gt;
*Präsenzmeeting am 27.06. nachmittags. Fortsetzung der Detailarbeit an FHIR-Profilen und Workflows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Agenda Fr. vormittag=&lt;br /&gt;
&lt;br /&gt;
==neue Leitfäden==&lt;br /&gt;
* eImpfpass (R. Franke)&lt;br /&gt;
* Hilfsmittel (R. Franke)&lt;br /&gt;
* weitere Musterformulare (T.Eggers, 27.6.)&lt;br /&gt;
** eAU die Zweite - wie kann‘s mit den Mustern 1b,1c und weiteren Mustern weitergehen &lt;br /&gt;
** Muster 20 (Wiedereingliederungsplan)&lt;br /&gt;
** Muster 21 (Ärztliche Bescheinigung zur Erkrankung des Kindes)&lt;br /&gt;
** Muster 53 (Anfrage im Zusammenhang mit AU-Zeiten)&lt;br /&gt;
&lt;br /&gt;
==Patient Summary und eRezept (cross-border)==&lt;br /&gt;
* Kurzbericht&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Medizininformatik-Initiative (28.06.2019) ==&lt;br /&gt;
* Fortschritte ART-DECOR und FHIR-Profilierung (Danny Ammon, Alexander Zautke)&lt;br /&gt;
**siehe [[Media:20190628_MI-Initiative.pdf|Präsentation]]&lt;br /&gt;
&lt;br /&gt;
* Rest FHIR&lt;br /&gt;
&lt;br /&gt;
== FHIR ==&lt;br /&gt;
* Koordination/Abstimmung zwischen TC und MI-Initiative (alle)&lt;br /&gt;
* FHIR Community Process (??)&lt;br /&gt;
* IG Best Practice (Alexander)&lt;br /&gt;
* KDL on FHIR - Dokumententypisierung mit Mapping auf IHE-Type-/Classcodes (Simone)&lt;br /&gt;
* Wundbericht - Profilierung (Mareike, Alexander Zautke)&lt;br /&gt;
&lt;br /&gt;
=Agenda Fr nachmittag=&lt;br /&gt;
&lt;br /&gt;
== vesta (S. Hennecke)==&lt;br /&gt;
* Aktuelle Zahlen, Daten, Fakten&lt;br /&gt;
* Prozessanpassungen vesta&lt;br /&gt;
* Weiterentwicklungen vesta&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sonstiges==&lt;br /&gt;
* Wie vertragen sich Arztbrief Plus und HL7 Entlassmanagementbrief &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Hinweise=&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Teilnahme:&amp;#039;&amp;#039;&amp;#039; An den Sitzungen können alle Interessierten teilnehmen, egal ob Mitglied bei HL7, IHE oder einer der kooperierenden Organisationen oder nicht! Um eine vorherige Anmeldung über https://doodle.com/poll/6np3k9b286exr2cs und an [mailto:info@interoperabilitaetsforum.de info@interoperabilitaetsforum.de] wird allerdings gebeten.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Zeiten:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Das Treffen beginnt traditionell am ersten Tag um 10:30 mit Kaffee/Tee, um 11 Uhr beginnt die Besprechung. Am zweiten Tag beginnt das Treffen um 9 Uhr und dauert bis zu Nachmittag (meist ca. 15-16 Uhr)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agendapunkte:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Die o.g. Agenda ist vorläufig und wird ständig aktualisiert. Weitere Agendapunkte bitte an [mailto:info@interoperabilitaetsforum.de info@interoperabilitaetsforum.de] schicken.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Unterkunft:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Für ein Zimmer in einem der umliegenden Hotels sorgen die Teilnehmer selbst.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Gemeinsames Abendessen:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
tbd, ab 19 Uhr&lt;br /&gt;
&lt;br /&gt;
=Medienpartner=&lt;br /&gt;
&lt;br /&gt;
Unsere Medienpartner sind:&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[file:Logo_kma.png|200px|kma]]&lt;br /&gt;
| [[file:Logo_EHEALTHCOM.jpg|300px|eHealthcom]]&lt;br /&gt;
| [[file:Logo_kh-it.PNG|300px|KH-IT]]&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!-- categories, no other code below --&amp;gt;&lt;br /&gt;
[[Kategorie:IF Treffen]] &lt;br /&gt;
[[Kategorie:Interoperabilitätsforum 2019]]&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=IF_2019-06-27&amp;diff=59124</id>
		<title>IF 2019-06-27</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=IF_2019-06-27&amp;diff=59124"/>
		<updated>2019-06-28T10:15:13Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Medizininformatik-Initiative (28.06.2019) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{#CustomTitle:Interoperabilitätsforum / TC-Arbeit 27. und 28. Juni 2019 in Heidelberg}}&lt;br /&gt;
{{Infobox Dokument&lt;br /&gt;
|Title     = Interoperabilitätsforum / TC-Arbeit 27. und 28. Juni 2019 in Heidelberg&lt;br /&gt;
|Short     = Interoperabilitätsforum 2019-06-27&lt;br /&gt;
|Type      = Agenda&lt;br /&gt;
|Version   = 1.0&lt;br /&gt;
|Copyright = 2019&lt;br /&gt;
|Namespace = iopfp&lt;br /&gt;
|Status    =&lt;br /&gt;
|Period    =&lt;br /&gt;
|OID       = &lt;br /&gt;
|Realm     = Deutschland&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Veranstaltungsort und -zeiten =&lt;br /&gt;
27. und 28. Juni 2019 in Heidelberg&lt;br /&gt;
&lt;br /&gt;
Tagungsort: Seminarraum 108, Im Neuenheimer Feld 346, 69120 Heidelberg.&lt;br /&gt;
&lt;br /&gt;
Tag 1&lt;br /&gt;
*ab 11 Uhr bis ca. 17:30 Uhr&lt;br /&gt;
*Abendveranstaltung (gemeinsames Essen) wird noch angekündigt&lt;br /&gt;
Tag 2&lt;br /&gt;
*9 Uhr bis ca. 15 Uhr&lt;br /&gt;
&lt;br /&gt;
Siehe auch Abschnitt [[#Hinweise|Hinweise]].&lt;br /&gt;
&lt;br /&gt;
Das [[Interoperabilitätsforum]] diskutiert und bearbeitet Themen zur Standardisierung der Technischen Komitees der HL7-Benutzergruppe, IHE Deutschland und anderer Standardisierungsaktivitäten im Gesundheitswesen.&lt;br /&gt;
&lt;br /&gt;
=vorgesehene Agenda=&lt;br /&gt;
&lt;br /&gt;
= Agenda Do. vormittag =&lt;br /&gt;
&lt;br /&gt;
== FHIR ==&lt;br /&gt;
* FHIR-Slam: Questionnaires (Simone/Patrick)&lt;br /&gt;
&lt;br /&gt;
* Überblick: weitere Entwicklung deutsche Basisprofile (Simone/Stefan)&lt;br /&gt;
** Migration STU3-&amp;gt;R4&lt;br /&gt;
** Basis vs. Core&lt;br /&gt;
** Merge von Observations mit IPS &lt;br /&gt;
** Timeline und Partizipation&lt;br /&gt;
** Encounter CRs&lt;br /&gt;
* Strategie International: IPS als Inhaltsprofile für AppleHealth (außerhalb von US) und Argonaut SMART-Profil als int. Profil für Patientenzugriff? (Simone)&lt;br /&gt;
* Bericht DevDays Redmont (Simone)&lt;br /&gt;
* Patient Reported Outcomes und Formulare on FHIR: Electronic Questionnaires (Patrick)&lt;br /&gt;
* Umgang mit Versichertennummern im PKV-Bereich: Erfordernis von Namensräumen/NamingSystems für PKV-Versicherte (??)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Agenda Do. nachmittag=&lt;br /&gt;
&lt;br /&gt;
== FHIR (Fortsetzung) ==&lt;br /&gt;
* Onkologische Basisprofile: Scope und Status (Alexander)&lt;br /&gt;
* FHIR Store für CQL-Queries (Alexander Kiel)&lt;br /&gt;
&lt;br /&gt;
==IHE==&lt;br /&gt;
* Anregung an IHE Deutschland, ein einheitliches Prozessmodell zu definieren (Diskussion 10-20min)&lt;br /&gt;
&lt;br /&gt;
==abgeschlossene Ballotierungsverfahren: Ergebnisse de Kommentierung==&lt;br /&gt;
* eRezept (F. Oemig)&lt;br /&gt;
* eMDAF (T.Eggers)&lt;br /&gt;
&lt;br /&gt;
== parallel am Do. nachmittag: BREAKOUT-Session: AG Einwilligungsmanagement ==&lt;br /&gt;
*Präsenzmeeting am 27.06. nachmittags. Fortsetzung der Detailarbeit an FHIR-Profilen und Workflows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Agenda Fr. vormittag=&lt;br /&gt;
&lt;br /&gt;
==neue Leitfäden==&lt;br /&gt;
* eImpfpass (R. Franke)&lt;br /&gt;
* Hilfsmittel (R. Franke)&lt;br /&gt;
* weitere Musterformulare (T.Eggers, 27.6.)&lt;br /&gt;
** eAU die Zweite - wie kann‘s mit den Mustern 1b,1c und weiteren Mustern weitergehen &lt;br /&gt;
** Muster 20 (Wiedereingliederungsplan)&lt;br /&gt;
** Muster 21 (Ärztliche Bescheinigung zur Erkrankung des Kindes)&lt;br /&gt;
** Muster 53 (Anfrage im Zusammenhang mit AU-Zeiten)&lt;br /&gt;
&lt;br /&gt;
==Patient Summary und eRezept (cross-border)==&lt;br /&gt;
* Kurzbericht&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Medizininformatik-Initiative (28.06.2019) ==&lt;br /&gt;
* Fortschritte ART-DECOR und FHIR-Profilierung (Danny Ammon)&lt;br /&gt;
**siehe [[Media:20190628_MI-Initiative.pdf|Präsentation]]&lt;br /&gt;
&lt;br /&gt;
* Rest FHIR&lt;br /&gt;
&lt;br /&gt;
== FHIR ==&lt;br /&gt;
* Koordination/Abstimmung zwischen TC und MI-Initiative (alle)&lt;br /&gt;
* FHIR Community Process (??)&lt;br /&gt;
* IG Best Practice (Alexander)&lt;br /&gt;
* KDL on FHIR - Dokumententypisierung mit Mapping auf IHE-Type-/Classcodes (Simone)&lt;br /&gt;
* Wundbericht - Profilierung (Mareike, Alexander Zautke)&lt;br /&gt;
&lt;br /&gt;
=Agenda Fr nachmittag=&lt;br /&gt;
&lt;br /&gt;
== vesta (S. Hennecke)==&lt;br /&gt;
* Aktuelle Zahlen, Daten, Fakten&lt;br /&gt;
* Prozessanpassungen vesta&lt;br /&gt;
* Weiterentwicklungen vesta&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sonstiges==&lt;br /&gt;
* Wie vertragen sich Arztbrief Plus und HL7 Entlassmanagementbrief &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Hinweise=&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Teilnahme:&amp;#039;&amp;#039;&amp;#039; An den Sitzungen können alle Interessierten teilnehmen, egal ob Mitglied bei HL7, IHE oder einer der kooperierenden Organisationen oder nicht! Um eine vorherige Anmeldung über https://doodle.com/poll/6np3k9b286exr2cs und an [mailto:info@interoperabilitaetsforum.de info@interoperabilitaetsforum.de] wird allerdings gebeten.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Zeiten:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Das Treffen beginnt traditionell am ersten Tag um 10:30 mit Kaffee/Tee, um 11 Uhr beginnt die Besprechung. Am zweiten Tag beginnt das Treffen um 9 Uhr und dauert bis zu Nachmittag (meist ca. 15-16 Uhr)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agendapunkte:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Die o.g. Agenda ist vorläufig und wird ständig aktualisiert. Weitere Agendapunkte bitte an [mailto:info@interoperabilitaetsforum.de info@interoperabilitaetsforum.de] schicken.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Unterkunft:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Für ein Zimmer in einem der umliegenden Hotels sorgen die Teilnehmer selbst.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Gemeinsames Abendessen:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
tbd, ab 19 Uhr&lt;br /&gt;
&lt;br /&gt;
=Medienpartner=&lt;br /&gt;
&lt;br /&gt;
Unsere Medienpartner sind:&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[file:Logo_kma.png|200px|kma]]&lt;br /&gt;
| [[file:Logo_EHEALTHCOM.jpg|300px|eHealthcom]]&lt;br /&gt;
| [[file:Logo_kh-it.PNG|300px|KH-IT]]&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!-- categories, no other code below --&amp;gt;&lt;br /&gt;
[[Kategorie:IF Treffen]] &lt;br /&gt;
[[Kategorie:Interoperabilitätsforum 2019]]&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Datei:20190628_MI-Initiative.pdf&amp;diff=59123</id>
		<title>Datei:20190628 MI-Initiative.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Datei:20190628_MI-Initiative.pdf&amp;diff=59123"/>
		<updated>2019-06-28T10:13:45Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58872</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58872"/>
		<updated>2019-06-16T12:38:08Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kümmerer im Interoperabilitätsforum==&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
==Wichtige Dokumente und Links==&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Ergebnisdokumente der Medizinformatik-Initiative]&lt;br /&gt;
* [[MI-Initiative:_Modellierung_in_ART-DECOR|MII-Leitfaden zur Modellierung in ART-DECOR]]&lt;br /&gt;
* [https://www.hl7.org/fhir/resourcelist.html Aktuelle FHIR-Spezifikation (engl.)]&lt;br /&gt;
* [[HL7_CDA_Core_Principles|Basisprinzipien für die Spezifikation von CDA-Templates (engl.)]]&lt;br /&gt;
&lt;br /&gt;
==Kerndatensatz==&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Weiterentwicklung des MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==Konsortien==&lt;br /&gt;
===SMITH===&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
====Use Case ASIC====&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
====Use Case HELP====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
===HiGHmed===&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed wird in der Aufbau- und Vernetzungsphase, die im Januar 2018 startet, vom BMBF gefördert.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
===MIRACUM===&lt;br /&gt;
&lt;br /&gt;
===DIFUTURE===&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58871</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58871"/>
		<updated>2019-06-16T12:37:05Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Wichtige Dokumente */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kümmerer im Interoperabilitätsforum==&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
==Wichtige Dokumente und Links==&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Ergebnisdokument der Medizinformatik-Initiative]&lt;br /&gt;
* [[MI-Initiative:_Modellierung_in_ART-DECOR|MII-Leitfaden zur Modellierung in ART-DECOR]]&lt;br /&gt;
* [https://www.hl7.org/fhir/resourcelist.html Aktuelle FHIR-Spezifikation (engl.)]&lt;br /&gt;
* [[HL7_CDA_Core_Principles|Basisprinzipien für die Spezifikation von CDA-Templates (engl.)]]&lt;br /&gt;
&lt;br /&gt;
==Kerndatensatz==&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Weiterentwicklung des MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==Konsortien==&lt;br /&gt;
===SMITH===&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
====Use Case ASIC====&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
====Use Case HELP====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
===HiGHmed===&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed wird in der Aufbau- und Vernetzungsphase, die im Januar 2018 startet, vom BMBF gefördert.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
===MIRACUM===&lt;br /&gt;
&lt;br /&gt;
===DIFUTURE===&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58870</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58870"/>
		<updated>2019-06-16T11:49:00Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Use of XML */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects &amp;lt;ref&amp;gt;World Wide Web Consortium. Extensible Markup Language, 1.0, 2nd Edition: http://www.w3.org/TR/REC-xml&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;World Wide Web Consortium. XML Schema: http://www.w3.org/TR/xmlschema-0/,&amp;amp;nbsp;&amp;amp;nbsp; http://www.w3.org/TR/xmlschema-1/,&amp;amp;nbsp;&amp;amp;nbsp; http://www.w3.org/TR/xmlschema-2/&amp;lt;/ref&amp;gt;. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still included in this time interval.&lt;br /&gt;
&lt;br /&gt;
Thus, in human perception time intervals are handled differently compared to such as number intervals. This is a situation may lead to inconsistencies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been assigned/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for ART-DECOR projects&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	!! Description !! Recommended OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
&lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
&lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58869</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58869"/>
		<updated>2019-06-16T11:47:20Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Common aspects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects &amp;lt;ref&amp;gt;World Wide Web Consortium. Extensible Markup Language, 1.0, 2nd Edition: http://www.w3.org/TR/REC-xml&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;World Wide Web Consortium. XML Schema:&amp;lt;br /&amp;gt;http://www.w3.org/TR/xmlschema-0/&amp;lt;br /&amp;gt;http://www.w3.org/TR/xmlschema-1/&amp;lt;br /&amp;gt;http://www.w3.org/TR/xmlschema-2/&amp;lt;/ref&amp;gt;. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still included in this time interval.&lt;br /&gt;
&lt;br /&gt;
Thus, in human perception time intervals are handled differently compared to such as number intervals. This is a situation may lead to inconsistencies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been assigned/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for ART-DECOR projects&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	!! Description !! Recommended OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
&lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
&lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58868</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58868"/>
		<updated>2019-06-16T11:36:33Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Value Sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still included in this time interval.&lt;br /&gt;
&lt;br /&gt;
Thus, in human perception time intervals are handled differently compared to such as number intervals. This is a situation may lead to inconsistencies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been assigned/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for ART-DECOR projects&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	!! Description !! Recommended OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
&lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
&lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58867</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58867"/>
		<updated>2019-06-16T11:32:43Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Code Systems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still included in this time interval.&lt;br /&gt;
&lt;br /&gt;
Thus, in human perception time intervals are handled differently compared to such as number intervals. This is a situation may lead to inconsistencies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been assigned/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for ART-DECOR projects&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	!! Description !! Recommended OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
&lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
&lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58866</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58866"/>
		<updated>2019-06-16T11:25:24Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Object Identifiers (OIDs) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still included in this time interval.&lt;br /&gt;
&lt;br /&gt;
Thus, in human perception time intervals are handled differently compared to such as number intervals. This is a situation may lead to inconsistencies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been assigned/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for ART-DECOR projects&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	!! Description !! Recommended OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58865</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58865"/>
		<updated>2019-06-16T11:19:17Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Interval of time (IVL_TS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still included in this time interval.&lt;br /&gt;
&lt;br /&gt;
Thus, in human perception time intervals are handled differently compared to such as number intervals. This is a situation may lead to inconsistencies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58864</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58864"/>
		<updated>2019-06-16T11:17:39Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Intervals (IVL) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In addition, there is sometimes the need to specify incomplete intervals (open intervals). For example, an interval with only an upper limit to indicate a maximum dose or a start date and time only to express “since…”.&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58863</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58863"/>
		<updated>2019-06-16T11:15:52Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Point in Time (TS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58862</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58862"/>
		<updated>2019-06-16T11:15:07Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Physical Quantities (PQ) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58861</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58861"/>
		<updated>2019-06-16T11:14:02Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Organisation Name (ON) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoided if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58860</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58860"/>
		<updated>2019-06-16T11:10:55Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Coded with Equivalents (CE) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58859</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58859"/>
		<updated>2019-06-16T11:10:22Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Concept Descriptor (CD) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available).&lt;br /&gt;
&lt;br /&gt;
A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58858</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58858"/>
		<updated>2019-06-16T11:08:42Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Instance Identifier (II) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58857</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58857"/>
		<updated>2019-06-16T11:07:35Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* ANY as the generic data type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58856</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58856"/>
		<updated>2019-06-16T11:06:43Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Missing values (null flavor) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58855</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58855"/>
		<updated>2019-06-16T11:00:41Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* XML representation of data types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;...&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of so-called combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58854</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58854"/>
		<updated>2019-06-16T10:57:33Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* CDA document structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
&lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Properties of data types used for codes&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Properties of data types used for codes&amp;#039;&amp;#039;&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58145</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58145"/>
		<updated>2019-06-15T07:49:05Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Wichtige Dokumente */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kümmerer im Interoperabilitätsforum==&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
==Wichtige Dokumente==&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Link zu wichtigen Dokumenten der Medizinformatik-Initiative]&lt;br /&gt;
* [[MI-Initiative:_Modellierung_in_ART-DECOR|MII-Leitfaden zur Modellierung in ART-DECOR]]&lt;br /&gt;
&lt;br /&gt;
==Kerndatensatz==&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Weiterentwicklung des MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==Konsortien==&lt;br /&gt;
===SMITH===&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
====Use Case ASIC====&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
====Use Case HELP====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
===HiGHmed===&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed wird in der Aufbau- und Vernetzungsphase, die im Januar 2018 startet, vom BMBF gefördert.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
===MIRACUM===&lt;br /&gt;
&lt;br /&gt;
===DIFUTURE===&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=MI-Initiative:_Modellierung_in_ART-DECOR&amp;diff=58144</id>
		<title>MI-Initiative: Modellierung in ART-DECOR</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=MI-Initiative:_Modellierung_in_ART-DECOR&amp;diff=58144"/>
		<updated>2019-06-15T07:47:13Z</updated>

		<summary type="html">&lt;p&gt;Dammon: Die Seite wurde neu angelegt: „== Zweck ==  Die vorliegende Seite dient der Sammlung von Entscheidungen / Empfehlungen zur Modellierung von Datenelementen und Szenarien sowie zur Assoziation…“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Zweck ==&lt;br /&gt;
&lt;br /&gt;
Die vorliegende Seite dient der Sammlung von Entscheidungen / Empfehlungen zur Modellierung von Datenelementen und Szenarien sowie zur Assoziation von Terminologien und Value Sets im Werkzeug [[ART-DECOR]] für die Weiterentwicklung des [[Medizininformatik-Initiative#Kerndatensatz|MII-Kerndatensatzes]] und für davon abgeleitete Use Cases.&lt;br /&gt;
&lt;br /&gt;
== Nutzung von ART-DECOR in der MI-Initiative ==&lt;br /&gt;
&lt;br /&gt;
Auf Vorlage der [https://www.medizininformatik-initiative.de/de/zusammenarbeit/arbeitsgruppe-interoperabilitaet MII-AG Interoperabilität] hat das [https://www.medizininformatik-initiative.de/de/zusammenarbeit/nationales-steuerungsgremium Nationale Steuerungsgremium] am 8. April 2019 einen Beschluss zur Nutzung von ART-DECOR und Forge / Simplifier als Werkzeuge für die technische Spezifikation sowie zur Beschaffung einer Simplifier-Enterprise-Lizenz getroffen.&lt;br /&gt;
&lt;br /&gt;
ART-DECOR wird dabei für die Auswahl von Datasets und -Items, deren Nutzungsszenarien und benötigte Kardinalitäten sowie für die Assoziation von Daten-Items mit Terminologien und Value Sets dienen. Forge und Simplifier werden dann verwendet, um diese nichttechnischen Modelle im konkreten Format der FHIR-Profile als implementierbare Spezifikationen abzubilden.&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58143</id>
		<title>Medizininformatik-Initiative</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=Medizininformatik-Initiative&amp;diff=58143"/>
		<updated>2019-06-15T07:38:35Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dies ist die Startseite der Medizininformatik-Initiative (MI-Initiative, MII) im Wiki des Interoperabilitätsforums. Die MII ist ein mehrphasiges Förderprogramm des BMBF, in dem an den deutschen Universitätskliniken und Partnereinrichtungen Datenintegrationszentren aufgebaut und vernetzt werden, um Forschungs- und Versorgungsdaten standortübergreifend verknüpfen zu können. Für konkrete medizinische Anwendungen werden auf dieser Basis innovative IT-Lösungen entwickelt, die die Möglichkeiten moderner digitaler Dienstleistungen und Infrastrukturen im Gesundheitsbereich zeigen sollen.&lt;br /&gt;
* [https://www.medizininformatik-initiative.de Link zur Website der Medizininformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kümmerer im Interoperabilitätsforum==&lt;br /&gt;
* [https://www.uniklinikum-jena.de/datenintegrationszentrum Danny Ammon]&lt;br /&gt;
* [https://www.uniklinikum-jena.de/gbit/Ansprechpartner/Applikationen+f%C3%BCr+Forschung+und+Lehre/Anwendungsforschung.html Kutaiba Saleh]&lt;br /&gt;
&lt;br /&gt;
==Wichtige Dokumente==&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/de/ueber-die-inititative/ergebnisse Link zu wichtigen Dokumenten der Medizinformatik-Initiative]&lt;br /&gt;
&lt;br /&gt;
==Kerndatensatz==&lt;br /&gt;
Um Dateninhalte, -strukturen und -kodierungen in den Datenintegrationszentren der an der Medizininformatik-Initiative beteiligten Universitätsklinika auf Basis von Interoperabilitätsstandards zugreif- oder austauschbar zu gestalten, wird bis 2021 ein übergreifender MII-Kerndatensatz entwickelt, der in technischen Spezifikationen münden soll.&lt;br /&gt;
Der Kerndatensatz wird fortgeschrieben in ART-DECOR und Simplifier.net&lt;br /&gt;
* [https://www.medizininformatik-initiative.de/sites/default/files/inline-files/MII_04_Kerndatensatz_1-0.pdf Beschreibung des MII-Kerndatensatzes in der Version 1.0 vom 10.3.2017 (PDF)]&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--mide- Weiterentwicklung des MII-Kerndatensatzes in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
==Konsortien==&lt;br /&gt;
===SMITH===&lt;br /&gt;
Die universitätsmedizinischen Standorte Leipzig, Jena, Aachen, Halle(Saale), Bonn, Hamburg-Eppendorf, Essen, Düsseldorf und Rostock verbinden in ihrem Konzept medizininformatische, klinische, systemmedizinische, computerlinguistische und epidemiologische Kompetenzen. In enger Kooperation mit externen Partnern wird eine Architektur für die interoperable Nutzung von Daten aus der Krankenversorgung und der patientenorientierten Forschung über die Grenzen von Institutionen und Standorten aufgebaut. Dies ermöglicht über die SMITH-Service-Plattform die Nutzung der Ergebnisse durch Vernetzungspartner.&lt;br /&gt;
* [http://www.smith.care Link zur SMITH-Website]&lt;br /&gt;
====Use Case ASIC====&lt;br /&gt;
Im Use Case ASIC soll auf Intensivstationen mittels kontinuierlicher Auswertungen u.a. aus dem Patientendatenmanagementsystem eine algorithmisch basierte Überwachung des Zustandes kritisch kranker Patienten erfolgen. Damit wird die Voraussetzung für eine frühe Alarmierung geschaffen, die ein schnelles diagnostisches und therapeutisches Eingreifen ermöglichen soll. Diese Daten werden durch High-Performance-Computing analysiert und für die klinische Entscheidung annotiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--asic- Projekt ASIC in ART-DECOR]&lt;br /&gt;
====Use Case HELP====&lt;br /&gt;
Im Use Case HELP entwickeln wir ein krankenhausweites computergestütztes Entscheidungsunterstützungssystem zur Verbesserung der Ergebnisse von Patienten mit Blutstrominfektionen. Dabei geht es um den zielgerichteten, leitliniengerechten Einsatz von Antibiotika zur Bekämpfung bakterieller Infektionen – insbesondere vor dem Hintergrund einer zu geringen Zahl an ausgebildeten Infektiologen in Deutschland. Der Use Case wird auf Normal- und Intensivstationen an den SMITH-Standorten Jena, Leipzig und Aachen sowie Halle und Essen implementiert und evaluiert.&lt;br /&gt;
* [https://art-decor.org/art-decor/decor-project--help- Projekt HELP in ART-DECOR]&lt;br /&gt;
&lt;br /&gt;
===HiGHmed===&lt;br /&gt;
Das Konsortium HiGHmed verbindet drei international führende und komplementär aufgestellte Medizinische Fakultäten und Universitätsklinika: Heidelberg, Göttingen und Hannover. Ergänzt wird der Verbund durch das Deutsche Krebsforschungszentrum (DKFZ) in Heidelberg. HiGHmed verfolgt das Ziel durch neue medizininformatische Lösungen und einen übergreifenden Datenaustausch die Effizienz klinischer Forschung zu steigern und die Versorgung der Patienten zu verbessern. Dabei profitieren die Partner von ihrer langjährigen Erfahrung auf dem Gebiet der klinischen Informationstechnologie im Bereich Entwicklung, Anwendung und Ausbildung. Neben den Kernpartnern wird HiGHmed von akademischen und privaten Partnern unterstützt.&lt;br /&gt;
&lt;br /&gt;
Das Konsortium HiGHmed wird in der Aufbau- und Vernetzungsphase, die im Januar 2018 startet, vom BMBF gefördert.&lt;br /&gt;
&lt;br /&gt;
* [http://www.highmed.org Link zur HiGHmed-Website]&lt;br /&gt;
&lt;br /&gt;
====Datenintegrationszentren====&lt;br /&gt;
Um übergreifenden Datenaustausch und Datenintegration zu erreichen, wird an jedem Universitätsklinikum ein medizinisches Datenintegrationszentrum aufgebaut. Ein zusätzliches Datenintegrationszentrum mit Fokus auf Genomdaten und radiologischen Bilddaten am DKFZ wird mit den klinischen Zentren eng verknüpft. Der Aufbau der Datenintegrationszentren mit flexibler institutionsübergreifender Rahmenarchitektur basiert auf offenen Standards, um die Übertragung auf weitere Standorte inklusive der Einbindung neuer Datenbestände sicherzustellen. Planungsgrundlage für die Datenintegrationszentren und die Integrationsplattform sind drei medizinische Use Cases aus den Bereichen Onkologie, Kardiologie und Infektiologie.&lt;br /&gt;
&lt;br /&gt;
====Use Cases====&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Onkologie&amp;#039;&amp;#039;&amp;#039; widmet sich der Verbund der Herausforderung enorme Datenmengen aus der Genomsequenzierung (omics-Daten) und Radiologie in die klinische Praxis zu integrieren. Ein virtuelles Onkologiezentrum wird den Behandlungsverlauf von Krebspatienten veranschaulichen und den Kliniken, Forschungseinrichtungen, Ärzten und Patienten als Austauschplattform dienen. Das virtuelle Onkologiezentrum wird maßgeblich dazu beitragen ähnliche Krebsfälle zu erkennen und eine individuelle patientenorientierte Behandlung zu ermöglichen. Das wird am Beispiel von Tumoren des Pankreas, der Leber und der Gallengänge demonstriert.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Kardiologie&amp;#039;&amp;#039;&amp;#039; werden Daten von tragbaren, implantierten oder vernetzten Geräten in die IT-Architektur der Datenzentren integriert. Neue mobile diagnostische Geräte werden die derzeitige medizinische Praxis und Forschung erheblich beeinflussen. Diese liefern Datensätze aus Langzeitüberwachungen und -messungen und generieren dadurch spezifische und umfassende Datensätze. Risikopatienten können so frühzeitig erkannt und Krankenhausaufenthalte sowie die Sterbewahrscheinlichkeit verringert werden.&lt;br /&gt;
&lt;br /&gt;
Im &amp;#039;&amp;#039;&amp;#039;Use Case Infektionskontrolle&amp;#039;&amp;#039;&amp;#039; wird ein automatisiertes Frühwarn- und Clustersystem entwickelt, welches die algorithmische Erkennung von Erregerclustern in Krankenhäusern ermöglicht. Dies beinhaltet auch die Identifikation von multiresistenten Keimen und deren Transmissionswege innerhalb und zwischen den Kliniken, die Prüfung ob es sich bei den Erregerclustern um Ausbrüche handelt und das Erkennen von möglichen Gründen für Übertragungen und Ausbrüche.&lt;br /&gt;
&lt;br /&gt;
===MIRACUM===&lt;br /&gt;
&lt;br /&gt;
===DIFUTURE===&lt;br /&gt;
&lt;br /&gt;
== Übergreifende Use Cases ==&lt;br /&gt;
&lt;br /&gt;
* Polypharmazie – Arzneimittelwechselwirkungen – Risiken (POLAR): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;br /&gt;
* Collaboration On Rare Diseases (CORD): &amp;#039;&amp;#039;in Beantragung&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58138</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58138"/>
		<updated>2019-06-14T20:19:01Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Concept Descriptor (CD) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the properties will be given with de description of CE (see below).&lt;br /&gt;
&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58137</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58137"/>
		<updated>2019-06-14T20:18:24Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Encapsulated Data (ED) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
&lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
&lt;br /&gt;
In an instance, the data type is normally determined by an &amp;#039;&amp;#039;xsi:type&amp;#039;&amp;#039; specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58136</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58136"/>
		<updated>2019-06-14T20:17:07Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* XML representation of data types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is &amp;#039;&amp;#039;II&amp;#039;&amp;#039; (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58135</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58135"/>
		<updated>2019-06-14T20:15:46Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as &amp;#039;&amp;#039;@attribute&amp;#039;&amp;#039; in order to distinguish their names from XML elements.&lt;br /&gt;
&lt;br /&gt;
Example: in the example model above, the data type of the &amp;#039;&amp;#039;id&amp;#039;&amp;#039; attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;) specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute &amp;#039;&amp;#039;@value&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in &amp;#039;&amp;#039;@root&amp;#039;&amp;#039;.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; is populated and &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements &amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reference&amp;#039;&amp;#039; are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where &amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039; is fixed “text/plain” and &amp;#039;&amp;#039;@representation&amp;#039;&amp;#039; is fixed “TXT”. It allows conveying a character string as &amp;#039;&amp;#039;&amp;#039;element content&amp;#039;&amp;#039;&amp;#039;. This data type is used in other data types it like the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039; in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58134</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58134"/>
		<updated>2019-06-14T20:08:06Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* ANY as the generic data type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=8% | &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58133</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58133"/>
		<updated>2019-06-14T20:06:12Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| width=5% | [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58132</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58132"/>
		<updated>2019-06-14T20:02:24Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:60%&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58131</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58131"/>
		<updated>2019-06-14T19:59:00Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Version history */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58130</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58130"/>
		<updated>2019-06-14T19:58:26Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Legend of symbols */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58129</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58129"/>
		<updated>2019-06-14T19:51:10Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Physical Quantities (PQ) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a “number”, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58128</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58128"/>
		<updated>2019-06-14T19:50:32Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Interval of time (IVL_TS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1–3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words “until 12 June 2011” regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit “12 June 2011” means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, “201106122359” means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units “us” (microseconds), “ms” (milliseconds), “s” (seconds), “min” (minute), “h” (hours), “d” (day), “wk” (week), “mo” (month) and “a” (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58127</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58127"/>
		<updated>2019-06-14T19:45:48Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Character Set */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be “UTF-8”.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58126</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58126"/>
		<updated>2019-06-14T19:44:11Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Coded with Equivalents (CE) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58125</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58125"/>
		<updated>2019-06-14T19:43:17Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Coded with Equivalents (CE) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58124</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58124"/>
		<updated>2019-06-14T19:42:33Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Instance Identifier (II) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58123</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58123"/>
		<updated>2019-06-14T19:41:49Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* ANY as the generic data type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;centerST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58122</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58122"/>
		<updated>2019-06-14T19:40:48Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;BL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || &amp;lt;centerST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;OID&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CR&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;int&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attributes&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;real&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Attribute&lt;br /&gt;
! width=8% | DT&lt;br /&gt;
! width=8% | Conf&lt;br /&gt;
! width=64% | Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58121</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58121"/>
		<updated>2019-06-14T19:32:15Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || BL || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TEL&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ED&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || CR || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;CD&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; ||  &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;IVL_TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || int || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || real || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || TS || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;&amp;#039;&amp;#039;(T)&amp;#039;&amp;#039;&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;PQ&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || &amp;lt;center&amp;gt;TS&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || &amp;lt;center&amp;gt;(T)&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;1..1&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58120</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58120"/>
		<updated>2019-06-14T19:27:52Z</updated>

		<summary type="html">&lt;p&gt;Dammon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || BL || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || TEL || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || ED || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || CR || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element&lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || ST || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || CD || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || IVL_TS ||  0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || IVL_TS || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || IVL_TS || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || int || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || real || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || TS || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Element &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || PQ || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || PQ || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || (T) || 1..1 || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || (T) || 1..1 || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58119</id>
		<title>HL7 CDA Core Principles</title>
		<link rel="alternate" type="text/html" href="https://wiki.hl7.de/index.php?title=HL7_CDA_Core_Principles&amp;diff=58119"/>
		<updated>2019-06-14T19:25:27Z</updated>

		<summary type="html">&lt;p&gt;Dammon: /* Postal Address (AD) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This implementation guide specifies the &amp;#039;&amp;#039;Core Principles&amp;#039;&amp;#039; of using the &amp;#039;&amp;#039;Clinical Document Architecture&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Clinical Document Architecture Release 2: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=7&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Scope ===&lt;br /&gt;
&lt;br /&gt;
This guide focuses on &amp;#039;&amp;#039;Data Types Release 1&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;HL7 Data Types Release 1: http://www.hl7.org&amp;lt;/ref&amp;gt;. Meanwhile an ISO specification ISO 21090 is out, also known as Data Type Release 2. The latter is subject to another implementation guide that will be published when ISO data types are used.&lt;br /&gt;
&lt;br /&gt;
=== Focus of this document: HL7 Version 3 Data Types for CDA ===&lt;br /&gt;
&lt;br /&gt;
The following chapters of this document will focus on the description of the data types and associated material. It will highlight the essentials in four chapters, all focusing on the Norwegian situation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Common aspects:&amp;#039;&amp;#039;&amp;#039; explains common aspects of use of CDA and XML&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data types:&amp;#039;&amp;#039;&amp;#039; gives an overview and detailed specification of all data types used in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identification schemes:&amp;#039;&amp;#039;&amp;#039; explains major aspects of identification and the use in CDA&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use of vocabulary:&amp;#039;&amp;#039;&amp;#039; explains major aspects of vocabulary use in CDA.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
In many (European) countries, implementation guides for the use of data types in HL7 V3 are published. They take into account country specific constraints on the data types.&lt;br /&gt;
&lt;br /&gt;
=== Legend of symbols ===&lt;br /&gt;
&lt;br /&gt;
In this document several symbols are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]] || This is an important item&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Issue.svg|50px]] || This is a known open issue&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Faq.svg|50px]] || This is a frequently asked question (FAQ) with answer&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Conformance.svg|50px]] || This is a constraint; in some situations also the rule identification is specified, e.g. dtr1-1-ANY, which links to the corresponding validation rule.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Version history ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Version !! Date !! Description !! Author&lt;br /&gt;
|-&lt;br /&gt;
| 1.1 || 2019-04-24 || Refurbished guide based on earlier work || Kai U. Heitmann&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common aspects ==&lt;br /&gt;
&lt;br /&gt;
=== Use of XML ===&lt;br /&gt;
&lt;br /&gt;
HL7 Version 3 CDA uses the Extensible Markup Language (XML) as the exchange format. It is assumed that the reader is familiar with common XML aspects. However, some constraints are made regarding the use of CDA.&lt;br /&gt;
&lt;br /&gt;
==== Character Set ====&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
The character encoding of any CDA document shall be „UTF-8“.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CDA document structure ===&lt;br /&gt;
&lt;br /&gt;
The XML namespace for CDA Release 2 documents is &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;urn:hl7-org:v3&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. This must be correctly mentioned in every XML instance. &lt;br /&gt;
CDA XML documents starts with the root element &amp;#039;&amp;#039;ClinicalDocument&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ClinicalDocument xmlns=&amp;quot;urn:hl7-org:v3&amp;quot; xmlns:voc=&amp;quot;urn:hl7-org:v3/voc&amp;quot;&lt;br /&gt;
    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- CDA Header --&amp;gt; &lt;br /&gt;
          ...&lt;br /&gt;
    &amp;lt;!-- CDA Body --&amp;gt;&lt;br /&gt;
    &amp;lt;component&amp;gt;&lt;br /&gt;
        &amp;lt;structuredBody&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
        &amp;lt;/structuredBody&amp;gt;&lt;br /&gt;
    &amp;lt;/component&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ClinicalDocument&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Data types ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
The following chapter describes the typical data types used in CDA implementation guides. For further information please refer to the HL7 V3 standard and its two parts concerning data types:&lt;br /&gt;
* Abstract Data type definition &amp;lt;ref&amp;gt;HL7 Version 3 Abstract Data type definition: https://www.hl7.org/implement/standards/product_brief.cfm?product_id=264&amp;lt;/ref&amp;gt;&lt;br /&gt;
* XML ITS for data types &amp;lt;ref&amp;gt;XML ITS for data types: https://www.hl7.org/documentcenter/public_temp_682D4D16-1C23-BA17-0C789BA52BEDB68E/wg/inm/datatypes-its-xml20050714.htm&amp;lt;/ref&amp;gt;&lt;br /&gt;
Data types are properties of model class attributes and the basic building blocks of information in a CDA XML instance. For example, a model attribute named “time” has as its data type a time stamp “TS” (see Figure 1).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_1_CDA_Structure_Data_Types.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;CDA structure (left) and the data type specification (right)&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;CDA structure (left) and the data type specification (right)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== XML representation of data types ===&lt;br /&gt;
&lt;br /&gt;
Actual data is mostly carried in HL7 Version 3 by populating XML attributes and not as element content. Exceptions are names of persons and organizations as well as addresses.&lt;br /&gt;
The XML elements have names like the model attributes. For example, a model attribute “id” has a corresponding XML element named &amp;lt;id…&amp;gt;. The model determines the sequence of elements and their hierarchy. The data type itself determines the XML attributes within the start tag. The notation here is as follows:&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| (name of the model attribute or XML element) || Data type || Conformance, i.e. O, R, M || Textual description&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XML attributes (data type properties) are denoted as @attribute in order to distinguish their names from XML elements.&lt;br /&gt;
Example: in the example model above, the data type of the id attribute&amp;#039;s is II (Instance Identifier). The corresponding XML attributes for that data type include @root and @extension.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id   root=&amp;quot;…&amp;quot;   extension=&amp;quot;...&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A description of the data types and their corresponding XML representation is contained in subsequent paragraphs of this guide.&lt;br /&gt;
&lt;br /&gt;
==== Exceptions using XML element content ====&lt;br /&gt;
For most data types, the actual data is conveyed in XML attributes. However, there are some exceptions. For the data types binary (BIN), Encapsulated Data (ED), Entity Name (EN), Person Name (PN), Organization Name (ON), Trivial Name (TN), Address (AD) and character string data (ST), information is carried as element content.&lt;br /&gt;
Example: the components of an address &amp;lt;addr&amp;gt; are represented by sub elements with the data as element content (in the example shown in black).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Thormøhlens gate 12&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;5006&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Bergen&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Combined data types ====&lt;br /&gt;
There are a number of socalled combined data types. For example, an interval with a lower and upper limit and a ratio that has a nominator and a denominator value.&lt;br /&gt;
In combined data types the substructure (e.g. &amp;lt;low&amp;gt; &amp;lt;high&amp;gt; in an interval) are represented as child elements of the relevant data type element.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110701&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110729&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conformance information ====&lt;br /&gt;
The conformance indicators distinguish kinds of conformance information described shortly here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;: An optional item may be omitted if no data is present, i.e. no corresponding XML attribute or element is sent (marked as “O”)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: For required items, lower cardinality is always zero or 1.&lt;br /&gt;
** Elements must be present and populated with data if present in the sending system. If no data is available (yet), a null flavor (see below) indicates and possibly classifies the missing information (marked as R).&lt;br /&gt;
** Attribute flagged as required must be present in the instance and populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;: For mandatory elements data must be sent and no missing values are allowed, i.e. if the sending system does not have information for mandatory elements the XML instance cannot be created and sent (marked as M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NP&amp;#039;&amp;#039;&amp;#039;: no data may be present at all (not permitted)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;: conditional conformance; typically a conformance table shows the circumstances (conditions) derived from information in the instance and the corresponding cardinalities and conformance statements.&lt;br /&gt;
&lt;br /&gt;
=== Missing values (null flavor) ===&lt;br /&gt;
For every data type it is possible to specify a missing value including a kind of reason why data is missing. Instead of specifying any attribute of the corresponding element, a @nullFlavor attribute expresses the omission of data. Note that missing data is not allowed for mandatory elements (see above).&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value nullFlavor=&amp;quot;OTH&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code nullFlavor=&amp;quot;UNK&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;booleanInd nullFlavor=&amp;quot;NI&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes for the @nullFlavor attribute are drawn from the following hierarchical code system. It is a Coded Simple (CS), which means it has no code system (attribute @codeSystem) specified.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;NullFlavor&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;NullFlavor&amp;#039;&amp;#039;&lt;br /&gt;
! Code &lt;br /&gt;
! width=15% | Print Name &lt;br /&gt;
! Definition / Description &lt;br /&gt;
|-&lt;br /&gt;
| NI || No Information || No information whatsoever can be inferred from this exceptional value. This is the most general exceptional value. It is also the default exceptional value.&lt;br /&gt;
|-&lt;br /&gt;
| OTH || other || The actual value is not an element in the value domain of a variable. (e.g., concept not provided by required code system). &lt;br /&gt;
|-&lt;br /&gt;
| NINF || negative infinity || Negative infinity of numbers.      		&lt;br /&gt;
|-&lt;br /&gt;
| PINF || positive infinity || Positive infinity of numbers. &lt;br /&gt;
|-&lt;br /&gt;
| UNK || unknown || A proper value is applicable, but not known.&lt;br /&gt;
|-&lt;br /&gt;
| ASKU || asked but unknown || Information was sought but not found (e.g., patient was asked but didn&amp;#039;t know)&lt;br /&gt;
|-&lt;br /&gt;
| NAV || temporarily unavailable || Information is not available at this time but it is expected that it will be available later.&lt;br /&gt;
|-&lt;br /&gt;
| NASK || not asked || This information has not been sought (e.g., patient was not asked)&lt;br /&gt;
|-&lt;br /&gt;
| TRC || trace || The content is greater than zero, but too small to be quantified.&lt;br /&gt;
|-&lt;br /&gt;
| MSK || masked || There is information on this item available but it has not been provided by the sender due to security, privacy or other reasons. There may be an alternate mechanism for gaining access to this information. &lt;br /&gt;
Note: using this null flavour does provide information that may be a breach of confidentiality, even though no detail data is provided. Its primary purpose is for those circumstances where it is necessary to inform the receiver that the information does exist without providing any detail. &lt;br /&gt;
|-&lt;br /&gt;
| NA || not applicable || No proper value is applicable in this context (e.g., last menstrual period for a male).&lt;br /&gt;
|-&lt;br /&gt;
| NP || not present || Value is not present in a message. This is only defined in messages, never in application data! All values not present in the message must be replaced by the applicable default, or no-information (NI) as the default of all defaults. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ANY as the generic data type ===&lt;br /&gt;
&lt;br /&gt;
This abstract data type is the basis for all other data types. Not a single value within a CDA document has the effective data type ANY, but any data type within HL7v3 is a specialization of ANY. This also means that any other data type inherits all properties of ANY (see [[#Missing_values_.28null_flavor.29|“Missing values (null flavor)”]]).&lt;br /&gt;
&lt;br /&gt;
The ANY type is occasionally found in HL7 models when it comes to clinical finding etc. where – at model time – the actual data type of the value is not known. At instantiation time however, the actual data type &amp;#039;&amp;#039;is&amp;#039;&amp;#039; known and ANY is always replaced by a particular data type in an instance.&lt;br /&gt;
&lt;br /&gt;
One example is the observation value (child element value in an observation), where in the model the data type of value cannot be anticipated. When instantiation is taking place, the data type is specified by the XML instance attribute &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039;. This information can be used by the receiver to validate and process the value.&lt;br /&gt;
&lt;br /&gt;
Attributes of an element with this data type are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Classification of the missing value, see [[#Missing_values_.28null_flavor.29|3.3 Missing values (null flavor)]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| &amp;lt;center&amp;gt;[[File:Conformance.svg|50px]]&amp;lt;br /&amp;gt;dtr1-1-ANY&amp;lt;/center&amp;gt; || If there is a &amp;#039;&amp;#039;nullFlavor&amp;#039;&amp;#039;, there shall be no other attribute or element, unless it&amp;#039;s &amp;#039;&amp;#039;nullFlavor=&amp;quot;OTH&amp;quot;&amp;#039;&amp;#039;. In that case &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; or &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; (see “code” data types) may have a value.&lt;br /&gt;
|}&lt;br /&gt;
			&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as CE --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;CE&amp;quot; code=&amp;quot;N11.9&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as PQ --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;12&amp;quot; unit=&amp;quot;mL&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- A value of data type ANY in the model, instantiated as ED --&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot;&amp;gt;this is text&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Boolean (BL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type refer to Boolean logic and have an attribute @value.&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || BL || &amp;lt;center&amp;gt;–&amp;lt;/center&amp;gt; || Valued as “true” or “false”&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;negationInd value=&amp;quot;false&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;deceasedInd value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some situations, the BL data does not apply to an XML element, but an attribute. In that case, the attribute carries the Boolean value directly.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;support contextConductionInd =&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Instance Identifier (II) ===&lt;br /&gt;
&lt;br /&gt;
This data type identifies instances of classes like observations or entities (persons, organizations). Attributes are&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Identification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@root&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Source of identification&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;id extension=&amp;quot;13234453645&amp;quot; root=&amp;quot;2.16.840.1.113883.2.6.15.3.427.1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The @root attribute is of type OID (object identifier), a unique identifier of the issuing authority or system. For example, a patient with a patient number 13234453645 created by a specific healthcare provider organization is uniquely identified by the number itself in @extension and the OID of the organization or the sending system, in the example 2.16.840.1.113883.2.6.15.3.427.1 in @root.&lt;br /&gt;
In some cases, a single OID identifies an object uniquely. In that situation, only @root is populated and @extension is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Encapsulated Data (ED) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type carry multimedia content. The actual multimedia content is represented as element content. There are two situations for the use of ED: &lt;br /&gt;
* Inline: The full data is transmitted in the type. This form is mainly used for text.&lt;br /&gt;
* By reference: a thumbnail is provided which links to the full data by reference.&lt;br /&gt;
In an instance, the data type is normally determined by an xsi:type specification and some attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@mediaType&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || MIME media type classification. At time of writing this specification, the following MIME types are allowed:&lt;br /&gt;
* text/plain (plain text)&lt;br /&gt;
* text/html (text with html markup)&lt;br /&gt;
* image/jpeg (JPEG image)&lt;br /&gt;
* application/pdf (a PDF, portable document format)&lt;br /&gt;
* application/hl7-sda+xml (CDA documents).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@representation&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Representation of the multimedia content. At time of writing this specification, the following representations are allowed:&lt;br /&gt;
* TXT (text, this is the default)&lt;br /&gt;
* B64 base 64 encoded data, for example for embedded CDA documents).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;text xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;text/plain&amp;quot;&amp;gt;&lt;br /&gt;
    Patient treated sucessfully&lt;br /&gt;
&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;text mediaType=&amp;quot;application/hl7-sda+xml&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;PD94bWw..etc..==&amp;lt;/text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To include referenced data the two sub elements thumbnail and reference are used.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Elements !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;reference&amp;#039;&amp;#039;&amp;#039; || TEL || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Link (URI) to full data&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;thumbnail&amp;#039;&amp;#039;&amp;#039; || ED || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Thumbnail of referenced data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;ED&amp;quot; mediaType=&amp;quot;image/png&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;reference value=&amp;quot;http://radiology.bergen.no/xrays/128s.png&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;thumbnail mediaType=&amp;quot;image/jpeg&amp;quot; representation=&amp;quot;B64&amp;quot;&amp;gt; MNY...83== &amp;lt;/thumbnail&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Strings (ST) ===&lt;br /&gt;
&lt;br /&gt;
This data type is a specialization of the ED type where @mediaType is fixed “text/plain” and @representation is fixed “TXT”. It allows conveying a character string as element content. This data type is used in other data types it like the @extension in instance identifiers, or address and person name data type components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;lotNumber&amp;gt; 143GT6DT &amp;lt;/lotNumber&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Concept Descriptor (CD) ===&lt;br /&gt;
&lt;br /&gt;
This data type specifies a concept by means of a code and its code system (except for situations where no code is available). A couple of specializations of data type CD exist, which differ in the main characteristics (properties) of the data type that may or may not be supported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+ Table 1: Properties of data types used for codes&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: right&amp;quot;&amp;gt;DataType&amp;lt;/div&amp;gt; !! CD !! CE !! CV !! CO !! CS&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;Property&amp;lt;/div&amp;gt; !! !! !! !! !!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  ||&amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt;|| &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;qualifier&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;X&amp;lt;/center&amp;gt; || || ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because the CE variant is most used in practice, the general explanation of the proper-ties will be given with de description of CE (see below).&lt;br /&gt;
The only attribute that is unique to CD is briefly explained here.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@qualifier&amp;#039;&amp;#039;&amp;#039; || CR || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || An additional qualifier for the code.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Complex terminologies like SNOMED CT can be used only using data type CD.&lt;br /&gt;
&lt;br /&gt;
=== Coded with Equivalents (CE) ===&lt;br /&gt;
&lt;br /&gt;
With elements of this data type, a concept by means of a code and its coding system (except for situations where no code is available) can be specified. It optionally contains one or more equivalents using other code systems.&lt;br /&gt;
It may contain the following attributes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attributes !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@code&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The actual code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039;&amp;#039; || OID || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || required to identify the code system were the code is drawn from. This is an OID (object identifier, see [[#Object_Identifiers_.28OIDs.29|Object Identifiers at 4.1]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Optional textual representation of code. A display name may be specified representing the plain text of the code. The information of this attribute may not be used by the receiving system for interpretation, but only for display purposes. The display name may never be transmitted without a code and must have the same meaning as the code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemName&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the name of the code system&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@codeSystemVersion&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || A textual representation of the version of the code system&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;administrativeGenderCode code=&amp;quot;F&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.1&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;AU&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.33&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;storageCode code=&amp;quot;AC&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.34&amp;quot; displayName=&amp;quot;active&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code code=&amp;quot;A45.0&amp;quot; displayName=&amp;quot;Somatisierungsstörung&amp;quot; codeSystem=&amp;quot;1.2.276.0.76.5.409&amp;quot; codeSystemName=&amp;quot;ICD-10 GM 2012&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are some child elements of codes that can be used to express what the “original text” was that was used for the coding or to indicate that there are “translations” to other code systems than the primary code.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Element !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;originalText&amp;#039;&amp;#039;&amp;#039; || ST || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Textual representation of the concept, actually a description which was used to create the actual code&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
No semantics may be assumed other than showing the &amp;#039;&amp;#039;@displayName&amp;#039;&amp;#039; to a user to clarify the code. A display name cannot occur without its code and must carry the same meaning.&lt;br /&gt;
&lt;br /&gt;
In case no code is known, it is allowed to specify a &amp;#039;&amp;#039;@nullFlavor&amp;#039;&amp;#039; for the code element and to give information about the (not yet coded) concept in original text. However, this should be an exception.&lt;br /&gt;
&lt;br /&gt;
If other codes than the primary code need to be conveyed adding a translation child element can be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;originalText&amp;gt;minor aphthous stomatitis&amp;lt;/originalText&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Element !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; || CD || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Alternative code(s)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; element is also of type CD and shall have a code and a code system identified. It shall point to the same concept as the primary code. It is allowed that a translation conveys less conceptual details than the original code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code code=&amp;quot;K12.0&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.3&amp;quot; codeSystemName=&amp;quot;ICD10&amp;quot; displayName=&amp;quot;Recurrent oral aphthae&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;translation code=&amp;quot;528.2&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.6.2&amp;quot; codeSystemName=&amp;quot;ICD9&amp;quot; displayName=&amp;quot;Oral aphthae&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Coded Value (CV) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with the exception that neither &amp;#039;&amp;#039;originalText&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;translation&amp;#039;&amp;#039; child element are allowed.&lt;br /&gt;
&lt;br /&gt;
=== Coded Simple Value (CS) ===&lt;br /&gt;
&lt;br /&gt;
This is actually a specialization of CE (see above), with no code system attribute and no original text or translation child element allowed. It specifies a concept by means of a code from a &amp;#039;&amp;#039;predefined&amp;#039;&amp;#039; code system (table) where the code is drawn from. This data type is usually applied in the context of fixed predefined HL7 tables.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;statusCode code=&amp;quot;completed&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example &amp;#039;&amp;#039;statusCode&amp;#039;&amp;#039; is bound in the underlying model to the specific code system &amp;#039;&amp;#039;ActStatus&amp;#039;&amp;#039;. Because it is predefined by means of the vocabulary binding, &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Telecommunication Address (TEL) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || ST || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || carries strings that represent telecommunication contact information&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The actual data is preceded by the scheme (refer to Internet Standard “RFC 1738 Uniform Resource Locators (URL)” &amp;lt;ref&amp;gt;RFC 1738 Uniform Resource Locators (URL): http://www.ietf.org/rfc/rfc1738.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* telephone (tel:),&lt;br /&gt;
* fax (fax:),&lt;br /&gt;
* email (mailto:).&lt;br /&gt;
&lt;br /&gt;
It must follow the rules defined in Internet “RFC 2806 URLs for Telephone Calls” &amp;lt;ref&amp;gt;RFC 2806 URLs for Telephone Calls: http://www.ietf.org/rfc/rfc2806.txt&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following codes will be used in the “use” attribute: &lt;br /&gt;
* H – Home &lt;br /&gt;
* WP – Work &lt;br /&gt;
* MC can be used (in addition to H or WP) to denote that this is a mobile phone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;tel:55354257&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;H&amp;quot; value=&amp;quot;fax:56542558&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:+41.34.21.4765342&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;mailto:opr@opr-sem.no&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;telecom use=&amp;quot;WP MC&amp;quot; value=&amp;quot;tel:97555786&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to express the useable period of a telecommunication contact. A child element &amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039; is used as a time interval to indicate this period.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Element !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;useablePeriod&amp;#039;&amp;#039;&amp;#039; || IVL_TS ||  0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;telecom value=&amp;quot;tel:55354257&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;useablePeriod&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111201&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/useablePeriod&amp;gt;&lt;br /&gt;
&amp;lt;/telecom&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Postal Address (AD) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have a substructure in order to represent a structured address specification. In this implementation guide only a selection of all possible child elements is allowed, the original HL7 specification is richer.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! width=20% | Core Elements &lt;br /&gt;
! width=8% | DT &lt;br /&gt;
! width=8% | Card &lt;br /&gt;
! width=8% | Conf &lt;br /&gt;
! width=56% | Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;streetAddressLine&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Street address, includes street name and house number&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;city&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || City&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;postalCode&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Postal code&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;country&amp;#039;&amp;#039;&amp;#039; || &amp;lt;center&amp;gt;ST&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;0..*&amp;lt;/center&amp;gt; || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Country&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that the sequence of the sub elements is country specific, i.e. it has to follow “common” rules how to write an address. For example, an UK address and a German address have different sequences of address representation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute can also be specified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@use&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || Represents the type of the telecommunication contact&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Anna-Louisa-Karsch-Str. 2&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10178&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addr use=&amp;quot;H WP&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;streetAddressLine&amp;gt;Tatungasse 34&amp;lt;/streetAddressLine&amp;gt;&lt;br /&gt;
    &amp;lt;postalCode&amp;gt;10825&amp;lt;/postalCode&amp;gt;&lt;br /&gt;
    &amp;lt;city&amp;gt;Berlin&amp;lt;/city&amp;gt;&lt;br /&gt;
&amp;lt;/addr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, a country may be specified using the element &amp;#039;&amp;#039;country&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Person Name (PN) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type do also have a substructure to represent the parts of a person name, like family or given name and prefixes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Franz&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Ingrun&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Nordmann&amp;lt;/family&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Previous or birth or maiden names are supported using the &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element. &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]]) specifies the validity range of the name.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Element !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || IVL_TS || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Birthname, used/valid up to 1-1-2000 --&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Jan&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;given&amp;gt;Olaf&amp;lt;/given&amp;gt;&lt;br /&gt;
    &amp;lt;family&amp;gt;Hendrikson&amp;lt;/family&amp;gt;&lt;br /&gt;
    &amp;lt;validTime&amp;gt;&lt;br /&gt;
        &amp;lt;high value=&amp;quot;20000101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the name attribute is repeating, i.e. multiple (types of) names could be sent. It is up to the receiver (based on the value of the &amp;#039;&amp;#039;@use&amp;#039;&amp;#039; attribute, and &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;) to decide what name it wants to use or import in its database.&lt;br /&gt;
&lt;br /&gt;
=== Organisation Name (ON) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent a name of an organization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt; Charité Berlin &amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; element (with child elements low and high, see data type [[#Interval_of_time_.28IVL_TS.29|IVL_TS at 3.21]] may be used to specify the validity range of the name of the organization.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Element !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;validTime&amp;#039;&amp;#039;&amp;#039; || IVL_TS || 0..* || &amp;lt;center&amp;gt;O&amp;lt;/center&amp;gt; || validity range of the name of the organization&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;The old hospital&lt;br /&gt;
    &amp;lt;validTime&amp;gt; &lt;br /&gt;
        &amp;lt;high value=&amp;quot;20111231235959&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/validTime&amp;gt;&lt;br /&gt;
&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;#039;&amp;#039;validTime&amp;#039;&amp;#039; yields XML mixed content which should be avoid-ed if possible.&lt;br /&gt;
&lt;br /&gt;
=== Integer Number (INT) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to specify integer numbers and have one attribute.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || int || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Integer value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sequenceNumber value=&amp;quot;24&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Physical Quantities (PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are physical quantities, i.e. a measurable quantity (or countable) value from the physical world. This is different from just a &amp;#039;number&amp;#039;, because there is a (natural) unit specified in which the measurable quantity is expressed.&lt;br /&gt;
Examples:&lt;br /&gt;
* an amount of blood 20 ml (sample volume)&lt;br /&gt;
* a cut with a length of 10 cm (result observation)&lt;br /&gt;
* a dose of 200 milligrams per administration (dosing)&lt;br /&gt;
* delivery of 60 pieces of a tablet (amount supplied).&lt;br /&gt;
Elements of this data type have the following attributes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || real || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || value of the measurement&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@unit&amp;#039;&amp;#039;&amp;#039; || CS || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || unit of measurement&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the unit of measurement unit is expressed following the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; (UCUM) specification. This specification is a collection of atomic units, prefixes and a corresponding grammar for valid combinations to build all-natural units of measurement. For a complete description of possible units, see the &amp;#039;&amp;#039;Unified Code for Units of Measure&amp;#039;&amp;#039; &amp;lt;ref&amp;gt;Unified Code for Units of Measure: http://unitsofmeasure.org/&amp;lt;/ref&amp;gt; specification.&lt;br /&gt;
If a value is not countable or if measurable, for example expressed in milligrams or liters, then this unit is a valid UCUM unit like “mg” or “L”. If a value is countable, for example the number of tablets, then this attribute contains “1”.&lt;br /&gt;
In HL7 it is required that all PQ data type units are valid UCUM units.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;value value=&amp;quot;165&amp;quot; unit=&amp;quot;cm&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;81.1&amp;quot; unit=&amp;quot;kg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;120&amp;quot; unit=&amp;quot;mm[Hg]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value value=&amp;quot;5&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Point in Time (TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type have the attribute&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Attribute !! DT !! Conf !! Description&lt;br /&gt;
|-	&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;@value&amp;#039;&amp;#039;&amp;#039; || TS || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || Point in time&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and specify points in time in the format YYYYMMDDhhmmss±ZZZZ, where &lt;br /&gt;
* YYYY is the four-digit year, &lt;br /&gt;
* MM the two-digit month, &lt;br /&gt;
* DD the two-digit day, &lt;br /&gt;
* hh the two-digit hour,&lt;br /&gt;
* mm the two-digits minute and&lt;br /&gt;
* ss the two-digit second.&lt;br /&gt;
Optional a time zone ZZZZ, the four-digit time alignment with a preceding “-” or a “+” can be specified. If time zone is omitted, local time is assumed.&lt;br /&gt;
The point in time may be right truncated in respect to the precision of the information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;201409091245&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;1996&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;birthTime value=&amp;quot;19540714&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime value=&amp;quot;20140412+0100&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Intervals (IVL) ===&lt;br /&gt;
&lt;br /&gt;
Intervals are defined only for data types with an ordinal or interval scale type. There are several possibilities to determine an interval (see Figure 2), for example to specify&lt;br /&gt;
&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; and an upper boundary &amp;lt;high&amp;gt; (a),&lt;br /&gt;
* a lower &amp;lt;low&amp;gt; boundary and width &amp;lt;width&amp;gt; (b)&lt;br /&gt;
* an upper boundary and width &amp;lt;width&amp;gt; (c) or&lt;br /&gt;
* the middle of the interval &amp;lt;nowiki&amp;gt;&amp;lt;center&amp;gt;&amp;lt;/nowiki&amp;gt; and a width &amp;lt;width&amp;gt; (d).&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_2_Determining_Intervals.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Several possibilities to determine closed intervals&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Several possibilities to determine closed intervals&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
To indicate an interval, only the following combinations are permitted.&lt;br /&gt;
(1) A lower and an upper boundary may not be identical, and their accuracy has to be equal.&lt;br /&gt;
&lt;br /&gt;
Correct examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginGreenBox|}}&lt;br /&gt;
Interval from 5 to 6&lt;br /&gt;
Interval from 20110607 until 20110612&lt;br /&gt;
{{EndGreenBox}}&lt;br /&gt;
&lt;br /&gt;
Incorrect examples:&lt;br /&gt;
&lt;br /&gt;
{{BeginRedBox|}}&lt;br /&gt;
Interval from 5 to 6.0&lt;br /&gt;
Interval from 20110101 to 2011&lt;br /&gt;
{{EndRedBox|}}&lt;br /&gt;
&lt;br /&gt;
(2) A lower boundary and a width&lt;br /&gt;
&lt;br /&gt;
(3) A lower limit boundary&lt;br /&gt;
&lt;br /&gt;
(4) A upper limit boundary&lt;br /&gt;
&lt;br /&gt;
(5) Only the middle of the interval&lt;br /&gt;
&lt;br /&gt;
(6) Only the width of an interval}}&lt;br /&gt;
&lt;br /&gt;
Accordingly, four child elements are available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Elements !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || PQ || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Where &amp;#039;&amp;#039;(T)&amp;#039;&amp;#039; is defined in this specification as one of the data types “TS” or “PQ”.&lt;br /&gt;
&lt;br /&gt;
=== Interval of time (IVL_TS) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type represent time intervals. There are four possible child elements.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Elements !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low&amp;#039;&amp;#039;&amp;#039; || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Lower boundary (start date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high&amp;#039;&amp;#039;&amp;#039; || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Upper boundary (end date/time)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center&amp;#039;&amp;#039;&amp;#039; || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of an interval&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; || PQ || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Width of an interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Normally, a lower and an upper boundary is given, both are points in time. Also, it is possible to specify open intervals like “since June 14, 1999” (left boundary given only) or “until September 24, 2006” (right boundary given).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;20110909&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110507&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;width value=&amp;quot;120&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;20110101&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|It must be noted that intervals of time stamps in HL7 are equally treated as other interval types (e.g. integers). The statement, one may take 1-3 tablets (interval of integers), for example, says that you are allowed to take no more than three tablets, not 3½ or 3.5 tablets. On the other hand, when treat the words &amp;quot;until 12 June 2011&amp;quot; regarding the upper interval limit differently, particularly we assume that the entire day 12 June is still in-cluded in this time interval.&lt;br /&gt;
Thus, in human perception time intervals are handled differently com-pared to such as number intervals. This is a situation may lead to inconsist-encies in standardized communication. As a conclusion, an upper limit &amp;quot;12 June 2011&amp;quot; means that only the very first moment of the 12 June is included in the interval, but not, for example, the 12 June 13:00 hours.&lt;br /&gt;
Interpretation does not depend on the accuracy of the time: &lt;br /&gt;
* “after 2004” means “from January 1, 2005 00:00:00.000”,&lt;br /&gt;
* “after 20041201” means “from 2 December 2004 00:00:00.000 hours”,&lt;br /&gt;
* and “after 200412011200” means “from 1 December 2004 12:01:00.000”.&lt;br /&gt;
&lt;br /&gt;
As a result, you have to carefully consider the specification and implemen-tation of time intervals upper boundaries. In order to prevent mis-understandings intervals are always specified with the date and time for an upper limit that would cover the whole day. Accordingly, &amp;quot;201106122359&amp;quot; means 12 June 2011 throughout the day.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;effectiveTime&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;201106122359&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/effectiveTime&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the equal treatment of time intervals this is applied also to the lower limit boundaries of time intervals as “0000”. This means for example that “since 9 June 2011” is expressed as “201106090000”.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;width&amp;gt; element is of data type PQ (physical quantity). The value obviously shall relate to a period of time and it is required to include a “time” unit. These are the units &amp;#039;us&amp;#039; (microseconds), &amp;quot;ms&amp;quot; (milliseconds), &amp;#039;s&amp;#039; (seconds), &amp;quot;min&amp;quot; (minute), &amp;#039;h&amp;#039; (hours), &amp;#039;d&amp;#039; (day), &amp;#039;wk&amp;#039; (week), &amp;#039;mo&amp;#039; (month) and &amp;#039;a&amp;#039; (year).&lt;br /&gt;
&lt;br /&gt;
{{ConstraintBox|&lt;br /&gt;
For interval of time stamps the @unit of a &amp;#039;&amp;#039;low&amp;#039;&amp;#039; or &amp;#039;&amp;#039;high&amp;#039;&amp;#039; child element shall use units&lt;br /&gt;
* us (microseconds),&lt;br /&gt;
* ms (milliseconds),&lt;br /&gt;
* s (seconds),&lt;br /&gt;
* min (minute),&lt;br /&gt;
* h (hours), &lt;br /&gt;
* d (day),&lt;br /&gt;
* wk (week),&lt;br /&gt;
* mo (month) or&lt;br /&gt;
* a (year).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Interval of physical quantities (IVL_PQ) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type are used to indicate intervals of physical quantities (see also [[#Physical Quantities (PQ)|3.18 Physical Quantities (PQ)]]). In general, an upper and a lower boundary is specified. It is also possible to use &amp;#039;&amp;#039;center&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;low&amp;#039;&amp;#039; and &amp;#039;&amp;#039;high&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Elements !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;low || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the lower limit of the interval (i.e. the minimum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;high || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || the upper limit of the interval (i.e. the maximum amount).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;center || TS || 0..1 || &amp;lt;center&amp;gt;C&amp;lt;/center&amp;gt; || Center of the interval&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is used when there is no interval, but an exact value. Alternative would be to demote IVL_PQ to data type PQ and populate the element’s &amp;#039;&amp;#039;@value&amp;#039;&amp;#039; attribute, but this is more difficult to process in XML. That is why the use of the &amp;#039;&amp;#039;center&amp;#039;&amp;#039; child element is deprecated.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Conformance.svg|50px]]||&lt;br /&gt;
All conformance statements applicable to this data type can be found at the [https://art-decor.org/mediawiki/index.php?title=Table_of_Version3_Datatypes ART-DECOR table of V3 data types].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippets&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;referenceRange&amp;gt;&lt;br /&gt;
    &amp;lt;low value=&amp;quot;7.5&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;high value=&amp;quot;10&amp;quot; unit=&amp;quot;mmol/l&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/referenceRange&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;doseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;center value=&amp;quot;9&amp;quot; unit=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/doseQuantity&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ratio of quantities (RTO_QTY_QTY) ===&lt;br /&gt;
&lt;br /&gt;
Elements of this data type specify ratios and have two child elements, a numerator and a denominator. The underlying QTY (Quantity) data type is an abstract data type and in a XML instance it has to be replaced by a specific data type using the &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction (see below).&lt;br /&gt;
&lt;br /&gt;
In this specification only “PQ” or “INT” are allowed for the demotion of both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039;. The relevant child elements are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot; style=&amp;quot;width:50%&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Core Elements !! DT !! Card !! Conf !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;numerator || (T) || 1..1 || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the numerator of the ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;denominator || (T) || 1..1 || &amp;lt;center&amp;gt;R&amp;lt;/center&amp;gt; || The amount of the denominator of the ratio&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If a model attribute already is a RTO_QTY_QTY, you need to specify (demote) the OTY abstract data type for both &amp;#039;&amp;#039;numerator&amp;#039;&amp;#039; and &amp;#039;&amp;#039;denominator&amp;#039;&amp;#039; by using an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; instruction.&lt;br /&gt;
In some cases where the model attribute is of type “ANY”, also the root element shall carry an &amp;#039;&amp;#039;@xsi:type&amp;#039;&amp;#039; RTO_QTY_QTY instruction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;span style=&amp;quot;font-size:88%&amp;quot;&amp;gt;&amp;#039;&amp;#039;XML Example snippet&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;6&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;400&amp;quot; unit=&amp;quot;mg&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;d&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;maxDoseQuantity&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;PQ&amp;quot; value=&amp;quot;1&amp;quot; unit=&amp;quot;h&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/maxDoseQuantity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;value xsi:type=&amp;quot;RTO_QTY_QTY&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;numerator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;denominator xsi:type=&amp;quot;INT&amp;quot; value=&amp;quot;10000&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Identification mechanisms ==&lt;br /&gt;
&lt;br /&gt;
=== Object Identifiers (OIDs) ===&lt;br /&gt;
&lt;br /&gt;
Standardized exchange of information using messages or documents also deals with unique identifications of objects and concepts, especially in environments where sender and receiver do not “know” each other necessarily.&lt;br /&gt;
&lt;br /&gt;
It is important to understand the difference between identification of instances (ids) and code concepts (classifications). Within the context of HL7 interactions OIDs are quite often used.&lt;br /&gt;
An id points to a specific instance of an object or identification scheme (a particular methodology for the identification of a class of objects), for example a specific person as the patient or a physician, a specific lab observation or an X-ray photo.&lt;br /&gt;
&lt;br /&gt;
In contrast to instance identifiers, a classification identifies a specific concept. The type of patient (inpatient, outpatient), the type of doctor (an anesthesiologist), the codes for gender or a lab observation (blood cell count) may serve as examples.&lt;br /&gt;
&lt;br /&gt;
OIDs (object identifiers) are worldwide unique identifiers for objects. They are used in HL7 to specify identifications and classifications. An object in this sense is persistent, well-defined information, definitions or specifications and is represented with ids or codes.&lt;br /&gt;
&lt;br /&gt;
Commonly used OIDs (i.e. used for a purpose that is wider in scope than the regional healthcare organization; used in communications between healthcare regions) can be found in OIDs registries such as&lt;br /&gt;
&lt;br /&gt;
* [http://www.oid-info.com www.oid-info.com], &lt;br /&gt;
* [http://www.hl7.org www.hl7.org], &lt;br /&gt;
* [http://www.hl7.org.uk/version3group/oids.asp HL7 OID registry in the UK], &lt;br /&gt;
* [https://www.dimdi.de/dynamic/de/klassifikationen/weitere-klassifikationen-und-standards/oid/ OID registry Germany].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|All OIDs with an element of 999 or 9999 are for documentation purposes only. They will be replaced by permanent OIDs once these have been as-signed/found/applied for.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
OID (Object Identifiers) are unique identifiers for any kind of objects. They are defined in Rec. ITU-T X.660 | ISO/IEC 9834-1. This identification system for objects and concepts makes reliable electronic information exchange possible. Administration and Registration is regulated by a set of rules, described in the corresponding chapter of this document.&lt;br /&gt;
&lt;br /&gt;
Every artefact in ART-DECOR has an Object Identifier (OID). There are recommendations for the management and the exchange of Object Identifiers, partially defined in ISO TS 13582 &amp;lt;ref&amp;gt;ISO TS 13582: https://www.iso.org/standard/69652.html&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;HL7 International&amp;#039;&amp;#039; has created a type ontology for the OIDs in the HL7 registry to make it easier for the user community to search for OIDs they may be looking for and can be found at hl7.org.&lt;br /&gt;
&lt;br /&gt;
From a policy perspective it is common practice in several healthcare related OID registries (HL7 International at http://www.hl7.org, OID Registry Germany at http://www.dimdi.de, OID registry Switzerland at http://oid.refdata.ch, and OID registry Austria at https://www.gesundheit.gv.at/OID_Frontend) to distinguish at least between the following types of OIDs:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 60%;&amp;quot; class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for different artefacts&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Arc !! Description &lt;br /&gt;
|-&lt;br /&gt;
| .3 || organizational bodies and groups&lt;br /&gt;
|-&lt;br /&gt;
| .4 || identifier systems and namespaces&lt;br /&gt;
|-&lt;br /&gt;
| .5 || code systems&lt;br /&gt;
|-&lt;br /&gt;
| .7 || document artefacts&lt;br /&gt;
|-&lt;br /&gt;
| .9 || conformance profiles&lt;br /&gt;
|-&lt;br /&gt;
| .10 || templates&lt;br /&gt;
|-&lt;br /&gt;
| .11 || value sets&lt;br /&gt;
|-&lt;br /&gt;
| .19 || examples&lt;br /&gt;
|-&lt;br /&gt;
| .99 || experimental&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Example: given that “your” root OID is 1.2.3.4.5, the first value set of your governance group is then to be 1.2.3.4.5.11.1, with .11 as the value set “branch” and the last .1 as the first artefact of that kind.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a project typically is set into the .77 branch of a governance group. When setting up the project, the OID for that project also determines the artefact OIDs using throughout the ART-DECOR project. The following additional branches are used to distinguish between different OID types:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Recommended OID sub-branches for ART-DECOR projects&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Recommended OID sub-branches for different artefacts&amp;#039;&amp;#039;&lt;br /&gt;
! Artefact code	Description !! Recommended !! OID suffix &lt;br /&gt;
|-&lt;br /&gt;
| DS || dataset || .77.1&lt;br /&gt;
|-&lt;br /&gt;
| DE || dataset concept || .77.2&lt;br /&gt;
|-&lt;br /&gt;
| SC || scenario || .77.3&lt;br /&gt;
|-&lt;br /&gt;
| TR || transaction in scenario || .77.4&lt;br /&gt;
|-&lt;br /&gt;
| CS || code system || .77.5&lt;br /&gt;
|-&lt;br /&gt;
| IS || issue || .77.6&lt;br /&gt;
|-&lt;br /&gt;
| AC || actor in scenario || .77.7&lt;br /&gt;
|-&lt;br /&gt;
| CL || concept list in dataset || .77.8&lt;br /&gt;
|-&lt;br /&gt;
| EL || element in template || .77.9&lt;br /&gt;
|-&lt;br /&gt;
| TM || template || .77.10&lt;br /&gt;
|-&lt;br /&gt;
| VS || value set || .77.11&lt;br /&gt;
|-&lt;br /&gt;
| RL || rule for instances || .77.12&lt;br /&gt;
|-&lt;br /&gt;
| SX || test/example scenario || .77.18&lt;br /&gt;
|-&lt;br /&gt;
| EX || test/example instance || .77.19&lt;br /&gt;
|-&lt;br /&gt;
| QX || qualification test/example || .77.20&lt;br /&gt;
|-&lt;br /&gt;
| TX || test/example data element || .77.21&lt;br /&gt;
|-&lt;br /&gt;
| CM || community || .77.22&lt;br /&gt;
|-&lt;br /&gt;
| MP || concept map || .77.24&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In ART-DECOR a newly created project uses these OID branches automatically.&lt;br /&gt;
&lt;br /&gt;
=== Instance identification ===&lt;br /&gt;
&lt;br /&gt;
Instance identification is done with the id element of a class. Its type is II (instance identifier) and described in the data type section above. For example, a patient number can be represented as&lt;br /&gt;
* 2.16.578.1.34.1.5432.1, the root-OID of the issuing authority, for example a system/application in a hospital, and&lt;br /&gt;
* 67543242 as the &amp;#039;&amp;#039;@extension&amp;#039;&amp;#039;, representing the patient number within the system defined by the &amp;#039;&amp;#039;@root&amp;#039;&amp;#039; attribute.&lt;br /&gt;
&lt;br /&gt;
=== Coding scheme identification ===&lt;br /&gt;
&lt;br /&gt;
Coding schemes have to be uniquely identified using OIDs as well. All coding tables used in this implementation guide show the corresponding OID that has to be specified in the &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; attribute of coded elements. Both attributes &amp;#039;&amp;#039;@code&amp;#039;&amp;#039; and &amp;#039;&amp;#039;@codeSystem&amp;#039;&amp;#039; together allows a correct interpretation of concept and code.&lt;br /&gt;
&lt;br /&gt;
=== List of identification schemes ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for commonly used identification schemes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used identification scheme OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used identification scheme OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Identification System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.8 || KV-Nummer || Krankenversichertennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.17 || BSNR || Betriebsstättennummer || &lt;br /&gt;
|-&lt;br /&gt;
| 1.2.276.0.76.4.16 || LANR || lebenslange Arztnummer || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== List of code systems ===&lt;br /&gt;
&lt;br /&gt;
The following are OIDs for code systems.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Commonly used code system OIDs&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Commonly used code system OIDs&amp;#039;&amp;#039;&lt;br /&gt;
! OID !! Code System Name !! Description !! Issuer&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.1 || LOINC || Logical Observation Identifiers Names and Codes (LOINC) || Regenstrief Institute&lt;br /&gt;
|-&lt;br /&gt;
| 2.16.840.1.113883.6.96 || SNOMED CT || Systemized Nomenclature in Medicine Reference Terminology (SNOMED CT) || SNOMED International&lt;br /&gt;
|-&lt;br /&gt;
| 1.0.3166.1.2 || ISO 3166-1 (second edition) || Country codes as per ISO 3166-1:2007 || ISO&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Vocabulary ==&lt;br /&gt;
&lt;br /&gt;
=== Code Systems ===&lt;br /&gt;
&lt;br /&gt;
Within HL7, a &amp;#039;&amp;#039;Code System&amp;#039;&amp;#039; is defined as a collection of codes with associated designations and meanings. Examples of code systems include ICD-10, SNOMED CT, and LOINC. &lt;br /&gt;
To meet the requirements of a code system as defined by HL7, a given code must resolve to one and only one meaning within the code system. Given this definition, each code table in the HL7 Version 3 standard represents a different code system since codes are sometimes used in different tables to have different meanings. &lt;br /&gt;
For example, “M” in the administrative gender table (&amp;#039;&amp;#039;AdministrativeGender&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.1) means “male”, while “M” in the marital status table (&amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;, OID 2.16.840.1.113883.5.2) means “married”.&lt;br /&gt;
In this specification, code system tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
=== Value Sets ===&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Value Set&amp;#039;&amp;#039; represents a uniquely identifiable set of valid concept representations, where any concept representation can be tested to determine whether or not it is a member of the value set.&lt;br /&gt;
Value set complexity may range from a simple flat list of concept codes drawn from a single code system, to an unbounded hierarchical set of possibly post-coordinated expressions drawn from multiple code systems.&lt;br /&gt;
Value sets exist to constrain the content for a coded element in an HL7 static model or data type property. Value sets cannot have null content and must contain at least one concept representation where any given concept is generally (but not required to be) represented by only a single code within the Value Set.&lt;br /&gt;
&lt;br /&gt;
[[File:CDA_Core_Principles_Figure_3_ValueSet_Example.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref group=&amp;quot;Figure&amp;quot;&amp;gt;Example presentation of the value set “MaritalStatus”&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Example presentation of the value set “MaritalStatus”&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
| [[File:Pfeil_rechts.png|50px]]&lt;br /&gt;
|Please note that value set OIDs never appear in a CDA Release 2 document. They are used for constraint expressions, for example in implementation guides.&lt;br /&gt;
In order to send a specific code drawn from a value set, the corresponding code system has to be conveyed.&lt;br /&gt;
An example, in the implementation specification the constraint on the model element &amp;#039;&amp;#039;maritalStatusCode&amp;#039;&amp;#039; is expressed as “to be drawn from value set 2.16.840.1.113883.5.2 &amp;#039;&amp;#039;MaritalStatus&amp;#039;&amp;#039;”.&lt;br /&gt;
To actually send a marital status of “M” (married) that is shown in the value set figure above, the corresponding HL7 CDA instance would say:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;maritalStatusCode code=&amp;quot;M&amp;quot; codeSystem=&amp;quot;2.16.840.1.113883.5.2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In this specification, value set tables are not presented in detail.&lt;br /&gt;
&lt;br /&gt;
==== Binding strength ====&lt;br /&gt;
&lt;br /&gt;
There is an optional vocabulary strength for data types that support that feature (coded concepts). Examples include CD, CE, CV and CO. Values are required, extensible, preferred and example. Default is required.&lt;br /&gt;
&lt;br /&gt;
Please note: the formerly supported values CNE (Coded No Extensibility) and CWE (Coded With Extensibility) in ART-DECOR are deprecated as of December 2017. Specification CNE is handled as required and CWE is handled as extensible.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;hl7table&amp;quot;&lt;br /&gt;
|+&amp;lt;ref group=&amp;quot;Table&amp;quot;&amp;gt;Binding Strengths&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;Binding Strengths&amp;#039;&amp;#039;&lt;br /&gt;
! Strength !! Description &lt;br /&gt;
|-&lt;br /&gt;
|required||Required/CNE. Coded with no exceptions; this element SHALL be from the specified value set&lt;br /&gt;
|-&lt;br /&gt;
|extensible||Extensible/CWE. Coded with Exceptions; this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.&lt;br /&gt;
|-&lt;br /&gt;
|preferred||Preferred. Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.&lt;br /&gt;
|-&lt;br /&gt;
|example||Example. Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Mismatches with required lead to validation errors (SHALL logic). Mismatches with extensible lead to validation warnings (SHOULD logic). Mismatches with preferred lead to validation information messages (MAY logic). Mismatches with example don&amp;#039;t have any validation consequences.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of figures ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Figure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of tables ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references group=&amp;quot;Table&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dammon</name></author>
		
	</entry>
</feed>