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",
  "ndc": "0777-3105-02",
  "qty": "10.123456789",
  "qty_units": "ml",
  "auth_refills": 1,
  "prescribing_physician": 1638402,
  "medication_type": "prescription",
  "notes": "this is note",
  "start_date": "2017-02-10",
  "is_doc_med": false,
  "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",
  "signed_date": "2017-02-11T06:44:31.493753Z",
  "signed_by": 1638402,
  "created_date": "2017-02-11T06:44:31.493753Z",
  "deleted_date": null
}

Allowed Values

Attribute

Allowed 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"