This article gives a current list of types that are available with the Heydoc API. For general information about types, see here.
Note: Data types that have an exclamation mark ( ! ) after them are required for the query or mutation that you want to perform.
Account Statement
This type allows you to display the output of a query for a patient's account statement.
Type |
|
|
|
Account Statement Data
This type allows you to query a patient's account statement.
Type |
|
|
|
Add Contact Phone Data
This type allows you to mutate an external contact's phone number.
Type |
|
|
|
Add Custom Attribute Data
This type allows you to mutate the addpatientattribute
attribute fields for a mutation.
Type |
|
|
|
Add Patient Number Data
This type allows you to mutate a patient's ID number.
Type |
|
|
|
Add Phone Data
This type allows you to mutate a phone number.
Type |
|
|
|
Address
This type allows you to display the output of a query or mutation for an address for letters, patients, practice locations, etc.
Type |
|
|
|
Appointment
This type allows you to display the output of a query or mutation for a specific appointment.
Type |
|
|
|
Appointment Type
This type allows you to display the output of a query or mutation for an appointment type.
Type |
|
|
|
Booking
This type allows you to display the output of a query or mutation for a specific booking.
Type |
|
|
|
Booking Address
This type allows you to display the output of a query or mutation for a booking address.
Type |
|
|
|
Booking Data
This type allows you to query or mutate the data for a booking.
Type |
|
|
|
Booking Data Input
Use this type to define the displayed output of a mutation for a new booking.
Type |
|
|
|
Booking Journey Input
Use this type to define the displayed output of a mutation for the journey of a patient booking.
Type |
|
|
|
Booking Location
Use this type to query a configured location in your practice.
Type |
|
|
|
Booking Response Payload
Use this type to display the data and error outputs of a mutation for a new booking.
Type |
|
|
|
Boolean
A Boolean
is a scalar type which can have either a value of true or false.
Communication Preferences
This type allows you to display the output of a query for a communication preference.
Type |
|
|
|
Contact
This type allows you to display the output of a query or mutation an external contact.
Type |
|
|
|
Contact Data
Use this type to define the displayed output of a mutation for a contact.
Type |
|
|
|
Contact Response Payload
Use this type to display the data and error outputs of a mutation for an existing patient.
Type |
|
|
|
Create Label Data
This type allows you to mutate a digital label for your practice.
Type |
|
|
|
Create Letter Data Input
Use this type to define the displayed output of a mutation for a new letter.
Type |
|
|
|
Create Patient Data Input
Use this type to define the displayed output of a mutation for a new patient.
Type |
|
|
|
Cursor Pagination
This type allows you to navigate to different pages of a data set (for example the different pages of a patient's account statement).
Type |
|
|
|
Cursor Pagination Direction
This type determines the values that you can use for a cursor pagination type.
Enum Value | Definition |
| Go to the previous page |
| Go to the next page |
Custom Attribute
This type allows you to display the output of a query for a custom patient ID number.
Type |
|
|
|
Date
This type specifies a single time and date in the query, mutation, or type. The date
type is formatted as:
YYYY-MM-DD
For example: 2021-12-31
Date Range
This type allows you to specify a date range for a query.
Type |
|
|
|
Float
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
ID
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String
, however this is not intended to be human-readable.
When expected as an input type, any string or integer input value will be accepted as an ID.
ID Type
The IdType
type allows you to query or mutate an ID number for a patient or user.
Enum Value | Definition |
| An internal identifier (do not attempt to query or mutate this value) |
| The value is a Heydoc system user |
| The value is for an ID linked with the Compucare system |
| The value is for an ID linked with the National Health Service |
Integer
The Int
scalar type represents whole numeric values. Integers can represent values between -(2^31) and 2^31 - 1 .
For example: 123
Invoice
This type allows you to display the output of a query or mutation for an invoice.
Type |
|
|
|
Invoice Data
Use this type to define the displayed output of a mutation for an invoice.
Type |
|
|
|
Invoice Payment
This type allows you to query or mutate the payment details of an invoice.
Type |
|
|
|
Journey
This type allows you to query or mutate the process of a patient checking into your practice.
Type |
|
|
|
Journey Stage
This type provides definitions for the different values possible in a query or mutation for a patient's booking journey.
Enum Value | Definition |
| The patient has arrived at the practice |
| The patient is having their appointment/consultation |
| The patient has left the practice |
| The patient did not attend |
Lab
This type allows you to display the output of a query for a lab.
Type |
|
|
|
Lab Comments
This type allows you to query a clinician comment for a lab request.
Type |
|
|
|
Lab Data
Use this type to define the displayed output of a mutation for a lab test.
Type |
|
|
|
Lab Query Options
This type allows you to query a lab result's status.
Type |
|
|
|
Label
This type allows you to display the output of a query or mutation for a digital label.
Type |
|
|
|
Label Data
Use this type to define the displayed output of a mutation for a label.
Type |
|
|
|
Letter
This type allows you to display the output of a query for a specific letter.
Type |
|
|
|
Letter Contact
This type allows you to query an external contact for a letter.
Type |
|
|
|
Letter Data
Use this type to define the displayed output of a mutation for a letter.
Type |
|
|
|
Letter Response Payload
Use this type to display the data and error outputs of a mutation for a letter.
Type |
|
|
|
Line Item
This type allows you to display the output of a query or mutation for a line item on an invoice.
Type |
|
|
|
New Contact Payload
Use this type to display the data and error outputs of a mutation for a new contact.
Type |
|
|
|
New Invoice Data Input
Use this type to define the displayed output of a mutation for a new invoice.
Type |
|
|
|
New Invoice Payment Data Input
Use this type to define the displayed output of a mutation for a new invoice payment method.
Type |
|
|
|
New Invoice Response Payload
Use this type to display the data and error outputs of a mutation for a new invoice.
Type |
|
|
|
New Label Payload
Use this type to display the data and error outputs of a mutation for a new label.
Type |
|
|
|
New Line Item Data Input
Use this type to define the displayed output of a mutation for a new line item on an invoice.
Type |
|
|
|
New Patient Document Payload
Use this type to display the data and error outputs of a mutation for a new patient document.
Type |
|
|
|
New Practice Template Document Payload
Use this type to display the data and error outputs of a mutation for a new practice template document made in the Heydoc Microsoft Word add-in.
Type |
|
|
|
Page Info
This type specifies the number of pages and results that you want returned in a query.
Type |
|
|
|
Page Info for Cursor Pagination
This type specifies the size of the page that you want returned and the results displayed on them for a cursor pagination type.
Type |
|
|
|
Pagination
This type lets you define which specific pages you want returned and the results displayed on them.
Type |
|
|
|
Patient
This type allows you to display the output of a query or mutation for a specific patient.
Type |
|
|
|
Patient Access Group
This type allows you to display the output of a query or mutation for a patient access group.
Type |
|
|
|
Patient Communication Preferences Input
This type allows you to query and mutate a patient's communication preferences.
Type |
|
|
|
Patient Data
Use this type to define the displayed output of a mutation for a patient.
Type |
|
|
|
Patient Document
This type allows you to display the output of a query or mutation for a document on a patient's record.
Type |
|
|
|
Patient Document Data
Use this type to define the displayed output of a mutation for a patient document.
Type |
|
|
|
Patient Label
This type allows you to display the output of a query or mutation for a specific patient label.
Type |
|
|
|
Patient Number
This type allows you to display the output of a query or mutation for a patient ID number.
Type |
|
|
|
Patient Response Payload
Use this type to display the data and error outputs of a mutation for an existing patient.
Type |
|
|
|
Phone
This type allows you to display the output of a query or mutation for a phone number.
Type |
|
|
|
Phone Type
Use this type to specify the type of phone number that you want to query or mutate.
Enum Value |
|
|
|
|
|
Practice
This type allows you to display the output of a query for a practice.
Type |
|
|
|
Practice Access Groups
This type allows you to query an access group linked to a practice location.
Type |
|
|
|
Practice Location
Use this type to query the details of a practice's location.
Type |
|
|
|
Practice Numbers
Use this type to query or mutate a practice ID number's settings.
Type |
|
|
|
Practice Payment Type
This type allows you to query and mutate a payment method used by your practice.
Type |
|
|
|
Practice Template Document
Use this type to display the output of a query or mutation for a specific practice template in the Heydoc Microsoft Word add-in.
Type |
|
|
|
Practice Template Document Data
Use this type to define the displayed output of a query for a practice template made in the Heydoc Microsoft Word add-in.
Type |
|
|
|
Prescription
This type allows you to display the output of a query for a specific prescription.
Type |
|
|
|
Prescription Data
This type allows you to display the output of a query for prescription data.
Type |
|
|
|
Prescription Drug
This type allows you to display the output of a query for a prescription drug.
Type |
|
|
|
Privacy Policy
This type allows you to display the output of a query for a privacy policy.
Type |
|
|
|
Product
This type allows you to display the output of a query or mutation for a specific product.
Type |
|
|
|
Product Data
Use this type to define the displayed output of a mutation for a product.
Type |
|
|
|
Product Data Input
Use this type to define the displayed output of a mutation for an existing product.
Type |
|
|
|
Product Label
This type allows you to display the output of mutation for a digital product label.
Type |
|
|
|
Product Response Payload
Use this type to display the data and error outputs of a mutation for an existing patient.
Type |
|
|
|
Product Type
You can define different product types with enum values:
Type |
|
|
|
Query Options
This type allows you to give more specific parameters when making a query request.
Type |
|
|
|
Record
This type allows you to display the output of a query for a specific record.
Type |
|
|
|
Record Data
Use this type to define the displayed output of a mutation for a record.
Type |
|
|
|
Review Status
Use this type to specify the status of a letter for a query or mutation.
Enum Value | Definition |
| No status assigned to the letter |
| Letter is awaiting review |
| Letter is waiting to be edited |
| Letter is ready to be sent |
Sharing Token
This type allows you to generate a token for the sharing portal.
Type |
|
|
|
Snomed
This type allows you to display the output of a query for a snomed term.
Type |
|
|
|
String
The String
scalar type represents text data. The String
type is most often used in GraphQL to represent human-readable text.
For example: head
, shoulders
, knees
Tax
This type allows you to display the output of a query for a taxrate.
Type |
|
|
|
Token
This type allows you to create a unique login code for users in your practice.
Type |
|
|
|
Update Contact Data Address Input
Use this type to define the displayed output of a mutation for an external contact's address.
Type |
|
|
|
Update Contact Data Input
Use this type to define the displayed output of a mutation for an external contact.
Type |
|
|
|
Update Contact Data Phone Input
Use this type to define the displayed output of a mutation for an external contact's phone number.
Type |
|
|
|
Update Contact Phone Data
This type allows you to mutate an external contact's phone data.
Type |
|
|
|
Update Custom Attribute Data
Use this type to define the displayed output for custom attribute data in a mutation.
Type |
|
|
|
Update Invoice Data Input
Use this type to define the displayed output for a mutation for an invoice.
Type |
|
|
|
Update Invoice Payment Data Input
Use this type to define the displayed output for an update mutation for an invoice payment method.
Type |
|
|
|
Update Letter Data Input
Use this type to define the displayed output of a mutation for a letter.
Type |
|
|
|
Update Line Item Data Input
Use this type to define the displayed output of an update mutation for a line item on an invoice.
Type |
|
|
|
Update Patient Data Input
Use this type to define the displayed output for an update mutation for a patient.
Type |
|
|
|
Update Phone Data
Use this type to define the displayed output for an update mutation for a phone number.
Type |
|
|
|
User
This type allows you to display the output of a query for a specific user.
Type |
|
|
|
User Access Group
This type allows you to display the output of a query for a user access group.
Type |
|
|
|
User Data
Use this type to define the displayed output of a mutation for a user.
Type |
|
|
|