hl7:substanceAdministration
  | 
                                  | 
                                  | 
                                 R | 
                                  | 
                                 6.3. 16.3 | 
                              
                              
                                 @classCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 SBADM | 
                              
                              
                                 @moodCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                 CCD templateId | 
                                 6.3. 16.4 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@root='2.16.840.1.113883.10.20.1.24'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.10.20.1.24 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 R | 
                                 IHE PCC templateId | 
                                 6.3. 16.4 | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.7 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. .3.1 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.7.1 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. .3.2 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.8'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.8 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. .3.3 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.9'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.9 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. .3.4 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.10'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.10 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. .3.5 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.11'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.11 | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 6.3. 16.6 | 
                              
                              
                                 hl7:code
  | 
                                 CD | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. 16.7 | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. 16.8 | 
                              
                              
                                 hl7:reference
  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. 16.8 | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 6.3. 16.9 | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 IVL_TS | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. 6.10 | 
                              
                              
                                 hl7:low
  | 
                                 IVXB_TS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 6.3. 6.10 | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 UNK | 
                              
                              
                                 hl7:high
  | 
                                 IVXB_TS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 6.3. 6.10 | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 UNK | 
                              
                              
                                 hl7:effectiveTime
  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. 6.12 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@operator='A'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @operator
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 A | 
                              
                              
                                 hl7:routeCode
  | 
                                 CE | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 6.3. 6.13 | 
                              
                              
                                 hl7:approachSiteCode
  | 
                                  | 
                                 0 … * | 
                                  | 
                                  | 
                                 6.3. 6.14 | 
                              
                              
                                 hl7:doseQuantity
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 6.3. 6.15 | 
                              
                              
                                 hl7:rateQuantity
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 6.3. 6.17 | 
                              
                              
                                 hl7:consumable
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                 Contains 1.3.6.1.4.1.19376.1.5.3.1.4.7.2 IHE Product Entry (DYNAMIC)
                                  | 
                                 6.3. 6.18 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [hl7:manufacturedProduct [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7.2']
                                                and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.53']]] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … * | 
                                 R | 
                                 Contains 1.3.6.1.4.1.19376.1.5.3.1.4.7.3 IHE Supply Entry (DYNAMIC)
                                  | 
                                 6.3. 6.19 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [hl7:supply [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7.3']]] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 REFR | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … * | 
                                  | 
                                  | 
                                 6.3. 6.20 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [@typeCode='COMP'] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 hl7:sequenceNumber
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 6.3. 6.20 | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … * | 
                                 R | 
                                 Contains 1.3.6.1.4.1.19376.1.5.3.1.4.3 IHE Patient Medication Instructions (DYNAMIC)
                                  | 
                                 6.3. 6.21 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.3']]] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 SUBJ | 
                              
                              
                                 @inversionInd
  | 
                                 bl | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … * | 
                                  | 
                                 Contains 1.3.6.1.4.1.19376.1.5.3.1.4.4.1 IHE Internal Reference Entry (DYNAMIC)
                                  | 
                                 6.3. 6.22 | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [hl7:act [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1']]] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 RSON | 
                              
                              
                                 hl7:precondition
  | 
                                  | 
                                 0 … * | 
                                  | 
                                  | 
                                 6.3. 6.23 | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 @moodCode='INT' or @moodCode='EVN' | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 moodCode attribute SHALL have the value 'INT' or 'EVN' | 
                                   |