You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group Bundle(source src: Bundle, target tgtBundle : LogicalBundle) <<types>> {
14
+
src -> tgtBundle.id = uuid() "setId";
15
+
src -> tgtBundle.type = 'transaction' "setType";
16
+
src.entry as srcEntry where srcEntry.resource.is(FHIR.Patient) then {
17
+
srcEntry.resource as srcResource -> (%srcResource.as(FHIR.Patient)) as srcPatient, tgtBundle.entry as newEntry then Patient(srcPatient, newEntry) "addPatient";
18
+
} "entryLoop4Patient";
19
+
}
20
+
21
+
group PatientTest(source src: Patient, target tgtBundle : LogicalBundle) {
22
+
src -> tgtBundle.entry as newEntry then Patient(src, newEntry) "addPatient";
0 commit comments