Consolidated CDA
3.0.0-ballot - ballot United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions

Logical Model: Planned Supply

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/PlannedSupply Version: 3.0.0-ballot
Draft as of 2023-12-21 Computable Name: PlannedSupply
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.43:2024-05-01

This template represents both medicinal and non-medicinal supplies ordered, requested, or intended for the patient (e.g., medication prescription, order for wheelchair). The importance of the supply order or request to the patient and provider may be indicated in the Priority Preference. The effective time indicates the time when the supply is intended to take place and author time indicates when the documentation of the plan occurred. The Planned Supply template may also indicate the potential insurance coverage for the procedure. Depending on the type of supply, the product or participant will be either a Medication Information product (medication), an Immunization Medication Information product (immunization), or a Product Instance participant (device/equipment).

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Supply

NameFlagsCard.TypeDescription & Constraintsdoco
.. Supply C1..1SupplyXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-text-ref-value: SHOULD contain text/reference/@value
should-effectiveTime: SHOULD contain effectiveTime
shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
should-author: SHOULD contain author
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:planned-supply 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.43
..... @extension 1..1stRequired Pattern: 2024-05-01
... @classCode 1..1cs
... @moodCode 1..1csBinding: Planned moodCode (SubstanceAdministration/Supply) (required)
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
... statusCode 1..1CS
.... @code 1..1csFixed Value: active
... effectiveTime 0..1SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TSThe effectiveTime in a planned supply represents the time that the supply should occur.
... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
... quantity 0..1PQ
... product 0..1InfrastructureRootRepresents either a medication or an immunization supply
.... manufacturedProduct 1..1MedicationInformation, ImmunizationMedicationInformationBase for all types and resources
... performer 0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
... author 0..1AuthorParticipationThe author in a supply represents the clinician who is requesting or planning the supply.
... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
Slice: Unordered, Open by value:typeCode
.... participant:productInstance 0..1Participant2
..... @typeCode 1..1csRequired Pattern: DEV
..... participantRole 1..1ProductInstanceBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
Slice: Unordered, Open by profile:act, profile:observation
.... entryRelationship:priorityPreference 0..*EntryRelationshipThe following entryRelationship represents the priority that a patient or a provider places on the supply.
..... @typeCode 1..1csFixed Value: REFR
..... observation 1..1PriorityPreferenceBase for all types and resources
.... entryRelationship:indication 0..*EntryRelationshipThe following entryRelationship represents the indication for the supply.
..... @typeCode 1..1csFixed Value: RSON
..... observation 1..1IndicationBase for all types and resources
.... entryRelationship:instruction 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned supply.
..... @typeCode 1..1csFixed Value: SUBJ
..... act 1..1InstructionBase for all types and resources
.... entryRelationship:plannedCoverage 0..*EntryRelationship
..... @typeCode 1..1csFixed Value: COMP
..... act 1..1PlannedCoverageBase for all types and resources

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Supply.moodCoderequiredPlannedMoodCodeSubstanceAdministrationSupply

Constraints

IdGradePath(s)DetailsRequirements
shall-product-or-deviceerrorSupplyThe supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
: (product | participant.where(typeCode='DEV')).count() = 1
should-authorwarningSupplySHOULD contain author
: author.exists()
should-effectiveTimewarningSupplySHOULD contain effectiveTime
: effectiveTime.exists()
should-text-ref-valuewarningSupplySHOULD contain text/reference/@value
: text.reference.value.exists()
value-starts-octothorpeerrorSupply.text.referenceIf reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
: value.exists() implies value.startsWith('#')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Supply C1..1SupplyXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-text-ref-value: SHOULD contain text/reference/@value
should-effectiveTime: SHOULD contain effectiveTime
shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
should-author: SHOULD contain author
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:planned-supply 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.43
..... @extension 1..1stRequired Pattern: 2024-05-01
... @classCode 1..1csBinding: ActClassSupply (required)
Fixed Value: SPLY
... @moodCode 1..1csBinding: Planned moodCode (SubstanceAdministration/Supply) (required)
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
... statusCode 1..1CSBinding: ActStatus (required)
.... @code 1..1csFixed Value: active
... effectiveTime 0..1The effectiveTime in a planned supply represents the time that the supply should occur.
.... effectiveTimeSXCM_TS
.... effectiveTimeIVL_TS
.... effectiveTimeEIVL_TS
.... effectiveTimePIVL_TS
.... effectiveTimeSXPR_TS
... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
... quantity 0..1PQ
... product 0..1InfrastructureRootRepresents either a medication or an immunization supply
.... manufacturedProduct C1..1MedicationInformation, ImmunizationMedicationInformationBase for all types and resources
... performer 0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
... author 0..1AuthorParticipationThe author in a supply represents the clinician who is requesting or planning the supply.
... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
Slice: Unordered, Open by value:typeCode
.... participant:productInstance 0..1Participant2
..... @typeCode 1..1csBinding: ParticipationType (required)
Required Pattern: DEV
..... participantRole C1..1ProductInstanceBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
Slice: Unordered, Open by profile:act, profile:observation
.... entryRelationship:priorityPreference 0..*EntryRelationshipThe following entryRelationship represents the priority that a patient or a provider places on the supply.
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: REFR
..... observation C1..1PriorityPreferenceBase for all types and resources
.... entryRelationship:indication 0..*EntryRelationshipThe following entryRelationship represents the indication for the supply.
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... observation C1..1IndicationBase for all types and resources
.... entryRelationship:instruction 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned supply.
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: SUBJ
..... act C1..1InstructionBase for all types and resources
.... entryRelationship:plannedCoverage 0..*EntryRelationship
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: COMP
..... act C1..1PlannedCoverageBase for all types and resources

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Supply.classCoderequiredFixed Value: SPLY
Supply.moodCoderequiredPlannedMoodCodeSubstanceAdministrationSupply
Supply.statusCoderequiredActStatus
Supply.participant:productInstance.typeCoderequiredPattern: DEV
Supply.entryRelationship:priorityPreference.typeCoderequiredFixed Value: REFR
Supply.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Supply.entryRelationship:instruction.typeCoderequiredFixed Value: SUBJ
Supply.entryRelationship:plannedCoverage.typeCoderequiredFixed Value: COMP

Constraints

IdGradePath(s)DetailsRequirements
product-choiceerrorSupply.product.manufacturedProductmanufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)
: (manufacturedLabeledDrug | manufacturedMaterial).count() = 1
role-choiceerrorSupply.participant:productInstance.participantRoleplayingDevice and playingEntity are mutually exclusive
: (playingDevice | playingEntity).count() <= 1
shall-product-or-deviceerrorSupplyThe supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
: (product | participant.where(typeCode='DEV')).count() = 1
should-authorwarningSupplySHOULD contain author
: author.exists()
should-authorwarningSupply.entryRelationship:priorityPreference.observationSHOULD contain author
: author.exists()
should-effectiveTimewarningSupplySHOULD contain effectiveTime
: effectiveTime.exists()
should-effectiveTimewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observationSHOULD contain effectiveTime
: effectiveTime.exists()
should-text-ref-valuewarningSupplySHOULD contain text/reference/@value
: text.reference.value.exists()
should-text-ref-valuewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observation, Supply.entryRelationship:instruction.act, Supply.entryRelationship:plannedCoverage.actSHOULD contain text/reference/@value
: text.reference.value.exists()
value-starts-octothorpeerrorSupply.text.referenceIf reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
: value.exists() implies value.startsWith('#')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Supply C1..1SupplyXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-text-ref-value: SHOULD contain text/reference/@value
should-effectiveTime: SHOULD contain effectiveTime
shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
should-author: SHOULD contain author
... @nullFlavor 0..1csBinding: CDANullFlavor (required)
... realmCode 0..*CS
... typeId 0..1II
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1st
.... @displayable 0..1bl
.... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1st
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:planned-supply 1..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.43
..... @extension 1..1stRequired Pattern: 2024-05-01
... @classCode 1..1csBinding: ActClassSupply (required)
Fixed Value: SPLY
... @moodCode 1..1csBinding: Planned moodCode (SubstanceAdministration/Supply) (required)
... id 1..*II
... code 0..1CDBinding: v3 Code System ActCode (example)
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @compression 0..1csBinding: CompressionAlgorithm (required)
.... @integrityCheck 0..1bin
.... @integrityCheckAlgorithm 0..1csBinding: IntegrityCheckAlgorithm (2.0.0) (required)
.... @language 0..1cs
.... @mediaType 0..1csBinding: MediaType (example)
.... @representation 0..1csBinding: Binary Data Encoding Value Set (required)
.... xmlText 0..1stAllows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
.... thumbnail 0..1ED
... statusCode 1..1CSBinding: ActStatus (required)
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @code 1..1csFixed Value: active
.... @sdtcValueSet 0..1oidXML Namespace: urn:hl7-org:sdtc
XML: valueSet (urn:hl7-org:sdtc)
.... @sdtcValueSetVersion 0..1stXML Namespace: urn:hl7-org:sdtc
XML: valueSetVersion (urn:hl7-org:sdtc)
... effectiveTime 0..1The effectiveTime in a planned supply represents the time that the supply should occur.
.... effectiveTimeSXCM_TS
.... effectiveTimeIVL_TS
.... effectiveTimeEIVL_TS
.... effectiveTimePIVL_TS
.... effectiveTimeSXPR_TS
... priorityCode 0..*CEBinding: ActPriority (example)
... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
... independentInd 0..1BL
... quantity 0..1PQ
... expectedUseTime 0..1IVL_TS
... product 0..1InfrastructureRootRepresents either a medication or an immunization supply
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... realmCode 0..*CS
.... typeId 0..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
..... @extension 1..1st
.... templateId 0..*II
.... @typeCode 0..1csBinding: ParticipationTargetDirect (required)
Fixed Value: PRD
.... manufacturedProduct C1..1MedicationInformation, ImmunizationMedicationInformationBase for all types and resources
... subject 0..1Subject
... specimen 0..*Specimen
... performer 0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
... author 0..1AuthorParticipationThe author in a supply represents the clinician who is requesting or planning the supply.
... informant 0..*Informant
... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
Slice: Unordered, Open by value:typeCode
.... participant:productInstance 0..1Participant2
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: ParticipationType (required)
Required Pattern: DEV
..... @contextControlCode 0..1csBinding: ContextControl (required)
Fixed Value: OP
..... sdtcFunctionCode 0..1CEXML Namespace: urn:hl7-org:sdtc
XML: functionCode (urn:hl7-org:sdtc)
..... time 0..1IVL_TS
..... awarenessCode 0..1CE
..... participantRole C1..1ProductInstanceBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
Slice: Unordered, Open by profile:act, profile:observation
.... entryRelationship:priorityPreference 0..*EntryRelationshipThe following entryRelationship represents the priority that a patient or a provider places on the supply.
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: REFR
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 0..1Act
..... encounter 0..1Encounter
..... observation C1..1PriorityPreferenceBase for all types and resources
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:indication 0..*EntryRelationshipThe following entryRelationship represents the indication for the supply.
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 0..1Act
..... encounter 0..1Encounter
..... observation C1..1IndicationBase for all types and resources
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:instruction 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned supply.
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: SUBJ
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act C1..1InstructionBase for all types and resources
..... encounter 0..1Encounter
..... observation 0..1Observation
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:plannedCoverage 0..*EntryRelationship
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: COMP
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act C1..1PlannedCoverageBase for all types and resources
..... encounter 0..1Encounter
..... observation 0..1Observation
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
... reference 0..*Reference
... precondition 0..*Precondition
... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML Namespace: urn:hl7-org:sdtc
XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Supply.nullFlavorrequiredCDANullFlavor
Supply.typeId.nullFlavorrequiredCDANullFlavor
Supply.templateId:planned-supply.nullFlavorrequiredCDANullFlavor
Supply.classCoderequiredFixed Value: SPLY
Supply.moodCoderequiredPlannedMoodCodeSubstanceAdministrationSupply
Supply.codeexampleActCode
Supply.text.nullFlavorrequiredCDANullFlavor
Supply.text.compressionrequiredCDACompressionAlgorithm
Supply.text.integrityCheckAlgorithmrequiredIntegrityCheckAlgorithm
Supply.text.mediaTypeexampleMediaType
Supply.text.representationrequiredBinaryDataEncoding
Supply.statusCoderequiredActStatus
Supply.statusCode.nullFlavorrequiredCDANullFlavor
Supply.priorityCodeexampleActPriority
Supply.product.nullFlavorrequiredCDANullFlavor
Supply.product.typeId.nullFlavorrequiredCDANullFlavor
Supply.product.typeCoderequiredFixed Value: PRD
Supply.participant:productInstance.nullFlavorrequiredCDANullFlavor
Supply.participant:productInstance.typeId.nullFlavorrequiredCDANullFlavor
Supply.participant:productInstance.typeCoderequiredPattern: DEV
Supply.participant:productInstance.contextControlCoderequiredFixed Value: OP
Supply.entryRelationship:priorityPreference.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:priorityPreference.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:priorityPreference.typeCoderequiredFixed Value: REFR
Supply.entryRelationship:indication.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:indication.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Supply.entryRelationship:instruction.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:instruction.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:instruction.typeCoderequiredFixed Value: SUBJ
Supply.entryRelationship:plannedCoverage.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:plannedCoverage.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:plannedCoverage.typeCoderequiredFixed Value: COMP

Constraints

IdGradePath(s)DetailsRequirements
product-choiceerrorSupply.product.manufacturedProductmanufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)
: (manufacturedLabeledDrug | manufacturedMaterial).count() = 1
role-choiceerrorSupply.participant:productInstance.participantRoleplayingDevice and playingEntity are mutually exclusive
: (playingDevice | playingEntity).count() <= 1
shall-product-or-deviceerrorSupplyThe supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
: (product | participant.where(typeCode='DEV')).count() = 1
should-authorwarningSupplySHOULD contain author
: author.exists()
should-authorwarningSupply.entryRelationship:priorityPreference.observationSHOULD contain author
: author.exists()
should-effectiveTimewarningSupplySHOULD contain effectiveTime
: effectiveTime.exists()
should-effectiveTimewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observationSHOULD contain effectiveTime
: effectiveTime.exists()
should-text-ref-valuewarningSupplySHOULD contain text/reference/@value
: text.reference.value.exists()
should-text-ref-valuewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observation, Supply.entryRelationship:instruction.act, Supply.entryRelationship:plannedCoverage.actSHOULD contain text/reference/@value
: text.reference.value.exists()
value-starts-octothorpeerrorSupply.text.referenceIf reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
: value.exists() implies value.startsWith('#')

This structure is derived from Supply

Summary

Mandatory: 7 elements (4 nested mandatory elements)
Fixed Value: 5 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Supply.templateId is sliced based on the values of value:root, value:extension
  • The element Supply.participant is sliced based on the value of value:typeCode
  • The element Supply.entryRelationship is sliced based on the values of profile:act, profile:observation

Differential View

This structure is derived from Supply

NameFlagsCard.TypeDescription & Constraintsdoco
.. Supply C1..1SupplyXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-text-ref-value: SHOULD contain text/reference/@value
should-effectiveTime: SHOULD contain effectiveTime
shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
should-author: SHOULD contain author
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:planned-supply 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.43
..... @extension 1..1stRequired Pattern: 2024-05-01
... @classCode 1..1cs
... @moodCode 1..1csBinding: Planned moodCode (SubstanceAdministration/Supply) (required)
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
... statusCode 1..1CS
.... @code 1..1csFixed Value: active
... effectiveTime 0..1SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TSThe effectiveTime in a planned supply represents the time that the supply should occur.
... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
... quantity 0..1PQ
... product 0..1InfrastructureRootRepresents either a medication or an immunization supply
.... manufacturedProduct 1..1MedicationInformation, ImmunizationMedicationInformationBase for all types and resources
... performer 0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
... author 0..1AuthorParticipationThe author in a supply represents the clinician who is requesting or planning the supply.
... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
Slice: Unordered, Open by value:typeCode
.... participant:productInstance 0..1Participant2
..... @typeCode 1..1csRequired Pattern: DEV
..... participantRole 1..1ProductInstanceBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
Slice: Unordered, Open by profile:act, profile:observation
.... entryRelationship:priorityPreference 0..*EntryRelationshipThe following entryRelationship represents the priority that a patient or a provider places on the supply.
..... @typeCode 1..1csFixed Value: REFR
..... observation 1..1PriorityPreferenceBase for all types and resources
.... entryRelationship:indication 0..*EntryRelationshipThe following entryRelationship represents the indication for the supply.
..... @typeCode 1..1csFixed Value: RSON
..... observation 1..1IndicationBase for all types and resources
.... entryRelationship:instruction 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned supply.
..... @typeCode 1..1csFixed Value: SUBJ
..... act 1..1InstructionBase for all types and resources
.... entryRelationship:plannedCoverage 0..*EntryRelationship
..... @typeCode 1..1csFixed Value: COMP
..... act 1..1PlannedCoverageBase for all types and resources

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Supply.moodCoderequiredPlannedMoodCodeSubstanceAdministrationSupply

Constraints

IdGradePath(s)DetailsRequirements
shall-product-or-deviceerrorSupplyThe supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
: (product | participant.where(typeCode='DEV')).count() = 1
should-authorwarningSupplySHOULD contain author
: author.exists()
should-effectiveTimewarningSupplySHOULD contain effectiveTime
: effectiveTime.exists()
should-text-ref-valuewarningSupplySHOULD contain text/reference/@value
: text.reference.value.exists()
value-starts-octothorpeerrorSupply.text.referenceIf reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
: value.exists() implies value.startsWith('#')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Supply C1..1SupplyXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-text-ref-value: SHOULD contain text/reference/@value
should-effectiveTime: SHOULD contain effectiveTime
shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
should-author: SHOULD contain author
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:planned-supply 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.43
..... @extension 1..1stRequired Pattern: 2024-05-01
... @classCode 1..1csBinding: ActClassSupply (required)
Fixed Value: SPLY
... @moodCode 1..1csBinding: Planned moodCode (SubstanceAdministration/Supply) (required)
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
... statusCode 1..1CSBinding: ActStatus (required)
.... @code 1..1csFixed Value: active
... effectiveTime 0..1The effectiveTime in a planned supply represents the time that the supply should occur.
.... effectiveTimeSXCM_TS
.... effectiveTimeIVL_TS
.... effectiveTimeEIVL_TS
.... effectiveTimePIVL_TS
.... effectiveTimeSXPR_TS
... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
... quantity 0..1PQ
... product 0..1InfrastructureRootRepresents either a medication or an immunization supply
.... manufacturedProduct C1..1MedicationInformation, ImmunizationMedicationInformationBase for all types and resources
... performer 0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
... author 0..1AuthorParticipationThe author in a supply represents the clinician who is requesting or planning the supply.
... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
Slice: Unordered, Open by value:typeCode
.... participant:productInstance 0..1Participant2
..... @typeCode 1..1csBinding: ParticipationType (required)
Required Pattern: DEV
..... participantRole C1..1ProductInstanceBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
Slice: Unordered, Open by profile:act, profile:observation
.... entryRelationship:priorityPreference 0..*EntryRelationshipThe following entryRelationship represents the priority that a patient or a provider places on the supply.
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: REFR
..... observation C1..1PriorityPreferenceBase for all types and resources
.... entryRelationship:indication 0..*EntryRelationshipThe following entryRelationship represents the indication for the supply.
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... observation C1..1IndicationBase for all types and resources
.... entryRelationship:instruction 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned supply.
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: SUBJ
..... act C1..1InstructionBase for all types and resources
.... entryRelationship:plannedCoverage 0..*EntryRelationship
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: COMP
..... act C1..1PlannedCoverageBase for all types and resources

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Supply.classCoderequiredFixed Value: SPLY
Supply.moodCoderequiredPlannedMoodCodeSubstanceAdministrationSupply
Supply.statusCoderequiredActStatus
Supply.participant:productInstance.typeCoderequiredPattern: DEV
Supply.entryRelationship:priorityPreference.typeCoderequiredFixed Value: REFR
Supply.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Supply.entryRelationship:instruction.typeCoderequiredFixed Value: SUBJ
Supply.entryRelationship:plannedCoverage.typeCoderequiredFixed Value: COMP

Constraints

IdGradePath(s)DetailsRequirements
product-choiceerrorSupply.product.manufacturedProductmanufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)
: (manufacturedLabeledDrug | manufacturedMaterial).count() = 1
role-choiceerrorSupply.participant:productInstance.participantRoleplayingDevice and playingEntity are mutually exclusive
: (playingDevice | playingEntity).count() <= 1
shall-product-or-deviceerrorSupplyThe supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
: (product | participant.where(typeCode='DEV')).count() = 1
should-authorwarningSupplySHOULD contain author
: author.exists()
should-authorwarningSupply.entryRelationship:priorityPreference.observationSHOULD contain author
: author.exists()
should-effectiveTimewarningSupplySHOULD contain effectiveTime
: effectiveTime.exists()
should-effectiveTimewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observationSHOULD contain effectiveTime
: effectiveTime.exists()
should-text-ref-valuewarningSupplySHOULD contain text/reference/@value
: text.reference.value.exists()
should-text-ref-valuewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observation, Supply.entryRelationship:instruction.act, Supply.entryRelationship:plannedCoverage.actSHOULD contain text/reference/@value
: text.reference.value.exists()
value-starts-octothorpeerrorSupply.text.referenceIf reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
: value.exists() implies value.startsWith('#')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Supply C1..1SupplyXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-text-ref-value: SHOULD contain text/reference/@value
should-effectiveTime: SHOULD contain effectiveTime
shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
should-author: SHOULD contain author
... @nullFlavor 0..1csBinding: CDANullFlavor (required)
... realmCode 0..*CS
... typeId 0..1II
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1st
.... @displayable 0..1bl
.... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1st
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:planned-supply 1..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.43
..... @extension 1..1stRequired Pattern: 2024-05-01
... @classCode 1..1csBinding: ActClassSupply (required)
Fixed Value: SPLY
... @moodCode 1..1csBinding: Planned moodCode (SubstanceAdministration/Supply) (required)
... id 1..*II
... code 0..1CDBinding: v3 Code System ActCode (example)
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @compression 0..1csBinding: CompressionAlgorithm (required)
.... @integrityCheck 0..1bin
.... @integrityCheckAlgorithm 0..1csBinding: IntegrityCheckAlgorithm (2.0.0) (required)
.... @language 0..1cs
.... @mediaType 0..1csBinding: MediaType (example)
.... @representation 0..1csBinding: Binary Data Encoding Value Set (required)
.... xmlText 0..1stAllows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
.... thumbnail 0..1ED
... statusCode 1..1CSBinding: ActStatus (required)
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @code 1..1csFixed Value: active
.... @sdtcValueSet 0..1oidXML Namespace: urn:hl7-org:sdtc
XML: valueSet (urn:hl7-org:sdtc)
.... @sdtcValueSetVersion 0..1stXML Namespace: urn:hl7-org:sdtc
XML: valueSetVersion (urn:hl7-org:sdtc)
... effectiveTime 0..1The effectiveTime in a planned supply represents the time that the supply should occur.
.... effectiveTimeSXCM_TS
.... effectiveTimeIVL_TS
.... effectiveTimeEIVL_TS
.... effectiveTimePIVL_TS
.... effectiveTimeSXPR_TS
... priorityCode 0..*CEBinding: ActPriority (example)
... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
... independentInd 0..1BL
... quantity 0..1PQ
... expectedUseTime 0..1IVL_TS
... product 0..1InfrastructureRootRepresents either a medication or an immunization supply
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... realmCode 0..*CS
.... typeId 0..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
..... @extension 1..1st
.... templateId 0..*II
.... @typeCode 0..1csBinding: ParticipationTargetDirect (required)
Fixed Value: PRD
.... manufacturedProduct C1..1MedicationInformation, ImmunizationMedicationInformationBase for all types and resources
... subject 0..1Subject
... specimen 0..*Specimen
... performer 0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
... author 0..1AuthorParticipationThe author in a supply represents the clinician who is requesting or planning the supply.
... informant 0..*Informant
... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
Slice: Unordered, Open by value:typeCode
.... participant:productInstance 0..1Participant2
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: ParticipationType (required)
Required Pattern: DEV
..... @contextControlCode 0..1csBinding: ContextControl (required)
Fixed Value: OP
..... sdtcFunctionCode 0..1CEXML Namespace: urn:hl7-org:sdtc
XML: functionCode (urn:hl7-org:sdtc)
..... time 0..1IVL_TS
..... awarenessCode 0..1CE
..... participantRole C1..1ProductInstanceBase for all types and resources
... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
Slice: Unordered, Open by profile:act, profile:observation
.... entryRelationship:priorityPreference 0..*EntryRelationshipThe following entryRelationship represents the priority that a patient or a provider places on the supply.
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: REFR
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 0..1Act
..... encounter 0..1Encounter
..... observation C1..1PriorityPreferenceBase for all types and resources
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:indication 0..*EntryRelationshipThe following entryRelationship represents the indication for the supply.
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: RSON
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act 0..1Act
..... encounter 0..1Encounter
..... observation C1..1IndicationBase for all types and resources
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:instruction 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned supply.
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: SUBJ
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act C1..1InstructionBase for all types and resources
..... encounter 0..1Encounter
..... observation 0..1Observation
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
.... entryRelationship:plannedCoverage 0..*EntryRelationship
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... realmCode 0..*CS
..... typeId 0..1II
...... @nullFlavor 0..1csBinding: CDANullFlavor (required)
...... @assigningAuthorityName 0..1st
...... @displayable 0..1bl
...... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
...... @extension 1..1st
..... templateId 0..*II
..... @typeCode 1..1csBinding: x_ActRelationshipEntryRelationship (required)
Fixed Value: COMP
..... @inversionInd 0..1bl
..... @contextConductionInd 0..1bl
..... @negationInd 0..1bl
..... sequenceNumber 0..1INT
..... seperatableInd 0..1BL
..... act C1..1PlannedCoverageBase for all types and resources
..... encounter 0..1Encounter
..... observation 0..1Observation
..... observationMedia 0..1ObservationMedia
..... organizer 0..1Organizer
..... procedure 0..1Procedure
..... regionOfInterest 0..1RegionOfInterest
..... substanceAdministration 0..1SubstanceAdministration
..... supply 0..1Supply
... reference 0..*Reference
... precondition 0..*Precondition
... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML Namespace: urn:hl7-org:sdtc
XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Supply.nullFlavorrequiredCDANullFlavor
Supply.typeId.nullFlavorrequiredCDANullFlavor
Supply.templateId:planned-supply.nullFlavorrequiredCDANullFlavor
Supply.classCoderequiredFixed Value: SPLY
Supply.moodCoderequiredPlannedMoodCodeSubstanceAdministrationSupply
Supply.codeexampleActCode
Supply.text.nullFlavorrequiredCDANullFlavor
Supply.text.compressionrequiredCDACompressionAlgorithm
Supply.text.integrityCheckAlgorithmrequiredIntegrityCheckAlgorithm
Supply.text.mediaTypeexampleMediaType
Supply.text.representationrequiredBinaryDataEncoding
Supply.statusCoderequiredActStatus
Supply.statusCode.nullFlavorrequiredCDANullFlavor
Supply.priorityCodeexampleActPriority
Supply.product.nullFlavorrequiredCDANullFlavor
Supply.product.typeId.nullFlavorrequiredCDANullFlavor
Supply.product.typeCoderequiredFixed Value: PRD
Supply.participant:productInstance.nullFlavorrequiredCDANullFlavor
Supply.participant:productInstance.typeId.nullFlavorrequiredCDANullFlavor
Supply.participant:productInstance.typeCoderequiredPattern: DEV
Supply.participant:productInstance.contextControlCoderequiredFixed Value: OP
Supply.entryRelationship:priorityPreference.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:priorityPreference.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:priorityPreference.typeCoderequiredFixed Value: REFR
Supply.entryRelationship:indication.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:indication.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:indication.typeCoderequiredFixed Value: RSON
Supply.entryRelationship:instruction.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:instruction.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:instruction.typeCoderequiredFixed Value: SUBJ
Supply.entryRelationship:plannedCoverage.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:plannedCoverage.typeId.nullFlavorrequiredCDANullFlavor
Supply.entryRelationship:plannedCoverage.typeCoderequiredFixed Value: COMP

Constraints

IdGradePath(s)DetailsRequirements
product-choiceerrorSupply.product.manufacturedProductmanufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)
: (manufacturedLabeledDrug | manufacturedMaterial).count() = 1
role-choiceerrorSupply.participant:productInstance.participantRoleplayingDevice and playingEntity are mutually exclusive
: (playingDevice | playingEntity).count() <= 1
shall-product-or-deviceerrorSupplyThe supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
: (product | participant.where(typeCode='DEV')).count() = 1
should-authorwarningSupplySHOULD contain author
: author.exists()
should-authorwarningSupply.entryRelationship:priorityPreference.observationSHOULD contain author
: author.exists()
should-effectiveTimewarningSupplySHOULD contain effectiveTime
: effectiveTime.exists()
should-effectiveTimewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observationSHOULD contain effectiveTime
: effectiveTime.exists()
should-text-ref-valuewarningSupplySHOULD contain text/reference/@value
: text.reference.value.exists()
should-text-ref-valuewarningSupply.entryRelationship:priorityPreference.observation, Supply.entryRelationship:indication.observation, Supply.entryRelationship:instruction.act, Supply.entryRelationship:plannedCoverage.actSHOULD contain text/reference/@value
: text.reference.value.exists()
value-starts-octothorpeerrorSupply.text.referenceIf reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
: value.exists() implies value.startsWith('#')

This structure is derived from Supply

Summary

Mandatory: 7 elements (4 nested mandatory elements)
Fixed Value: 5 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Supply.templateId is sliced based on the values of value:root, value:extension
  • The element Supply.participant is sliced based on the value of value:typeCode
  • The element Supply.entryRelationship is sliced based on the values of profile:act, profile:observation

 

Other representations of profile: CSV, Excel