{{#with (getFirstCdaSectionsByTemplateId msg '2.16.840.1.113883.10.20.22.2.29')}} {{#each (toArray 2_16_840_1_113883_10_20_22_2_29.entry) as |procEntry|}} {{>Resources/Observation.hbs observationEntry=procEntry.observation ID=(generateUUID (toJsonString procEntry.observation))}}, {{#with (evaluate 'Utils/GeneratePatientId.hbs' obj=../../../msg.ClinicalDocument.recordTarget.patientRole) as |patientId|}} {{>References/OBservation/subject.hbs ID=(generateUUID (toJsonString procEntry.observation)) REF=(concat 'Patient/' patientId.Id)}}, {{/with}} {{/each}} {{/with}}