forked from google/android-fhir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading workerContext using the Knowledge manager (google#2449)
* wip * spotless * Added test in ResourceMapperTest using measles outbreak package * feedback * spotless * updated kdoc --------- Co-authored-by: Madhuram Jajoo <madhuramjajoo10@gmail.com>
- Loading branch information
Showing
11 changed files
with
2,454 additions
and
33 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
14 changes: 14 additions & 0 deletions
14
datacapture/sampledata/measles-outbreak/MeaslesQuestionnaireToResources.map
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 @@ | ||
map "http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToResources" = "MeaslesQuestionnaireToResources" | ||
uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source | ||
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias MeaslesCIFBundle as target | ||
|
||
imports "http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesLogicalModelToResources" | ||
imports "http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToLogicalModel" | ||
|
||
|
||
group MeaslesQuestionnaireToResources(source qr : QuestionnaireResponse, target bundleCif : MeaslesCIFBundle) { | ||
qr -> create ("http://worldhealthorganization.github.io/smart-ot/StructureDefinition/SOTMeasles") as model then { | ||
qr -> model then MeaslesQuestionnaireToLogicalModel(qr,model) "QRtoLM"; | ||
qr -> bundleCif then MeaslesLogicalModelToResources (model, bundleCif) "LMtoBundle"; | ||
} "QRtoBundle"; | ||
} |
Binary file not shown.
Binary file not shown.
1,019 changes: 1,019 additions & 0 deletions
1,019
datacapture/sampledata/measles-outbreak/questionnaire_outbreak.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.