Skip to content

Commit

Permalink
Update medicalrequest activitydefinition so it now runs, but the dyna…
Browse files Browse the repository at this point in the history
…micValues are failing.
  • Loading branch information
lukeaduncan committed Sep 27, 2023
1 parent e6f82dd commit 7239583
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
32 changes: 22 additions & 10 deletions input/resources/activitydefinition/IMMZ.DT.08.Measles.MR.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"resourceType": "ActivityDefinition",
"id": "IMMZ.DT.08.Measles.MR",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-immunizationactivity"
]
},
"url": "http://fhir.org/guides/who/smart-immunization/ActivityDefinition/IMMZ.DT.08.Measles.MR",
"version": "0.1.0",
"title": "IMMZ.DT.08.Measles.MR",
Expand All @@ -25,14 +20,31 @@
],
"description": "Provide measles immunization",
"kind": "MedicationRequest",
"code": {
"intent": "proposal",
"productCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "33879002",
"display": "Administration of vaccine to produce active immunity"
"system": "http://id.who.int/icd/release/11/mms",
"code": "XN186",
"display": "Measles virus"
}
]
},
"intent": "proposal"
"doNotPerform": true,
"dynamicValue": [
{
"path" : "status",
"expression" : {
"language" : "text/cql-expression",
"expression" : "'draft'"
}
},
{
"path" : "intent",
"expression" : {
"language" : "text/cql-expression",
"expression" : "'proposal'"
}
}
]
}
5 changes: 0 additions & 5 deletions input/resources/activitydefinition/IMMZ.DT.08.Measles.SR.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"resourceType": "ActivityDefinition",
"id": "IMMZ.DT.08.Measles.SR",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-immunizationactivity"
]
},
"url": "http://fhir.org/guides/who/smart-immunization/ActivityDefinition/IMMZ.DT.08.Measles.SR",
"version": "0.1.0",
"title": "IMMZ.DT.08.Measles.SR",
Expand Down

0 comments on commit 7239583

Please sign in to comment.