{
"id": "medications",
"type": "array",
"items": {
"$ref": "medication"
}
}
{
"id": "medication",
"type": "object",
"properties": {
"date_time": {
"$ref": "cda_date"
},
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"sig": {
"type": "string"
},
"status": {
"type": "string"
},
"is_brand": {
"type": "boolean"
},
"administration": {
"type": "object",
"properties": {
"dose": {
"$ref": "cda_physical_quantity"
},
"form": {
"$ref": "cda_coded_entry"
},
"rate": {
"$ref": "cda_physical_quantity"
},
"route": {
"$ref": "cda_coded_entry"
},
"dose_restriction": {
"$ref": "cda_physical_quantity"
},
"site": {
"$ref": "cda_coded_entry"
},
"interval": {
"type": "object",
"properties": {
"xsiType": {
"type": "string"
},
"phase": {
"$ref": "cda_date"
},
"period": {
"$ref": "cda_physical_quantity"
},
"frequency": {
"type": "boolean"
},
"alignment": {
"type": "string"
},
"event": {
"type": "string"
},
"event_offset": {
"type": "object",
"properties": {
"low": {
"$ref": "cda_physical_quantity"
},
"high": {
"$ref": "cda_physical_quantity"
},
"center": {
"$ref": "cda_physical_quantity"
},
"width": {
"$ref": "cda_physical_quantity"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"minProperties": 1
},
"precondition": {
"type": "object",
"properties": {
"code": {
"$ref": "cda_coded_entry"
},
"value": {
"$ref": "cda_coded_entry"
}
},
"additionalProperties": false
},
"product": {
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"product": {
"$ref": "cda_coded_entry"
},
"unencoded_name": {
"type": "string"
},
"manufacturer": {
"type": "string"
}
},
"additionalProperties": false,
"minProperties": 1,
"required": [
"product"
]
},
"supply": {
"type": "object",
"properties": {
"date_time": {
"$ref": "cda_date"
},
"repeatNumber": {
"type": "string"
},
"quantity": {
"type": "string"
},
"instructions": {
"type": "object",
"properties": {
"code": {
"$ref": "cda_coded_entry"
},
"free_text": {
"type": "string"
}
},
"additionalProperties": false
},
"author": {
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"date_time": {
"$ref": "cda_date"
},
"name": {
"$ref": "cda_name"
},
"organization": {
"$ref": "cda_organization"
}
},
"additionalProperties": false
},
"product": {
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"product": {
"$ref": "cda_coded_entry"
},
"unencoded_name": {
"type": "string"
},
"manufacturer": {
"type": "string"
}
},
"additionalProperties": false,
"minProperties": 1,
"required": [
"product"
]
}
},
"additionalProperties": false
},
"indication": {
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"code": {
"$ref": "cda_coded_entry"
},
"date_time": {
"$ref": "cda_date"
},
"value": {
"$ref": "cda_coded_entry"
}
},
"additionalProperties": false
},
"performer": {
"$ref": "cda_performer"
},
"drug_vehicle": {
"$ref": "cda_coded_entry"
},
"dispense": {
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"performer": {
"$ref": "cda_performer"
},
"product": {
"type": "object",
"properties": {
"identifiers": {
"type": "array",
"items": {
"$ref": "cda_id"
},
"minItems": 1
},
"product": {
"$ref": "cda_coded_entry"
},
"unencoded_name": {
"type": "string"
},
"manufacturer": {
"type": "string"
}
},
"additionalProperties": false,
"minProperties": 1,
"required": [
"product"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"minProperties": 1,
"required": [
"product",
"status"
]
}
{
"date_time": {
"low": {
"date": "2007-01-03T00:00:00.000Z",
"precision": "day"
},
"high": {
"date": "2012-05-15T00:00:00.000Z",
"precision": "day"
}
},
"identifiers": [
{
"identifier": "cdbd33f0-6cde-11db-9fe1-0800200c9a66"
}
],
"status": "Completed",
"sig": "Proventil HFA",
"product": {
"identifiers": [
{
"identifier": "2a620155-9d11-439e-92b3-5d9815ff4ee8"
}
],
"unencoded_name": "Proventil HFA",
"product": {
"name": "Proventil HFA",
"code": "219483",
"translations": [
{
"name": "Proventil 0.09 MG/ACTUAT inhalant solution",
"code": "573621",
"code_system_name": "RXNORM"
}
],
"code_system_name": "RXNORM"
},
"manufacturer": "Medication Factory Inc."
},
"supply": {
"date_time": {
"low": {
"date": "2007-01-03T00:00:00.000Z",
"precision": "day"
}
},
"repeatNumber": "1",
"quantity": "75",
"author": {
"identifiers": [
{
"identifier": "2a620155-9d11-439e-92b3-5d9815fe4de8"
}
],
"name": {
"prefix": "Dr.",
"last": "Seven",
"first": "Henry"
}
},
"instructions": {
"code": {
"name": "instruction",
"code": "409073007",
"code_system_name": "SNOMED CT"
},
"free_text": "label in spanish"
},
"product": {
"identifiers": [
{
"identifier": "2a620155-9d11-439e-92b3-5d9815ff4ee8"
}
],
"unencoded_name": "Proventil HFA",
"product": {
"name": "Proventil 0.09 MG/ACTUAT inhalant solution",
"code": "573621",
"translations": [
{
"name": "Proventil 0.09 MG/ACTUAT inhalant solution",
"code": "573621",
"code_system_name": "RXNORM"
}
],
"code_system_name": "RXNORM"
},
"manufacturer": "Medication Factory Inc."
}
},
"administration": {
"route": {
"name": "RESPIRATORY (INHALATION)",
"code": "C38216",
"code_system_name": "Medication Route FDA"
},
"form": {
"name": "INHALANT",
"code": "C42944",
"code_system_name": "Medication Route FDA"
},
"dose": {
"value": 1,
"unit": "mg/actuat"
},
"rate": {
"value": 90,
"unit": "ml/min"
},
"interval": {
"period": {
"value": 6,
"unit": "h"
},
"frequency": true
}
},
"performer": {
"organization": [
{
"identifiers": [
{
"identifier": "2.16.840.1.113883.19.5.9999.1393"
}
],
"name": [
"Community Health and Hospitals"
]
}
]
},
"drug_vehicle": {
"name": "Aerosol",
"code": "324049",
"code_system_name": "RXNORM"
},
"precondition": {
"code": {
"code": "ASSERTION",
"code_system_name": "ActCode"
},
"value": {
"name": "Wheezing",
"code": "56018004",
"code_system_name": "SNOMED CT"
}
},
"indication": {
"identifiers": [
{
"identifier": "db734647-fc99-424c-a864-7e3cda82e703",
"extension": "45665"
}
],
"code": {
"name": "Finding",
"code": "404684003",
"code_system_name": "SNOMED CT"
},
"date_time": {
"low": {
"date": "2007-01-03T00:00:00.000Z",
"precision": "day"
}
},
"value": {
"name": "Pneumonia",
"code": "233604007",
"code_system_name": "SNOMED CT"
}
},
"dispense": {
"identifiers": [
{
"identifier": "1.2.3.4.56789.1",
"extension": "cb734647-fc99-424c-a864-7e3cda82e704"
}
],
"performer": {
"identifiers": [
{
"identifier": "2.16.840.1.113883.19.5.9999.456",
"extension": "2981823"
}
],
"address": [
{
"street_lines": [
"1001 Village Avenue"
],
"city": "Portland",
"state": "OR",
"zip": "99123",
"country": "US"
}
],
"organization": [
{
"identifiers": [
{
"identifier": "2.16.840.1.113883.19.5.9999.1393"
}
],
"name": [
"Community Health and Hospitals"
]
}
]
},
"product": {
"identifiers": [
{
"identifier": "2a620155-9d11-439e-92b3-5d9815ff4ee8"
}
],
"unencoded_name": "Proventil HFA",
"product": {
"name": "Proventil 0.09 MG/ACTUAT inhalant solution",
"code": "573621",
"translations": [
{
"name": "Proventil 0.09 MG/ACTUAT inhalant solution",
"code": "573621",
"code_system_name": "RXNORM"
}
],
"code_system_name": "RXNORM"
},
"manufacturer": "Medication Factory Inc."
}
}
}