This page is part of the CDA: Clinical Document Architecture (v2.1.0-draft1: CDA 2.1 Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions
Active as of 2023-01-16 |
XML representation of the Supply logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Supply"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>A derivative of the RIM Supply class, used for representing the provision of a material by one entity to another.</p>
<p>The dispensed product is associated with the Supply act via a product participant, which connects to the same ManufacturedProduct role used for SubstanceAdministration.</p>
<p>The Supply class represents dispensing, whereas the SubstanceAdministration class represents administration. Prescriptions are complex activities that involve both an administration request to the patient (e.g. take digoxin 0.125mg by mouth once per day) and a supply request to the pharmacy (e.g. dispense 30 tablets, with 5 refills). This should be represented in CDA by a SubstanceAdministration entry that has a component Supply entry. The nested Supply entry can have Supply.independentInd set to "false" to signal that the Supply cannot stand alone, without it's containing SubstanceAdministration. The following example illustrates a prescription representation in CDA.</p>
</div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
<valueUri value="urn:hl7-org:v3"/>
</extension>
<url value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
<version value="2.1.0-draft1"/>
<name value="CDAR2Supply"/>
<title value="Supply (CDA Class)"/>
<status value="active"/>
<experimental value="false"/>
<date value="2023-01-16T16:39:50+11:00"/>
<publisher value="Health Level 7"/>
<contact>
<name value="HL7 International - Cross-Group Projects"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/cgp"/>
</telecom>
<telecom>
<system value="email"/>
<value value="cgp@lists.HL7.org"/>
</telecom>
</contact>
<description
value="A derivative of the RIM Supply class, used for representing the provision of a material by one entity to another.
The dispensed product is associated with the Supply act via a product participant, which connects to the same ManufacturedProduct role used for SubstanceAdministration.
The Supply class represents dispensing, whereas the SubstanceAdministration class represents administration. Prescriptions are complex activities that involve both an administration request to the patient (e.g. take digoxin 0.125mg by mouth once per day) and a supply request to the pharmacy (e.g. dispense 30 tablets, with 5 refills). This should be represented in CDA by a SubstanceAdministration entry that has a component Supply entry. The nested Supply entry can have Supply.independentInd set to "false" to signal that the Supply cannot stand alone, without it's containing SubstanceAdministration. The following example illustrates a prescription representation in CDA."/>
<fhirVersion value="5.0.0-snapshot3"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type value="Supply"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
<derivation value="specialization"/>
<snapshot>
<element id="Supply">
<path value="Supply"/>
<short value="Base for all types and resources"/>
<definition
value="Base definition for all types defined in FHIR type system."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.classCode">
<path value="Supply.classCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.classCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<defaultValueCode value="SPLY"/>
<fixedCode value="SPLY"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ActClassSupply"/>
</binding>
</element>
<element id="Supply.moodCode">
<path value="Supply.moodCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.moodCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
</element>
<element id="Supply.realmCode">
<path value="Supply.realmCode"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
</type>
</element>
<element id="Supply.typeId">
<path value="Supply.typeId"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
</type>
</element>
<element id="Supply.templateId">
<path value="Supply.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="Supply.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
</type>
</element>
<element id="Supply.id">
<path value="Supply.id"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.id"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
</type>
</element>
<element id="Supply.code">
<path value="Supply.code"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.code"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CD"/>
</type>
<binding>
<strength value="extensible"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActCode"/>
</binding>
</element>
<element id="Supply.text">
<path value="Supply.text"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.text"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/ED"/>
</type>
</element>
<element id="Supply.statusCode">
<path value="Supply.statusCode"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.statusCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
</binding>
</element>
<element id="Supply.effectiveTime">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
<valueCanonical
value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
</extension>
<path value="Supply.effectiveTime"/>
<representation value="typeAttr"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.effectiveTime"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"/>
</type>
</element>
<element id="Supply.priorityCode">
<path value="Supply.priorityCode"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.priorityCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
</type>
<binding>
<strength value="extensible"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
</binding>
</element>
<element id="Supply.repeatNumber">
<path value="Supply.repeatNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.repeatNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-INT"/>
</type>
</element>
<element id="Supply.independentInd">
<path value="Supply.independentInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.independentInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
</type>
</element>
<element id="Supply.quantity">
<path value="Supply.quantity"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.quantity"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
</type>
</element>
<element id="Supply.expectedUseTime">
<path value="Supply.expectedUseTime"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.expectedUseTime"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
</type>
</element>
<element id="Supply.product">
<path value="Supply.product"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.product"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Element"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="Supply.product.id">
<path value="Supply.product.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.product.extension">
<path value="Supply.product.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.product.typeCode">
<path value="Supply.product.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.product.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<defaultValueCode value="PRD"/>
<fixedCode value="PRD"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
</binding>
</element>
<element id="Supply.product.manufacturedProduct">
<path value="Supply.product.manufacturedProduct"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.product.manufacturedProduct"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct"/>
</type>
</element>
<element id="Supply.subject">
<path value="Supply.subject"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.subject"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Element"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="Supply.subject.id">
<path value="Supply.subject.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.subject.extension">
<path value="Supply.subject.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.subject.typeCode">
<path value="Supply.subject.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.subject.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<defaultValueCode value="SBJ"/>
<fixedCode value="SBJ"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"/>
</binding>
</element>
<element id="Supply.subject.contextControlCode">
<path value="Supply.subject.contextControlCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.subject.contextControlCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<defaultValueCode value="OP"/>
<fixedCode value="OP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
</binding>
</element>
<element id="Supply.subject.awarenessCode">
<path value="Supply.subject.awarenessCode"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.subject.awarenessCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
</type>
<binding>
<strength value="extensible"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
</binding>
</element>
<element id="Supply.subject.relatedSubject">
<path value="Supply.subject.relatedSubject"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.subject.relatedSubject"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"/>
</type>
</element>
<element id="Supply.specimen">
<path value="Supply.specimen"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.specimen"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Specimen"/>
</type>
</element>
<element id="Supply.performer">
<path value="Supply.performer"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.performer"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Performer2"/>
</type>
</element>
<element id="Supply.author">
<path value="Supply.author"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.author"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
</type>
</element>
<element id="Supply.informant">
<path value="Supply.informant"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.informant"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Element"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="Supply.informant.id">
<path value="Supply.informant.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.informant.extension">
<path value="Supply.informant.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.informant.typeCode">
<path value="Supply.informant.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.informant.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<defaultValueCode value="INF"/>
<fixedCode value="INF"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"/>
</binding>
</element>
<element id="Supply.informant.contextControlCode">
<path value="Supply.informant.contextControlCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.informant.contextControlCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<defaultValueCode value="OP"/>
<fixedCode value="OP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
</binding>
</element>
<element id="Supply.informant.assignedEntity">
<path value="Supply.informant.assignedEntity"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.informant.assignedEntity"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
</type>
</element>
<element id="Supply.informant.relatedEntity">
<path value="Supply.informant.relatedEntity"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.informant.relatedEntity"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"/>
</type>
</element>
<element id="Supply.participant">
<path value="Supply.participant"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.participant"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/Participant2"/>
</type>
</element>
<element id="Supply.entryRelationship">
<path value="Supply.entryRelationship"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.entryRelationship"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Element"/>
</type>
<constraint>
<key value="sup-er-1"/>
<severity value="error"/>
<human
value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
<expression
value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
</constraint>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="Supply.entryRelationship.id">
<path value="Supply.entryRelationship.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.entryRelationship.extension">
<path value="Supply.entryRelationship.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.entryRelationship.typeCode">
<path value="Supply.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
</element>
<element id="Supply.entryRelationship.inversionInd">
<path value="Supply.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="Supply.entryRelationship.contextConductionInd">
<path value="Supply.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.contextConductionInd"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element id="Supply.entryRelationship.sequenceNumber">
<path value="Supply.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
</type>
</element>
<element id="Supply.entryRelationship.negationInd">
<path value="Supply.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="Supply.entryRelationship.seperatableInd">
<path value="Supply.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
</type>
</element>
<element id="Supply.entryRelationship.observation">
<path value="Supply.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
</type>
</element>
<element id="Supply.entryRelationship.regionOfInterest">
<path value="Supply.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element id="Supply.entryRelationship.observationMedia">
<path value="Supply.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element id="Supply.entryRelationship.substanceAdministration">
<path value="Supply.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element id="Supply.entryRelationship.supply">
<path value="Supply.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
</type>
</element>
<element id="Supply.entryRelationship.procedure">
<path value="Supply.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
</type>
</element>
<element id="Supply.entryRelationship.encounter">
<path value="Supply.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
</type>
</element>
<element id="Supply.entryRelationship.organizer">
<path value="Supply.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
</type>
</element>
<element id="Supply.entryRelationship.act">
<path value="Supply.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
</type>
</element>
<element id="Supply.reference">
<path value="Supply.reference"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.reference"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Element"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="Supply.reference.id">
<path value="Supply.reference.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.reference.extension">
<path value="Supply.reference.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="Supply.reference.typeCode">
<path value="Supply.reference.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Supply.reference.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
</element>
<element id="Supply.reference.seperatableInd">
<path value="Supply.reference.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.reference.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
</type>
</element>
<element id="Supply.reference.externalAct">
<path value="Supply.reference.externalAct"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.reference.externalAct"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"/>
</type>
</element>
<element id="Supply.reference.externalObservation">
<path value="Supply.reference.externalObservation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.reference.externalObservation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"/>
</type>
</element>
<element id="Supply.reference.externalProcedure">
<path value="Supply.reference.externalProcedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.reference.externalProcedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"/>
</type>
</element>
<element id="Supply.reference.externalDocument">
<path value="Supply.reference.externalDocument"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Supply.reference.externalDocument"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"/>
</type>
</element>
<element id="Supply.precondition">
<path value="Supply.precondition"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Supply.precondition"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/Precondition"/>
</type>
</element>
</snapshot>
<differential>
<element id="Supply">
<path value="Supply"/>
<min value="1"/>
<max value="1"/>
</element>
<element id="Supply.classCode">
<path value="Supply.classCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<defaultValueCode value="SPLY"/>
<fixedCode value="SPLY"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ActClassSupply"/>
</binding>
</element>
<element id="Supply.moodCode">
<path value="Supply.moodCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
</element>
<element id="Supply.realmCode">
<path value="Supply.realmCode"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
</type>
</element>
<element id="Supply.typeId">
<path value="Supply.typeId"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
</type>
</element>
<element id="Supply.templateId">
<path value="Supply.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="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
</type>
</element>
<element id="Supply.id">
<path value="Supply.id"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
</type>
</element>
<element id="Supply.code">
<path value="Supply.code"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CD"/>
</type>
<binding>
<strength value="extensible"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActCode"/>
</binding>
</element>
<element id="Supply.text">
<path value="Supply.text"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/ED"/>
</type>
</element>
<element id="Supply.statusCode">
<path value="Supply.statusCode"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
</binding>
</element>
<element id="Supply.effectiveTime">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
<valueCanonical
value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
</extension>
<path value="Supply.effectiveTime"/>
<representation value="typeAttr"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"/>
</type>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"/>
</type>
</element>
<element id="Supply.priorityCode">
<path value="Supply.priorityCode"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
</type>
<binding>
<strength value="extensible"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
</binding>
</element>
<element id="Supply.repeatNumber">
<path value="Supply.repeatNumber"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-INT"/>
</type>
</element>
<element id="Supply.independentInd">
<path value="Supply.independentInd"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
</type>
</element>
<element id="Supply.quantity">
<path value="Supply.quantity"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
</type>
</element>
<element id="Supply.expectedUseTime">
<path value="Supply.expectedUseTime"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
</type>
</element>
<element id="Supply.product">
<path value="Supply.product"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Element"/>
</type>
</element>
<element id="Supply.product.typeCode">
<path value="Supply.product.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<defaultValueCode value="PRD"/>
<fixedCode value="PRD"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
</binding>
</element>
<element id="Supply.product.manufacturedProduct">
<path value="Supply.product.manufacturedProduct"/>
<min value="1"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct"/>
</type>
</element>
<element id="Supply.subject">
<path value="Supply.subject"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Element"/>
</type>
</element>
<element id="Supply.subject.typeCode">
<path value="Supply.subject.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<defaultValueCode value="SBJ"/>
<fixedCode value="SBJ"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"/>
</binding>
</element>
<element id="Supply.subject.contextControlCode">
<path value="Supply.subject.contextControlCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<defaultValueCode value="OP"/>
<fixedCode value="OP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
</binding>
</element>
<element id="Supply.subject.awarenessCode">
<path value="Supply.subject.awarenessCode"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
</type>
<binding>
<strength value="extensible"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
</binding>
</element>
<element id="Supply.subject.relatedSubject">
<path value="Supply.subject.relatedSubject"/>
<min value="1"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"/>
</type>
</element>
<element id="Supply.specimen">
<path value="Supply.specimen"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Specimen"/>
</type>
</element>
<element id="Supply.performer">
<path value="Supply.performer"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Performer2"/>
</type>
</element>
<element id="Supply.author">
<path value="Supply.author"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
</type>
</element>
<element id="Supply.informant">
<path value="Supply.informant"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Element"/>
</type>
</element>
<element id="Supply.informant.typeCode">
<path value="Supply.informant.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<defaultValueCode value="INF"/>
<fixedCode value="INF"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"/>
</binding>
</element>
<element id="Supply.informant.contextControlCode">
<path value="Supply.informant.contextControlCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
<defaultValueCode value="OP"/>
<fixedCode value="OP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
</binding>
</element>
<element id="Supply.informant.assignedEntity">
<path value="Supply.informant.assignedEntity"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
</type>
</element>
<element id="Supply.informant.relatedEntity">
<path value="Supply.informant.relatedEntity"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"/>
</type>
</element>
<element id="Supply.participant">
<path value="Supply.participant"/>
<min value="0"/>
<max value="*"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/Participant2"/>
</type>
</element>
<element id="Supply.entryRelationship">
<path value="Supply.entryRelationship"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Element"/>
</type>
<constraint>
<key value="sup-er-1"/>
<severity value="error"/>
<human
value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
<expression
value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
</constraint>
</element>
<element id="Supply.entryRelationship.typeCode">
<path value="Supply.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
</element>
<element id="Supply.entryRelationship.inversionInd">
<path value="Supply.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="boolean"/>
</type>
</element>
<element id="Supply.entryRelationship.contextConductionInd">
<path value="Supply.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="boolean"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element id="Supply.entryRelationship.sequenceNumber">
<path value="Supply.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
</type>
</element>
<element id="Supply.entryRelationship.negationInd">
<path value="Supply.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="boolean"/>
</type>
</element>
<element id="Supply.entryRelationship.seperatableInd">
<path value="Supply.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
</type>
</element>
<element id="Supply.entryRelationship.observation">
<path value="Supply.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
</type>
</element>
<element id="Supply.entryRelationship.regionOfInterest">
<path value="Supply.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element id="Supply.entryRelationship.observationMedia">
<path value="Supply.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element id="Supply.entryRelationship.substanceAdministration">
<path value="Supply.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element id="Supply.entryRelationship.supply">
<path value="Supply.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
</type>
</element>
<element id="Supply.entryRelationship.procedure">
<path value="Supply.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
</type>
</element>
<element id="Supply.entryRelationship.encounter">
<path value="Supply.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
</type>
</element>
<element id="Supply.entryRelationship.organizer">
<path value="Supply.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
</type>
</element>
<element id="Supply.entryRelationship.act">
<path value="Supply.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
</type>
</element>
<element id="Supply.reference">
<path value="Supply.reference"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Element"/>
</type>
</element>
<element id="Supply.reference.typeCode">
<path value="Supply.reference.typeCode"/>
<representation value="xmlAttr"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
</element>
<element id="Supply.reference.seperatableInd">
<path value="Supply.reference.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
</type>
</element>
<element id="Supply.reference.externalAct">
<path value="Supply.reference.externalAct"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"/>
</type>
</element>
<element id="Supply.reference.externalObservation">
<path value="Supply.reference.externalObservation"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"/>
</type>
</element>
<element id="Supply.reference.externalProcedure">
<path value="Supply.reference.externalProcedure"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"/>
</type>
</element>
<element id="Supply.reference.externalDocument">
<path value="Supply.reference.externalDocument"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"/>
</type>
</element>
<element id="Supply.precondition">
<path value="Supply.precondition"/>
<min value="0"/>
<max value="*"/>
<type>
<code
value="http://hl7.org/fhir/cda/StructureDefinition/Precondition"/>
</type>
</element>
</differential>
</StructureDefinition>
IG © 2019+ Health Level 7. Package hl7.cda.uv.core#2.1.0-draft1 based on FHIR 5.0.0-snapshot3. Generated 2023-01-16
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change