Skip to main content
Update patient
curl --request PUT \
  --url https://{tenantId}.api.nestmed.com/api/v1/patients/{patientId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "address": {
    "street": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zipCode": "<string>",
    "apartment": "<string>"
  },
  "phoneNumbers": {
    "primary": "<string>",
    "secondary": "<string>"
  },
  "emergencyContact": {
    "name": "<string>",
    "relationship": "<string>",
    "phone": "<string>"
  }
}
'
{
  "patientId": "<string>",
  "agencyId": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "dateOfBirth": "2023-12-25",
  "gender": "male",
  "medicalRecordNumber": "<string>",
  "status": "active",
  "address": {
    "street": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zipCode": "<string>",
    "apartment": "<string>"
  },
  "phoneNumbers": {
    "primary": "<string>",
    "secondary": "<string>"
  },
  "emergencyContact": {
    "name": "<string>",
    "relationship": "<string>",
    "phone": "<string>"
  },
  "insuranceInfo": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

patientId
string
required

Body

application/json
firstName
string
lastName
string
address
object
phoneNumbers
object
emergencyContact
object

Response

200 - application/json

Patient updated successfully.

patientId
string
agencyId
string
firstName
string
lastName
string
dateOfBirth
string<date>
gender
enum<string>
Available options:
male,
female,
other,
unknown
medicalRecordNumber
string
status
enum<string>
Available options:
active,
inactive,
deceased
address
object
phoneNumbers
object
emergencyContact
object
insuranceInfo
object
createdAt
string<date-time>
updatedAt
string<date-time>