n8n-nodes-semble v2.1.0


n8n-nodes-semble / nodes/Semble/shared/PatientQueries / GET_PATIENTS_QUERY

Variable: GET_PATIENTS_QUERY

const GET_PATIENTS_QUERY: "\n query GetPatients($pagination: Pagination, $search: String, $options: QueryOptions) {\n patients(\n pagination: $pagination\n search: $search\n options: $options\n ) {\n data {\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 pageInfo {\n hasMore\n }\n }\n }\n"

Defined in: nodes/Semble/shared/PatientQueries.ts:132

GraphQL query for getting multiple patients with pagination