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