Clinical Mutations

Interactive examples coming soon...

addLinkedClinicalNote :: LinkedClinicalNote

ArgumentTypeDescription
clinicalNoteIdID!
encounterIdID!

addLinkedEncounter :: LinkedEncounter

ArgumentTypeDescription
encounterIdID!
linkedEncounterIdID!
titleString!

addTreatment :: Treatment

ArgumentTypeDescription
inputTreatmentInput!

assignProblemToEncounter :: Problem

Assign a problem in the patient's problem list to the encounter

ArgumentTypeDescription
encounterIdID!
problemIdID!

attachGmailAttachmentToEncounter :: PatientDocument

ArgumentTypeDescription
attachmentIdString!
categoryString!
encounterIdID!
messageIdID!
nameString!
xAttachmentIdString!

captureClientConsent :: String

ArgumentTypeDescription
clientConsentIdIDif existing consent already made
clientIdID
consentString!
consentFormIdID
encounterIdID
estimateIdID
locationIdID
nameString!
patientIdID
signatureString!

copyFromPreviousEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
sectionNameString!

copyMedicationsToEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
sectionNameString!

createAllergy :: Allergy

ArgumentTypeDescription
patientIdID!

createApptVitals :: Appointment

ArgumentTypeDescription
appointmentIdID!

createCloudStorageUpload :: CloudStorageUpload

ArgumentTypeDescription
endNaiveDateTime
includeCommunicationsBoolean
includeDocumentsBoolean
includeExamsBoolean
includeImmunizationsBoolean
includeLabResultsBoolean
includeMedicationsBoolean
includeNotesBoolean
includePrivateBoolean
includeTasksBoolean
locationIdID
onlyIncludeItems[String]
onlySignedBoolean
patientIdID!
startNaiveDateTime

createComplication :: Complication!

ArgumentTypeDescription
inputComplicationInput

createCustomPatientFieldValue :: CustomPatientFieldValue

Create a custom patient field value

ArgumentTypeDescription
customPatientFieldIdID!
patientIdID!
valueString!

createCustomPatientProtocol :: CustomPatientProtocol

ArgumentTypeDescription
inputCustomPatientProtocolInput

createEncounterOrder :: Encounter

ArgumentTypeDescription
encounterIdID!

createEncounterSection :: Encounter

Inserts a new section for the given `encounter_id`'s sections at the `section_idx`th position

ArgumentTypeDescription
encounterIdID!
inputEncounterSectionInput!
sectionIdxInt!

createEncounterSectionDatum :: Encounter

Inserts the given datum for the given encounter's `section_idx` at the `datum_idx`th position

ArgumentTypeDescription
datumJSON!
datumIdxInt!
encounterIdID!
sectionIdxInt!

createEncounterType :: EncounterType

ArgumentTypeDescription
inputEncounterTypeInput

createImmunization :: Immunization

Create an immunization

ArgumentTypeDescription
inputImmunizationInput!

createMacro :: Macro!

ArgumentTypeDescription
inputMacroInput

createParentProblem :: Problem

ArgumentTypeDescription
idID!

createPatient :: Patient!

ArgumentTypeDescription
clientIdID!
inputPatientInputAttributes to create a patient with

createPatientComplication :: PatientComplication!

ArgumentTypeDescription
inputPatientComplicationInput

createPatientTag :: PatientTag!

ArgumentTypeDescription
inputPatientTagInput

createProblem :: Problem

Create a new problem

ArgumentTypeDescription
inputProblemInput
patientIdID!

createVitals :: Vitals

ArgumentTypeDescription
inputVitalsInput

deleteAllergy :: Allergy!

ArgumentTypeDescription
idID!

deleteClientConsent :: ClientConsent

ArgumentTypeDescription
idID!

deleteComplication :: Complication!

ArgumentTypeDescription
idID!

deleteEncounter :: Encounter

ArgumentTypeDescription
idID!

deleteEncounterSection :: Encounter

Deletes the corresponding section for the given `encounter_id`'s sections at the `section_idx`th position

ArgumentTypeDescription
encounterIdID!
sectionIdxInt!

deleteEncounterSectionDatum :: Encounter

Deletes the `datum_idx`th datum for the given encounter's `section_idx`

ArgumentTypeDescription
datumIdxInt!
encounterIdID!
sectionIdxInt!

deleteLinkedClinicalNote :: ClinicalNote

ArgumentTypeDescription
clinicalNoteIdID!
encounterIdID!

deleteLinkedEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
linkedEncounterIdID!

deleteMacro :: Macro!

ArgumentTypeDescription
idID!

deleteMedication :: Medication

ArgumentTypeDescription
idID!

deletePatientComplication :: PatientComplication!

ArgumentTypeDescription
idID!

deletePatientDocument :: PatientDocument

ArgumentTypeDescription
idID!

deletePatientTag :: PatientTag!

ArgumentTypeDescription
idID!

deleteProblem :: Problem!

ArgumentTypeDescription
idID!

deleteVitals :: Vitals!

ArgumentTypeDescription
idID!

emailEncounter :: [EmailStatus]

ArgumentTypeDescription
bodyString
documentTypeEncounterSummaryDocumentType
encounterIdID!
extras[String]
onlySections[String]
recipientEmails[String]
typeString

emailEncounterPdf :: [String]

ArgumentTypeDescription
encounterIdID!
typeEncounterPdfType

emailEncounterRecord :: [EmailStatus]

ArgumentTypeDescription
encounterIdID!
only[String]
patientIdID!

emailEncounterRecordToCustom :: [EmailStatus]

ArgumentTypeDescription
emailString!
encounterIdID!
only[String]
patientIdID!

emailEncounterRecordToRdvms :: [EmailStatus]

ArgumentTypeDescription
encounterIdID!
patientIdID!

emailHospitalizationNoticeToRdvms :: [EmailStatus]

ArgumentTypeDescription
encounterIdID!
patientIdID!

emailImmunizationsRecord :: String

ArgumentTypeDescription
isLatestBoolean
locationIdID
patientIdID!

emailMedicalRecordsSummary :: String

ArgumentTypeDescription
bodyString
emailToString!
endNaiveDateTime
includeCommunicationsBoolean
includeDocumentsBoolean
includeExamsBoolean
includeImmunizationsBoolean
includeLabResultsBoolean
includeMedicationsBoolean
includeNotesBoolean
includePrivateBoolean
includeTasksBoolean
locationIdID
onlyIncludeItems[String]
onlySignedBoolean
patientIdID!
startNaiveDateTime
subjectString

emailRabiesCertificate :: String

ArgumentTypeDescription
ignoreHistoricalBoolean
locationIdID
patientIdID!

emailSelectedRabiesCertificates :: String

ArgumentTypeDescription
emails[String!]
ids[ID!]
locationIdID
patientIdID!

encounterPdf :: String

ArgumentTypeDescription
encounterIdID!
typeEncounterPdfType

genVetsourceUrl :: String

ArgumentTypeDescription
locationIdID
nameString!
patientIdID

markAllNormalEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
sectionNameString!
valueString

massMicrochipRegister :: [String]

ArgumentTypeDescription
patientRegistrations[PatientRegistration]

mergePatients :: Patient

ArgumentTypeDescription
fromPatientIdID!
toPatientIdID!

movePatientToClient :: Patient

ArgumentTypeDescription
clientIdID!
patientIdID!

newEncounter :: Encounter

Create a new encounter for a patient at a location

ArgumentTypeDescription
inputEncounterInput
patientIdID!
typeIdID

prescribeMedication :: Medication

Prescribe a medication

ArgumentTypeDescription
inputMedicationInput!

printLabelPrintnode :: PrintLabelResult

ArgumentTypeDescription
clientIdID
inputPrinterInput
medicationIdID
patientIdID

recordPatientWeight :: Vitals

ArgumentTypeDescription
datetimeNaiveDateTime
patientIdID!
weightDecimal!
weightUnitWeightUnit!

refillMedication :: Medication

ArgumentTypeDescription
idID!
locationIdID
lotNumberString
prescriberIdID
startDate
stopDate

regeneratePatientProtocols :: Boolean

ArgumentTypeDescription
orgIdID!

registerPatientMicrochip :: Patient

ArgumentTypeDescription
locationIdID!
patientIdID!

reopenEncounter :: Encounter

ArgumentTypeDescription
idID!Encounter ID

replaceEncounterSectionDatum :: Encounter

Replaces a given datum by (section_idx x datum_idx) with provided JSON. Note that no validity checking of the datum input is performed. If you wish to simply update a given datum, you can more safetly use `replace_encounter_section_datum` instead.

ArgumentTypeDescription
datumJSON!
datumIdxInt!
encounterIdID!
sectionIdxInt!

saveMicrochip :: Patient

ArgumentTypeDescription
patientIdID!

signEncounter :: Encounter

Sign an encounter with the current user

ArgumentTypeDescription
idID!Encounter ID

surgeryLogPdf :: String

ArgumentTypeDescription
locationIdID!

transferPatient :: Patient

ArgumentTypeDescription
patientIdID!
toClientIdID!

triggerPrescription :: Medication

ArgumentTypeDescription
medicationIdID!

unassignProblemFromEncounter :: Problem

Assign a problem in the patient's problem list to the encounter

ArgumentTypeDescription
encounterIdID!
problemIdID!

updateAllergy :: Allergy

ArgumentTypeDescription
idID!
inputAllergyInput!

updateComplication :: Complication

ArgumentTypeDescription
idID!
inputComplicationInput!

updateCustomPatientFieldValue :: CustomPatientFieldValue

Update a custom patient field value

ArgumentTypeDescription
idID!
valueString!

updateCustomPatientProtocol :: CustomPatientProtocol

ArgumentTypeDescription
idID!
inputCustomPatientProtocolInput

updateEncounter :: Encounter

Update a live encounter

ArgumentTypeDescription
idID!
inputEncounterInput

updateEncounterSection :: Encounter

Updates the section corresponding to the given `section_idx` for the given `encounter_id`

ArgumentTypeDescription
encounterIdID!
inputEncounterSectionInput!
sectionIdxInt!

updateEncounterSectionDatum :: Encounter

Updates a given datum by (section_idx x datum_idx) with provided changeset

ArgumentTypeDescription
datumIdxInt!
encounterIdID!
sectionIdxInt!
updatesJSON!

updateEncounterType :: EncounterType

ArgumentTypeDescription
idID!
inputEncounterTypeInput

updateImmunization :: Immunization

ArgumentTypeDescription
idID!
inputImmunizationInput!

updateLinkedClinicalNote :: LinkedClinicalNote

Update a linked clinical note

ArgumentTypeDescription
idID!
inputLinkedClinicalNoteInput

updateLinkedEncounter :: LinkedEncounter

Update a linked encounter

ArgumentTypeDescription
idID!
inputLinkedEncounterInput

updateMacro :: Macro

ArgumentTypeDescription
idID!
inputMacroInput!

updateMedication :: Medication!

Update a medication

ArgumentTypeDescription
idID!
inputMedicationInput!

updatePatient :: Patient

ArgumentTypeDescription
idID!
inputPatientInput!

updatePatientComplication :: PatientComplication

ArgumentTypeDescription
idID!
inputPatientComplicationInput!

updatePatientDocument :: PatientDocument

ArgumentTypeDescription
idID!
inputPatientDocumentInput!

updatePatientTag :: PatientTag

ArgumentTypeDescription
idID!
inputPatientTagInput!

updateProblem :: Problem

ArgumentTypeDescription
idID!
inputProblemInput!

updateVitals :: Vitals

ArgumentTypeDescription
idID!
inputVitalsInput

uploadEncounterTypeAsset :: String

ArgumentTypeDescription
assetUpload!

uploadPatientDocument :: PatientDocument

ArgumentTypeDescription
categoryString
documentUpload!
encounterIdID
encounterSectionNameString
nameString!
patientIdID!

uploadPatientImage :: Patient

ArgumentTypeDescription
documentUpload!
patientIdID!

valuesetLabel :: String

ArgumentTypeDescription
encounterIdID!
sectionNameString!