{{#if (contains (toString (toJsonString msg)) '2.16.840.1.113883.10.20.22.2.4.1')}} {{#with (getFirstCdaSectionsByTemplateId msg '2.16.840.1.113883.10.20.22.2.4.1')}} {{#each (toArray 2_16_840_1_113883_10_20_22_2_4_1.entry)}} {{#each (toArray this.organizer.component) as |obsEntry|}} {{>Resources/Observation.hbs observationCategory="vital-signs" observationEntry=obsEntry.observation ID=(generateUUID (toJsonString obsEntry.observation))}}, {{#with (evaluate 'Utils/GeneratePatientId.hbs' obj=../../../msg.ClinicalDocument.recordTarget.patientRole) as |patientId|}} {{>References/Observation/subject.hbs ID=(generateUUID (toJsonString obsEntry.observation)) REF=(concat 'Patient/' patientId.Id)}}, {{/with}} {{/each}} {{/each}} {{/with}} {{/if}}