-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added in structuremap for D1 and D13. Refactored to reuse duplicated …
…FML code. Added some representative examples for D13.
- Loading branch information
1 parent
c4d2197
commit 6163d5d
Showing
17 changed files
with
636 additions
and
257 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Instance: IMMZ.C.Patient.2 | ||
InstanceOf: IMMZPatient | ||
Usage: #example | ||
|
||
* identifier.value = "12345-ZA" | ||
* name[immzName] | ||
* text = "Zanele Mbeki" | ||
* family = "Mbeki" | ||
* given[+] = "Zanele" | ||
* gender = #male | ||
* birthDate = "1998-09-22" | ||
* address.text = "123 Main Street, Cape Town, Western Cape, 8001, ZA" | ||
* telecom[immzPhone] | ||
* system = #phone | ||
* value = "+27 21 465 8000" |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Instance: Example.IMMZ.D13.QuestionnaireResponse.BCG | ||
InstanceOf: QuestionnaireResponse | ||
Usage: #example | ||
* status = #completed | ||
* authored = "2025-01-30T19:20:20.913Z" | ||
* questionnaire = Canonical(QIMMZD13) | ||
* subject = Reference(IMMZ.C.Patient.1) | ||
|
||
* insert QRItem( Coding, typeOfDose, IMMZ.D#DE259 "Primary series" ) | ||
* insert QRItem( Boolean, completedThePrimaryVaccinationSeries, true ) | ||
* insert QRItem( Boolean, completedTheBoosterSeries, false ) | ||
* insert QRItem( Date, dateWhenPrimaryVaccinationSeriesWasCompleted, "2020-07-01" ) | ||
* insert QRItem( Coding, hivStatus, IMMZ.D#DE206 "HIV-negative" ) | ||
* insert QRItem( Coding, vaccineType, IMMZ.Z#DE1 "BCG vaccines" ) | ||
* insert QRItem( DateTime, dateAndTimeOfVaccination, "2020-07-01") | ||
* insert QRItem( Date, contactDate, "2020-07-01" ) | ||
* insert QRItem( Integer, doseNumber, 1 ) | ||
* insert QRItem( Coding, immunizationEventStatus, IMMZ.D#DE2 "Completed" ) | ||
* insert QRItem( Coding, vaccineBrand, IMMZ.Ex#brand "Example Brand" ) | ||
* insert QRItem( Boolean, liveVaccine, true ) | ||
* insert QRItem( Coding, countryOfVaccination, urn:iso:std:iso:3166#ZAF "South Africa" ) | ||
* insert QRItem( Coding, administrativeArea, urn:iso:std:iso:3166-2#ZA-WC "Western Cape" ) | ||
* insert QRItem( Coding, vaccineManufacturer, IMMZ.Ex#manufacturer "Example Manufacturer" ) | ||
* insert QRItem( String, vaccineBatchNumber, "148734" ) | ||
* insert QRItem( Coding, vaccineMarketAuthorizationHolder, IMMZ.Ex#marketauth "Example Market Authorization Holder" ) | ||
* insert QRItem( Date, expirationDate, "2022-01-01" ) | ||
* insert QRItem( Quantity, doseQuantity, 0.05 'mL') | ||
* insert QRItem( String, healthWorkerIdentifier, "8723487" ) | ||
* insert QRItem( Decimal, totalDosesInSeries, 1 ) | ||
* insert QRItem( Coding, diseaseTargeted, IMMZ.D#DE139 "Tuberculosis" ) |
26 changes: 26 additions & 0 deletions
26
input/fsh/examples/IMMZ.D13.QuestionnaireResponse.Measles.2.fsh
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,26 @@ | ||
Instance: Example.IMMZ.D13.QuestionnaireResponse.Measles.2 | ||
InstanceOf: QuestionnaireResponse | ||
Usage: #example | ||
* status = #completed | ||
* authored = "2025-01-30T19:20:20.913Z" | ||
* questionnaire = Canonical(QIMMZD13) | ||
* subject = Reference(IMMZ.C.Patient.1) | ||
|
||
* insert QRItem( Coding, typeOfDose, IMMZ.D#DE259 "Primary series" ) | ||
* insert QRItem( Boolean, completedThePrimaryVaccinationSeries, false ) | ||
* insert QRItem( Boolean, completedTheBoosterSeries, false ) | ||
* insert QRItem( Coding, hivStatus, IMMZ.D#DE205 "HIV-positive" ) | ||
* insert QRItem( Coding, vaccineType, IMMZ.Z#DE9 "Measles-containing vaccines" ) | ||
* insert QRItem( DateTime, dateAndTimeOfVaccination, "2021-03-01") | ||
* insert QRItem( Date, contactDate, "2021-03-01" ) | ||
* insert QRItem( Integer, doseNumber, 1 ) | ||
* insert QRItem( Coding, immunizationEventStatus, IMMZ.D#DE4 "Not done" ) | ||
* insert QRItem( Coding, reasonVaccineWasNotAdministered, IMMZ.D#DE17 "Immunization not carried out for other reasons" ) | ||
* insert QRItem( Coding, vaccineBrand, IMMZ.Ex#brand "Example Brand" ) | ||
* insert QRItem( Coding, countryOfVaccination, urn:iso:std:iso:3166#ZAF "South Africa" ) | ||
* insert QRItem( Coding, vaccineManufacturer, IMMZ.Ex#manufacturer "Example Manufacturer" ) | ||
* insert QRItem( Coding, vaccineMarketAuthorizationHolder, IMMZ.Ex#marketauth "Example Market Authorization Holder" ) | ||
* insert QRItem( String, healthWorkerIdentifier, "8723487" ) | ||
* insert QRItem( Decimal, totalDosesInSeries, 2 ) | ||
* insert QRItem( Coding, diseaseTargeted, IMMZ.D#DE129 "Measles" ) | ||
* insert QRItem( Date, dueDateOfNextDose, "2021-04-01" ) |
30 changes: 30 additions & 0 deletions
30
input/fsh/examples/IMMZ.D13.QuestionnaireResponse.Measles.fsh
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,30 @@ | ||
Instance: Example.IMMZ.D13.QuestionnaireResponse.Measles | ||
InstanceOf: QuestionnaireResponse | ||
Usage: #example | ||
* status = #completed | ||
* authored = "2025-01-30T19:20:20.913Z" | ||
* questionnaire = Canonical(QIMMZD13) | ||
* subject = Reference(IMMZ.C.Patient.1) | ||
|
||
* insert QRItem( Coding, typeOfDose, IMMZ.D#DE259 "Primary series" ) | ||
* insert QRItem( Boolean, completedThePrimaryVaccinationSeries, false ) | ||
* insert QRItem( Boolean, completedTheBoosterSeries, false ) | ||
* insert QRItem( Coding, hivStatus, IMMZ.D#DE205 "HIV-positive" ) | ||
* insert QRItem( Coding, vaccineType, IMMZ.Z#DE9 "Measles-containing vaccines" ) | ||
* insert QRItem( DateTime, dateAndTimeOfVaccination, "2021-04-01") | ||
* insert QRItem( Date, contactDate, "2021-04-01" ) | ||
* insert QRItem( Integer, doseNumber, 1 ) | ||
* insert QRItem( Coding, immunizationEventStatus, IMMZ.D#DE2 "Completed" ) | ||
* insert QRItem( Coding, vaccineBrand, IMMZ.Ex#brand "Example Brand" ) | ||
* insert QRItem( Boolean, liveVaccine, true ) | ||
* insert QRItem( Coding, countryOfVaccination, urn:iso:std:iso:3166#ZAF "South Africa" ) | ||
* insert QRItem( Coding, administrativeArea, urn:iso:std:iso:3166-2#ZA-WC "Western Cape" ) | ||
* insert QRItem( Coding, vaccineManufacturer, IMMZ.Ex#manufacturer "Example Manufacturer" ) | ||
* insert QRItem( String, vaccineBatchNumber, "454981" ) | ||
* insert QRItem( Coding, vaccineMarketAuthorizationHolder, IMMZ.Ex#marketauth "Example Market Authorization Holder" ) | ||
* insert QRItem( Date, expirationDate, "2024-01-01" ) | ||
* insert QRItem( Quantity, doseQuantity, 0.5 'mL') | ||
* insert QRItem( String, healthWorkerIdentifier, "8723487" ) | ||
* insert QRItem( Decimal, totalDosesInSeries, 2 ) | ||
* insert QRItem( Coding, diseaseTargeted, IMMZ.D#DE129 "Measles" ) | ||
* insert QRItem( Date, dueDateOfNextDose, "2021-10-01" ) |
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
Oops, something went wrong.