"identifier":
"code": {
"text": "Amoxicillin 250mg/5ml Suspension"
}
"status":
"manufacturer":
"form":
"amount":
"ingredient":
"batch":
{
"resourceType": "Medication",
"id": "medicationexample1",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Amoxicillin 250mg/5ml Suspension</div>"
},
"code": {
"text": "Amoxicillin 250mg/5ml Suspension"
}
}
{
"resourceType" : "Medication",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // Business identifier for this medication
"code" : { CodeableConcept }, // Codes that identify this medication
"status" : "<code>", // active | inactive | entered-in-error
"manufacturer" : { Reference(Organization) }, // Manufacturer of the item
"form" : { CodeableConcept }, // powder | tablets | capsule +
"amount" : { Ratio }, // Amount of drug in package
"ingredient" : [{ // Active or inactive ingredient
// item[x]: The actual ingredient or content. One of these 2:
"itemCodeableConcept" : { CodeableConcept },
"itemReference" : { Reference(Substance|Medication) },
"isActive" : <boolean>, // Active ingredient indicator
"strength" : { Ratio } // Quantity of ingredient present
}],
"batch" : { // Details about packaged medications
"lotNumber" : "<string>", // Identifier assigned to batch
"expirationDate" : "<dateTime>" // When batch will expire
}
}
The following search parameters can be used to query Medication resources. Just submit them like so:
https://api.1up.health/fhir/r4/Medication?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
code | text | code |
expiration-date | date | batch.expirationDate |
form | text | form |
identifier | text | identifier |
ingredient | reference | ingredient.item |
ingredient-code | text | ingredient.item |
lot-number | text | batch.lotNumber |
manufacturer | reference | manufacturer |
status | text | status |