The Medication Object

Object Definition

{
  "id": 27787290,
  "patient": 13500417,
  "medication": {
    "id": 27590703,
    "is_controlled": true,
    "strength": "80 mg",
    "name": "Butrans Transdermal Patch Weekly 5 MCG/HR",
    "form": "Tab",
    "route": "Oral",
    "generic_name": "Buprenorphine TD Patch Weekly 5 MCG/HR",
    "brand_name": "Butrans",
    "type": "otc",
    "rxnorm_cuis": [
      904880
    ]
  },
  "fulfillment": {  // nullable
    "detail": null,
    "pharmacy_ncpdpid": "1655458",
    "service_location": {  // nullable
      "id": 13631735,	
      "name": "Elation North",
      "is_primary": true,
      "place_of_service": "Office",  
      "address_line1": "1234 First Practice Way",
      "address_line2": "",
      "city": "San Francisco",
      "state": "CA",
      "zip": "94114",
      "phone": "",
      "created_date": "2017-01-15T06:46:14.445876Z",
      "deleted_date": null
    },
    "state": "complete",
    "time_completed": "2017-02-11T06:44:31.493753Z",
    "type": "surescripts"
  },
  "thread": { 
    "id": 12341234,
    "dc_date": "2017-02-12T06:44:31.493753Z",
    "is_permanent": true
  },
  "order_type": "New",
  "qty": "10.123456789",
  "qty_units": "ml",
  "auth_refills": "1",
  "num_samples": null,
  "prescribing_physician": 1638402,
  "practice": 140754475089924,
  "medication_type": "prescription",
  "notes": "this is note",
  "start_date": "2017-02-10",
  "is_doc_med": false,
  "documenting_personnel": 1638402,
  "last_modified": "2017-02-10T22:44:31.587079",
  "pharmacy_instructions": "this is pharmacy_instructions",
  "directions": "once a day",
  "document_date": "2017-02-11T06:44:31.493753Z",
  "chart_date": "2017-02-11T06:44:31.493753Z",
  "show_in_chart_feed": true,
  "signed_date": "2017-02-11T06:44:31.493753Z",
  "signed_by": 1638402,
  "created_date": "2017-02-11T06:44:31.493753Z",
  "deleted_date": null,
   "icd10_codes": [
       {
           "code": "U07.1",
           "description": "COVID-19"
       }
   ]
}

Allowed Values

AttributeAllowed Values
medication_type"otc", "prescription", "discontinued"
fulfillment.state"new", "sending", "sent", "pending_complete", "complete", "failure", "error"
fulfillment.type"fax", "mdtoolboxepcs", "paper", "paper_nonfillable", "phone", "surescripts", "surescripts_cancel", "surescripts_change"