Skip to content

Instantly share code, notes, and snippets.

@mustmodify
Last active August 29, 2018 19:09
Show Gist options
  • Save mustmodify/d714ad163ffc25addc7c4ed33c7dcd7e to your computer and use it in GitHub Desktop.
Save mustmodify/d714ad163ffc25addc7c4ed33c7dcd7e to your computer and use it in GitHub Desktop.
[
{
"resourceType" : "Medication",
"code" : {
"text": "Norditropin FlexPro Pen 5mg/1.5ml in a blah blah",
"coding": [
{
"system": "http://formulary.mqrx.com/",
"code": "MQRX2135721",
"display": "Norditropin FlexPro 5mg/1.5ml"
},
// optional:
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "847247",
"display": "Norditropin 5 MG per 1.5 ML Pen Injector"
}
]
},
"isBrand" : false,
"isOverTheCounter" : false,
"manufacturer" : { Reference(Organization) },
"form" : { CodeableConcept }, // powder | tablets | capsule +
"ingredient" : [{ // Active or inactive ingredient
// item[x]: The product contained. One of these 2:
"itemCodeableConcept" : { CodeableConcept },
"itemReference" : { Reference(Substance|Medication) },
"isActive" : <boolean>, // Active ingredient indicator
"amount" : { Ratio } // Quantity of ingredient present
}],
"package" : { // Details about packaged medications
"container" : { CodeableConcept }, // E.g. box, vial, blister-pack
"content" : [{ // What is in the package
// item[x]: The item in the package. One of these 2:
"itemCodeableConcept" : { CodeableConcept },
"itemReference" : { Reference(Medication) },
"amount" : { Quantity(SimpleQuantity) } // Quantity present in the package
}],
},
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment