Skip to main content
PATCH
Update an outside care provider

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional. A unique value you choose for this request, such as a UUID. When sent, a retry with the same key returns the first answer instead of applying the change twice. See Retries and idempotency.

Minimum string length: 1

Path Parameters

clinic_id
string<uuid>
required
care_provider_id
string<uuid>
required

Body

application/json

A change to an outside care provider your app added. The patient cannot be changed. is_primary: true makes the patient's other contacts of the same type non-primary.

name
string
Required string length: 1 - 200
type
enum<string>
Available options:
pcp,
referring,
specialist,
other
practice_name
string
Maximum string length: 200
specialty
string
Maximum string length: 100
npi
string
Pattern: ^[0-9]{10}$
phone
string
Maximum string length: 40
fax
string
Maximum string length: 40
address
string
Maximum string length: 500
is_primary
boolean

Response

OK.

data
object
required

An outside clinician a patient names (their own doctor, a referring doctor, a specialist) — the exposed-field allow-list, field by field. source is clinic for a contact the clinic recorded (including one taken from an intake form) and api for one an app added. editable is true only when this key's app added the contact, so it may change or remove it; every other contact is read only to apps. The clinic's own notes on a contact are never exposed.

idempotent_replay
boolean

Present and true when this Idempotency-Key was already used and the original answer is returned.