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.
- Loading branch information
1 parent
5070462
commit 16c2141
Showing
7 changed files
with
121 additions
and
5 deletions.
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
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
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
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
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,2 +1,44 @@ | ||
Alias: $LNC = http://loinc.org | ||
|
||
Alias: $GENDER = http://hl7.org/fhir/administrative-gender | ||
Alias: $SEX = http://terminology.hl7.org/CodeSystem/v2-0001 | ||
Alias: $SEX = http://terminology.hl7.org/CodeSystem/v2-0001 | ||
|
||
Alias: $PROPRIETARY_EDU_LEVEL = http://openhie.org/fhir/zambia-immunizations/CodeSystem/cs-propietary-education-level-attained | ||
|
||
CodeSystem: CSPropietaryEducationLevelAttained | ||
Id: cs-propietary-education-level-attained | ||
Title: "Patient's highest education level attained (Propietary)" | ||
Description: "A list of propietary education levels." | ||
* ^experimental = false | ||
* ^caseSensitive = true | ||
* #CertificateGraduate "Certificate Graduate" "The description" | ||
* #DegreeGraduate "Degree Graduate" "The description" | ||
* #DiplomaGraduate "Diploma Graduate" "The description" | ||
* #JuniorSecondary "Junior Secondary" "The description" | ||
* #MastersGraduate "Masters Graduate" "The description" | ||
* #NoFormalEducation "No Formal Education" "The description" | ||
* #PhDGraduate "PhD Graduate" "The description" | ||
* #Primary "Primary" "The description" | ||
* #SeniorSecondary "Senior Secondary" "The description" | ||
|
||
ValueSet: VSPropietaryEducationLevelAttained | ||
Id: vs-propietary-education-level-attained | ||
Title: "Patient's highest education level attained (Propietary)" | ||
Description: "A list of propietary education levels." | ||
* ^experimental = false | ||
* include codes from system CSPropietaryEducationLevelAttained | ||
|
||
ValueSet: VSLOINCEducationLevelAttained | ||
Id: vs-loinc-education-level-attained | ||
Title: "Patient's highest education level attained (LOINC)" | ||
Description: "A list of LOINC education levels." | ||
* ^experimental = false | ||
* $LNC#LA35-1 "No schooling" | ||
* $LNC#LA42-7 "Graduate degree" | ||
* $LNC#LA30193-9 "More than high school" | ||
* $LNC#LA32469-1 "University undergraduate degree" | ||
* $LNC#LA32466-7 "Primary school education" | ||
* $LNC#LA36-9 "8th grade/less" | ||
* $LNC#LA37-7 "9-11 grades" | ||
* $LNC#LA12461-2 "Master's degree (e.g., MA, MS, MEng, MEd, MSW, MBA)" | ||
* $LNC#LA30185-5 "Doctoral degree (e.g., PhD, EdD)" |
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
14 changes: 14 additions & 0 deletions
14
input/maps/PropietaryEducationLevelToLOINCEducationLevel.fml
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*/// url = 'http://openhie.org/fhir/zambia-immunizations/StructureMap/PropietaryEducationLevelToLOINCEducationLevel' | ||
/// name = 'PropietaryEducationLevelToLOINCEducationLevel' | ||
/// description = 'Maps the Propietary Educational Level codes To LOINC Educational Level codes.' | ||
/// title = 'Propietary Educational Level To LOINC Educational Level' | ||
/// status = 'active' | ||
|
||
uses "http://openhie.org/fhir/zambia-immunizations/StructureDefinition/immunization-patient" alias PatientProfile as source | ||
uses "http://openhie.org/fhir/zambia-immunizations/StructureDefinition/immunization-patient" alias Patient as target | ||
|
||
group SetPatientEducationalLevel(source pat : PatientProfile, target patient : Patient) { | ||
pat.extension:EduLevelAttained as eduLevelAttained -> patient as patty then { | ||
//eduLevelAttained -> patty.code = translate(eduLevelAttained, 'http://openhie.org/fhir/zambia-immunizations/ConceptMap/PropietaryEducationLevelToLOINCEducationLevel', 'code') "SetEducationalLevel"; | ||
} | ||
}*/ |