Patient Facilities/Specialists

Add a preferred laboratory for a patient

post/patients/{patient_id}/laboratories

Request

  • Base URL: https://clinic-subdomain.md-hq.com/api/v1
  • URL: https://clinic-subdomain.md-hq.com/api/v1/patients/{patient_id}/laboratories
  • Auth: HTTP basic

Path parameters

patient_idinteger required

ID of the patient

Request body

laboratory_idinteger required

An integer, the laboratory ID to add. See the "Facility Endpoints" documentation for how to find the ID in the master laboratories database

priority_orderinteger

An integer representing where in the patient's laboratories list this entry should go (lowest number is considered the first/preferred listing). If null, the system will look at set_as_primary instead.

set_as_primaryboolean

A boolean value representing if this should be added as the patient's new preferred listing, or just added to the bottom of the list. If priority_order is set, this argument will be ignored.

notestring

A string, 255 character max

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.