vetmanager

Link a VetManager animal to a consultation

Makes the VetManager animal from a patient search match a Vetnio patient (with its owner), reusing the patient when the animal was added before, and sets it as the consultation's patient. Replaces any earlier patient. The visit context then returns it as patientChoice, so export starts with that animal. Nothing is created in VetManager.

Errors: 401 when the caller has no linked VetManager account or must sign in again; 403 when the practice is not linked to this workspace or the caller may not use the patient; 409 when the patient changed while it was being added.

put/workspaces/{workspaceId}/consultations/{consultationId}/vetmanager/patient

Request

  • Base URL
    https://vetnio.com/api/v2
  • URL
    https://vetnio.com/api/v2/workspaces/{workspaceId}/consultations/{consultationId}/vetmanager/patient
  • Auth
    HTTP bearer

Path parameters

workspaceIdstring required

Identifier of the clinic (workspace), as returned by GET /workspaces. The key's user must be a member of the clinic, or an admin of the organization it belongs to.

Example:furunculotic-loud-chihuahua
consultationIdstring required

Identifier of the consultation (UUID), as returned when it was created or by GET /workspaces/{workspaceId}/consultations. It must belong to the clinic in workspaceId.

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Request body

Example request

{
  "match": {
    "contactId": 5101,
    "animalId": 8811,
    "animalName": "Bella",
    "animalKind": "Häst",
    "ownerName": "Anna Lindqvist",
    "customerNumber": "1042"
  }
}

Response

The linked patient.

patientIdstring required

The Vetnio patient now linked to the consultation.

namestring nullable required

Patient name.

speciesstring nullable required

Patient species, when VetManager's animal kind could be mapped or kept.

Example response

{
  "patientId": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
  "name": "Bella",
  "species": "horse"
}

Changes

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