LabInteraction

Create Lab Interaction

Changed on

Creates a lab for the patient. To prevent a duplicate lab, send integration_record_id. If a lab with that value already exists, Hint responds 409 with the location of that lab. A create never changes an existing lab. See Lab Interactions.

post/provider/patients/{patient_id}/interactions/lab

Request

  • Base URL
    https://api.sandbox.hint.com/api
  • Auth
    API key in header AUTHORIZATION

Path parameters

patient_idstring required

Unique Patient ID

Request body

status'sent' | 'fulfilled'

The status of the interaction. Defaults to "sent" on create

vendor_order_idstring

Your order number. An update that sends order, report, or results removes it.

event_timestampstring date-time

Defaults to current time

integration_record_idstring
integration_error_messagestring
integration_web_linkstring
partner_product_idstring

The installed product to attribute this lab to. Defaults to the product whose surface the call came from, then to the practice's only installed product of yours.

Response

Successful response

idstring
created_atstring date-time
event_timestampstring date-time
patient_accessboolean
patient_idstring
statusstring
typestring
updated_atstring date-time
vendor_order_idstring

Changes

    • breaking

      the request property order/authored_on became required

    • breaking

      the request property order/lab_reference_id became required

    • breaking

      the request property order/ordered_from became required

    26 more changes in this revision