Prescription
A Prescription is a drug that was prescribed by a provider as part of a treatment plan.
Endpoint
https://platform.wellviasolutions.com/clinical/v1/prescription
The Prescription Object
Attributes
id string : required
The unique identifier of the prescription.
dateCreated timestamp : required
The timestamp representing when the prescription was originally created by the provider.
visitId string : required
The unique identifier of the visit this prescription is linked to.
pharmacyId string : required
The unique identifier of the pharmacy the prescription was sent to.
drug object : required
The drug prescribed. This is a Drug Object.
quantity decimal : required
The quantity of the drug prescribed.
refillCount numeric : required
The number of times this prescription can be refilled.
daysSupply numberic : optional
The number of days this prescription should cover.
substitutionsAllowed boolean : required
Specifies if the prescription should be "dispensed as written" or if the pharmacy can substitute another drug (i.e. generic instead brand).
directions string : required
Specific instructions from the provider.
pharmacyNote string : optional
Specific notes for the pharmacy from the provider.
wentByFax boolean : required
Specifies if the prescription was sent to the pharmacy via fax.
status object : required
Details regarding the current status of the prescription.
status string : required
The current status of the prescription. See the Prescription Status Dictionary for possible values.
message string : optional
Additional details that may accompany the status.
submission object : required
Details regarding how the prescription is sent to the pharmacy.
method string : required
The unique identifier for the submission type. See the Prescription Submission Method Dictionary for possible values.
submittedByUserId string : required
The unique identifier of the user that submitted the prescription.
Example
{
"id": "rx_eb5d400f06b0495fb558b53b53650966",
"dateCreated": "2021-08-17T16:27:41.82",
"visitId": "1234567",
"pharmacyId": "pharm_6e0f8c4e7a36eb119fb400155dfc253f",
"drug": {
"name": "Medrol Dosepak 4mg Tablet",
"upc": null,
"ndC9": null,
"ndC10": null,
"ndC11": "00009005604",
"availableQuantities": [],
"quantityUnitOfMeasureCode": "C48542",
"quantityUnitOfMeasureName": "Tablet",
"rxNorm": null,
"route": {
"id": 1,
"name": "Oral"
},
"strength": {
"value": "4",
"unit": {
"code": "mg",
"name": "milligram"
},
"formCode": "C42998",
"unitOfMeasureCode": "C28253"
},
"form": {
"fdaFormId": 37,
"fdaFormName": "Tab",
"description": "Tablet"
},
"drugKey": null
},
"quantity": 21.00000,
"refillCount": 0,
"daysSupply": null,
"substitutionsAllowed": true,
"directions": "Use as directed",
"pharmacyNote": "",
"wentByFax": false,
"status": {
"status": "accepted",
"message": ""
},
"submission": {
"method": "providertoeprescribe",
"submittedByUserId": "prv_f49d22746d2a4643b72d4f7908dc2cb4"
},
"dateAccepted": "2021-08-17T16:27:41.82"
}Updated 7 months ago
