{
    "resourceType": "Bundle",
    "type": "batch",
    "entry": [
    
    	{{>Header.hbs}}
        
        {{! Required Sections }}
        
      	{{>Sections/Allergies_and_Adverse_Reactions.hbs}},
        
        {{>Sections/Medication.hbs}},
        
        {{>Sections/Problems.hbs}},
        
        {{>Sections/Results.hbs}},
        
        {{>Sections/Social_History.hbs}},
        
        {{>Sections/Vital_Signs.hbs}},
        
        {{! Optional Sections }}
        
        {{>Sections/Procedures.hbs}},
        
        {{>Sections/Encounters.hbs}},
        
        {{>Sections/Immunization.hbs}},
        
        {{>Sections/Functional_Status.hbs}},
        
        {{>Sections/Family_history.hbs}},
        
        {{>Sections/Advance_Directives.hbs}},
        
        {{>Sections/Medical_Equipment.hbs}},
        
        {{>Sections/Mental_Status.hbs}},
        
        {{>Sections/Nutrition.hbs}},
        
        {{>Sections/Payers.hbs}},
     
        {{! Document Resource Creation }}
        
        {{>Resources/DocumentReference.hbs docref=msg ID=(generateUUID (toJsonString msg))}},
      ]
}