If this is a question about an error or issue you are seeing, please fill out the following fields:
- Issue Summary: (include links to documentation, and describe what you've tried so far. Do NOT include request or response bodies unless this is from our public sandbox)
I have a SMART app that uses the `MedicationStatement` data structure, and am looking to move towards using the newer `MedicationAdministration` data structure. In the sandbox, patients (for example, Connie smart) have the following data for a dose of vancomycin:
```
{
"text": "100 mg, 10 mL/hr, IV, q12hr",
"_text": {
"extension": [
{
"valueString": "10 Milliliter/hour Intravenous every 12 hours for 6 Days. Refills: 0."
}
]
},
"timing": {
"repeat": {
"boundsQuantity": {
"value": 6,
"unit": "days",
"code": "d"
},
"duration": 10.0,
"durationUnits": "h"
},
"code": {
"text": "q12hr"
}
},
"route": {
"coding": [
{
"code": "C38276",
"display": "INTRAVENOUS",
"userSelected": false
},
{
"code": "47625008",
"display": "Intravenous route (qualifier value)",
"userSelected": false
}
],
"text": "IV"
},
"quantityQuantity": {
"value": 100.0,
"unit": "mL",
"code": "mL"
},
"rateRatio": {
"numerator": {
"value": 100.0,
"unit": "mL",
"code": "mL"
},
"denominator": {
"value": 10.0,
"unit": "hr",
"code": "h"
}
}
}
```
Lots of information, include the duration of each dose under the `timing` key, how much / hour using the `rateRatio` and so on.
Looking at Connie's administrations, however, yields a lot less information:
```
"effectiveTimeDateTime": "2018-09-24T20:47:00.000Z",
"medicationReference": {
"reference": "#8981790",
"display": "Vancomycin"
},
"dosage": {
"text": "IV q12hr",
"route": {
"coding": [
{
"code": "C38276",
"display": "INTRAVENOUS",
"userSelected": false
},
{
"code": "47625008",
"display": "Intravenous route (qualifier value)",
"userSelected": false
}
],
"text": "IV"
},
"quantity": {
"value": 100,
"unit": "mg",
"code": "mg"
}
//...
```
1. Since this is a `MedicationAdministration`, it is a record of administrations as they happen. Does this mean each `MedicationAdministration` represents a single dose? I came to this conclusion since the is no `effectiveTimePeriod` for `MedicationAdministration`, just a date, which could reflect that it was only a single dose. I am specifically interested in infusion drugs, like Vancomycin - not take home drugs or tablets etc.
2. It says `"text": "IV q12hr"` in the MedicationAdminstration for the `dosage`. Does this mean that single dose was _part_ of a course that is 12 hourly? Since this appears to only represent a single dose, not a course or a number of doses. What is the significance of this field here?
3. Is this `MedicationAdminstration` reflective of what I'll be likely to get in a real world scenario? If not, extra fields can I expect (or which fields _won't_ I get)?
4. How to know the infusion length? Do I need to hit the `MedicationOrder` endpoint as well?