Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrlangford committed Jan 30, 2024
1 parent a797cef commit fe4f28c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion input/fsh/conceptmaps/client-registration.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ Usage: #definition
* target = $SEX
* insert ElementMap(male, M, equivalent)
* insert ElementMap(female, F, equivalent)
* element[=].target[=].comment = "The source concept is more specific than the target"
2 changes: 1 addition & 1 deletion input/fsh/smartcare.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Description: "Is used to document demographics and other administrative informat

* extension contains BornInZambia named BIZ 1..1
* extension contains IsEstimatedDateOfBirth named IsEstimatedDOB 0..1 MS
* extension[ISEstimatedDOB] ^definition =
* extension[IsEstimatedDOB] ^definition =
"reason(s) why this should be supported."
11 changes: 11 additions & 0 deletions input/maps/AdministrativeSexToAdministrativeGender.fml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/// url = 'http://openhie.org/fhir/zambia-immunizations/StructureMap/AdministrativeSexToAdministrativeGender'
/// name = 'AdministrativeSexToAdministrativeGender'
/// 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) {
pat.gender as gender -> patient.gender = translate(gender, 'http://openhie.org/fhir/zambia-immunizations/ConceptMap/AdministrativeSexToAdministrativeGender', 'code') "SetGender";
}

0 comments on commit fe4f28c

Please sign in to comment.