Image Medication

Medication requests and examples

Parameters

Parameter Is Required Description
Id This, or patient. The logical resource ID associated with the resource.
patient This, or ID The patient who has the immunization.
intent No The kind of medication order, the only supported code is 'order'. Example: intent=order
status No The status of the medication request. Example: status=active
_revinclude No A request to include any Provenance resource in the bundle.

Medication Requests

Medication by Patient, Intent, and Status

Patient:
 GET: 'https://api.practicestudio.net/patientportal/fhir/MedicationRequest?patient=Patient/{Patient_ID}'

Patient and Intent:
 GET: 'https://api.practicestudio.net/patientportal/fhir/MedicationRequest?intent=order&patient=Patient/{Patient_ID}'

Patient, Intent, and Status:
 GET: 'https://api.practicestudio.net/patientportal/fhir/MedicationRequest?intent=order&patient={Patient_ID}&status=active'

Medication by Resource ID

GET: 'https://api.practicestudio.net/patientportal/fhir/MedicationRequest/{Resource_ID}'

Medication Example Response

Example Medication JSON Response:


{
  "resourceType": "Bundle",
  "meta": {
    "lastUpdated": "2022-08-11T14:48:16.9274057-05:00"
  },
  "type": "searchset",
  "total": 24,
  "link": [
    {
      "relation": "self"
    }
  ],
  "entry": [
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "10172850",
        "meta": {
          "lastUpdated": "0001-01-01T00:00:00-06:00",
          "profile": [
            "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
          ]
        },
        "status": "active",
        "intent": "order",
        "priority": "routine",
        "reportedBoolean": true,
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code": "308177",
              "userSelected": false
            }
          ]
        },
        "subject": {
          "reference": "Patient/000034"
        },
        "encounter": {
          "reference": "Encounter/10000498"
        },
        "authoredOn": "2022-07-20",
        "requester": {
          "reference": "Practitioner/10000016",
          "display": "Jason Berring MD"
        },
        "dosageInstruction": [
          {
            "text": "Chew 1 tablet by mouth once per day for 10 days",
            "timing": {
              "repeat": {
                "boundsPeriod": {
                  "start": "2022-07-20",
                  "end": "2022-07-30"
                },
                "durationUnit": "s",
                "periodUnit": "s"
              }
            }
          }
        ],
        "dispenseRequest": {
          "numberOfRepeatsAllowed": 0,
          "quantity": {
            "value": 10,
            "unit": "Tablet",
            "system": "http://ncimeta.nci.nih.gov",
            "code": "C48542"
          },
          "expectedSupplyDuration": {
            "value": 10,
            "unit": "days",
            "system": "http://unitsofmeasure.org",
            "code": "d"
          }
        }
      },
      "search": {
        "mode": "match",
        "score": 1
      }
    }
  ]
}