lib/fhir_models/examples/json/medicationstatementexample1.json in fhir_models-1.8.3 vs lib/fhir_models/examples/json/medicationstatementexample1.json in fhir_models-3.0.1
- old
+ new
@@ -1,11 +1,11 @@
{
"resourceType": "MedicationStatement",
"id": "example001",
"text": {
"status": "generated",
- "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example001</p><p><b>contained</b>: </p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>medication</b>: id: med0309; Tylenol PM <span>(Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '50580-506-02', given as 'Tylenol PM'})</span>; isBrand</p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>effective</b>: Jan 23, 2015</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>derivedFrom</b>: <a>MedicationRequest/medrx002</a></p><p><b>dateAsserted</b>: Feb 22, 2015</p><p><b>notTaken</b>: n</p><p><b>reasonForUseCodeableConcept</b>: Restless Legs <span>(Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</p><p><b>category</b>: community</p><p><b>dosage</b>: </p></div>"
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example001</p><p><b>contained</b>: </p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>category</b>: Inpatient <span>(Details : {http://hl7.org/fhir/medication-statement-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})</span></p><p><b>medication</b>: id: med0309; Tylenol PM <span>(Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '50580-506-02', given as 'Tylenol PM'})</span>; isBrand; Film-coated tablet (qualifier value) <span>(Details : {SNOMED CT code '385057009' = 'Film-coated tablet', given as 'Film-coated tablet (qualifier value)'})</span></p><p><b>effective</b>: Jan 23, 2015</p><p><b>dateAsserted</b>: Feb 22, 2015</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>derivedFrom</b>: <a>MedicationRequest/medrx002</a></p><p><b>taken</b>: n</p><p><b>reasonCode</b>: Restless Legs <span>(Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</p><p><b>dosage</b>: </p></div>"
},
"contained": [
{
"resourceType": "Medication",
"id": "med0309",
@@ -17,68 +17,68 @@
"display": "Tylenol PM"
}
]
},
"isBrand": true,
- "product": {
- "form": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "385057009",
- "display": "Film-coated tablet (qualifier value)"
- }
- ]
- },
- "ingredient": [
+ "form": {
+ "coding": [
{
- "itemCodeableConcept": {
- "coding": [
- {
- "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
- "code": "315266",
- "display": "Acetaminophen 500 MG"
- }
- ]
- },
- "amount": {
- "numerator": {
- "value": 500,
- "system": "http://unitsofmeasure.org",
- "code": "mg"
- },
- "denominator": {
- "value": 1,
- "system": "http://hl7.org/fhir/v3/orderableDrugForm",
- "code": "Tab"
+ "system": "http://snomed.info/sct",
+ "code": "385057009",
+ "display": "Film-coated tablet (qualifier value)"
+ }
+ ]
+ },
+ "ingredient": [
+ {
+ "itemCodeableConcept": {
+ "coding": [
+ {
+ "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
+ "code": "315266",
+ "display": "Acetaminophen 500 MG"
}
- }
+ ]
},
- {
- "itemCodeableConcept": {
- "coding": [
- {
- "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
- "code": "901813",
- "display": "Diphenhydramine Hydrochloride 25 mg"
- }
- ]
+ "amount": {
+ "numerator": {
+ "value": 500,
+ "system": "http://unitsofmeasure.org",
+ "code": "mg"
},
- "amount": {
- "numerator": {
- "value": 25,
- "system": "http://unitsofmeasure.org",
- "code": "mg"
- },
- "denominator": {
- "value": 1,
- "system": "http://hl7.org/fhir/v3/orderableDrugForm",
- "code": "Tab"
+ "denominator": {
+ "value": 1,
+ "system": "http://hl7.org/fhir/v3/orderableDrugForm",
+ "code": "Tab"
+ }
+ }
+ },
+ {
+ "itemCodeableConcept": {
+ "coding": [
+ {
+ "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
+ "code": "901813",
+ "display": "Diphenhydramine Hydrochloride 25 mg"
}
+ ]
+ },
+ "amount": {
+ "numerator": {
+ "value": 25,
+ "system": "http://unitsofmeasure.org",
+ "code": "mg"
+ },
+ "denominator": {
+ "value": 1,
+ "system": "http://hl7.org/fhir/v3/orderableDrugForm",
+ "code": "Tab"
}
}
- ],
+ }
+ ],
+ "package": {
"batch": [
{
"lotNumber": "9494788",
"expirationDate": "2017-05-22"
}
@@ -92,30 +92,39 @@
"system": "http://www.bmc.nl/portal/medstatements",
"value": "12345689"
}
],
"status": "active",
+ "category": {
+ "coding": [
+ {
+ "system": "http://hl7.org/fhir/medication-statement-category",
+ "code": "inpatient",
+ "display": "Inpatient"
+ }
+ ]
+ },
"medicationReference": {
"reference": "#med0309"
},
- "subject": {
+ "effectiveDateTime": "2015-01-23",
+ "dateAsserted": "2015-02-22",
+ "informationSource": {
"reference": "Patient/pat1",
"display": "Donald Duck"
},
- "effectiveDateTime": "2015-01-23",
- "informationSource": {
+ "subject": {
"reference": "Patient/pat1",
"display": "Donald Duck"
},
"derivedFrom": [
{
"reference": "MedicationRequest/medrx002"
}
],
- "dateAsserted": "2015-02-22",
- "notTaken": "n",
- "reasonForUseCodeableConcept": [
+ "taken": "n",
+ "reasonCode": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "32914008",
@@ -127,16 +136,15 @@
"note": [
{
"text": "Patient indicates they miss the occasional dose"
}
],
- "category": "community",
"dosage": [
{
"sequence": 1,
"text": "1-2 tablets once daily at bedtime as needed for restless legs",
- "additionalInstructions": [
+ "additionalInstruction": [
{
"text": "Taking at bedtime"
}
],
"timing": {
@@ -166,16 +174,16 @@
},
"doseRange": {
"low": {
"value": 1,
"unit": "TAB",
- "system": "http://hl7.org/fhir/ValueSet/v3-orderableDrugForm",
+ "system": "http://hl7.org/fhir/v3/orderableDrugForm",
"code": "TAB"
},
"high": {
"value": 2,
"unit": "TAB",
- "system": "http://hl7.org/fhir/ValueSet/v3-orderableDrugForm",
+ "system": "http://hl7.org/fhir/v3/orderableDrugForm",
"code": "TAB"
}
}
}
]
\ No newline at end of file