From 3c924eda0563202b822e55ce198632dbcf7a09ba Mon Sep 17 00:00:00 2001 From: rmrlangford Date: Tue, 30 Jan 2024 23:31:26 +0200 Subject: [PATCH] Update AdministrativeSexToAdministrativeGender.fml --- input/maps/AdministrativeSexToAdministrativeGender.fml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/input/maps/AdministrativeSexToAdministrativeGender.fml b/input/maps/AdministrativeSexToAdministrativeGender.fml index b3e077a8e..f84dd7038 100644 --- a/input/maps/AdministrativeSexToAdministrativeGender.fml +++ b/input/maps/AdministrativeSexToAdministrativeGender.fml @@ -1,11 +1,12 @@ /// url = 'http://openhie.org/fhir/zambia-immunizations/StructureMap/AdministrativeSexToAdministrativeGender' /// name = 'AdministrativeSexToAdministrativeGender' +/// description = 'Maps the Administrative Sex codes To Administrative Gender codes.' /// title = 'Administrative Sex To Administrative Gender' /// status = 'active' uses "http://openhie.org/fhir/zambia-immunizations/StructureDefinition/immunization-patient" alias PatientProfile as source uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as target -group makePatient(source pat, target patient : Patient) { +group makePatient(source pat : PatientProfile, target patient : Patient) { pat.gender as gender -> patient.gender = translate(gender, 'http://openhie.org/fhir/zambia-immunizations/ConceptMap/AdministrativeSexToAdministrativeGender', 'code') "SetGender"; } \ No newline at end of file