action drchrono_prescription_messages_read { label: "prescription_messages_read" description: "Retrieve an existing prescription message" provider: drchrono method: GET path: "/api/prescription_messages/{id}" encoding: json input: { type: "object" properties: { doctor: { type: "integer" } id: { type: "string" } parent_message: { type: "integer" } patient: { type: "integer" } since: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { created_at: { type: "string" } doctor: { type: "integer" } id: { type: "integer" } json_data: { type: "string" description: "Data sent along with `NewRx`, `RefillRequest`, and `RefillResponses` messages. The format varies, but most likely it will contain `BenefitsCoordination` section with insurance info and `MedicationPrescribed` with medication info. `Patient`, `Pharmacy`, and `Prescriber` are also usually present." } message_direction: { type: "string" description: "Possible values are `Outgoing` and `Incoming`." enum: ["I", "O"] } message_status: { type: "string" description: "Message status for Incoming and Outgoing values. Success message for message_type are: `NewRx` : `Sent`, `RefillRequest` : `Received`, `RefillResponse` : `Sent`." } message_type: { type: "string" description: "Possible values are `NewRx` for outgoing new prescriptions, `RefillRequest` for incoming refill requests, `RefillResponse` for outgoing refill responses, `Error` for incoming errors, `Status` and `Verify` for incoming status reports from Surescripts." } parent_message: { type: "string" description: "Refers to the parent message, used for refill responses and incoming error/status reports." } patient: { type: "integer" description: "An optional field which refers to a patient." } pharmacy: { type: "string" description: "NCPDPID allocated #ID of the Pharmacy" } } } }