Clinical Document Architecture with Australian Schema, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/cda-au-schema/ and changes regularly. See the Directory of published versions
Active as of 2024-12-18 |
XML representation of the au-EncompassingEncounter logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="au-EncompassingEncounter"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>This optional class represents the setting of the clinical encounter during which the documented act(s) or ServiceEvent occurred. Documents are not necessarily generated during an encounter, such as when a clinician, in response to an abnormal lab result, attempts to contact the patient but can't, and writes a Progress Note.</p>
<p>In some cases, the setting of the encounter is inherent in the ClinicalDocument.code, such as where ClinicalDocument.code is "Diabetes Clinic Progress Note". The setting of an encounter can also be transmitted in the HealthCareFacility.code attribute. If HealthCareFacility.code is sent, it should be equivalent to or further specialize the value inherent in the ClinicalDocument.code (such as where the ClinicalDocument.code is simply "Clinic Progress Note" and the value of HealthCareFacility.code is "cardiology clinic"), and shall not conflict with the value inherent in the ClinicalDocument.code, as such a conflict would constitute an ambiguous situation.</p>
<p>EncompassingEncounter.dischargeDispositionCode can be used to depict the disposition of the patient at the time of hospital discharge (e.g., discharged to home, expired, against medical advice, etc.).</p>
</div>
</text>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
<valueBoolean>
<extension
url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="not-applicable"/>
</extension>
</valueBoolean>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:v3"/>
</extension>
<extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="encompassingEncounter"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
<valueUri
value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-style">
<valueUri value="cda"/>
</extension>
<url
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EncompassingEncounter"/>
<version value="1.0.0"/>
<name value="au-EncompassingEncounter"/>
<title value="ADHA EncompassingEncounter (CDA Class)"/>
<status value="active"/>
<experimental value="false"/>
<date value="2024-12-18T05:40:48+00:00"/>
<publisher value="Australian Digital Health Agency"/>
<contact>
<name value="Australian Digital Health Agency"/>
<telecom>
<system value="email"/>
<value value="mailto:help@digitalhealth.gov.au"/>
</telecom>
</contact>
<description
value="**Australian adaptation of the [HL7 International CDA EncompassingEncounter class]( https://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EncompassingEncounter.html)**.
This is a generated StructureDefinition that describes CDA - that is, CDA as it actually is for R2. The intent of this StructureDefinition is to enable CDA to be a FHIR resource. That enables the FHIR infrastructure - API, conformance, query - to be used directly against CDA"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="AU"/>
</coding>
</jurisdiction>
<copyright
value="Copyright © 2024 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/)."/>
<fhirVersion value="5.0.0"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type
value="http://hl7.org/cda/stds/core/StructureDefinition/EncompassingEncounter"/>
<baseDefinition
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
<derivation value="specialization"/>
<snapshot>
<element id="EncompassingEncounter">
<path value="EncompassingEncounter"/>
<short
value="Australian adaptation of the HL7 International CDA EncompassingEncounter class"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="EncompassingEncounter.nullFlavor">
<path value="EncompassingEncounter.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="EncompassingEncounter.realmCode">
<path value="EncompassingEncounter.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="EncompassingEncounter.typeId">
<path value="EncompassingEncounter.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
<constraint>
<key value="II-1"/>
<severity value="error"/>
<human
value="An II instance must have either a root or an nullFlavor."/>
<expression value="root.exists() or nullFlavor.exists()"/>
<source
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
</constraint>
</element>
<element id="EncompassingEncounter.typeId.nullFlavor">
<path value="EncompassingEncounter.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="EncompassingEncounter.typeId.assigningAuthorityName">
<path value="EncompassingEncounter.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="EncompassingEncounter.typeId.displayable">
<path value="EncompassingEncounter.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="EncompassingEncounter.typeId.root">
<path value="EncompassingEncounter.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element id="EncompassingEncounter.typeId.extension">
<path value="EncompassingEncounter.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="EncompassingEncounter.templateId">
<path value="EncompassingEncounter.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="EncompassingEncounter.classCode">
<path value="EncompassingEncounter.classCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.classCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="ENC"/>
<binding>
<strength value="required"/>
<valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActClass"/>
</binding>
</element>
<element id="EncompassingEncounter.moodCode">
<path value="EncompassingEncounter.moodCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.moodCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="EVN"/>
<binding>
<strength value="required"/>
<valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActMood"/>
</binding>
</element>
<element id="EncompassingEncounter.id">
<path value="EncompassingEncounter.id"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="EncompassingEncounter.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="EncompassingEncounter.code">
<path value="EncompassingEncounter.code"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.code"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
</type>
<binding>
<strength value="example"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"/>
</binding>
</element>
<element id="EncompassingEncounter.effectiveTime">
<path value="EncompassingEncounter.effectiveTime"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.effectiveTime"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
</type>
</element>
<element id="EncompassingEncounter.dischargeDispositionCode">
<path value="EncompassingEncounter.dischargeDispositionCode"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.dischargeDispositionCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
</type>
<binding>
<strength value="example"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition"/>
</binding>
</element>
<element id="EncompassingEncounter.responsibleParty">
<path value="EncompassingEncounter.responsibleParty"/>
<definition
value="The responsibleParty participant represents the participant having primary legal responsibility for the encounter. This differs from the legalAuthenticator participant in that the legalAuthenticator may or may not be the responsible party, and is serving a medical records function by signing off on the document, moving it into a completed state."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.responsibleParty"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.nullFlavor">
<path value="EncompassingEncounter.responsibleParty.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="EncompassingEncounter.responsibleParty.realmCode">
<path value="EncompassingEncounter.responsibleParty.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.typeId">
<path value="EncompassingEncounter.responsibleParty.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
<constraint>
<key value="II-1"/>
<severity value="error"/>
<human
value="An II instance must have either a root or an nullFlavor."/>
<expression value="root.exists() or nullFlavor.exists()"/>
</constraint>
</element>
<element id="EncompassingEncounter.responsibleParty.typeId.nullFlavor">
<path value="EncompassingEncounter.responsibleParty.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="EncompassingEncounter.responsibleParty.typeId.assigningAuthorityName">
<path
value="EncompassingEncounter.responsibleParty.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.typeId.displayable">
<path
value="EncompassingEncounter.responsibleParty.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.typeId.root">
<path value="EncompassingEncounter.responsibleParty.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element id="EncompassingEncounter.responsibleParty.typeId.extension">
<path value="EncompassingEncounter.responsibleParty.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.templateId">
<path value="EncompassingEncounter.responsibleParty.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.typeCode">
<path value="EncompassingEncounter.responsibleParty.typeCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.responsibleParty.typeCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="RESP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType"/>
</binding>
</element>
<element id="EncompassingEncounter.responsibleParty.assignedEntity">
<path value="EncompassingEncounter.responsibleParty.assignedEntity"/>
<short value="Australian-adapted AssignedEntity class"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.responsibleParty.assignedEntity"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-AssignedEntity"/>
<profile
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-AssignedEntity"/>
</type>
</element>
<element id="EncompassingEncounter.encounterParticipant">
<path value="EncompassingEncounter.encounterParticipant"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="EncompassingEncounter.encounterParticipant"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EncounterParticipant"/>
<profile
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EncounterParticipant"/>
</type>
</element>
<element id="EncompassingEncounter.location">
<path value="EncompassingEncounter.location"/>
<definition
value="The location participant (location class) relates a healthcare facility (HealthCareFacility class) to the encounter to indicate where the encounter took place. The entity playing the role of HealthCareFacility is a place (Place class). The entity scoping the HealthCareFacility role is an organization (Organization class).
The setting of an encounter (e.g. cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) can be expressed in HealthCareFacility.code. Note that setting and physical location are not the same. There is a many-to-many relationship between setting and the physical location where care is delivered. Thus, a particular room can provide the location for cardiology clinic one day, and for primary care clinic another day; and cardiology clinic today might be held in one physical location, but in another physical location tomorrow.
When the location is an organization, this is indicated by the presence of a scoping Organization, without a playing Place."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.location"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
</type>
</element>
<element id="EncompassingEncounter.location.nullFlavor">
<path value="EncompassingEncounter.location.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="EncompassingEncounter.location.realmCode">
<path value="EncompassingEncounter.location.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="EncompassingEncounter.location.typeId">
<path value="EncompassingEncounter.location.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
<constraint>
<key value="II-1"/>
<severity value="error"/>
<human
value="An II instance must have either a root or an nullFlavor."/>
<expression value="root.exists() or nullFlavor.exists()"/>
</constraint>
</element>
<element id="EncompassingEncounter.location.typeId.nullFlavor">
<path value="EncompassingEncounter.location.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="EncompassingEncounter.location.typeId.assigningAuthorityName">
<path
value="EncompassingEncounter.location.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="EncompassingEncounter.location.typeId.displayable">
<path value="EncompassingEncounter.location.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="EncompassingEncounter.location.typeId.root">
<path value="EncompassingEncounter.location.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element id="EncompassingEncounter.location.typeId.extension">
<path value="EncompassingEncounter.location.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="EncompassingEncounter.location.templateId">
<path value="EncompassingEncounter.location.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="EncompassingEncounter.location.typeCode">
<path value="EncompassingEncounter.location.typeCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.location.typeCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="LOC"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation"/>
</binding>
</element>
<element id="EncompassingEncounter.location.healthCareFacility">
<path value="EncompassingEncounter.location.healthCareFacility"/>
<short value="Australian-adapted HealthCareFacility class"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EncompassingEncounter.location.healthCareFacility"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-HealthCareFacility"/>
<profile
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-HealthCareFacility"/>
</type>
</element>
</snapshot>
<differential>
<element id="EncompassingEncounter">
<path value="EncompassingEncounter"/>
<short
value="Australian adaptation of the HL7 International CDA EncompassingEncounter class"/>
<min value="1"/>
<max value="1"/>
</element>
<element id="EncompassingEncounter.classCode">
<path value="EncompassingEncounter.classCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="ENC"/>
<binding>
<strength value="required"/>
<valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActClass"/>
</binding>
</element>
<element id="EncompassingEncounter.moodCode">
<path value="EncompassingEncounter.moodCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="EVN"/>
<binding>
<strength value="required"/>
<valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActMood"/>
</binding>
</element>
<element id="EncompassingEncounter.id">
<path value="EncompassingEncounter.id"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="EncompassingEncounter.code">
<path value="EncompassingEncounter.code"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
</type>
<binding>
<strength value="example"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"/>
</binding>
</element>
<element id="EncompassingEncounter.effectiveTime">
<path value="EncompassingEncounter.effectiveTime"/>
<min value="1"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
</type>
</element>
<element id="EncompassingEncounter.dischargeDispositionCode">
<path value="EncompassingEncounter.dischargeDispositionCode"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
</type>
<binding>
<strength value="example"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-USEncounterDischargeDisposition"/>
</binding>
</element>
<element id="EncompassingEncounter.responsibleParty">
<path value="EncompassingEncounter.responsibleParty"/>
<definition
value="The responsibleParty participant represents the participant having primary legal responsibility for the encounter. This differs from the legalAuthenticator participant in that the legalAuthenticator may or may not be the responsible party, and is serving a medical records function by signing off on the document, moving it into a completed state."/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
</type>
</element>
<element id="EncompassingEncounter.responsibleParty.typeCode">
<path value="EncompassingEncounter.responsibleParty.typeCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="RESP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType"/>
</binding>
</element>
<element id="EncompassingEncounter.responsibleParty.assignedEntity">
<path value="EncompassingEncounter.responsibleParty.assignedEntity"/>
<short value="Australian-adapted AssignedEntity class"/>
<min value="1"/>
<max value="1"/>
<type>
<code
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-AssignedEntity"/>
<profile
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-AssignedEntity"/>
</type>
</element>
<element id="EncompassingEncounter.encounterParticipant">
<path value="EncompassingEncounter.encounterParticipant"/>
<min value="0"/>
<max value="*"/>
<type>
<code
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EncounterParticipant"/>
<profile
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-EncounterParticipant"/>
</type>
</element>
<element id="EncompassingEncounter.location">
<path value="EncompassingEncounter.location"/>
<definition
value="The location participant (location class) relates a healthcare facility (HealthCareFacility class) to the encounter to indicate where the encounter took place. The entity playing the role of HealthCareFacility is a place (Place class). The entity scoping the HealthCareFacility role is an organization (Organization class).
The setting of an encounter (e.g. cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) can be expressed in HealthCareFacility.code. Note that setting and physical location are not the same. There is a many-to-many relationship between setting and the physical location where care is delivered. Thus, a particular room can provide the location for cardiology clinic one day, and for primary care clinic another day; and cardiology clinic today might be held in one physical location, but in another physical location tomorrow.
When the location is an organization, this is indicated by the presence of a scoping Organization, without a playing Place."/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
</type>
</element>
<element id="EncompassingEncounter.location.typeCode">
<path value="EncompassingEncounter.location.typeCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="LOC"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation"/>
</binding>
</element>
<element id="EncompassingEncounter.location.healthCareFacility">
<path value="EncompassingEncounter.location.healthCareFacility"/>
<short value="Australian-adapted HealthCareFacility class"/>
<min value="1"/>
<max value="1"/>
<type>
<code
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-HealthCareFacility"/>
<profile
value="http://ns.electronichealth.net.au/cda/StructureDefinition/au-HealthCareFacility"/>
</type>
</element>
</differential>
</StructureDefinition>