Skip to content

Commit dacc16c

Browse files
committed
Updated all antigen client history model/questionnaire/maps to remove birth dose as it is now only polio and hep b and added it to polio.
1 parent c56aaff commit dacc16c

9 files changed

+18
-28
lines changed

input/fsh/models/IMMZD1ClientHistory.fsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Description: "Data elements for the IMMZ.D1 Capture Client History Data Diction
55
* ^name = "IMMZ_D1_Client_History"
66

77
* patient 1..1 Reference "Patient" "The patient who is being checked for contraindications."
8-
* birth 0..1 boolean "Birth dose" "Indicates if the client received a dose within 24 hours of birth. Whether a birth dose is counted as part of the primary series will depend on the antigen."
9-
* ^code[+] = IMMZ.D1#DE109
108
* type 1..* Coding "Type of dose" "The type of dose in a series that the client received"
119
* ^code[+] = IMMZ.D1#DE103
1210
* type from IMMZ.D1.DE103

input/fsh/models/IMMZD1ClientHistoryPolio.fsh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Description: "Data elements for the IMMZ.D1 Capture Client History Data Diction
55

66
* ^name = "IMMZ_D1_Client_History_Polio"
77

8-
8+
* birth 0..1 boolean "Birth dose" "Indicates if the client received a dose within 24 hours of birth. Whether a birth dose is counted as part of the primary series will depend on the antigen."
9+
* ^code[+] = IMMZ.D1#DE109
910
* poliotype 0..1 Coding "Type of polio dose" "The type of the polio vaccine dose administered to the client"
1011
* ^code[+] = IMMZ.D1#DE35
1112
* ^code[+] = $ICD11#XM0N50

input/fsh/questionnaires/QIMMZD1ClientHistory.fsh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ Usage: #definition
1616
* extension[=].valueCanonical = "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1QRToResources"
1717

1818

19-
* insert Question(birth, Indicates if the client received a dose within 24 hours of birth. Whether a birth dose is counted as part of the primary series will depend on the antigen., boolean, false, false)
20-
* item[=]
21-
* code[+] = IMMZ.D1#DE109
2219
* insert Question(type, The type of dose in a series that the client received, choice, false, true)
2320
* item[=]
2421
* answerValueSet = Canonical(IMMZ.D1.DE103)

input/fsh/questionnaires/QIMMZD1ClientHistoryMeasles.fsh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Usage: #definition
1717
* extension[=].valueCanonical = "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1MeaslesQRToResources"
1818

1919

20-
* insert Question(birth, Indicates if the client received a dose within 24 hours of birth. Whether a birth dose is counted as part of the primary series will depend on the antigen., boolean, false, false)
21-
* item[=]
22-
* code[+] = IMMZ.D1#DE109
2320
* insert Question(type, The type of dose in a series that the client received, choice, false, true)
2421
* item[=]
2522
* answerValueSet = Canonical(IMMZ.D1.DE103)

input/fsh/questionnaires/QIMMZD1ClientHistoryYellowFever.fsh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Usage: #definition
1717
* extension[=].valueCanonical = "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1YellowFeverQRToResources"
1818

1919

20-
* insert Question(birth, Indicates if the client received a dose within 24 hours of birth. Whether a birth dose is counted as part of the primary series will depend on the antigen., boolean, false, false)
21-
* item[=]
22-
* code[+] = IMMZ.D1#DE109
2320
* insert Question(type, The type of dose in a series that the client received, choice, false, true)
2421
* item[=]
2522
* answerValueSet = Canonical(IMMZ.D1.DE103)

input/maps/IMMZD1LMToResources.fml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ group IMMZD1ToBundle (source immz : IMMZD1, target bundle: Bundle) {
88

99
immz.patient as patient then {
1010

11-
12-
immz.birth as content -> bundle.entry as entry, entry.resource = create('Observation') as obs then {
13-
patient -> obs.subject = patient "SetPatient";
14-
content -> obs.code as code then {
15-
content -> code.coding as coding then {
16-
content -> coding.system = 'http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1' "SetObsSystem";
17-
content -> coding.code = 'DE109' "SetObsCode";
18-
} "SetObsCoding";
19-
} "SetObsCode";
20-
content -> obs.value = content "SetValue";
21-
} "SetBirthObservation";
22-
2311
immz.type as content -> bundle.entry as entry, entry.resource = create('Observation') as obs then {
2412
patient -> obs.subject = patient "SetPatient";
2513
content -> obs.code as code then {

input/maps/IMMZD1PolioLMToResources.fml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ group PolioIMMZD1ToBundle (source immz : IMMZD1, target bundle: Bundle) extends
99

1010
immz.patient as patient then {
1111

12+
13+
immz.birth as content -> bundle.entry as entry, entry.resource = create('Observation') as obs then {
14+
patient -> obs.subject = patient "SetPatient";
15+
content -> obs.code as code then {
16+
content -> code.coding as coding then {
17+
content -> coding.system = 'http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1' "SetObsSystem";
18+
content -> coding.code = 'DE109' "SetObsCode";
19+
} "SetObsCoding";
20+
} "SetObsCode";
21+
content -> obs.value = content "SetValue";
22+
} "SetBirthObservation";
23+
1224
immz.poliotype as content -> bundle.entry as entry, entry.resource = create('Observation') as obs then {
1325
patient -> obs.subject = patient "SetPatient";
1426
content -> obs.code as code then {

input/maps/IMMZD1PolioQRToLM.fml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ group PolioQRespToIMMZD1 ( source qr : QResp, target immz : IMMZD1) extends QRes
99

1010
qr.item as item then {
1111

12+
item.answer first as answer where item.linkId = 'birth' then {
13+
answer.value as content -> immz.birth = content "SetBirth";
14+
} "FirstAnswerForBirth";
15+
1216
item.answer first as answer where item.linkId = 'poliotype' then {
1317
answer.value as coding -> immz.poliotype = coding "SetPolioType";
1418
} "FirstAnswerForPolioType";

input/maps/IMMZD1QRToLM.fml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ group QRespToIMMZD1 ( source qr : QResp, target immz : IMMZD1) {
99

1010
qr.item as item then {
1111

12-
item.answer first as answer where item.linkId = 'birth' then {
13-
answer.value as content -> immz.birth = content "SetBirth";
14-
} "FirstAnswerForBirth";
15-
1612
item.answer as answer where item.linkId = 'type' then {
1713
answer.value as coding -> immz.type = coding "SetVaccineType";
1814
} "AnswerForType";

0 commit comments

Comments
 (0)