This page is part of the CCDA: Consolidated CDA Release (v2.1.0-draft1: CCDA 2.1 Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.18 | Version: 2.1.0-draft1 | |||
Active as of 2023-01-16 | Computable Name: MedicationDispense | |||
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09 |
This template records the act of supplying medications (i.e., dispensing).
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CDAR2Supply
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | C | 1..1 | CDAR2Supply | Base for all types and resources 1098-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). |
classCode | 1..1 | code | ||
moodCode | 1..1 | code | Required Pattern: EVN | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | ||
code | 1..1 | string | Binding: Medication Fill Status (required) | |
effectiveTime | 0..1 | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
manufacturedProduct | 1..1 | |||
manufacturedProduct | ManufacturedProduct(MedicationInformation) | |||
manufacturedProduct | ManufacturedProduct(ImmunizationMedicationInformation) | |||
performer | 0..1 | Performer2 | ||
assignedEntity | 1..1 | AssignedEntity | ||
addr | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 1098-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). |
Slices for entryRelationship | 0..* | Element | Slice: Unordered, Open by profile:supply | |
entryRelationship:supplyOrder | 0..1 | Element | ||
typeCode | 1..1 | code | Required Pattern: REFR | |
supply | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet |
Supply.statusCode.code | required | Medication Fill Status |
Id | Grade | Path(s) | Details | Requirements |
1098-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). : | |
1098-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). : |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | C | 1..1 | CDAR2Supply | Base for all types and resources 1098-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: EVN | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
code | 1..1 | string | Binding: Medication Fill Status (required) | |
effectiveTime | 0..1 | |||
effectiveTime | SXCM_TS | |||
effectiveTime | IVL_TS | |||
effectiveTime | EIVL_TS | |||
effectiveTime | PIVL_TS | |||
effectiveTime | SXPR_TS | |||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | |||
manufacturedProduct | ManufacturedProduct(MedicationInformation) | |||
manufacturedProduct | ManufacturedProduct(ImmunizationMedicationInformation) | |||
performer | 0..1 | Performer2 | ||
assignedEntity | 1..1 | AssignedEntity | ||
classCode | 1..1 | code | Binding: RoleClassAssignedEntity (required) Fixed Value: ASSIGNED | |
id | 1..* | II | ||
addr | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 1098-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). |
Slices for entryRelationship | C | 0..* | Element | Slice: Unordered, Open by profile:supply |
entryRelationship:All Slices | Content/Rules for all slices | |||
typeCode | 1..1 | code | ||
contextConductionInd | 1..1 | boolean | ||
entryRelationship:supplyOrder | C | 0..1 | Element | |
typeCode | 1..1 | code | Required Pattern: REFR | |
contextConductionInd | 1..1 | boolean | ||
supply | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Supply.classCode | required | Fixed Value: SPLY |
Supply.statusCode | required | ActStatus |
Supply.statusCode.code | required | Medication Fill Status |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED |
Id | Grade | Path(s) | Details | Requirements |
1098-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). : | |
1098-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). : | |
81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
sup-er-1 | error | Supply.entryRelationship, Supply.entryRelationship:supplyOrder | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | C | 1..1 | CDAR2Supply | Base for all types and resources 1098-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: EVN | |
realmCode | 0..* | CS | ||
typeId | 0..1 | II | ||
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
assigningAuthorityName | 0..1 | string | ||
displayable | 0..1 | boolean | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
code | 0..1 | CD | Binding: v3 Code System ActCode (extensible) | |
text | 0..1 | ED | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
code | 1..1 | string | Binding: Medication Fill Status (required) | |
sdtcValueSet | 0..1 | string | XML: valueSet (urn:hl7-org:sdtc) | |
sdtcValueSetVersion | 0..1 | string | XML: valueSetVersion (urn:hl7-org:sdtc) | |
effectiveTime | 0..1 | |||
effectiveTime | SXCM_TS | |||
effectiveTime | IVL_TS | |||
effectiveTime | EIVL_TS | |||
effectiveTime | PIVL_TS | |||
effectiveTime | SXPR_TS | |||
priorityCode | 0..* | CE | Binding: ActPriority (extensible) | |
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
independentInd | 0..1 | BL | ||
quantity | 0..1 | PQ | ||
expectedUseTime | 0..1 | IVL_TS | ||
product | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | |||
manufacturedProduct | ManufacturedProduct(MedicationInformation) | |||
manufacturedProduct | ManufacturedProduct(ImmunizationMedicationInformation) | |||
subject | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
awarenessCode | 0..1 | CE | Binding: TargetAwareness (extensible) | |
relatedSubject | 1..1 | RelatedSubject | ||
specimen | 0..* | Specimen | ||
performer | 0..1 | Performer2 | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
typeCode | 0..1 | cs | Binding: ParticipationPhysicalPerformer (required) Fixed Value: PRF | |
realmCode | 0..* | CS | ||
typeId | 0..1 | II | ||
templateId | 0..* | II | ||
functionCode | 0..1 | CE | XML Namespace: urn:hl7-org:sdtc | |
time | 0..1 | IVL_TS | ||
modeCode | 0..1 | CE | ||
assignedEntity | 1..1 | AssignedEntity | ||
classCode | 1..1 | code | Binding: RoleClassAssignedEntity (required) Fixed Value: ASSIGNED | |
templateId | 0..* | II | ||
id | 1..* | II | ||
sdtcIdentifiedBy | 0..* | IdentifiedBy | XML: identifiedBy (urn:hl7-org:sdtc) | |
code | 0..1 | CE | Binding: v3 Code System RoleCode (extensible) | |
addr | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 1098-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). |
telecom | 0..* | TEL | ||
assignedPerson | 0..1 | Person | ||
representedOrganization | 0..1 | Organization | ||
author | 0..* | Author | ||
informant | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationInformationGenerator (required) Fixed Value: INF | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
assignedEntity | 0..1 | AssignedEntity | ||
relatedEntity | 0..1 | RelatedEntity | ||
participant | 0..* | Participant2 | ||
Slices for entryRelationship | C | 0..* | Element | Slice: Unordered, Open by profile:supply |
entryRelationship:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | ||
inversionInd | 0..1 | boolean | ||
contextConductionInd | 1..1 | boolean | ||
sequenceNumber | 0..1 | INT | ||
negationInd | 0..1 | boolean | ||
seperatableInd | 0..1 | BL | ||
(Choice of one) | 1..1 | |||
observation | 0..1 | Observation | ||
regionOfInterest | 0..1 | RegionOfInterest | ||
observationMedia | 0..1 | ObservationMedia | ||
substanceAdministration | 0..1 | SubstanceAdministration | ||
supply | 0..1 | Supply | ||
procedure | 0..1 | Procedure | ||
encounter | 0..1 | Encounter | ||
organizer | 0..1 | Organizer | ||
act | 0..1 | Act | ||
entryRelationship:supplyOrder | C | 0..1 | Element | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Required Pattern: REFR | |
inversionInd | 0..1 | boolean | ||
contextConductionInd | 1..1 | boolean | ||
sequenceNumber | 0..1 | INT | ||
negationInd | 0..1 | boolean | ||
seperatableInd | 0..1 | BL | ||
supply | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
reference | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | ||
seperatableInd | 0..1 | BL | ||
externalAct | 0..1 | ExternalAct | ||
externalObservation | 0..1 | ExternalObservation | ||
externalProcedure | 0..1 | ExternalProcedure | ||
externalDocument | 0..1 | ExternalDocument | ||
precondition | 0..* | Precondition | ||
Documentation for this format |
Path | Conformance | ValueSet / Code |
Supply.classCode | required | Fixed Value: SPLY |
Supply.templateId:primary.nullFlavor | required | NullFlavor |
Supply.code | extensible | ActCode |
Supply.statusCode | required | ActStatus |
Supply.statusCode.nullFlavor | required | NullFlavor |
Supply.statusCode.code | required | Medication Fill Status |
Supply.priorityCode | extensible | ActPriority |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.subject.typeCode | required | Fixed Value: SBJ |
Supply.subject.contextControlCode | required | Fixed Value: OP |
Supply.subject.awarenessCode | extensible | TargetAwareness |
Supply.performer.nullFlavor | required | NullFlavor |
Supply.performer.typeCode | required | Fixed Value: PRF |
Supply.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED |
Supply.performer.assignedEntity.code | extensible | RoleCode |
Supply.informant.typeCode | required | Fixed Value: INF |
Supply.informant.contextControlCode | required | Fixed Value: OP |
Id | Grade | Path(s) | Details | Requirements |
1098-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). : | |
81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
sup-er-1 | error | Supply.entryRelationship, Supply.entryRelationship:supplyOrder | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
This structure is derived from CDAR2Supply
Summary
Mandatory: 8 elements (4 nested mandatory elements)
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from CDAR2Supply
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | C | 1..1 | CDAR2Supply | Base for all types and resources 1098-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). |
classCode | 1..1 | code | ||
moodCode | 1..1 | code | Required Pattern: EVN | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | ||
code | 1..1 | string | Binding: Medication Fill Status (required) | |
effectiveTime | 0..1 | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
manufacturedProduct | 1..1 | |||
manufacturedProduct | ManufacturedProduct(MedicationInformation) | |||
manufacturedProduct | ManufacturedProduct(ImmunizationMedicationInformation) | |||
performer | 0..1 | Performer2 | ||
assignedEntity | 1..1 | AssignedEntity | ||
addr | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 1098-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). |
Slices for entryRelationship | 0..* | Element | Slice: Unordered, Open by profile:supply | |
entryRelationship:supplyOrder | 0..1 | Element | ||
typeCode | 1..1 | code | Required Pattern: REFR | |
supply | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet |
Supply.statusCode.code | required | Medication Fill Status |
Id | Grade | Path(s) | Details | Requirements |
1098-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). : | |
1098-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). : |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | C | 1..1 | CDAR2Supply | Base for all types and resources 1098-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: EVN | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
code | 1..1 | string | Binding: Medication Fill Status (required) | |
effectiveTime | 0..1 | |||
effectiveTime | SXCM_TS | |||
effectiveTime | IVL_TS | |||
effectiveTime | EIVL_TS | |||
effectiveTime | PIVL_TS | |||
effectiveTime | SXPR_TS | |||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | |||
manufacturedProduct | ManufacturedProduct(MedicationInformation) | |||
manufacturedProduct | ManufacturedProduct(ImmunizationMedicationInformation) | |||
performer | 0..1 | Performer2 | ||
assignedEntity | 1..1 | AssignedEntity | ||
classCode | 1..1 | code | Binding: RoleClassAssignedEntity (required) Fixed Value: ASSIGNED | |
id | 1..* | II | ||
addr | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 1098-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). |
Slices for entryRelationship | C | 0..* | Element | Slice: Unordered, Open by profile:supply |
entryRelationship:All Slices | Content/Rules for all slices | |||
typeCode | 1..1 | code | ||
contextConductionInd | 1..1 | boolean | ||
entryRelationship:supplyOrder | C | 0..1 | Element | |
typeCode | 1..1 | code | Required Pattern: REFR | |
contextConductionInd | 1..1 | boolean | ||
supply | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Supply.classCode | required | Fixed Value: SPLY |
Supply.statusCode | required | ActStatus |
Supply.statusCode.code | required | Medication Fill Status |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED |
Id | Grade | Path(s) | Details | Requirements |
1098-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). : | |
1098-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). : | |
81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
sup-er-1 | error | Supply.entryRelationship, Supply.entryRelationship:supplyOrder | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | C | 1..1 | CDAR2Supply | Base for all types and resources 1098-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333). |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: EVN | |
realmCode | 0..* | CS | ||
typeId | 0..1 | II | ||
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
assigningAuthorityName | 0..1 | string | ||
displayable | 0..1 | boolean | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
code | 0..1 | CD | Binding: v3 Code System ActCode (extensible) | |
text | 0..1 | ED | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
code | 1..1 | string | Binding: Medication Fill Status (required) | |
sdtcValueSet | 0..1 | string | XML: valueSet (urn:hl7-org:sdtc) | |
sdtcValueSetVersion | 0..1 | string | XML: valueSetVersion (urn:hl7-org:sdtc) | |
effectiveTime | 0..1 | |||
effectiveTime | SXCM_TS | |||
effectiveTime | IVL_TS | |||
effectiveTime | EIVL_TS | |||
effectiveTime | PIVL_TS | |||
effectiveTime | SXPR_TS | |||
priorityCode | 0..* | CE | Binding: ActPriority (extensible) | |
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
independentInd | 0..1 | BL | ||
quantity | 0..1 | PQ | ||
expectedUseTime | 0..1 | IVL_TS | ||
product | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | |||
manufacturedProduct | ManufacturedProduct(MedicationInformation) | |||
manufacturedProduct | ManufacturedProduct(ImmunizationMedicationInformation) | |||
subject | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
awarenessCode | 0..1 | CE | Binding: TargetAwareness (extensible) | |
relatedSubject | 1..1 | RelatedSubject | ||
specimen | 0..* | Specimen | ||
performer | 0..1 | Performer2 | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
typeCode | 0..1 | cs | Binding: ParticipationPhysicalPerformer (required) Fixed Value: PRF | |
realmCode | 0..* | CS | ||
typeId | 0..1 | II | ||
templateId | 0..* | II | ||
functionCode | 0..1 | CE | XML Namespace: urn:hl7-org:sdtc | |
time | 0..1 | IVL_TS | ||
modeCode | 0..1 | CE | ||
assignedEntity | 1..1 | AssignedEntity | ||
classCode | 1..1 | code | Binding: RoleClassAssignedEntity (required) Fixed Value: ASSIGNED | |
templateId | 0..* | II | ||
id | 1..* | II | ||
sdtcIdentifiedBy | 0..* | IdentifiedBy | XML: identifiedBy (urn:hl7-org:sdtc) | |
code | 0..1 | CE | Binding: v3 Code System RoleCode (extensible) | |
addr | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 1098-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). |
telecom | 0..* | TEL | ||
assignedPerson | 0..1 | Person | ||
representedOrganization | 0..1 | Organization | ||
author | 0..* | Author | ||
informant | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationInformationGenerator (required) Fixed Value: INF | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
assignedEntity | 0..1 | AssignedEntity | ||
relatedEntity | 0..1 | RelatedEntity | ||
participant | 0..* | Participant2 | ||
Slices for entryRelationship | C | 0..* | Element | Slice: Unordered, Open by profile:supply |
entryRelationship:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | ||
inversionInd | 0..1 | boolean | ||
contextConductionInd | 1..1 | boolean | ||
sequenceNumber | 0..1 | INT | ||
negationInd | 0..1 | boolean | ||
seperatableInd | 0..1 | BL | ||
(Choice of one) | 1..1 | |||
observation | 0..1 | Observation | ||
regionOfInterest | 0..1 | RegionOfInterest | ||
observationMedia | 0..1 | ObservationMedia | ||
substanceAdministration | 0..1 | SubstanceAdministration | ||
supply | 0..1 | Supply | ||
procedure | 0..1 | Procedure | ||
encounter | 0..1 | Encounter | ||
organizer | 0..1 | Organizer | ||
act | 0..1 | Act | ||
entryRelationship:supplyOrder | C | 0..1 | Element | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Required Pattern: REFR | |
inversionInd | 0..1 | boolean | ||
contextConductionInd | 1..1 | boolean | ||
sequenceNumber | 0..1 | INT | ||
negationInd | 0..1 | boolean | ||
seperatableInd | 0..1 | BL | ||
supply | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
reference | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | ||
seperatableInd | 0..1 | BL | ||
externalAct | 0..1 | ExternalAct | ||
externalObservation | 0..1 | ExternalObservation | ||
externalProcedure | 0..1 | ExternalProcedure | ||
externalDocument | 0..1 | ExternalDocument | ||
precondition | 0..* | Precondition | ||
Documentation for this format |
Path | Conformance | ValueSet / Code |
Supply.classCode | required | Fixed Value: SPLY |
Supply.templateId:primary.nullFlavor | required | NullFlavor |
Supply.code | extensible | ActCode |
Supply.statusCode | required | ActStatus |
Supply.statusCode.nullFlavor | required | NullFlavor |
Supply.statusCode.code | required | Medication Fill Status |
Supply.priorityCode | extensible | ActPriority |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.subject.typeCode | required | Fixed Value: SBJ |
Supply.subject.contextControlCode | required | Fixed Value: OP |
Supply.subject.awarenessCode | extensible | TargetAwareness |
Supply.performer.nullFlavor | required | NullFlavor |
Supply.performer.typeCode | required | Fixed Value: PRF |
Supply.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED |
Supply.performer.assignedEntity.code | extensible | RoleCode |
Supply.informant.typeCode | required | Fixed Value: INF |
Supply.informant.contextControlCode | required | Fixed Value: OP |
Id | Grade | Path(s) | Details | Requirements |
1098-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565). : | |
81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
sup-er-1 | error | Supply.entryRelationship, Supply.entryRelationship:supplyOrder | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
This structure is derived from CDAR2Supply
Summary
Mandatory: 8 elements (4 nested mandatory elements)
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron