generated from openhie/empty-fhir-ig-custom
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AdministrativeSexToAdministrativeGender.fml
- Loading branch information
1 parent
fe4f28c
commit 3c924ed
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
} |