Patients (GET, POST, PUT)

Retrieve the FHIR patient resource record details. Create or update a patient record rather than making multiple separate calls to the objects in Salesforce.

We recommend limiting the number of concurrent requests in your org to five. If you exceed this number, the Patients API request can fail.

Note

The update request deletes all child records associated with a patient and recreates them. For example, when you update a patient record having three PersonName records and five Identifier records as child records, the API first deletes all the PersonName and Identifier child records and then reinserts them. If something goes wrong while updating data, the API rolls back to prevent leaving orphan records behind.

Resource for POST 

1/connect/health/patients

Resource for GET, PUT 

1/connect/health/patients/${patientId}

Example URI 

1/services/data/v53.0/connect/health/patients/001x0000005CQbtAAG

Available Version 

53.0

Requires Chatter 

No

HTTP Methods 

GET, POST, PUT

Response Body for GET 

Patient Get Output

JSON example 

1{
2  "active": true,
3  "identifier": [
4    {
5      "assigner": {
6        "referenceResource": "Organization",
7        "referenceId": "Org12345XYZ"
8      },
9      "type": {
10        "text": "Passport Number",
11        "coding": [
12          {
13            "display": "Passport number",
14            "code": "PPN",
15            "isActive": true,
16            "use": "Identifier"
17          }
18        ]
19      },
20      "value": "ABCD5678XYZ"
21    }
22  ],
23  "name": [
24    {
25      "use": "alias",
26      "text": "Charles Green",
27      "family": "Green",
28      "given": "Charles",
29      "prefix": "Mr.",
30      "suffix": "Sr."
31    }
32  ],
33  "communication": [
34    {
35      "language": "English",
36      "preferenceRank": 1
37    }
38  ],
39  "address": [
40    {
41      "use": "temp",
42      "type": "postal",
43      "line": "Green Household"
44    }
45  ],
46  "telecom": [
47    {
48      "system": "email",
49      "value": "a@bc.com"
50    }
51  ],
52  "gender": "male",
53  "birthDate": "2000-09-12T18:13:41Z",
54  "maritalStatus": "married",
55  "contact": [
56    {
57      "relationship": {
58        "coding": [
59          {
60            "display": "Partner"
61          }
62        ]
63      },
64      "name": {
65        "use": "Temp",
66        "text": "Shawna Green",
67        "family": "Green",
68        "given": "Shawna",
69        "prefix": "Mrs.",
70        "suffix": "Jr."
71      },
72      "telecom": [
73        {
74          "system": "email",
75          "value": "c@de.com"
76        },
77        {
78          "system": "phone",
79          "value": "12345678",
80          "use": "temp",
81          "rank": 1
82        }
83      ],
84      "address": {
85        "use": "temp",
86        "type": "postal",
87        "line": "Green Household"
88      }
89    }
90  ],
91  "generalPractitioner": [
92    {
93      "referenceResource": "Practitioner",
94      "referenceId": "PRAC789XYZ",
95      "relationship": "Plastic Surgeon"
96    }
97  ],
98  "managingOrganisation": {
99    "referenceResource": "Organization",
100    "referenceId": "MI9007GBE"
101  }
102}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
activeBooleanIndicates whether the patient record is active or not.Optional53.0
additional​InformationCustom Field Value Input[]Adds additional information to any fields not mapped in this API.Optional53.0
addressFHIR Address Input[]The address of the patient.Optional53.0
birthDateStringThe date of birth of the patient.Optional53.0
communicationPatient Communication Language Input[]The languages of communication associated with the patient.Optional53.0
contactContact Party For Patient Input[]The contact associated with the patient record, modeled as a person account. Contacts are connected to patients using the Contact​Contact​Relation__c junction object.Optional53.0
deceased​​​DateTimeStringThe date and time of the patient’s death.Optional53.0
genderStringThe gender of the patient.Optional53.0
general​PractitionerFHIR Reference Input[]The practitioners associated with the patient, modeled as either person accounts or Contacts and HealthcareProvider records. Practitioners are connected to patients using the Contact​Contact​Relation__c junction object​.Optional53.0
identifierFHIR Identifier Input[]The identifier information for the patient, stored as Identifier records that reference the patient record using their Identifier​.Parent​RecordId field.Optional53.0
managing​OrganisationFHIR Reference InputThe organization that manages the patient record, referenced using a lookup to the Account object. Managing organizations are connected to patients using the Account​Contact​Relation​ junction object​.Optional53.0
maritalStatusStringThe current marital status of the patient.Optional53.0
multiple​BirthIntegerIntegerThe birth order of the patient, in the event that the patient was a part of a multiple birth event.Optional53.0
nameFHIR Human Name Input[]The names of the patient, stored as a PersonName record.Optional53.0
sourceSystemIdStringThe source system ID associated with a patient record.Optional53.0
telecomFHIR Contact Point Input[]Contact details of the patient, such as phone numbers and email addresses. These contact details are stored as Contact​Point​Phone records that reference the patient records using their Contact​Point​Phone​.ParentId field.Optional53.0

Response Body for POST 

Patient Upsert Output

Response Body for PUT 

Patient Update Output