n8n-nodes-semble v2.1.0


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

Variable: CREATE_PATIENT_MUTATION

const CREATE_PATIENT_MUTATION: "\n mutation CreatePatient($insData: INSInput, $patientData: CreatePatientDataInput!) {\n createPatient(\n insData: $insData\n patientData: $patientData\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 error\n }\n }\n"

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

GraphQL mutation for creating a new patient