Search K
Appearance
Appearance
Changes to:
PATCH /v1/externalprescriptiondate_of_prescription Is No Longer Required
date_of_prescription field when performing a PATCH request on an existing prescription record.date_of_prescription will continue to function as expected.date_of_prescription Will Be Ignored if Provided If a PATCH request includes the date_of_prescription parameter:
This update prevents accidental modification of the original prescription date, ensuring data integrity while maintaining backward compatibility for clients who continue sending the field.
No action is required for existing integrators.
API users may continue to include date_of_prescription in PATCH requests, but should no longer rely on it for updates.
Changes to:
POST /v1/externalprescriptionPATCH /v1/externalprescriptiondate_of_lastdispense INT NULLstatus ENUM NULL CANCELLED_DR,DECLINED_DR,CANCELLED_CLIENT,DECLINED_CLIENT,PENDING,CURRENTstatus_date INT NULLstatus or external_prescription_item_list.status_date.If present → error: "status or status_date are not allowed on POST, use PATCH instead."
Otherwise: status = PENDING; status_date = date_of_prescription.
If no item provides a status, at least one item must provide date_of_lastdispense; otherwise:
Allowed statuses on PATCH: DECLINED_DR, DECLINED_CLIENT, CANCELLED_DR, CANCELLED_CLIENT
status_date: Required and numeric when status is Declined or Cancelled.
Error: "status_date is required and must be numeric when status is Declined or Cancelled."
Status transition rules (per item):
Determination of current (from) status is based on matching the item’s external_product_reference to the existing active externalprescriptionitem row.
Declined allowed only from Pending or null. Error: "Only Pending items can be changed to Declined."
Cancelled allowed only from Current.Error: "Only Dispensed items can be changed to Cancelled."
If client provides root date_of_lastdispense: only items with empty date_of_lastdispense get the root date.
date_of_lastdispense is optional on POST; conditionally required on PATCH only when no status is provided anywhere.date_of_lastdispense.Wellness Plan Membership V2 endpoint: reference (payment reference) as a query parameter.PATCH operation to support status for locking memberships.blood_pressure field in the HealthStatus V1 endpoints to accept both num & string instead of num for GET, POST, and PATCH operations.hospital_uid field to the Separation V2 endpoint when returning department ownership separations.ownership_id and ownership_uid fields to the Product Supplier endpoint.type query parameter to the Separation V2 endpoint. type query parameter to query Separation V2 records by type.External Prescription DELETE endpoint.External Prescription POST and PATCH endpoint.Estimate V2Resource V2 endpoint.Separation V2 endpoint.date_of_birth field to the Contact V1 endpoint.driver_license_number field to the Contact V1 endpoint.driver_license_ field to the Contact V1 endpoint.driver_license_ field to the Contact V1 endpoint.serial_number field to the PrescriptionItem V1 endpoint.Prescription V2.Contactdetail V2.Contact V2.Contact V2.Appointment Type V2Appointment Type V2vaccination endpoint, partners will now be able to use these operations.value_cleaned field to the contactdetail endpoint. value_cleaned field to find the value of a ContactDetail where prefixes are added and special characters are stripped from phone numbers.value_cleaned query parameter to query ContactDetail records by phone numbers without any special characters or formatting.address endpoint, partners will now be able to use these operations.appointment V2 endpoint to check that the query has the sales_resource present in the list of resources when attempting to POST or PATCH.barcode endpoint for_type to find the type of record that the Barcode is for. EG: "product".for_id to find the ID of the record that the Barcode is for.website field to the contact endpointcontact_id to the separation endpoint.date field to the invoiceline and invoicelineV2 endpoints. date field to know the date the the product on the invoiceline was administered on the related clinical record.preferred and subscription_groups fields to the contactdetail endpoint. preferred field to find which ContactDetail is a preferred contact method for the related Contactsubscription_groups field to find a list of subscription groups that the ContactDetail is subscribedexpected_price field to the productsupplier endpointdate field to the stocktransaction endpoint. date field to know the date of an inventory transaction.invoiceline endpoint.invoice was not showing credit invoices as linked records. linked_payments field now also shows credit invoices with a new parameter type specifying invoice or payment.linked_payments field to the invoiceV2 endpoint