Skip to content

Commit

Permalink
Updated measles LM/questionnaire/structuremaps for updates to the D1 …
Browse files Browse the repository at this point in the history
…client history data dictionary in the DAK.
  • Loading branch information
lukeaduncan committed Jan 19, 2024
1 parent e813468 commit 34c9178
Show file tree
Hide file tree
Showing 28 changed files with 226 additions and 116 deletions.
37 changes: 21 additions & 16 deletions input/fsh/codesystems/IMMZ.D1.fsh
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
CodeSystem: IMMZ.D1
CodeSystem: IMMZ.D1
Title: "IMMZ.D1 CodeSystem for Data Elements"
Description: "CodeSystem for IMMZ.C Data Elements"
Description: "CodeSystem for IMMZ.D1 Data Elements"

* ^experimental = false
* ^caseSensitive = false
* ^name = "IMMZ_D1"

* #DE80 "Dose 0 administered" "Indicates if the client has received a birth dose and/or a zero dose"
* #DE95 "Booster dose administered" "Indicates if the client has received a booster dose and/or a supplementary dose"
* #DE109 "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."
* #DE103 "Type of dose" "The type of dose in a series that the client received "
* #DE104 "Primary series" "Indicates that the client received the primary vaccination series of a product/antigen. This is also applicable for antigens with one dose."
* #DE105 "Dose 0" "Indicates that the client received a dose of a product/ antigen within 24 hours of birth. This dose is not a part of the primary vaccination series."
* #DE106 "Supplementary dose" "Indicates that the client received a supplementary dose of a product/antigen"
* #DE107 "Booster dose" "Indicates that the client received booster dose of a product/antigen"
* #DE8 "Completed the primary vaccination series" "Indicates if the client has completed the primary vaccination series of a product/antigen. If the client has not yet completed their primary series, it means they may be expected to receive more doses to complete their vaccination regimen for the respective product/antigen."
* #DE102 "Completed the booster series" "Indicates if the client has completed the booster series of a product/antigen"
* #DE81 "Date when primary vaccination series was completed" "The date when the client completed the primary vaccination series (per product/antigen)"
* #DE10 "HIV status" "The current human immunodeficiency virus (HIV) status of the client"
* #DE11 "HIV-positive" "The client is known to be HIV positive"
Expand All @@ -19,7 +24,7 @@ Description: "CodeSystem for IMMZ.C Data Elements"
* #DE17 "Currently on ART" "The client is currently receiving antiretroviral therapy (ART)"
* #DE84 "Type of TB infection test performed" "The type of TB infection test performed"
* #DE85 "IGRA" "Interferon-gamma release assay (IGRA)"
* #DE86 "TST" "Tuberculin skin test (TST)"
* #DE86 "TST" "Tuberculin skin test (TST) "
* #DE87 "TB infection test result" "Records the result of the TB infection test"
* #DE88 "Positive" "Test result was positive"
* #DE89 "Negative" "Test result was negative"
Expand All @@ -29,11 +34,9 @@ Description: "CodeSystem for IMMZ.C Data Elements"
* #DE35 "Type of polio dose" "The type of the polio vaccine dose administered to the client"
* #DE36 "IPV" "Inactivated poliovirus vaccine (IPV)"
* #DE37 "bOPV" "Bivalent oral poliovirus vaccine (bOPV)"
* #DE38 "Age in years when client received first DTP dose" "The client's age in years when they received their first diphtheria-tetanus-pertussis (DTP) dose"
* #DE39 "Age in months when client received first Hib dose" "The client's age in months when they received their first Haemophilus influenzae type b (Hib) dose"
* #DE92 "Severely immunosuppressed" "The client is known to be severely immunocompromised or immunosuppressed"
* #DE92 "Severely immunosuppressed" "The client is known to be severely immunosuppressed"
* #DE49 "ART start date" "The date on which the client started or restarted antiretroviral therapy (ART)"
* #DE96 "High risk of pneumococcal infection" "The client is at high risk for pneumococcal infection because of underlying medical conditions (i.e. HIV infection or sickle-cell disease)"
* #DE96 "High risk of pneumococcal infection " "The client is at high risk for pneumococcal infection because of underlying medical conditions (i.e. HIV infection or sickle-cell disease)"
* #DE52 "Type of JE dose" "The type of Japanese encephalitis (JE) vaccine dose administered to the client"
* #DE53 "Inactivated Vero cell-derived vaccine" "Inactivated Vero cell-derived Japanese encephalitis (JE) vaccine type"
* #DE54 "Live attenuated vaccine" "Live attenuated Japanese encephalitis (JE) vaccine type"
Expand All @@ -49,7 +52,7 @@ Description: "CodeSystem for IMMZ.C Data Elements"
* #DE64 "Ty21a" "Ty21a vaccine"
* #DE65 "Type of cholera dose" "The type of cholera vaccine dose administered to the client"
* #DE66 "WC vaccine" "Killed whole cell (WC) only cholera vaccine"
* #DE67 "WC-rBS vaccine" "Vaccine contains a mixture of the recombinant B subunit (rBS) of cholera toxin plus killed whole cell (WC)"
* #DE67 "WC-rBS vaccine" "Vaccine contains a mixture of the recombinant B subunit (rBS) of cholera toxin plus killed whole cell (WC) "
* #DE68 "Type of meningococcal dose" "The type of meningococcal vaccine dose administered to the client"
* #DE69 "MenA conjugate vaccine (5µg)" "Monovalent serogroup A (MenA) conjugate vaccine (5µg) vaccine"
* #DE70 "Monovalent MenC conjugate" "Monovalent MenC conjugate vaccine"
Expand All @@ -59,10 +62,12 @@ Description: "CodeSystem for IMMZ.C Data Elements"
* #DE73 "Type of hepatitis A dose" "The type of hepatitis A vaccine dose administered to the client"
* #DE74 "Live attenuated hepatitis A vaccine" "Live attenuated hepatitis A vaccine"
* #DE75 "Inactivated hepatitis A vaccine" "Inactivated hepatitis A vaccine"
* #DE99 "Type of hepatitis B dose" "The type of hepatitis B vaccine dose administered to the client"
* #DE100 "Hepatitis B monovalent vaccine" "Hepatitis B monovalent vaccine"
* #DE101 "Hepatitis B combination vaccine" "Hepatitis B combination vaccine"
* #DE76 "VNA level" "Vaccine-induced neutralizing (VNA) antibody level. It is a measured as a serum antibody concentration amount observed from the result of the concentrated, purified cell culture and embryonated egg-based rabies vaccines (CCEEV)"
* #DE98 "Risk of occupational exposure to rabies virus" "Professional at risk of occupational exposure to rabies virus, particularly animal health-care workers. Also considered for medical professionals who regularly provide care to persons with rabies."
* #DE77 "Seronegative for dengue" "The client is known to be seronegative for dengue"
* #DE99 "Evidence of a past dengue infection" "There is evidence of a past dengue infection based on an antibody test or on a documented laboratory confirmed dengue infection in the past"

* #DE19 "Vaccine type" "Vaccine type/category that was administered or was to be administered. Any vaccine code available in the IMMZ.Z Vaccine Library list of codes applies in this data element"
* #DE20 "Date and time of vaccination" "Represents the visit/encounter date, which is the date and time when the vaccine was administered to the client"
* #DE98 "Risk of occupational exposure to rabies virus" "Professional at risk of occupational exposure to rabies virus, particularly animal health-care workers. Also considered for medical professionals who regularly provide care to persons with rabies. "
* #DE77 "Dengue serostatus" "Indicates the result of a serological test determining whether the client has antibodies against the dengue virus"
* #DE110 "Positive" "The client has detectable antibodies against the dengue virus, suggesting past exposure or vaccination"
* #DE111 "Negative" "The client does not have detectable antibodies, indicating no previous exposure or vaccination against the dengue virus"
* #DE112 "Unknown" "The client's dengue serostatus is unknown"
38 changes: 13 additions & 25 deletions input/fsh/conceptmaps/IMMZ.D1.ConceptMap.fsh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Instance: IMMZ.D1.ConceptMap
InstanceOf: ConceptMap
Instance: IMMZ.D1.ConceptMap
InstanceOf: ConceptMap
Description: "Mapping to and from IMMZ.D1 Data Dictionary to other codesystems."
Usage: #definition

* name = "IMMZ_D1_ConceptMap"
* title = "ConceptMap to and from IMMZ.D1 DataElements"
* status = #active
* experimental = false
* date = "2023-08-09"
* date = "2024-01-19"

* group[+]
* source = Canonical(IMMZ.D1)
Expand Down Expand Up @@ -40,8 +40,7 @@ Usage: #definition
* insert ElementMap(DE97, XM92B2, narrower)
* insert ElementMap(DE74, XM6LL6, wider)
* insert ElementMap(DE75, XM2A12, equivalent)


* insert ElementMap(DE100, XM9V38, relatedto)
* group[+]
* source = $ICD11
* target = Canonical(IMMZ.D1)
Expand Down Expand Up @@ -73,64 +72,54 @@ Usage: #definition
* insert ElementMap(XM92B2, DE97, wider)
* insert ElementMap(XM6LL6, DE74, narrower)
* insert ElementMap(XM2A12, DE75, equivalent)
* insert ElementMap(XM9V38, DE100, relatedto)



* group[+]
* source = Canonical(IMMZ.D1)
* target = $LNC
* insert ElementMap(DE11, 45683-0, equivalent)
* insert ElementMap(DE10, 55277-8, equivalent)
* insert ElementMap(DE92, 96381-9, relatedto)
* insert ElementMap(DE11, 45683-0, equivalent)
* insert ElementMap(DE15, 76517-2, equivalent)
* insert ElementMap(DE19, 39236-5, equivalent)
* insert ElementMap(DE20, 30952-6, equivalent)
* insert ElementMap(DE16, 96381-9, relatedto)
* insert ElementMap(DE85, 27415-9, wider)
* insert ElementMap(DE86, 39263-9, equivalent)
* insert ElementMap(DE88, 45241-7, relatedto)
* insert ElementMap(DE29, 8339-4, equivalent)

* insert ElementMap(DE92, 96381-9, relatedto)
* group[+]
* source = $LNC
* target = Canonical(IMMZ.D1)
* insert ElementMap(45683-0, DE11, equivalent)
* insert ElementMap(55277-8, DE10, equivalent)
* insert ElementMap(96381-9, DE92, relatedto)
* insert ElementMap(45683-0, DE11, equivalent)
* insert ElementMap(76517-2, DE15, equivalent)
* insert ElementMap(39236-5, DE19, equivalent)
* insert ElementMap(30952-6, DE20, equivalent)
* insert ElementMap(96381-9, DE16, relatedto)
* insert ElementMap(27415-9, DE85, narrower)
* insert ElementMap(39263-9, DE86, equivalent)
* insert ElementMap(45241-7, DE88, relatedto)
* insert ElementMap(8339-4, DE29, equivalent)


* insert ElementMap(96381-9, DE92, relatedto)

* group[+]
* source = Canonical(IMMZ.D1)
* target = $SCT
* insert ElementMap(DE12, 165815009, equivalent)
* insert ElementMap(DE10, 278977008, equivalent)
* insert ElementMap(DE11, 165816005, equivalent)
* insert ElementMap(DE12, 165815009, equivalent)
* insert ElementMap(DE13, 261665006, wider)
* insert ElementMap(DE10, 278977008, equivalent)
* insert ElementMap(DE15, 395507008, equivalent)
* insert ElementMap(DE16, 370388006, equivalent)
* insert ElementMap(DE85, 68311008, equivalent)
* insert ElementMap(DE86, 28163009, equivalent)
* insert ElementMap(DE88, 10828004, wider)
* insert ElementMap(DE89, 260385009, wider)
* insert ElementMap(DE36, 871740006, equivalent)


* group[+]
* source = $SCT
* target = Canonical(IMMZ.D1)
* insert ElementMap(165815009, DE12, equivalent)
* insert ElementMap(278977008, DE10, equivalent)
* insert ElementMap(165816005, DE11, equivalent)
* insert ElementMap(165815009, DE12, equivalent)
* insert ElementMap(261665006, DE13, narrower)
* insert ElementMap(278977008, DE10, equivalent)
* insert ElementMap(395507008, DE15, equivalent)
* insert ElementMap(370388006, DE16, equivalent)
* insert ElementMap(68311008, DE85, equivalent)
Expand All @@ -139,4 +128,3 @@ Usage: #definition
* insert ElementMap(260385009, DE89, narrower)
* insert ElementMap(871740006, DE36, equivalent)


2 changes: 1 addition & 1 deletion input/fsh/examples/IMMZ.D1.QuestionnaireResponse.1.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Usage: #example
* subject = Reference(patient123456)

* item[+]
* linkId = "dose0"
* linkId = "birth"
* answer.valueBoolean = false
* item[+]
* linkId = "booster"
Expand Down
5 changes: 4 additions & 1 deletion input/fsh/examples/IMMZ.D1.QuestionnaireResponse.2.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ Usage: #example
* subject = Reference(patient654321)

* item[+]
* linkId = "dose0"
* linkId = "birth"
* answer.valueBoolean = false
* item[+]
* linkId = "type"
* answer.valueCoding = IMMZ.D1#DE104
* item[+]
* linkId = "booster"
* answer.valueBoolean = false
Expand Down
8 changes: 7 additions & 1 deletion input/fsh/examples/IMMZ.D1.QuestionnaireResponse.3.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ Usage: #example
* subject = Reference(patient654321)

* item[+]
* linkId = "dose0"
* linkId = "birth"
* answer.valueBoolean = false
* item[+]
* linkId = "type"
* answer.valueCoding = IMMZ.D1#DE104
* item[+]
* linkId = "type"
* answer.valueCoding = IMMZ.D1#DE105
* item[+]
* linkId = "booster"
* answer.valueBoolean = false
Expand Down
21 changes: 12 additions & 9 deletions input/fsh/models/IMMZD1ClientHistoryMeasles.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ Description: "Data elements for the IMMZ.D1 Capture Client History Data Diction
* ^name = "IMMZ_D1_Client_History_Measles"

* patient 1..1 Reference "Patient" "The patient who is being checked for contraindications."
* dose0 0..1 boolean "Dose 0 administered" "Indicates if the client has received a birth dose and/or a zero dose"
* ^code[+] = IMMZ.D1#DE80
* booster 0..1 boolean "Booster dose administered" "Indicates if the client has received a booster dose and/or a supplementary dose"
* ^code[+] = IMMZ.D1#DE95
* 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."
* ^code[+] = IMMZ.D1#DE109
* type 0..* Coding "Type of dose" "The type of dose in a series that the client received"
* ^code[+] = IMMZ.D1#DE103
* type from IMMZ.D1.DE103
* completedPrimarySeries 0..1 boolean "Completed the primary vaccination series" "Indicates if the client has completed the primary vaccination series of a product/antigen. If the client has not yet completed their primary series, it means they may be expected to receive more doses to complete their vaccination regimen for the respective product/antigen."
* ^code[+] = IMMZ.D1#DE8
* dateSeriesCompleted 1..1 date "Date when primary vaccination series was completed" "The date when the client completed the primary vaccination series (per product/antigen)"
* booster 0..1 boolean "Completed the booster series" "Indicates if the client has completed the booster series of a product/antigen"
* ^code[+] = IMMZ.D1#DE102
* dateSeriesCompleted 0..1 date "Date when primary vaccination series was completed" "The date when the client completed the primary vaccination series (per product/antigen)"
* ^code[+] = IMMZ.D1#DE81
* hivStatus 0..1 Coding "HIV status" "The current human immunodeficiency virus (HIV) status of the client"
* ^code[+] = IMMZ.D1#DE10
* ^code[+] = $LNC#55277-8
* ^code[+] = $SCT#278977008
* hivStatus from IMMZ.D1.DE10
* pretermBirth 0..1 boolean "Preterm birth" "The infant was preterm, the mother gave birth to the infant when gestational age was less than 37 weeks"
* pretermBirth 0..1 boolean "Preterm birth" "The infant was preterm; the mother gave birth to the infant when gestational age was less than 37 weeks"
* ^code[+] = IMMZ.D1#DE15
* ^code[+] = $ICD11#KA21.4
* ^code[+] = $LNC#76517-2
Expand All @@ -33,14 +36,14 @@ Description: "Data elements for the IMMZ.D1 Capture Client History Data Diction
* severelyImmunosuppressed 1..1 boolean "Severely immunosuppressed" "The client is known to be severely immunocompromised or immunosuppressed"
* ^code[+] = IMMZ.D1#DE92
* ^code[=] = $LNC#96381-9
* artStartDate 1..1 date "ART start date" "The date on which the client started or restarted antiretroviral therapy (ART)"
* artStartDate 0..1 date "ART start date" "The date on which the client started or restarted antiretroviral therapy (ART)"
* ^code[+] = IMMZ.D1#DE49
* vaccineHistory 0..* BackboneElement "Vaccine History" "History of previous vaccine doses."
* vaccineType 0..1 Coding "Vaccine type" "Vaccine type/category that was administered or was to be administered. Any vaccine code available in the IMMZ.Z Vaccine Library list of codes applies in this data element"
* ^code[+] = IMMZ.D1#DE19
* ^code[+] = IMMZ.D#DE19
* ^code[+] = $LNC#39236-5
* ^code[+] = $SCT#787859002
* vaccineType from IMMZ.Z.DE9
* vaccineDate 0..1 date "Date and time of vaccination" "Represents the visit/encounter date, which is the date and time when the vaccine was administered to the client"
* ^code[+] = IMMZ.D1#DE20
* ^code[+] = IMMZ.D#DE20
* ^code[+] = $LNC#30952-6
49 changes: 49 additions & 0 deletions input/fsh/models/IMMZD1ClientHistoryYellowFever.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Logical: IMMZD1ClientHistoryYellowFever
Title: "IMMZ.D1 Capture Client History for Yellow Fever"
Description: "Data elements for the IMMZ.D1 Capture Client History Data Dictionary for Yellow Fever."

* ^name = "IMMZ_D1_Client_History_YellowFever"

* patient 1..1 Reference "Patient" "The patient who is being checked for contraindications."
* 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."
* ^code[+] = IMMZ.D1#DE109
* type 1..* Coding "Type of dose" "The type of dose in a series that the client received"
* ^code[+] = IMMZ.D1#DE103
* type from IMMZ.D1.DE103
* completedPrimarySeries 0..1 boolean "Completed the primary vaccination series" "Indicates if the client has completed the primary vaccination series of a product/antigen. If the client has not yet completed their primary series, it means they may be expected to receive more doses to complete their vaccination regimen for the respective product/antigen."
* ^code[+] = IMMZ.D1#DE8
* booster 0..1 boolean "Completed the booster series" "Indicates if the client has completed the booster series of a product/antigen"
* ^code[+] = IMMZ.D1#DE102
* dateSeriesCompleted 1..1 date "Date when primary vaccination series was completed" "The date when the client completed the primary vaccination series (per product/antigen)"
* ^code[+] = IMMZ.D1#DE81
* hivStatus 0..1 Coding "HIV status" "The current human immunodeficiency virus (HIV) status of the client"
* ^code[+] = IMMZ.D1#DE10
* ^code[+] = $LNC#55277-8
* ^code[+] = $SCT#278977008
* hivStatus from IMMZ.D1.DE10
* pretermBirth 0..1 boolean "Preterm birth" "The infant was preterm; the mother gave birth to the infant when gestational age was less than 37 weeks"
* ^code[+] = IMMZ.D1#DE15
* ^code[+] = $ICD11#KA21.4
* ^code[+] = $LNC#76517-2
* ^code[+] = $SCT#395507008
* immunocompromised 0..1 boolean "Immunocompromised" "The client is known to be immunocompromised. This means the client has a weakened immune system and having a reduced ability to fight infections and other diseases"
* ^code[+] = IMMZ.D1#DE16
* ^code[+] = $ICD11#4B4Z
* ^code[+] = $LNC#96381-9
* ^code[+] = $SCT#370388006
* onART 0..1 boolean "Currently on ART" "The client is currently receiving antiretroviral therapy (ART)"
* ^code[+] = IMMZ.D1#DE17
* severelyImmunosuppressed 1..1 boolean "Severely immunosuppressed" "The client is known to be severely immunocompromised or immunosuppressed"
* ^code[+] = IMMZ.D1#DE92
* ^code[=] = $LNC#96381-9
* artStartDate 1..1 date "ART start date" "The date on which the client started or restarted antiretroviral therapy (ART)"
* ^code[+] = IMMZ.D1#DE49
* vaccineHistory 0..* BackboneElement "Vaccine History" "History of previous vaccine doses."
* vaccineType 0..1 Coding "Vaccine type" "Vaccine type/category that was administered or was to be administered. Any vaccine code available in the IMMZ.Z Vaccine Library list of codes applies in this data element"
* ^code[+] = IMMZ.D#DE19
* ^code[+] = $LNC#39236-5
* ^code[+] = $SCT#787859002
* vaccineType from IMMZ.Z.DE9
* vaccineDate 0..1 date "Date and time of vaccination" "Represents the visit/encounter date, which is the date and time when the vaccine was administered to the client"
* ^code[+] = IMMZ.D#DE20
* ^code[+] = $LNC#30952-6
2 changes: 1 addition & 1 deletion input/fsh/models/IMMZD5CheckContraindications.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Logical: IMMZ5CheckContraindications
Logical: IMMZD5CheckContraindications
Title: "IMMZ.D5 Check Contraindications"
Description: "Data elements for the IMMZ.D5 Check Contraindications Data Dictionary."

Expand Down
Loading

0 comments on commit 34c9178

Please sign in to comment.