GET PATIENT QUERY
n8n-nodes-semble / nodes/Semble/shared/PatientQueries / GET_PATIENT_QUERY
Variable: GET_PATIENT_QUERY¶
const
GET_PATIENT_QUERY: "\n query GetPatient($id: ID!) {\n patient(id: $id) {\n \n id\n title\n status\n firstName\n lastName\n fullName\n birthSurname\n birthName\n birthNames\n dob\n socialSecurityNumber\n gender\n sex\n email\n googleClientId\n paymentReference\n occupation\n membershipName\n membershipStartDate\n membershipStartDateFormatted\n createdAt\n updatedAt\n comments\n onHold\n placeOfBirth {\n name\n code\n }\n phones {\n phoneId\n phoneType\n phoneNumber\n }\n address {\n address\n city\n postcode\n country\n }\n sharingToken {\n token\n }\n numbers {\n id\n name\n value\n }\n customAttributes {\n id\n title\n text\n response\n required\n }\n communicationPreferences {\n receiveEmail\n receiveSMS\n promotionalMarketing\n paymentReminders\n privacyPolicy {\n response\n }\n }\n relatedAccounts {\n relationshipId\n relationshipType\n relationshipLabel\n deleted\n contactDetails {\n relatedAccountId\n source\n sourceId\n firstName\n lastName\n title\n companyName\n phones {\n phoneId\n phoneType\n phoneNumber\n }\n email\n address\n city\n postcode\n country\n notes\n policyNumber\n authorizationCode\n }\n }\n labels {\n id\n color\n text\n referenceId\n }\n accessGroups {\n id\n name\n label\n }\n\n }\n }\n"
Defined in: nodes/Semble/shared/PatientQueries.ts:121
GraphQL query for getting a single patient by ID