United States Health Information Knowledgebase

 

Medication

Reference:2.2.2.8
Definition:Within a CDA document, the following information maps to the HITSP/C154 Data Dictionary. See the HL7 Continuity of Care Document Section 3.9 for constraints applicable to these data elements.
OID:2.16.840.1.113883.3.88.11.83.8
CDA Data Location HITSP Data Element Identifier and Name O/R Additional Specification
cda:substanceAdministration[templateId/@root = '2.16.840.1.113883.10.20.1.24' ] Administration Information Event Entry See Note19
cda:text 8.01 - Free Text Sig O/N 2.2.2.8.2
cda:effectiveTime[1]/cda:high 8.02 - Indicate Medication Stopped O/N 2.2.2.8.3
cda:effectiveTime[2] 8.03 - Administration Timing O/Y 2.2.2.8.4
cda:effectiveTime[2] 8.04 - Frequency O/Y 2.2.2.8.4
cda:effectiveTime[2] 8.05 - Interval O/Y 2.2.2.8.4
cda:effectiveTime[2] 8.06 - Duration O/Y 2.2.2.8.4
cda:routeCode/@code 8.07 - Route O/Y 2.2.2.8.5
cda:doseQuantity 8.08 - Dose O/Y 2.2.2.8.6
cda:approachSiteCode/@code 8.09 - Site O/Y 2.2.2.8.7
cda:maxDoseQuantity 8.10 - Dose Restriction O/Y
cda:administrationUnitCode/@code 8.11 - Product Form O/N 2.2.2.8.8
cda:code/@code 8.12 - Delivery Method O/Y 2.2.2.8.9
cda:consumable/cda:manufacturedProduct 8.13 - Coded Product Name R2/Y 2.2.2.8.11
cda:translation/@code 8.14 - Coded Brand Name R2/Y 2.2.2.8.12
cda:originalText 8.15 - Free Text Product Name R/N 2.2.2.8.13
cda:manufacturedMaterial/cda:name 8.16 - Free Text Brand Name R2/N 2.2.2.8.14
cda:manufacturerOrganization 8.17 - Drug Manufacturer O/N
8.18 - Product Concentration see Note 2.2.2.8.15
cda:entryRelationship[@typeCode='SUBJ']/ cda:observation[cda:templateId/@root= '2.16.840.1.113883.3.88.11.83.8.1']/ cda:value/@code 8.19 - Type of Medication R2/N 2.2.2.8.16
cda:entryRelationship[@typeCode='REFR']/ cda:observation[cda:templateId/@root= '2.16.840.1.113883.10.20.1.47']/ cda:value/@code 8.20 - Status of Medication R2/N 2.2.2.8.17
cda:entryRelationship[@typeCode='RSON']/ cda:observation[cda:templateId/@root= '2.16.840.1.113883.10.20.1.28'] 8.21 - Indication O/Y 2.2.2.8.18
cda:entryRelationship/cda:act[ cda:templateId/@root= '2.16.840.1.113883.10.20.1.49']/ cda:text 8.22 - Patient Instructions O/N 2.2.2.8.19
cda:entryRelationship[@typeCode='CAUS']/ cda:observation[cda:templateId/@root= '2.16.840.1.113883.10.20.1.54'] 8.23 - Reaction O/N
cda:participant/cda:participantRole[ cda:code/@code = '412307009' and cda:code/@codeSystem= '2.16.840.1.113883.6.96'] 8.24 - Vehicle O/Y 2.2.2.8.20
cda:criterion 8.25 - Dose Indicator O/Y
cda:entryRelationship[@typeCode='REFR']/ cda:supply[moodCode='INT'] Order Information R2/Y 2.2.2.8.21
cda:id 8.26 - Order Number R2/N
cda:repeatNumber 8.27 - Fills O/N 2.2.2.8.22
cda:quantity 8.28 - Quantity Ordered R2/N 2.2.2.8.23
cda:effectivetime/cda:high 8.29 - Order Expiration Date/Time R2/N
cda:author/cda:time 8.30 - Order Date/Time O/N
cda:author/cda: assignedAuthor/ cda:assignedPerson/cda:name 8.31 - Ordering Provider O/N
cda:entryRelationship/ cda:act[cda:templateId/@root= '2.16.840.1.113883.10.20.1.43']/ cda:text 8.32 - Fulfillment Instructions O/N 2.2.2.8.24
cda:supply[@moodCode='EVN'] 8.33 - Fulfillment History O/Y
cda:id 8.34 - Prescription Number R2/N 2.2.2.8.25
cda:performer/cda:assignedEntity 8.35 - Provider O/N 2.2.2.8.26
cda:performer/cda:assignedEntity/ cda:addr 8.36 - Dispensing Pharmacy Location (Previously known as Location) O/N 2.2.2.8.1
cda:effectiveTime 8.37 - Dispense Date O/N
cda:quantity 8.38 - Quantity Dispensed R2/N 2.2.2.8.27
cda:entryRelationship[ @typeCode='COMP']/ cda:sequenceNumber 8.39 - Fill number R2/N 2.2.2.8.28
cda:statusCode 8.40 - Fill Status O/N 2.2.2.8.29

Optionality Legend: “R” for Required, “R2” for Required if known, “O” for Optional and Repeat = “Y” for Yes or “N” for No


Section ID Constraint ID Definition
2.2.2.8.1 Dispensing Pharmacy Location (Previously known as Location) Constraints Not Provided
C154-[DE-8.36-1] The state part of an address in the United States SHALL be recorded using HITSP/C80 Section 2.2.1.1.1 State
C154-[DE-8.36-2] The postal code part of an address in the United States SHALL be recorded using HITSP/C80 Section 2.2.1.1.2 Postal Code
C154-[DE-8.36-3] The country part of an address SHALL be recorded using HITSP/C80 Section 2.2.1.1.3 Country
2.2.2.8.1 Medication - Prescription and Non-Prescription Module Constraints Not Provided
C83-[DE-8-CDA-1] A CDA Document SHALL declare conformance for the Medication - Prescription and Non-Prescription module by including a <templateID> element with the root attribute set to the value 2.16.840.1.113883.3.88.11.83.8
C83-[DE-8-CDA-2] Substance Administration acts conforming to this module SHALL also declare conformance to the IHE Medications entity by including a <templateID> element with the root attribute set to the value 1.3.6.1.4.1.19376.1.5.3.1.4.7
2.2.2.8.2 Free Text Sig Constraints Not Provided

Free Text Sig Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<section>
...
<text>
...
<content ID='sig-1'> Acetaminophen 325 mg tablet tid po prn</content>
...
</text>
...
<entry>
<substanceAdministration classCode='SBADM' moodCode='INT'>
<templateId root='2.16.840.1.113883.10.20.1.24'/>
<templateId root='2.16.840.1.113883.3.88.11.83.8'/>
<templateId root='1.3.6.1.4.1.19376.1.5.3.1.4.7'/>
...
<text><reference value='#sig-1'/></text>
...
</substanceAdministration>
</entry>
</section>
2.2.2.8.3 Indicate Medication Stopped Constraints The time at which the medication was stopped is determined based on the content of the <high> element of the first <effectiveTime> element.
2.2.2.8.4 Administrative Timing Constraints The HL7 data type for PIVL_TS uses the institutionSpecified attribute to indicate whether it is the interval (time between dosing), or frequency (number of doses in a time period) that is important. If instititutionSpecified is not present or is set to false, then the time between dosing is important (every 8 hours). If true, then the frequency of administration is important (e.g., 3 times per day).
C83-[DE-8-CDA-3] The first <effectiveTime> SHALL use the IVL_TS data type unless for a single administration, in which case, it SHALL use the TS data type
C83-[DE-8.03-CDA-1] Medications that are administered based on activities of daily living SHALL identify the events that trigger administration in the <event> element beneath the <effectiveTime> element. The <effectiveTime> SHALL be of type EIVL_TS
C83-[DE-8.04-CDA-1] Medications that are administered at a specified frequency SHALL record the expected interval between doses in the element <period> element beneath an <effectiveTime> of type PIVL_TS. The <effectiveTime> element SHALL have an institutionSpecified attribute value of "true"
C83-[DE-8.05-CDA-1] Medications that are administered at a specified interval SHALL record interval between doses in the <period> element beneath an <effectiveTime> element of type PIVL_TS. The <effectiveTime> element SHALL have an institutionSpecified attribute value of "false"

Administrative Timing Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-- twice a day for 10 days from 2/1/07 to 2/10/07 -->
<effectiveTime xsi:type='IVL_TS'>
<low value='20070201'/>
<high value='20070210'/>
</effectiveTime>
<effectiveTime xsi:type='PIVL_TS' institutionSpecified='true' operator='A'>
<period value='12' unit='h' />
</effectiveTime>
<!-- every 12 hours for 10 days from 2/1/07 to 2/10/07 -->
<effectiveTime xsi:type='IVL_TS'>
<low value='20070201'/>
<high value='20070210'/>
</effectiveTime>
<effectiveTime xsi:type='PIVL_TS' institutionSpecified='false' operator='A'>
<period value='12' unit='h' />
</effectiveTime>
<!-- Once, on 2005-09-01 at 1:18am. -->
<effectiveTime value='200509010118'/>
<!-- Three times a day, for 10 days from 2/1/07 to 2/10/07 -->
<effectiveTime xsi:type='IVL_TS'>
<low value='20070201'/>
<high value='20070210'/>
</effectiveTime>
<effectiveTime xsi:type='PIVL_TS' institutionSpecified='true' operator='A'>
<period value='8' unit='h' />
</effectiveTime>
<!-- every 8 hours for 10 days from 2/1/07 to 2/10/07 -->
<effectiveTime xsi:type='IVL_TS'>
<low value='20070201'/>
<high value='20070210'/>
</effectiveTime>
<effectiveTime xsi:type='PIVL_TS' institutionSpecified='false' operator='A'>
<period value='8' unit='h' />
</effectiveTime>
<!-- in the morning for 10 days from 2/1/07 to 2/10/07 -->
<effectiveTime xsi:type='IVL_TS'>
<low value='20070201'/>
<high value='20070210'/>
</effectiveTime> <effectiveTime xsi:type='EIVL' operator='A'>
<event code='ACM'/>
</effectiveTime>
<!-- Every day at 8 in the morning for 10 minutes for 10 days from 2/1/07 to 2/10/07 -->
<effectiveTime xsi:type='IVL_TS'>
<low value='20070201'/>
<high value='20070210'/>
</effectiveTime>
<effectiveTime xsi:type='PIVL_TS' operator='A'>
<phase>
<low value="198701010800" inclusive="true"/>
<width value="10" unit="min"/>
</phase>
<period value='1' unit='d'/>
</effectiveTime>
2.2.2.8.5 Route of Administration Constraints Not Provided
C83-[DE-8.07-CDA-1] SHALL be coded as specified in HITSP/C80 Section 2.2.3.3.4.1 Medication Route FDA.

Route of Administration Constraints Example:

<routeCode code='C38288' displayName='ORAL' codeSystem='2.16.840.1.113883.3.26.1.1' codeSystemName='NCI Thesaurus'/>
2.2.2.8.6 Dose Constraints The units of presentation can be found at www.fda.gov, and include only those terms that have not been mapped to Unified Code for Units of Measure (UCUM). Terms with mappings to UCUM are units of administration.
C154-[DE-8.08-1] Units MAY be present when needed. If present it SHALL be coded as specified in HITSP/C80 Section 2.2.3.6.6 Units of Measurement
C154-[DE-8.08-2] When the coded product or brand name describes the strength or concentration of the medication, and the dosing is in administration units (e.g., 1 tablet, 2 capsules), units SHOULD contain the preferred name of the presentation units within braces { } using the units of presentation from the NCI Thesaurus

Dose Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-- example 1, dose is in units of tablets -->
<code code='' displayName='Acetaminophen 325 mg tablet' codeSystem='2.16.840.1.113883.6.88' codeSystemName='RxNorm'/>
...
<doseQuantity value='1' unit='{TABLET}'/>
<!-- example 2, dose is in measurable units -->
<code code='' displayName='Tylenol' codeSystem='2.16.840.1.113883.6.88' codeSystemName='RxNorm'/>
...
<doseQuantity value='325' unit='mg'/>
2.2.2.8.7 Site Constraints Not Provided
C154-[DE-8.09-1] The Site SHALL be coded as specified in HITSP/C80 Section 2.2.3.2.1 Body Site
2.2.2.8.8 Product Form Constraints Not Provided
C154-[DE-8.11-1] SHALL be coded as specified in HITSP/C80 Section 2.2.3.3.3 Medication Product Form

Product Form Constraints Example:

...
<administrationUnitCode code="C42998" displayName="TABLET" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="NCI Thesaurus" />
2.2.2.8.9 Delivery Method Constraints Please note that HITSP has not specified a vocabulary for Delivery Method because ongoing harmonization work with the NCPDP Industry SIG Task Force and the e-Prescribing pilots has not yet published results.
C83-[DE-8.12-CDA-1] The Delivery Method MAY be recorded in the <cda:code> element
C83-[DE-8.12-CDA-2] The free text description of the delivery method MAY be included within a element <cda:originalText> element beneath the <cda:code>

Delivery Method Constraints Example:

<cda:code code='...' displayName='...' codeSystem='...' codeSystemName='...' >
<cda:originalText>Intraveinous Injection</cda:originalText> </cda:code>
2.2.2.8.10 Medication Information Constraints The template identifier for this data element is 2.16.840.1.113883.3.88.11.83.8.2 The name and code for the medication are recorded in the <consumable>
C83-[DE-8-CDA-4] Medication Information data elements SHALL declare conformance to the IHE Product Entry template by including a <templateID> element with the root attribute set to the value 1.3.6.1.4.1.19376.1.5.3.1.4.7.2
C83-[DE-8-CDA-5] A CDA Document SHALL declare conformance for the Medication Information data element by including a <templateID> element with the root attribute set to the value 2.16.840.1.113883.3.88.11.83.8.2

Medication Information Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<substanceAdministration classCode='SBADM' moodCode='INT'>
...
<consumable>
<manufacturedProduct classCode='MANU'>
<templateId root='2.16.840.1.113883.10.20.1.53'/>
<templateId root='2.16.840.1.113883.3.88.11.83.8.2'/>
<templateId root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'/>
<manufacturedMaterial classCode='MMAT' determinerCode='KIND'>
<code code='161' displayName='Acetaminophen'
codeSystem='2.16.840.1.113883.6.88' codeSystemName='RxNorm'>
<originalText>Acetaminophen</originalText>
<translation code='202433' displayName='Tylenol'
codeSystem='2.16.840.1.113883.6.88' codeSystemName='RxNorm'/>
</code>
<name>Tylenol</name>
</manufacturedMaterial>
</manufacturedProduct>
</consumable>
...
</substanceAdministration>
2.2.2.8.11 Coded Product Name Constraints Not Provided
C154-[DE-8.13-1] The coded product name SHALL be coded as specified in HITSP/C80 Section 2.2.3.3.8 Medication Clinical Drug Names.
C154-[DE-8.13-2] When only the class of the drug is known (e.g., Beta Blocker or Sulfa Drug), it SHALL be coded as specified in HITSP/C80 Section 2.2.3.3.9 Medication Drug Class.
C154-[DE-8.13-3] When only the medication ingredient name is know, the coded product name MAY be coded as specified in HITSP/C80 Section 2.2.3.3.11 Ingredient Name
C83-[DE-8.13-CDA-1] The coded product name SHALL appear in the code attribute of the <code> element.
C83-[DE-8.13-CDA-2] If the code for the generic product is unknown, the code and codeSystem attributes MAY be omitted
2.2.2.8.12 Coded Brand Name Constraints Not Provided
C154-[DE-8.14-1] The brand name SHALL be coded as specified in HITSP/C80 Section 2.2.3.3.7 Medication Brand Name or 2.2.3.3.10 Medication Packaged Product.
C83-[DE-8.14-CDA-1] The code for the specific brand of product SHALL appear in a <translation> element
2.2.2.8.13 Free Text Product Name Constraints Not Provided
C83-[DE-8.15-CDA-1] The product (generic) name SHALL appear in the <originalText> element beneath the <code> element
2.2.2.8.14 Free Text Brand Name Constraints Not Provided
C83-[DE-8.14-CDA-1] The coded product name SHALL appear in the code attribute of the <translation> element
C83-[DE-8.14-CDA-2] The brand name SHALL appear in the <name> element of the <manufacturedMaterial>
2.2.2.8.15 Product Concentration Constraints The product concentration is determined from the coded product or brand name using knowledge base information in the vocabularies specified for these fields, and therefore this information is not explicitly included.
2.2.2.8.16 Type of Medication Constraints The template identifier for this data element is 2.16.840.1.113883.3.88.11.83.8.1.
C154-[DE-8.19-1] The type of medication SHALL be coded as specified in HITSP/C80 Section 2.2.3.3.5 Medication Type.
C83-[DE-8.19-CDA-1] A CDA Document SHALL declare conformance for the Type of Medication by including a <templateID> element with the root attribute set to the value 2.16.840.1.113883.3.88.11.83.8.1
C83-[DE-8.19-CDA-2] Each <supply> or <substanceAdministration> act MAY reference an <observation> element that describes the type of medication, by including an <entryRelationship typeCode=SUBJ/> element
C83-[DE-8.19-CDA-3] The type of a medication SHALL be represented with an <observation> element in the <entryRelationship>
C83-[DE-8.19-CDA-4] The <observation> element SHALL have a <templateId> with a root attribute set to 2.16.840.1.113883.3.88.11.83.8.1
C83-[DE-8.19-CDA-5] The <observation> SHALL have a <code> element that represents the kind of medication actually or intended to be administered or supplied

Type of Medication Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<substanceAdministration classCode='SBADM' moodCode='INT'>
...
<entryRelationship typeCode='SUBJ'>
<observation classCode='OBS' moodCode='EVN'> <templateId root='2.16.840.1.113883.3.88.11.83.8.1'/>
<code code='73639000' displayName='Prescription Drug' codeSystem='2.16.840.1.113883.6.96' codeSystemName='SNOMED CT'/>
<statusCode code='completed'/> </observation>
</entryRelationship>
...
</substanceAdministration>
2.2.2.8.17 Status of Medication Constraints See Sections 3.9.2.3 and 5.1 of the HL7 Continuity of Care Document Implementation Guide for additional requirements for this data element.
C154-[DE-8.20-1] The medication status MAY be recorded using the CCD Medication Status observation using the value set defined in the CCD

Status of Medication Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<substanceAdministration classCode='SBADM' moodCode='INT'>
...
<entryRelationship typeCode='REFR'>
<observation classCode='OBS' moodCode='EVN'>
<code code='33999-4' displayName='Status' codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/>
<statusCode code='completed'/>
<value xsi:type='CE' code='55561003' displayName='Active' codeSystem='2.16.840.1.113883.6.96' codeSystemName='SNOMED CT'/>
</observation>
</entryRelationship>
...
</substanceAdministration>
2.2.2.8.18 Indication Constraints Not Provided
C154-[DE-8.20-1] The indication SHALL be coded as specified in HITSP/C80 Section 2.2.3.1.1 Problem
C83-[DE-8.20-CDA-1] The indication SHALL be recorded using the Indication <observation> The indication described in Section 3.9.2.2.1 of the HL7 Continuity of Care Document Implementation Guide, and which conforms
C83-[DE-8.20-CDA-2] The indication <observation> SHALL contain a <text> element that includes a <reference> element whose value attribute points to the narrative text that is the indication for the medication

Indication Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<substanceAdministration classCode='SBADM' moodCode='INT'>
...
<entryRelationship typeCode="RSON">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.28"/>
<code code='' displayName='' codeSystem='2.16.840.1.113883.6.96' codeSystemName='SNOMED CT'/>
<text><reference value="#indication-1"/></text>
<statusCode code="completed"/>
<effectiveTime value="..."/>
</observation>
</entryRelationship>
...
</substanceAdministration>
2.2.2.8.19 Patient Instructions Constraints External patient educational materials can be referenced with an appropriate URL entry in the text/ reference/value.
C83-[DE-8.22-CDA-1] Medication Information data elements SHALL declare conformance to the IHE Patient Medication Instructions template by including a <templateID> element with the root attribute set to the value 1.3.6.1.4.1.19376.1.5.3.1.4.3

Patient Instructions Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-- an example of a patient instruction embedded in the document -->
<text>
...
<content ID='patient-instruction'>Take with food</content>
...
</text>
<entry>
<substanceAdministration>
...
<entryRelationship typeCode='SUBJ' inversionInd='true'>
<act classCode='ACT' moodCode='INT'>
<templateId root='2.16.840.1.113883.10.20.1.49'/>
<templateId root='1.3.6.1.4.1.19376.1.5.3.1.4.3'/>
<code code='PINSTRUCT' codeSystem='1.3.6.1.4.1.19376.1.5.3.2'
codeSystemName='IHEActCode' />
<text><reference value='#patient-instruction'/></text>
</act>
</entryRelationship>
</substanceAdministration>
</entry>
...
<!-- an example of a reference to an external document-->
<text>
<reference value='http://www.fda.gov/cder/drug/infopage/COX2/NSAIDmedguide.pdf' /></text>
2.2.2.8.20 Vehicle Constraints Not Provided
C154-[DE-8.24-1] The Medication Vehicle shall be coded as specified in HITSP/C80 Section 2.2.3.3.12 Medication Vehicle
C83-[DE-8.24-CDA-1] The vehicle for administering a medication MAY be recorded in a <participantRole> element inside a <participant> element in the <substanceAdministration> element
C83-[DE-8.24-CDA-2] The typeCode attribute of the <participant> element SHALL be CSM
C83-[DE-8.24-CDA-3] The classCode of theSHALL be MANU
C83-[DE-8.24-CDA-4] A <code> element for the <participantRole> SHALL be present and SHALL contain the code 412307009 from the SNOMED CT code system as shown above
C83-[DE-8.24-CDA-5] The <name> element in the <playingEntity> element SHALL record the name of the drug vehicle
C83-[DE-8.24-CDA-6] The <code> element in the <playingEntity> element MAY be used to supply a coded term for the drug vehicle

Vehicle Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<substanceAdministration classCode='SBADM' moodCode='...'>
...
<participant typeCode='CSM'>
<participantRole classCode='MANU'>
<code code='412307009' displayName='drug vehicle' codeSystem='2.16.840.1.113883.6.96' codeSystemName='SNOMED CT'/>
<playingEntity classCode='MMAT'>
<code .../>
<name>...</name>
</playingEntity>
</participantRole>
</participant>
</substanceAdministration>
2.2.2.8.21 Order Information Constraints Order information may be recorded as part of the fulfillment history or as part of the administration information.
C83-[DE-8-CDA-6] A CDA Document SHALL declare conformance for the Order Information data element by including a <templateID> element with the root attribute set to the value 2.16.840.1.113883.3.88.11.83.8.3
C83-[DE-8-CDA-7] Order Information data elements SHALL declare conformance to the IHE Supply Entry template by including a <templateID> element with the root attribute set to the value 1.3.6.1.4.1.19376.1.5.3.1.4.7.3
C83-[DE-8.26-CDA-1] The order number, i.e., the identifier from the perspective of the ordering provider, SHOULD be recorded in the <id> element within the <supply> element used to record order information

Order Information Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-- example 1, recording order information with substance administration event or intent -->
<substanceAdministration classCode='SBADM' moodCode='...'>
...
<entryRelationship typeCode='REFR'>
<supply classCode='SPLY' moodCode='INT'>
<templateId root='2.16.840.1.113883.3.88.11.83.8.3'/>
<templateId root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'/>
<id root='14ED7742-2428-4e2c-9446-A9B0D0075272' extension='SCRIP#'/>
<repeatNumber value='1'/>
<quantity value='30'/>
<author>
<time value='20070210'/>
<assignedAuthor>
<id .../>
<assignedPerson>
<name>...</name>
</assignedPerson>
</assignedAuthor>
</author>
</supply>
</entryRelationship>
</substanceAdministration>
<!-- example 2, recording order information with supply event -->
<supply classCode='SPLY' moodCode='EVN'>
...
<entryRelationship typeCode='REFR'>
<supply classCode='SPLY' moodCode='INT'>
<templateId root='2.16.840.1.113883.3.88.11.83.8.3'/>
<id root='14ED7742-2428-4e2c-9446-A9B0D0075272' extension='SCRIP#'/>
<repeatNumber value='3'/>
<quantity value='30'/>
<author>
<time value='20070210'/>
<assignedAuthor>
<id .../>
<assignedPerson><name>...</name></assignedPerson>
</assignedAuthor>
</author>
</supply>
</entryRelationship>
</supply>
2.2.2.8.22 Fills Constraints Please note that the number of fills requested is what is recorded in the document, not the number of refills. The number of refills is simply one less than the number of fills.

Fills Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-- Example 1, 1 fill, no refills -->
<repeatNumber value='1'/>
<!-- Example 2, 3 fills = 1 initial fill + 2 refills -->
<repeatNumber value='3'/>
<!-Example 3, unbounded number of fills -->
<repeatNumber nullFlavor='PINF'/>
2.2.2.8.23 Quantity Ordered Constraints The units of presentation can be retrieved from www.fda.gov, and include only those terms which have not been mapped to UCUM. Terms with mappings to UCUM are units of administration, rather than units of presentation.
C83-[DE-8.26-CDA-1] The quantity ordered SHALL be recorded in the value attribute of <quantity> element inside a <supply> element used to record order information
C83-[DE-8.26-CDA-2] The unit attribute SHALL be present
C83-[DE-8.26-CDA-3] When the quantity ordered is in other than administration units (e.g., when the quantity ordered is a volume of liquid or mass of substance) units SHALL be coded as specified in HITSP/C80 Section 2.2.3.6.6 Units of Measure
C83-[DE-8.26-CDA-4] When the quantity ordered is in administration units, the unit attribute SHOULD contain the preferred name of the presentation units within braces { } using the units of presentation as specified in HITSP/C80 Section 2.2.3.3.3 Medication Product Form

Quantity Ordered Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-- Example 1, 100 tablets -->
<quantity value='100' unit='{TABLET}'/>
<!-- Example 2, 0.5 liters -->
<quantity value='0.5' unit='l'/>
2.2.2.8.24 Fulfillment Instructions Constraints Not Provided
C83-[DE-8.32-CDA-1] Fulfillment instructions data elements SHALL declare conformance to the IHE Medication Fulfillment Instructions template by including a <templateID> element with the root attribute set to the value 1.3.6.1.4.1.19376.1.5.3.1.4.3.1

Fulfillment Instructions Constraints Example:

<!-- These examples assume the default namespace is 'urn:hl7-org:v3' -->
<!-This examples illustrates a fullfillment instruction allowing generic substition-->
<text>
...
<content ID='fulfillment-instruction1'>Generic Substitition Allowed</content>
...
</text>
<entry>
<substanceAdministration moodCode='INT'>
...
<entryRelationship typeCode='SUBJ' inversionInd='true'>
<act classCode='ACT' moodCode='INT'>
<templateId root='2.16.840.1.113883.10.20.1.43'/>
<text><reference '#fulfillment-instruction1'/></text>
</act>
</entryRelationship>
</substanceAdministration>
</entry>
...
<!-This examples illustrates when the prescriber requires/required the medication to be available by a specific time -->
<text>
...
<content ID='fulfillment-instruction2'> must be available by Friday noon.</content>
...
</text>
<entry>
<substanceAdministration moodCode='INT'>
...
<entryRelationship typeCode='SUBJ' inversionInd='true'>
<act classCode='ACT' moodCode='INT'>
<templateId root='2.16.840.1.113883.10.20.1.43'/>
<templateId root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'/>
<code code='FINSTRUCT' codeSystem='1.3.6.1.4.1.19376.1.5.3.2'
codeSystemName='IHEActCode' />
<text><reference value='#comment-2'/></text>
<statusCode code='completed' />
</act>
</entryRelationship>
</substanceAdministration>
2.2.2.8.25 Prescription Number Constraints Not Provided
C83-[DE-8.34-CDA-1] The prescription number SHALL be recorded in the extension attribute of the <id> element within a <supply> element having a moodCode attribute of EVN
C83-[DE-8.34-CDA-2] The root attribute of the <id> element SHOULD be the OID of the assigning authority for the identifier; however, determining the assigning authority is not feasible in all settings
C83-[DE-8.34-CDA-3] A GUID MAY be used in place of the OID of the assigning authority

Prescription Number Constraints Example:

<supply moodCode='EVN'> <id root='14ED7742-2428-4e2c-9446-A9B0D0075272' extension='SCRIP#'/> ...
</supply>
2.2.2.8.26 Provider Constraints Not Provided
C83-[DE-8.35-CDA-1] The provider SHALL be recorded in the <assignedEntity> of element
C83-[DE-8.35-CDA-2] At least one of element <assignedPerson> or <representedOrganization> elements SHALL appear inside the <assignedEntity> to indicate the name of the person or the organization fulfilling the prescription
C83-[DE-8.35-CDA-3] The name of the person SHALL appear in the <name> element of the <assignedPerson> element beneath the <assignedEntity> element
C83-[DE-8.35-CDA-4] The name of the organization SHALL appear in the element <name> element of the <representedOrganization> element beneath the <assignedEntity>
2.2.2.8.27 Quantity Dispensed Constraints The units of presentation can be found at www.fda.gov, and include only those terms which have not been mapped to UCUM. Terms with mappings to UCUM are units of administration, rather than units of presentation.
C83-[DE-8.38-CDA-1] The quantity dispensed SHALL be recorded in the value attribute of <quantity> element inside a <supply> element with a moodCode attribute set to EVN
C83-[DE-8.38-CDA-2] When the quantity dispensed is in other than administration units (e.g., when the quantity ordered is a volume of liquid or mass of substance) units SHALL be recorded as specified in HITSP/C80 Section 2.2.3.6.6 Units of Measure
C83-[DE-8.38-CDA-3] When the quantity dispensed is in administration units the unit attribute SHOULD contain the preferred name of the presentation units within braces { } using the units of presentation as specified in HITSP/C80 Section 2.2.3.3.3 Medication Product Form.
2.2.2.8.28 Fill Number Constraints The fill number identifies the supply (dispense) event as a distinct activities against the prescription.
C83-[DE-8.39-CDA-1] The fill number SHOULD be recorded in the sequenceNumber attribute of a <entryRelationship> element with a typeCode attribute set to COMP
2.2.2.8.29 Fill Status Constraints Not Provided
C83-[DE-8.40-CDA-1] The fill status MAY be recorded in the statusCode attribute
C83-[DE-8.40-CDA-2] The status code attribute SHALL contain be coded as specified in HITSP/C80 Section 2.2.3.3.1 Medication Fill Status.
Scroll To Top