# TELUS Health Collaborative Health Record (CHR) Enterprise API — GraphQL SDL # Derived verbatim from the provider-published introspection document: # https://apidocs.ca.inputhealth.com/enterprise-api/introspection.json # (linked from http://apidocs.inputhealth.com/voyager.html, the GraphQL Voyager # schema explorer referenced by https://help.inputhealth.com/en/articles/5941595-api-reference-documentation) # Fetched: 2026-07-25. No types, fields, or arguments were added, removed, or invented. schema { query: Query mutation: Mutation } """An ISO 8601-encoded datetime, requires Z or timezone offset to be included.""" scalar DateTimeWithTimezone """An eight digit Drug Identification Number (DIN) assigned to each drug product marketed under the Food and Drugs Act and Regulations in Canada.""" scalar Din """An email address.""" scalar Email """A file.""" scalar FileScalar """Represents a fragment of HTML content.""" scalar HtmlFragment """An ISO 8601-encoded date.""" scalar ISO8601Date """An ISO 8601-encoded datetime.""" scalar ISO8601DateTime """A string containing only numeric characters (0-9) with optional leading zeroes""" scalar NumericString """An ISO 8601-encoded datetime, requires Z or timezone offset to be included""" scalar PartialDate """A phone number.""" scalar Phone """Search value that will be used ignoring all non-numeric characters.""" scalar PhoneSearchString """Search value that will be used ignoring case and surrounding whitespace""" scalar SearchString """Time string in 24-hour format (HH:MM).""" scalar TimeWithoutOffset """An ISO 8601-encoded datetime, but only values in future are accepted, and timezone has to be specified""" scalar UpcomingDateTime """List of the supported attachment resource types.""" enum AddReferralRecordAttachmentInputResourceTypeEnum { """Administrative note.""" ADMINISTRATIVE_NOTE """Answer sheet.""" ANSWER_SHEET """Appointment.""" APPOINTMENT """Attachment.""" ATTACHMENT """Encounter.""" ENCOUNTER """Injection record.""" INJECTION_RECORD """Medication record.""" MEDICATION_RECORD """Patient allergy record.""" PATIENT_ALLERGY_RECORD } """List of the supported options for advanced directive.""" enum AdvancedDirectivesEnum { """Perform all life saving measures possible""" PERFORM_ALL_LIFE_SAVING_MEASURES_POSSIBLE """No CPR""" NO_CPR """No mechanical ventilation""" NO_MECHANICAL_VENTILATION """No cardiac defibrillation""" NO_CARDIAC_DEFIBRILLATION """No endotracheal intubation""" NO_ENDOTRACHEAL_INTUBATION """No transcutaneous pacing""" NO_TRANSCUTANEOUS_PACING """Other - described in advanced directives free text field.""" OTHER } """Represents the status of an allergy record.""" enum AllergyStatusEnum { """The allergy is currently active.""" ACTIVE """The allergy is unconfirmed.""" UNCONFIRMED """The allergy has been confirmed.""" CONFIRMED """The allergy is no longer active.""" INACTIVE """The allergy has been resolved.""" RESOLVED """The allergy has been refuted.""" REFUTED } """List of the supported fields for ordering.""" enum AppointmentOrderByEnum { """Logical id of the appointment.""" ID """Start time of the appointment.""" START_AT """When the record was created.""" CREATED_AT """When the record was last updated.""" UPDATED_AT """Location of the appointment, location name is used to determine order.""" LOCATION """Provider of the appointment, provider name is used to determine order.""" PROVIDER """Appointment type of the appointment, appointment type name is used to determine order.""" SERVICE """Type of visit for the appointment.""" VISIT_TYPE } """List of the supported appointment statuses.""" enum AppointmentStatusEnum { """Indicates that the appointment was requested by a patient and has not yet been accepted or rejected by staff.""" REQUESTED """Indicates that the appointment was requested by the clinic and has not yet been accepted or rejected by the patient (Maps to Confirmation Required in the UI).""" PROVIDER_REQUESTED """Indicates that the appointment has been confirmed by either the patient or clinic and no further action is required.""" CONFIRMED """Indicates that the patient has not yet completed all pre-visit Qnaires associated with the appointment.""" ACTION_REQUIRED """Indicates that the patient did not arrive for their scheduled visit.""" NO_SHOW """Indicates that the patient has arrived for their appointment and is currently in the waiting room.""" ARRIVED """Indicates that the patient is in a room.""" IN_ROOM """Indicates that the appointment is in progress.""" BEING_SEEN """Indicates that the appointment has finished.""" VISIT_COMPLETED """Indicates that the encounter associated with the appointment has been signed.""" NOTE_SIGNED """Indicates that the appointment was cancelled.""" CANCELLED """Indicates that the appointment was rejected by staff.""" REJECTED """Indicates that the appointment is either tentative or has not yet received a reminder.""" BOOKED """Indicates that the appointment was rescheduled.""" RESCHEDULED """Indicates that there is no set appointment status.""" NONE """system_delay""" SYSTEM_DELAY } """Enum for assignee types in tasks.""" enum AssigneeTypeEnum { """Represents a provider user who is responsible for managing a task.""" PROVIDER_USER } """List of the supported billing statuses.""" enum BillingStatusEnum { """Indicates the billing item has been adjusted.""" ADJUSTED """Indicates the billing item is complete.""" COMPLETED """Indicates that the billing item has been deleted.""" DELETED """Indicates that the billing item is in draft.""" DRAFT """Indicates that the billing item is in an error state.""" ERROR """Indicates that the billing item is on hold.""" HOLD """Indicates that the billing item is incomplete.""" INCOMPLETE """Indicates that the billing item resulted in no charge.""" NO_CHARGE """Indicates that the billing item was paid privately.""" PAID_PRIVATELY """Indicates that the billing item is past due.""" PAST_DUE """Indicates that the billing item payment is due.""" PAYMENT_DUE """Indicates that the billing item is in a pending state.""" PENDING """Indicates that the billing item is ready to be submitted.""" READY """Indicates that the billing item was refused.""" REFUSED """Indicates that the billing item was rejected.""" REJECTED """Indicates that there was a reversal on the billing item.""" REVERSAL """Indicates that there was an underpayment on the billing item.""" UNDERPAID """Indicates that the billing item was marked as a write off.""" WRITE_OFF } """List of the supported blood pressure arms.""" enum BloodPressureArmEnum { """Patient's left arm.""" LEFT """Patient's right arm.""" RIGHT } """List of the supported blood pressure positions.""" enum BloodPressurePositionEnum { """Lay position.""" LAY """Sit position.""" SIT """Stand position.""" STAND } """List of the supported fields for member type.""" enum CareTeamMemberMemberTypeEnum { """When the member is a provider user.""" PROVIDER_USER """When the member is a contact.""" CONTACT } """List of the supported fields for ordering.""" enum CareTeamMemberOrderByEnum { """When the record was created.""" CREATED_AT """Last name of care team member""" LAST_NAME } """Represents the default value type for case data entity date.""" enum CaseDataEntityDateDefaultValueEnum { """Today’s date is the default date.""" TODAY } """Represents the case data entity date format.""" enum CaseDataEntityDateFormatEnum { """Supports full year, month, day dates. (maps to all).""" YEAR_MONTH_DAY """Supports year and month dates.""" YEAR_MONTH """Supports year only.""" YEAR } """Represents the available date range for case data entity date.""" enum CaseDataEntityDateRangeEnum { """Supports dates in the future. (excluding current date)""" FUTURE """Supports dates in the past.""" PAST } """Enum representing types of case data template modules.""" enum CaseDataTemplateModuleEnum { """Represents a patient data address module.""" ADDRESS """Represents a patient data contact module.""" CONTACT """Represents a patient data form module.""" FORM } """Represents the category of an allergy.""" enum CategoryEnum { """Allergy to a drug or medication.""" DRUG_ALLERGY """Allergy to a non-drug substance.""" NON_DRUG_ALLERGY } """List of supported colors.""" enum ColorNameEnum { """#c1272d""" RED """#f7931e""" ORANGE """#f15a24""" LIGHT_ORANGE """#d9e021""" YELLOW """#8cc63f""" LIGHT_GREEN """#39b54a""" GREEN """#006837""" DARK_GREEN """#00a99d""" TEAL """#29abe2""" LIGHT_BLUE """#0071bc""" BLUE """#435f80""" NEW_BLUE """#2e3192""" DARK_BLUE """#579""" ROYAL_BLUE """#662d91""" PURPLE """#9e005d""" MAGENTA """#aaaaaa""" GREY } """List of the supported contact jurisdictions.""" enum ContactJurisdictionEnum { """Alberta""" ALBERTA """British Columbia""" BRITISH_COLUMBIA """Manitoba""" MANITOBA """New Brunswick""" NEW_BRUNSWICK """Newfoundland and Labrador""" NEWFOUNDLAND_AND_LABRADOR """Nova Scotia""" NOVA_SCOTIA """Northwest Territories""" NORTHWEST_TERRITORIES """Nunavut""" NUNAVUT """Ontario""" ONTARIO """Prince Edward Island""" PRINCE_EDWARD_ISLAND """Quebec""" QUEBEC """Saskatchewan""" SASKATCHEWAN """Yukon""" YUKON } """List of the supported contact medical specialties.""" enum ContactMedicalSpecialtyEnum { """Adolescent Medicine""" ADOLESCENT_MEDICINE """Anatomical Pathology""" ANATOMICAL_PATHOLOGY """Anesthesiology""" ANESTHESIOLOGY """Cardiac Surgery""" CARDIAC_SURGERY """Cardiology""" CARDIOLOGY """Child and Adolescent Psychiatry""" CHILD_AND_ADOLESCENT_PSYCHIATRY """Clinical Immunology and Allergy""" CLINICAL_IMMUNOLOGY_AND_ALLERGY """Clinical Pharmacology and Toxicology""" CLINICAL_PHARMACOLOGY_AND_TOXICOLOGY """Colorectal Surgery""" COLORECTAL_SURGERY """Critical Care Medicine""" CRITICAL_CARE_MEDICINE """Dermatology""" DERMATOLOGY """Developmental Pediatrics""" DEVELOPMENTAL_PEDIATRICS """Diagnostic Radiology""" DIAGNOSTIC_RADIOLOGY """Emergency Medicine""" EMERGENCY_MEDICINE """Endocrinology and metabolism""" ENDOCRINOLOGY_AND_METABOLISM """Family Medicine""" FAMILY_MEDICINE """Family Medicine - Addiction Medicine""" FAMILY_MEDICINE_ADDICTION_MEDICINE """Family Medicine - Care of the Elderly""" FAMILY_MEDICINE_CARE_OF_THE_ELDERLY """Family Medicine - Emergency Medicine""" FAMILY_MEDICINE_EMERGENCY_MEDICINE """Family Medicine - Enhanced Surgical Skills""" FAMILY_MEDICINE_ENHANCED_SURGICAL_SKILLS """Family Medicine - Family Practice Anesthesia""" FAMILY_MEDICINE_FAMILY_PRACTICE_ANESTHESIA """Family Medicine - Obstetrical Surgical Skills""" FAMILY_MEDICINE_OBSTETRICAL_SURGICAL_SKILLS """Family Medicine - Palliative Care""" FAMILY_MEDICINE_PALLIATIVE_CARE """Family Medicine - Sport and Exercise Medicine""" FAMILY_MEDICINE_SPORT_AND_EXERCISE_MEDICINE """Forensic Pathology""" FORENSIC_PATHOLOGY """Forensic Psychiatry""" FORENSIC_PSYCHIATRY """Gastroenterology""" GASTROENTEROLOGY """General Internal Medicine""" GENERAL_INTERNAL_MEDICINE """General Pathology""" GENERAL_PATHOLOGY """General Practice""" GENERAL_PRACTICE """General Surgery""" GENERAL_SURGERY """General Surgical Oncology""" GENERAL_SURGICAL_ONCOLOGY """Geriatric Medicine""" GERIATRIC_MEDICINE """Geriatric Psychiatry""" GERIATRIC_PSYCHIATRY """Gynecologic Oncology""" GYNECOLOGIC_ONCOLOGY """Gynecologic Reproductive Endocrinology and Infertility""" GYNECOLOGIC_REPRODUCTIVE_ENDOCRINOLOGY_AND_INFERTILITY """Hematological Pathology""" HEMATOLOGICAL_PATHOLOGY """Hematology""" HEMATOLOGY """Infectious Diseases""" INFECTIOUS_DISEASES """Internal Medicine""" INTERNAL_MEDICINE """Interventional Radiology""" INTERVENTIONAL_RADIOLOGY """Maternal Fetal Medicine""" MATERNAL_FETAL_MEDICINE """Medical Biochemistry""" MEDICAL_BIOCHEMISTRY """Medical Genetics and Genomics""" MEDICAL_GENETICS_AND_GENOMICS """Medical Microbiology""" MEDICAL_MICROBIOLOGY """Medical Oncology""" MEDICAL_ONCOLOGY """Neonatal-Perinatal Medicine""" NEONATAL_PERINATAL_MEDICINE """Nephrology""" NEPHROLOGY """Neurology""" NEUROLOGY """Neuropathology""" NEUROPATHOLOGY """Neuroradiology""" NEURORADIOLOGY """neurosurgery""" NEUROSURGERY """Nuclear Medicine""" NUCLEAR_MEDICINE """Obstetrics and Gynecology""" OBSTETRICS_AND_GYNECOLOGY """Occupational Medicine""" OCCUPATIONAL_MEDICINE """Ophthalmology""" OPHTHALMOLOGY """Orthopedic Surgery""" ORTHOPEDIC_SURGERY """Otolaryngology - Head and Neck Surgery""" OTOLARYNGOLOGY_HEAD_AND_NECK_SURGERY """Pain Medicine""" PAIN_MEDICINE """Palliative Medicine""" PALLIATIVE_MEDICINE """Pediatric Emergency Medicine""" PEDIATRIC_EMERGENCY_MEDICINE """Pediatric Hematology Oncology""" PEDIATRIC_HEMATOLOGY_ONCOLOGY """Pediatric Radiology""" PEDIATRIC_RADIOLOGY """Pediatric Surgery""" PEDIATRIC_SURGERY """Pediatrics""" PEDIATRICS """Physical Medicine and Rehabilitation""" PHYSICAL_MEDICINE_AND_REHABILITATION """Plastic Surgery""" PLASTIC_SURGERY """Psychiatry""" PSYCHIATRY """Public Health and Preventive Medicine""" PUBLIC_HEALTH_AND_PREVENTIVE_MEDICINE """Radiation Oncology""" RADIATION_ONCOLOGY """Respirology""" RESPIROLOGY """Rheumatology""" RHEUMATOLOGY """Thoracic Surgery""" THORACIC_SURGERY """Urology""" UROLOGY """Vascular Surgery""" VASCULAR_SURGERY """Breast""" BREAST """Specialist Physician""" SPECIALIST_PHYSICIAN """Sports Medicine""" SPORTS_MEDICINE """Other""" OTHER } """List of the supported contact occupations.""" enum ContactOccupationEnum { """Athletic Therapist""" ATHLETIC_THERAPIST """Audiologist""" AUDIOLOGIST """Auxiliary Nurse""" AUXILIARY_NURSE """Chiropodist""" CHIROPODIST """Chiropractor""" CHIROPRACTOR """Clinical Assistant""" CLINICAL_ASSISTANT """Counselor""" COUNSELOR """Dental Assistant""" DENTAL_ASSISTANT """Dental Hygienist""" DENTAL_HYGIENIST """Dentist""" DENTIST """Dietitian""" DIETITIAN """Environmental Public Health Professional""" ENVIRONMENTAL_PUBLIC_HEALTH_PROFESSIONAL """Genetic Counsellor""" GENETIC_COUNSELLOR """Health Information Management Professional""" HEALTH_INFORMATION_MANAGEMENT_PROFESSIONAL """Kinesiologist""" KINESIOLOGIST """Lawyer""" LAWYER """Licensed Practical Nurse""" LICENSED_PRACTICAL_NURSE """Massage Therapist""" MASSAGE_THERAPIST """Medical Laboratory Technologist""" MEDICAL_LABORATORY_TECHNOLOGIST """Medical Office Admin""" MEDICAL_OFFICE_ADMIN """Medical Physicist""" MEDICAL_PHYSICIST """Medical Radiation Technologist""" MEDICAL_RADIATION_TECHNOLOGIST """Medical Student""" MEDICAL_STUDENT """Mental Health Worker""" MENTAL_HEALTH_WORKER """Mid-wife""" MID_WIFE """Naturopathic Physician""" NATUROPATHIC_PHYSICIAN """Nurse Practitioner""" NURSE_PRACTITIONER """Nurse""" NURSE """Occupational Therapist""" OCCUPATIONAL_THERAPIST """Optician""" OPTICIAN """Optometrist""" OPTOMETRIST """Other""" OTHER """Paramedic""" PARAMEDIC """Pharmacist""" PHARMACIST """Pharmacy Technician""" PHARMACY_TECHNICIAN """Physician Assistant""" PHYSICIAN_ASSISTANT """Physician""" MEDICAL_DOCTOR """Physiotherapist""" PHYSIOTHERAPIST """Psychologist""" PSYCHOLOGIST """Registered Dietitian""" REGISTERED_DIETITIAN """Registered Midwife""" REGISTERED_MIDWIFE """Registered Nurse""" REGISTERED_NURSE """Registered Psychiatric Nurse""" REGISTERED_PSYCHIATRIC_NURSE """Resident""" RESIDENT """Respiratory Therapist""" RESPIRATORY_THERAPIST """Social Worker""" SOCIAL_WORKER """Speech Language Pathologist""" SPEECH_LANGUAGE_PATHOLOGIST } """List of the titles that can be assigned to a contact.""" enum ContactTitleEnum { """Dr.""" DR """Doctor""" DOCTOR """Nurse""" NURSE """NP""" NP """Mr.""" MR """Ms.""" MS """Mrs.""" MRS } """List of the supported currencies.""" enum CurrencyUnitEnum { """Australian dollar""" AUD """Canadian dollar""" CAD """Euro""" EUR """British pound""" GBP """New Zealand dollar""" NZD """United States dollar""" USD } """List of the supported fields for ordering.""" enum DraftAppointmentOrderByEnum { """Logical id of the draft appointment.""" ID """When the record was created.""" CREATED_AT } """List of the supported fields for ordering.""" enum EncounterOrderByEnum { """When the record was created.""" CREATED_AT } """List of the supported notification methods for notifications related to this specific entity (i.e., appointment, etc…).""" enum EntityNotificationMethodEnum { """Notification by patient's default preference.""" DEFAULT """Notification by email and SMS.""" BOTH """Notification by email only.""" EMAIL """No notification method.""" NONE """Notification by SMS only.""" SMS } """Classification types for healthcare facilities and organizations.""" enum FacilityCategoryEnum { """Medical clinic or outpatient facility.""" CLINIC """Mental health crisis intervention services.""" CRISIS_SERVICES """Inpatient hospital or medical center.""" HOSPITAL """Health insurance provider or agency.""" INSURANCE_AGENCY """Medical laboratory or diagnostic testing facility.""" LABORATORY """Facility type not covered by other categories.""" OTHER """Pharmacy or pharmaceutical dispensary.""" PHARMACY """Pharmaceutical manufacturer or distributor.""" PHARMA_COMPANY """Individual physician practice or office.""" PHYSICIAN """Private healthcare clinic or specialty practice.""" PRIVATE_CLINIC """Public health department or government health agency.""" PUBLIC_HEALTH """Medical equipment or supply vendor.""" SUPPLIER """Utility services supporting healthcare operations.""" UTILITIES } """Enum representing types of flexible data categories.""" enum FlexibleDataCategoryTypeEnum { """Indicates that a category is related to forms.""" FORM """Indicates that a category is related to referrals.""" REFERRAL } """Enum representing types of flexible data templates.""" enum FlexibleDataTemplateTypeEnum { """Indicates that a template is related to address attributes.""" ADDRESS """Indicates that a template is related to appointment attributes.""" APPOINTMENT """Indicates that a template is related to contact attributes.""" CONTACT """Indicates that a template is related to form attributes.""" FORM } """Represents the available flexible data types that can be assigned to a field.""" enum FlexibleDataTypeOptionEnum { """Indicates that an entity value is a date.""" DATE """Indicates that an entity values are multiple selections.""" MULTIPLE """Indicates that an entity value is a number.""" NUMERICAL """Indicates that an entity value is a single selection.""" SINGLE """Indicates that an entity value is a text.""" TEXT } """Formulary frequency values""" enum FormularyFrequency { """QD - Once daily""" QD_ONCE_DAILY """BID - Twice daily""" BID_TWICE_DAILY """TID - Three times daily""" TID_THREE_TIMES_DAILY """QID - four times daily""" QID_FOUR_TIMES_DAILY """QAM - Every morning""" QAM_EVERY_MORNING """QHS - Daily at bedtime""" QHS_DAILY_AT_BEDTIME """QNOON - Daily at noon""" QNOON_DAILY_AT_NOON """QPM - Daily in the evening""" QPM_DAILY_IN_THE_EVENING """5x/day - Five times daily""" FIVE_TIMES_DAILY """6x/day - Six times daily""" SIX_TIMES_DAILY """7x/day - Seven times daily""" SEVEN_TIMES_DAILY """8x/day - Eight times daily""" EIGHT_TIMES_DAILY """9x/day - Nine times daily""" NINE_TIMES_DAILY """10x/day - Ten times daily""" TEN_TIMES_DAILY """STAT - Now""" STAT_NOW """Once - One time only""" ONCE_ONE_TIME_ONLY """Per Day""" PER_DAY """OTH - Other""" OTH_OTHER """Q1H - Every hour""" Q1H_EVERY_HOUR """Q1-2H - Every one to two hours""" Q1_2H_EVERY_ONE_TO_TWO_HOURS """Q2H - Every two hours""" Q2H_EVERY_TWO_HOURS """Q2-3H - Every two to three hours""" Q2_3H_EVERY_TWO_TO_THREE_HOURS """Q3H - Every three hours""" Q3H_EVERY_THREE_HOURS """Q3-4H - Every three to four hours""" Q3_4H_EVERY_THREE_TO_FOUR_HOURS """Q4H - Every four hours""" Q4H_EVERY_FOUR_HOURS """Q4-6H - Every four to six hours""" Q4_6H_EVERY_FOUR_TO_SIX_HOURS """Q6H - Every six hours""" Q6H_EVERY_SIX_HOURS """Q6-8H - Every six to eight hours""" Q6_8H_EVERY_SIX_TO_EIGHT_HOURS """Q8H - Every eight hours""" Q8H_EVERY_EIGHT_HOURS """Q8-10H - Every eight to ten hours""" Q8H_10H_EVERY_EIGHT_TO_TEN_HOURS """Q10H - Every 10 hours""" Q10H_EVERY_10_HOURS """Q12H - Every 12 hours""" Q12H_EVERY_12_HOURS """Q8-12H - Every eight to 12 hours""" Q8_12H_EVERY_EIGHT_TO_12_HOURS """Q36H - Every 36 hours""" Q36H_EVERY_36_HOURS """Q72H - Every 72 hours""" Q72H_EVERY_72_HOURS """Q2D - Every other day""" Q2D_EVERY_OTHER_DAY """Q3D - Every three days""" Q3D_EVERY_THREE_DAYS """Q4D - Every four days""" Q4D_EVERY_FOUR_DAYS """1x/5day - Once every five days""" ONCE_EVERY_FIVE_DAYS """1x/6day - Once every six days""" ONCE_EVERY_SIX_DAYS """1x/7day - Once every seven days""" ONCE_EVERY_SEVEN_DAYS """21/28D - 21 out of 28 days""" TWENTY_ONE_OUT_OF_28_DAYS """Q30D - Every 30 days""" Q30D_EVERY_30_DAYS """Q60D - Every 60 days""" Q60D_EVERY_60_DAYS """Q90D - Every 90 days""" Q90D_EVERY_90_DAYS """Every 2 weeks""" EVERY_2_WEEKS """Every 3 weeks""" EVERY_3_WEEKS """Every 4 weeks""" EVERY_4_WEEKS """Every 6 weeks""" EVERY_6_WEEKS """Every 8 weeks""" EVERY_8_WEEKS """Every 10 weeks""" EVERY_10_WEEKS """Every 12 weeks""" EVERY_12_WEEKS """1x/week - Once a week""" ONCE_A_WEEK """2x/week - Twice per week""" TWICE_PER_WEEK """3x/week - Three times per week""" THREE_TIMES_PER_WEEK """4x/week - Four times per week""" FOUR_TIMES_PER_WEEK """5x/week - Five times per week""" FIVE_TIMES_PER_WEEK """6x/week - Six times per week""" SIX_TIMES_PER_WEEK """1x/month - Once a month""" ONCE_A_MONTH """Every 3 months""" EVERY_3_MONTHS """Every 4 months""" EVERY_4_MONTHS """Every 6 months""" EVERY_6_MONTHS """1x/year - Once a year""" ONCE_A_YEAR } """List of the supported sexes.""" enum GenderEnum { """Male""" MALE """Female""" FEMALE """Other""" OTHER } """List of the supported gender identities.""" enum GenderIdentityEnum { """Female""" FEMALE """Male""" MALE """Transgender male""" TRANSGENDER_MALE """Transgender female""" TRANSGENDER_FEMALE """Non-binary""" NON_BINARY """Prefer to describe""" PREFER_TO_DESCRIBE } """List of the supported statuses for goals.""" enum GoalStatusEnum { """Goal has been achieved.""" ACHIEVED """Goal is current active.""" ACTIVE """Goal has been dismissed.""" DISMISSED """Goal has not been achieved.""" NOT_ACHIEVED } """List of the supported fields for ordering""" enum GroupVisitOrderByEnum { """When the resource was created.""" CREATED_AT """Logical id of the group visit.""" ID """The name of the group visit's location.""" LOCATION_NAME """The name of the group visit.""" NAME """When the group visit starts.""" START_AT """When the resource was last updated.""" UPDATED_AT } """List of the supported heartbeats.""" enum HeartBeatEnum { """Irregular heartbeat.""" IRREGULAR """Regular heartbeat.""" REGULAR """Unknown heartbeat.""" UNKNOWN } """List of the supported injection routes.""" enum InjectionRouteEnum { """Intradermal route.""" INTRADERMAL """Intramuscular route.""" INTRAMUSCULAR """Intravenous route.""" INTRAVENOUS """Nasal route.""" NASAL """Oral route.""" ORAL """Subcutaneous route.""" SUBCUTANEOUS """Other route.""" OTHER } """List of the supported injection series.""" enum InjectionSeriesEnum { """Bosster injection.""" BOOSTER """Primary injection.""" PRIMARY """1st Primary injection.""" PRIMARY_1 """2st Primary injection.""" PRIMARY_2 """3st Primary injection.""" PRIMARY_3 """4st Primary injection.""" PRIMARY_4 """5st Primary injection.""" PRIMARY_5 """6st Primary injection.""" PRIMARY_6 } """List of the supported injection site given.""" enum InjectionSiteGivenEnum { """Patient's abdomen.""" ABDOMEN """Patient's left deltoid.""" LEFT_DELTOID """Patient's left forearm.""" LEFT_FOREARM """Patient's left gluteus.""" LEFT_GLUTEUS """Patient's left thigh.""" LEFT_THIGH """Patient's left upper arm.""" LEFT_UPPER_ARM """Patient's right deltoid.""" RIGHT_DELTOID """Patient's right forearm.""" RIGHT_FOREARM """Patient's right gluteus.""" RIGHT_GLUTEUS """Patient's right thigh.""" RIGHT_THIGH """Patient's right upper arm.""" RIGHT_UPPER_ARM """Other location.""" OTHER } """List of the supported injection types.""" enum InjectionTypeEnum { """Allergy type injection record.""" ALLERGY """Immunization type injection record.""" IMMUNIZATION """Injection type injection record.""" INJECTION """Other type injection record.""" OTHER } """List of the supported ensured billing statuses.""" enum InsuredBillingStatusEnum { """Indicates the billing item has been adjusted.""" ADJUSTED """Indicates the billing item has been cancelled.""" CANCELLED """Indicates that the billing item is in draft.""" DRAFT """Indicates that the billing item has been held.""" HELD """Indicates that the billing item is invalid.""" INVALID """Indicates that the billing item has been paid.""" PAID """Indicates that the billing item is ready to be submitted.""" READY """Indicates that the billing item was refused.""" REFUSED """Indicates that the billing item has been submitted.""" SUBMITTED } """List of the supported fields for ordering.""" enum LabResultOrderByEnum { """When the lab results was collected.""" COLLECTED_AT """When the record was created.""" CREATED_AT """Logical id of the lab result.""" ID """Common lab test name mapped from the distributors name by CHR lab mapping logic.""" LAB_TEST_NAME """Group of lab test name for the lab result.""" SECTION_NAME """When the record was updated.""" UPDATED_AT } """List of the supported fields for ordering""" enum LettterOrderByEnum { """When the resource was created.""" CREATED_AT """The user who created the letter, full name is used to determine order.""" CREATED_BY """Logical id of the letter.""" ID """The letter template, id is used to determine order.""" LETTER_TEMPLATE """The user who signed the letter, full name is used to determine order.""" SIGNED_BY """When the resource was last updated.""" UPDATED_AT } """List of the supported life stages.""" enum LifeStageEnum { """16 years to under 18 years""" ADOLESCENT """18 years and older""" ADULT """2 years to under 16 years""" CHILD """29 days to under 2 years""" INFANT """birth to 28 days""" NEW_BORN } """List of the supported locales for localized fields.""" enum LocaleEnum { """English Locale""" ENGLISH """French Locale""" FRENCH """Spanish Locale""" SPANISH } """List of the supported mass match types.""" enum MassMatchEnum { """All users""" ALL """All practitioner users""" PRACTITIONER """All staff users""" STAFF } """List of the supported dosage condition operators.""" enum MedicationDosageConditionEnum { """and""" AND """then""" THEN } """List of supported dose units.""" enum MedicationDoseUnitEnum { NONE """Ampule(s)""" AMPULE """Application(s)""" APPLICATION """Applicator""" APPLICATOR """Bottle(s)""" BOTTLE """Box(es)""" BOX """Capsule(s)""" CAPSULE """Cream""" CREAM """Cubic centimeter""" CUBIC_CENTIMETER """Dose""" DOSE """Each""" EACH """g""" G """Implant(s)""" IMPLANT """Inhalation(s)""" INHALATION """inch(es)""" IN_I """Insert(s)""" INSERT """mcg""" MCG """mg""" MG """mL""" ML """Package(s)""" PACKAGE """Packet(s)""" PACKET """Patch(es)""" PATCH """Puffs""" PUFFS """Pump(s)""" PUMP """Ring(s)""" RING """Spray(s)""" SPRAY """Suppositories""" SUPPOSITORIES """Tablet(s)""" TABLET """Tablespoon(s)""" TABLESPOON """Teaspoon(s)""" TEASPOON """Tube""" TUBE """Unit""" UNIT """Vials""" VIALS """%""" PERCENTAGE """Applicatorful(s)""" APPLICATORFUL """Strip(s)""" STRIP """Stick(s)""" STICK """Wafer(s)""" WAFER """Canister(s)""" CANISTER """Buccal tablet(s)""" BUCCAL_TABLET """Nebulizer(s)""" NEBULIZER """Lancet(s)""" LANCET """Drop(s)""" DROP """Scoop(s)""" SCOOP """Kit(s)""" KIT """Pad(s)""" PAD """Sachet(s)""" SACHET """Pellet(s)""" PELLET """Can(s)""" CAN """Lozenge(s)""" LOZENGE """Sponge(s)""" SPONGE """Gum""" GUM """Pen needle(s)""" PEN_NEEDLE """Device(s)""" DEVICE """Syringe(s)""" SYRINGE """Pastille(s)""" PASTILLE """Enema(s)""" ENEMA """Tampon(s)""" TAMPON """Dressing(s)""" DRESSING """Pen(s)""" PEN """L""" L """cup(s)""" CUP_US """fl oz""" FOZ_BR """gallon(s)""" GAL_BR """lb""" LB_AV """oz""" OZ_AV """pt""" PT_BR """qt""" QT_BR """sq ft""" SFT_I """sq in""" SIN_I """sq yd""" SYD_I """tbsp(s)""" TBS_US """tsp(s)""" TSP_US """centimeter(s)""" CM """sq cm""" CM2 """international unit(s)""" IU """kg""" KG """sq m""" M2 """milliUnit(s)""" MU """meq""" MEQ """sq mm""" MM2 """cubic mm""" MM3 """mmol""" MMOL """mol""" MOL """nL""" NL """ng""" NG """mcL""" UL """mcmol""" UMOL } """List of the supported medication duration units.""" enum MedicationDurationUnitEnum { """day""" DAY """week""" WEEK """month""" MONTH """year""" YEAR } """List of the supported medication forms.""" enum MedicationFormEnum { """Aerosol metered-dose""" AEROSOL_METERED_DOSE """Aerosol with propellants""" AEROSOL_WITH_PROPELLANTS """Bar chewable""" BAR_CHEWABLE """Bead""" BEAD """Biscuit""" BISCUIT """Bolus""" BOLUS """Capsule""" CAPSULE """Cartridge""" CARTRIDGE """Capsule delayed release""" CAPSULE_DELAYED_RELEASE """Cement""" CEMENT """Cord""" CORD """Cream""" CREAM """Douche""" DOUCHE """Drops""" DROPS """Dressing""" DRESSING """Capsule enteric-coated""" CAPSULE_ENTERIC_COATED """Tablet enteric coated""" TABLET_ENTERIC_COATED """Elixir""" ELIXIR """Emulsion""" EMULSION """Enema""" ENEMA """Tablet effervescent""" TABLET_EFFERVESCENT """Floss""" FLOSS """Gas""" GAS """Granule for suspension delayed release""" GRANULE_FOR_SUSPENSION_DELAYED_RELEASE """Granule effervescent""" GRANULE_EFFERVESCENT """Gel""" GEL """Gel controlled release""" GEL_CONTROLLED_RELEASE """Globules""" GLOBULES """Granules""" GRANULES """Graft""" GRAFT """Gum chewable""" GUM_CHEWABLE """Implant""" IMPLANT """Insert""" INSERT """Insert extended release""" INSERT_EXTENDED_RELEASE """Jam""" JAM """Kit""" KIT """Leaf""" LEAF """Liposome""" LIPOSOME """Liquid""" LIQUID """Lotion""" LOTION """Lozenge""" LOZENGE """Mouthwash gargle""" MOUTHWASH_GARGLE """Ointment""" OINTMENT """Ovules""" OVULES """Pad""" PAD """Patch""" PATCH """Powder enteric coated""" POWDER_ENTERIC_COATED """Powder effervescent""" POWDER_EFFERVESCENT """Pencil""" PENCIL """Piece chewable""" PIECE_CHEWABLE """Plaster""" PLASTER """Metered dose pump""" METERED_DOSE_PUMP """Drug premix""" DRUG_PREMIX """Pellet (oral)""" PELLET_ORAL """Powder""" POWDER """Powder sustained release""" POWDER_SUSTAINED_RELEASE """Powder for suspension sustained release""" POWDER_FOR_SUSPENSION_SUSTAINED_RELEASE """Paste""" PASTE """Powder for suspension""" POWDER_FOR_SUSPENSION """Powder for solution""" POWDER_FOR_SOLUTION """Ring slow release""" RING_SLOW_RELEASE """Suspension delayed release""" SUSPENSION_DELAYED_RELEASE """Shampoo""" SHAMPOO """Spray metered dose""" SPRAY_METERED_DOSE """Solution""" SOLUTION """Soap bar""" SOAP_BAR """Sprinkle capsule""" SPRINKLE_CAPSULE """Sponge""" SPONGE """Spray""" SPRAY """Suppository sustained release""" SUPPOSITORY_SUSTAINED_RELEASE """Sustained release capsule""" SUSTAINED_RELEASE_CAPSULE """Disc sustained release""" DISC_SUSTAINED_RELEASE """Syrup sustained release""" SYRUP_SUSTAINED_RELEASE """Sustained release tablet""" SUSTAINED_RELEASE_TABLET """Stick""" STICK """Strip""" STRIP """Suppository""" SUPPOSITORY """Suspension""" SUSPENSION """Suture""" SUTURE """Swab""" SWAB """Syrup""" SYRUP """Tablet""" TABLET """Tablet chewable""" TABLET_CHEWABLE """Tablet dispersible""" TABLET_DISPERSIBLE """Tablet delayed release""" TABLET_DELAYED_RELEASE """Tablet rapid dissolve""" TABLET_RAPID_DISSOLVE """Tablet sublingual""" TABLET_SUBLINGUAL """Tape""" TAPE """Teat dilator""" TEAT_DILATOR """Tea herbal""" TEA_HERBAL """Toothpaste""" TOOTHPASTE """Unassigned""" UNASSIGNED """Wafer""" WAFER """Wipe""" WIPE } """List of supported quantity units.""" enum MedicationQuantityUnitEnum { NONE """Ampule(s)""" AMPULE """Application(s)""" APPLICATION """Applicator""" APPLICATOR """Bottle(s)""" BOTTLE """Box(es)""" BOX """Capsule(s)""" CAPSULE """Cartridge(s)""" CARTRIDGE """Container(s)""" CONTAINER """Cubic centimeter""" CUBIC_CENTIMETER """Device""" DEVICE """Disks""" DISKS """Each""" EACH """g""" G """Implant(s)""" IMPLANT """Individual Doses""" INDIVIDUAL_DOSES """Inhalation(s)""" INHALATION """Inhaler""" INHALER """Insert(s)""" INSERT """mcg""" MCG """Metered Dose Inhaler""" METERED_DOSE_INHALER """mg""" MG """mL""" ML """Package(s)""" PACKAGE """Packet(s)""" PACKET """Patch(es)""" PATCH """Puffs""" PUFFS """Pump(s)""" PUMP """Ring(s)""" RING """Spray(s)""" SPRAY """Suppositories""" SUPPOSITORIES """Tablet(s)""" TABLET """Tube""" TUBE """Unit""" UNIT """Vials""" VIALS """%""" PERCENTAGE """Strip(s)""" STRIP """Stick(s)""" STICK """Wafer(s)""" WAFER """Canister(s)""" CANISTER """Buccal tablet(s)""" BUCCAL_TABLET """Nebulizer(s)""" NEBULIZER """Lancet(s)""" LANCET """Drop(s)""" DROP """Dose(s)""" DOSE """Scoop(s)""" SCOOP """Kit(s)""" KIT """Pad(s)""" PAD """Sachet(s)""" SACHET """Bar(s)""" BAR """Pellet(s)""" PELLET """Bag(s)""" BAG """Can(s)""" CAN """Lozenge(s)""" LOZENGE """Sponge(s)""" SPONGE """Gum""" GUM """Pen needle(s)""" PEN_NEEDLE """Syringe(s)""" SYRINGE """Pastille(s)""" PASTILLE """Enema(s)""" ENEMA """Tampon(s)""" TAMPON """Dressing(s)""" DRESSING """Pen(s)""" PEN """L""" L """cup(s)""" CUP_US """fl oz""" FOZ_BR """gallon(s)""" GAL_BR """lb""" LB_AV """oz""" OZ_AV """pt""" PT_BR """qt""" QT_BR """sq ft""" SFT_I """sq in""" SIN_I """sq yd""" SYD_I """tbsp(s)""" TBS_US """tsp(s)""" TSP_US """sq cm""" CM2 """international unit(s)""" IU """kg""" KG """sq m""" M2 """milliUnit(s)""" MU """meq""" MEQ """sq mm""" MM2 """cubic mm""" MM3 """mmol""" MMOL """mol""" MOL """nL""" NL """ng""" NG """mcL""" UL """mcmol""" UMOL } """List of the supported medication routes.""" enum MedicationRouteEnum { """Oral""" ORAL """Topical""" TOPICAL """Inhalation""" INHALATION """Nasal""" NASAL """Ophthalmic""" OPHTHALMIC """Intravenous (IV)""" INTRAVENOUS_IV """Subcutaneous""" SUBCUTANEOUS """Transdermal""" TRANSDERMAL """Otic""" OTIC """Vaginal""" VAGINAL """Sublingual""" SUBLINGUAL """Rectal""" RECTAL """Vaporization""" VAPORIZATION """Intramuscular (IM)""" INTRAMUSCULAR_IM """Intra Articular""" INTRA_ARTICULAR """Intrauterine""" INTRAUTERINE """Buccal""" BUCCAL """Dental""" DENTAL """Intravenous""" INTRAVENOUS """Nasogastric""" NASOGASTRIC """Bathwater""" BATHWATER """Bladder Irrigation""" BLADDER_IRRIGATION """Endotracheal""" ENDOTRACHEAL """Epidural""" EPIDURAL """Intraarterial""" INTRAARTERIAL """Intrabursal""" INTRABURSAL """Intracardiac""" INTRACARDIAC """Intracavernosal""" INTRACAVERNOSAL """Intracisternal""" INTRACISTERNAL """Intradermal""" INTRADERMAL """Intradiscal""" INTRADISCAL """Intraganglion""" INTRAGANGLION """Intralesional""" INTRALESIONAL """Intraocular Irrigation""" INTRAOCULAR_IRRIGATION """Intraocular""" INTRAOCULAR """Intraosseous""" INTRAOSSEOUS """Intraperitoneal""" INTRAPERITONEAL """Intrapleural""" INTRAPLEURAL """Intrasinusal""" INTRASINUSAL """Intratendon""" INTRATENDON """Intrathecal""" INTRATHECAL """Intraventricular""" INTRAVENTRICULAR """Intravesical""" INTRAVESICAL """Intravitreal""" INTRAVITREAL """Irrigation""" IRRIGATION """Mouthwash""" MOUTHWASH """Ophthalmic Irrigation""" OPHTHALMIC_IRRIGATION """Oral Nebulization""" ORAL_NEBULIZATION """Ootic Irrigation""" OOTIC_IRRIGATION """Retrobulbar""" RETROBULBAR """Urethral""" URETHRAL """Vaginal Irrigation""" VAGINAL_IRRIGATION """Wound Irrigation""" WOUND_IRRIGATION """Other""" OTHER } """List of the supported notification methods for patient notifications.""" enum NotificationMethodEnum { """Notification by email and SMS.""" BOTH """Notification by email only.""" EMAIL """No notification method.""" NONE """Notification by SMS only.""" SMS } """List of the supported occupation for provider user.""" enum OccupationEnum { """Athletic Therapist""" ATHLETIC_THERAPIST """Audiologist""" AUDIOLOGIST """Auxiliary Nurse""" AUXILIARY_NURSE """Chiropodist""" CHIROPODIST """Chiropractor""" CHIROPRACTOR """Clinical Assistant""" CLINICAL_ASSISTANT """Counselor""" COUNSELOR """Dental Assistant""" DENTAL_ASSISTANT """Dental Hygienist""" DENTAL_HYGIENIST """Dentist""" DENTIST """Dietitian""" DIETITIAN """Environmental Public Health Professional""" ENVIRONMENTAL_PUBLIC_HEALTH_PROFESSIONAL """Genetic Counsellor""" GENETIC_COUNSELLOR """Health Information Management Professional""" HEALTH_INFORMATION_MANAGEMENT_PROFESSIONAL """Kinesiologist""" KINESIOLOGIST """Lawyer""" LAWYER """Licensed Practical Nurse""" LICENSED_PRACTICAL_NURSE """Massage Therapist""" MASSAGE_THERAPIST """Medical Laboratory Technologist""" MEDICAL_LABORATORY_TECHNOLOGIST """Medical Office Admin""" MEDICAL_OFFICE_ADMIN """Medical Physicist""" MEDICAL_PHYSICIST """Medical Radiation Technologist""" MEDICAL_RADIATION_TECHNOLOGIST """Medical Student""" MEDICAL_STUDENT """Mental Health Worker""" MENTAL_HEALTH_WORKER """Mid-wife""" MID_WIFE """Naturopathic Physician""" NATUROPATHIC_PHYSICIAN """Nurse Practitioner""" NURSE_PRACTITIONER """Nurse""" NURSE """Occupational Therapist""" OCCUPATIONAL_THERAPIST """Optician""" OPTICIAN """Optometrist""" OPTOMETRIST """Other""" OTHER """Paramedic""" PARAMEDIC """Pharmacist""" PHARMACIST """Pharmacy Technician""" PHARMACY_TECHNICIAN """Physician Assistant""" PHYSICIAN_ASSISTANT """Physician""" MEDICAL_DOCTOR """Physiotherapist""" PHYSIOTHERAPIST """Psychologist""" PSYCHOLOGIST """Registered Dietitian""" REGISTERED_DIETITIAN """Registered Midwife""" REGISTERED_MIDWIFE """Registered Nurse""" REGISTERED_NURSE """Registered Psychiatric Nurse""" REGISTERED_PSYCHIATRIC_NURSE """Resident""" RESIDENT """Respiratory Therapist""" RESPIRATORY_THERAPIST """Social Worker""" SOCIAL_WORKER """Speech Language Pathologist""" SPEECH_LANGUAGE_PATHOLOGIST } """List of supported off time colors.""" enum OffTimeColorEnum { """#aaaaaa""" GREY """#353535""" BLACK """#e40f0f""" RED """#ffaacc""" PINK """#ff6f69""" SALMON """#fb9d50""" ORANGE """#984800""" BROWN """#ffeead""" YELLOW """#aaffc5""" MINT """#96ceb4""" GREEN """#8ad0ff""" BLUE """#e581f3""" PURPLE } """List of the ordering directions.""" enum OrderByDirectionEnum { """Ascending""" ASC """Descending""" DESC } """Default value for the entity.""" enum PatientDataEntityDateDefaultValueEnum { """Today’s date is the default date.""" TODAY """No defined default date. (maps to empty string)""" NONE } """Format of the date for the entity.""" enum PatientDataEntityDateFormatEnum { """Supports full year, month, day dates. (maps to all).""" YEAR_MONTH_DAY """Supports year and month dates.""" YEAR_MONTH """Supports year only.""" YEAR } """List the available date range for the entity.""" enum PatientDataEntityDateRangeEnum { """Supports dates in the future. (excluding current date)""" FUTURE """Supports dates in the past.""" PAST } """Represents enum values for module.""" enum PatientDataTemplateModuleEnum { """Represents a patient data address module.""" ADDRESS """Represents a patient data appointment module.""" APPOINTMENT """Represents a patient data contact module.""" CONTACT """Represents a patient data form module.""" FORM } """List of the supported statuses.""" enum PatientHistoryRecordStatusEnum { """Currently active.""" ACTIVE """Currently inactive.""" INACTIVE """Currently reoccurring.""" RECURRENCE """Currently relapsing.""" RELAPSE """Currently in remission.""" REMISSION """Has been resolved.""" RESOLVED } """List of the supported fields for ordering.""" enum PatientOrderByEnum { """Logical id of the patient.""" ID """When the record was created.""" CREATED_AT """When the record was last updated.""" UPDATED_AT """The patient's first name.""" FIRST_NAME """The patient's last name.""" LAST_NAME """The patient's date of birth.""" DATE_OF_BIRTH """The patient's primary location, location name is used to determine order.""" PRIMARY_LOCATION """The patient's primary practitioner, full name is used to determine order.""" PRIMARY_PRACTITIONER } """List of the supported pronouns.""" enum PronounsEnum { """He/Him/His/Himself""" HE_HIM_HIS_HIMSELF """She/Her/Her/Herself""" SHE_HER_HER_HERSELF """They/Them/Their/Themself""" THEY_THEM_THEIR_THEMSELF """Sie/Sir/Hir/Hirself""" SIE_SIR_HIR_HIRSELF """Zie/Zim/Zir/Zirself""" ZIE_ZIM_ZIR_ZIRSELF } """List of the supported provider user titles.""" enum ProviderUserTitleEnum { """Dr.""" DR """Doctor""" DOCTOR """Nurse""" NURSE """NP""" NP """Mr.""" MR """Ms.""" MS """Mrs.""" MRS } """Represents the type of reaction to an allergen.""" enum ReactionEnum { """Severe, potentially life-threatening allergic reaction.""" ANAPHYLAXIS """Swelling beneath the skin, often around the eyes and lips.""" ANGIODEMA """Elevated body temperature as a response to an allergen.""" FEVER """Severe reaction to certain drugs used during surgery.""" MALIGNANT_HYPERTHERMIA """Skin reaction characterized by red, itchy welts.""" RASH_HIVES """Localized skin reaction at the site of contact with the allergen.""" RASH_LOCAL_CONTACT """Skin rash with both macules and papules.""" RASH_MACULOPAPULAR """Other types of skin rash not specified.""" RASH_OTHER """Reaction to proteins in antiserum derived from a non-human animal source.""" SERUM_SICKNESS """Severe skin reaction often caused by medication or infection.""" STEVENS_JOHNSON """Other type of allergic reaction not specified.""" OTHER } """Represents the timing of an allergic reaction.""" enum ReactionTypeEnum { """Immediate allergic reaction.""" ALLERGY """Non-allergic reaction, often related to digestion.""" INTOLERANCE } """List of the supported statuses.""" enum RecordsStatusEnum { """Currently active.""" ACTIVE """Has been confirmed.""" CONFIRMED """Currently inactive.""" INACTIVE """Has been refuted.""" REFUTED """Has been resolved.""" RESOLVED """Has NOT been confirmed.""" UNCONFIRMED } """Defines the possible directions of a referral record.""" enum ReferralDirectionEnum { """Indicates that the referral record direction is incoming.""" INCOMING """Indicates that the referral record direction is internal.""" INTERNAL """Indicates that the referral record direction is outgoing.""" OUTGOING } """Enum for comment author types in referral records.""" enum ReferralRecordCommentAuthorInputTypeEnum { """Represents a provider user who is responsible for managing a patient's referral record's comment.""" PROVIDER_USER } """List of the supported fields for ordering""" enum ReferralRecordOrderByEnum { """When the resource was created.""" CREATED_AT """Logical id of the referral record.""" ID """Referral record priority position.""" PRIORITY_POSITION """Referral Record reason.""" REASON """Referral record status position.""" STATUS_POSITION """When the resource was last updated.""" UPDATED_AT } """The direction of the referral a status can be used with. Referral statuses with an INCOMING direction can be used with either INCOMING or INTERNAL referrals.""" enum ReferralStatusDirectionEnum { """Indicates that the referral status is meant to be used with INCOMING or INTERNAL referrals.""" INCOMING """Indicates that the referral status is meant to be used with OUTGOING referrals.""" OUTGOING } """Represents the relationship to the patient.""" enum RelationshipEnum { """Aunt (maternal)""" AUNT_MATERNAL """Aunt (paternal)""" AUNT_PATERNAL """Brother""" BROTHER """Child""" CHILD """Cousin (maternal)""" COUSIN_MATERNAL """Cousin (paternal)""" COUSIN_PATERNAL """Father""" FATHER """Grandfather (maternal)""" GRANDFATHER_MATERNAL """Grandfather (paternal)""" GRANDFATHER_PATERNAL """Grandmother (maternal)""" GRANDMOTHER_MATERNAL """Grandmother (paternal)""" GRANDMOTHER_PATERNAL """Mother""" MOTHER """Sister""" SISTER """Uncle (maternal)""" UNCLE_MATERNAL """Uncle (paternal)""" UNCLE_PATERNAL } """List of the supported attachment resource types.""" enum RemoveReferralRecordAttachmentInputResourceTypeEnum { """Administrative note.""" ADMINISTRATIVE_NOTE """Answer sheet.""" ANSWER_SHEET """Appointment.""" APPOINTMENT """Attachment.""" ATTACHMENT """Patient conversation record.""" CONVERSATION """Encounter.""" ENCOUNTER """HL7 message record.""" HL7_MESSAGE """Injection record.""" INJECTION_RECORD """Medication record.""" MEDICATION_RECORD """Ocean message record.""" OCEAN_MESSAGE """Patient allergy record.""" PATIENT_ALLERGY_RECORD """Patient form record.""" PATIENT_FORM """Patient referral letter record.""" PATIENT_REFERRAL_LETTER """Patient payment record.""" PATIENT_PAYMENT """Patient prescription record.""" PATIENT_PRESCRIPTION """Uploaded file record.""" UPLOADED_FILE } """Represents who reported the allergy.""" enum ReportedByEnum { """Reported by the patient.""" PATIENT """Reported by a family member or caregiver.""" RELATED_PERSON """Reported by a healthcare practitioner.""" PRACTITIONER } """Represents the severity of an allergic reaction.""" enum SeverityEnum { """Severe severity, potentially life-threatening.""" SEVERE """Moderate severity, causing more pronounced symptoms.""" MODERATE """Mild severity, causing minor discomfort.""" MILD """Severity is unknown.""" UNKNOWN """No observable reaction.""" NO_REACTION } """List of the supported social history subtypes.""" enum SocialHistorySubtypeEnum { """Smoking type record.""" SMOKING """Alcohol type record.""" ALCOHOL """Recreational Drugs type record.""" RECREATIONAL_DRUGS """Diet type record.""" DIET """Physical Activity type record.""" PHISICAL_ACTIVITY """Sexual History type record.""" SEXUAL_HISTORY } """List of the supported social history types.""" enum SocialHistoryTypeEnum { """Substance Use type record.""" SUBSTANCE_USE """Occupation and Education type record.""" OCCUPATION_AND_EDUCATION """Living Environment type record.""" LIVING_ENVIRONMENT """Lifestyle type record.""" LIFESTYLE """Other type record.""" OTHER } """List of the supported fields for ordering""" enum TaskCategoryOrderByEnum { """When the record was created.""" CREATED_AT """Logical id of the task category.""" ID """Name of the task category.""" NAME } """Enumeration of allowed actor types for task comments.""" enum TaskCommentActorInputTypeEnum { """Represents a provider user.""" PROVIDER_USER } """Represents unit of start or due date offset of a task template.""" enum TaskDateOffsetUnitEnum { """Represents offsets in days.""" DAY """Represents offsets in months.""" MONTH """Represents offsets in years.""" YEAR } """Fields allowed for sorting tasks.""" enum TaskOrderByEnum { """Logical Id of the task category.""" CATEGORY_ID """When the record was created.""" CREATED_AT """Logical Id of the task.""" ID """Name of the task.""" NAME """Priority of the task.""" PRIORITY """Status of the task.""" STATUS } """Priority levels for tasks.""" enum TaskPriorityEnum { """routine task.""" ROUTINE """urgent task.""" URGENT """critical task.""" CRITICAL } """Represents the status of the task.""" enum TaskStatusEnum { """Indicates that the task is new.""" NEW """Indicates that the task is in progress.""" IN_PROGRESS """Indicates that the task is completed.""" DONE """Indicates that the task is on hold.""" ON_HOLD """Indicates that the task is cancelled.""" CANCELLED } """List of the supported fields for ordering""" enum TaskTemplateOrderByEnum { """When the record was created.""" CREATED_AT """Logical Id of the task template.""" ID """Name of task template.""" NAME } """Represents an unsupported attachment type.""" enum UnsupportedReferralRecordAttachmentTypeEnum { """Patient conversation.""" CONVERSATION """HL7 message.""" HL7_MESSAGE """Ocean message.""" OCEAN_MESSAGE """Patient form.""" PATIENT_FORM """Patient payment.""" PATIENT_PAYMENT """Patient prescription.""" PATIENT_PRESCRIPTION """Patient referral letter.""" PATIENT_REFERRAL_LETTER """Uploaded file.""" UPLOADED_FILE } """List of the supported visit types.""" enum VisitTypeEnum { """Appointment that is set to be either in person or over the phone.""" PHYSICAL_VISIT """Appointment that is set to be done virtually using the virtual visit workflow.""" VIRTUAL_VISIT } """List of the supported weekdays.""" enum WeekDayEnum { """Sunday""" SUNDAY """Monday""" MONDAY """Tuesday""" TUESDAY """Wednesday""" WEDNESDAY """Thursday""" THURSDAY """Friday""" FRIDAY """Saturday""" SATURDAY } """The resource includes a creation and an update timestamp.""" interface AttachmentInterface { """Indicates if the attachment can be edited.""" allowEdit: Boolean! """Indicates if the record has been archived.""" archived: Boolean """Url for the attachment content.""" attachmentUrl: String """AttachmentContentType - The content type of the attachment.""" contentType: String """When the resource was created.""" createdAt: ISO8601DateTime! """Indicates if the attachment is the current version.""" currentVersion: Boolean """Free text description of the attachment.""" description: String """The date associated with the document (i.e., the date of a medical report).""" fileDate: ISO8601DateTime! """File name of the attachment.""" fileName: String """Size of the attachment in bytes.""" fileSize: Int """List of tags/labels associated with the record.""" fileTags: [FileTag!] """Logical id of the resource.""" id: ID! """When the record was last reviewed.""" lastReviewedAt: ISO8601DateTime """Name of the attachment.""" name: String """User responsible for this record.""" owner: ProviderUser """When the file was received.""" receivedAt: ISO8601DateTime """Providers who have reviewed the record.""" reviewers: [ProviderUser!] """When the resource was last updated.""" updatedAt: ISO8601DateTime! """When the record was originally uploaded.""" uploadedAt: ISO8601DateTime """The versioning uuid of the attachment.""" versioningUuid: String } """Represents the base case data entity.""" interface CaseDataEntityInterface { """Indicates if the entity is for internal use only.""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity.""" required: Boolean """The UUID of the value entry.""" uuid: String! } """Common fields for case data values.""" interface CaseDataValueInterface { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! } """The resource is represented by / with a color.""" interface Colorable { """Color used to represent this resource in the CHR.""" color: String } """Health profile mutations.""" interface HealthProfileMutationsInterface { """Creates a patient’s family history record with the supplied attributes.""" addFamilyHistoryRecord(input: AddFamilyHistoryRecordInput!): AddFamilyHistoryRecordPayload! } """The resource is represented by / with an icon.""" interface Iconable { """Icon used to represent this resource in the CHR.""" icon: String } """The resource is identified with a logical id assigned by the CHR.""" interface Node { """Logical id of the resource.""" id: ID! } """Defines nullable createdAt and updatedAt properties""" interface NullableTimestampable { """When the resource was created.""" createdAt: ISO8601DateTime """When the resource was last updated.""" updatedAt: ISO8601DateTime } """Represents a patient data entity.""" interface PatientDataEntityInterface { """Indicates if the entity is for internal use only""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity""" required: Boolean """The UUID of the value entry.""" uuid: String! } """The resource includes a creation and an update timestamp.""" interface Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents one type of ProviderUser | EnterpriseApiConsumer""" union ArchivedBy = EnterpriseApiConsumer | ProviderUser """The actor who marked the case as closed.""" union CaseClosedByActor = EnterpriseApiConsumer | ProviderUser """The author who recorded the comment.""" union CaseCommentAuthor = EnterpriseApiConsumer | ProviderUser """Represents one type of CaseDataEntityDate | CaseDataEntityNumber | CaseDataEntityText | CaseDataEntitySingleSelection | CaseDataEntityMultiSelection""" union CaseDataEntityAny = CaseDataEntityDate | CaseDataEntityMultiSelection | CaseDataEntityNumber | CaseDataEntitySingleSelection | CaseDataEntityText """Represents one type of CaseDataValueText | CaseDataValueNumber | CaseDataValueSingleSelection | CaseDataValueMultiSelection | CaseDataValueDate""" union CaseDataValueAny = CaseDataValueDate | CaseDataValueMultiSelection | CaseDataValueNumber | CaseDataValueSingleSelection | CaseDataValueText """Represents one type of ProviderUser | EnterpriseApiConsumer""" union CreatedBy = EnterpriseApiConsumer | ProviderUser """Represents a flexible data value of type date, multi_selection, number, single_selection, or text.""" union FlexibleDataValueAny = FlexibleDataValueDate | FlexibleDataValueMultiSelection | FlexibleDataValueNumber | FlexibleDataValueSingleSelection | FlexibleDataValueText """Represents one type of ProviderUser | Contact""" union Member = Contact | ProviderUser """Represents one type of PatientDataEntityDate | PatientDataEntityNumber | PatientDataEntityText | PatientDataEntitySingleSelection | PatientDataEntityMultiSelection""" union PatientDataEntityAny = PatientDataEntityDate | PatientDataEntityMultiSelection | PatientDataEntityNumber | PatientDataEntitySingleSelection | PatientDataEntityText """Represents one type of PatientDataValueDate | PatientDataValueNumber | PatientDataValueText | PatientDataValueSingleSelection | PatientDataValueMultiSelection""" union PatientDataValueAny = PatientDataValueDate | PatientDataValueMultiSelection | PatientDataValueNumber | PatientDataValueSingleSelection | PatientDataValueText """Represents a Provider user or contact who created the referral record.""" union ReferralOrderingProviderResource = Contact | ProviderUser """Referral record supported attachment types.""" union ReferralRecordAttachment = AdministrativeNote | AnswerSheet | Appointment | Attachment | Encounter | InjectionRecord | MedicationRecord | PatientAllergyRecord | UnsupportedReferralRecordAttachment """Represents on the author of a referral record comment. It can be a provider user, a contact, an internal API consumer, or an enterprise API consumer.""" union ReferralRecordCommentAuthor = Contact | EnterpriseApiConsumer | InternalApiConsumer | ProviderUser """Represents a Provider user or contact for whom the referral record is addressed.""" union ReferralServiceProviderResource = Contact | ProviderUser """Represents the assignee of the task, which can be a ProviderUser or a Patient.""" union TaskAssignee = Patient | ProviderUser """Represents the actor who created a task comment, which can be a ProviderUser or an EnterpriseApiConsumer.""" union TaskCommentActor = EnterpriseApiConsumer | InternalApiConsumer | ProviderUser """Autogenerated input type of AddCareTeamMember""" input AddCareTeamMemberInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Member Id""" memberId: ID! """Member Type""" memberType: CareTeamMemberMemberTypeEnum! """Patient Id""" patientId: ID! """Role UUID""" roleUuid: String } """Autogenerated input type of AddCaseComment""" input AddCaseCommentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The text of the comment.""" body: String! """Logical id of the case record.""" caseId: ID! } """Autogenerated input type of AddDrugAllergyRecord""" input AddDrugAllergyRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The drug identification number for the drug that is the allergen.""" din: Din! """The point in the patient’s life when the allergy developed.""" lifeStage: LifeStageEnum """Free text option to describe the patient’s reaction to the allergen.""" otherReactions: String """Logical id of the patient for whom the allergy is being recorded.""" patientId: ID! """The patient’s reaction to the allergen.""" reaction: ReactionEnum """The type of reaction.""" reactionType: ReactionTypeEnum """The person who reported the allergy.""" reportedBy: ReportedByEnum """The severity of the allergy.""" severity: SeverityEnum """The status of the allergy.""" status: AllergyStatusEnum } """Autogenerated input type of AddFamilyHistoryRecord""" input AddFamilyHistoryRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical ID of the patient for whom the health profile family history record is being created.""" patientId: ID! """The age of the family member at the onset of the problem.""" ageAtOnset: Int """List of the free text diagnosis details of the family history record.""" customDiagnoses: [String!] """List of diagnosis logical ids to be assigned to the family history record.""" diagnosisIds: [ID!] """Indicates if the record is a risk factor.""" isRiskFactor: Boolean = false """The life stage at the onset of the problem.""" lifeStage: LifeStageEnum """Free text notes on the family history record.""" notes: String """Represents the family member's relationship to the patient.""" relationship: RelationshipEnum """Represents the start date of the problem for the family member.""" startDate: ISO8601Date """Treatment details for the problem.""" treatment: String } """Autogenerated input type of AddGroupVisitAttendee""" input AddGroupVisitAttendeeInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Indicates if CHR notifications should be sent to the patient, false by default.""" allowPatientNotification: Boolean = false """Indicates if CHR notifications should be sent to the practitioner, false by default.""" allowPractitionerNotification: Boolean = false """Logical id of the group visit the patient is being added to.""" groupVisitId: ID! """Logical id of the patient to add to the group visit.""" patientId: ID! """The notification channel to use when sending messages to the patient (email, sms, both, none, or inherit to use the patient's default).""" patientNotificationMethod: EntityNotificationMethodEnum """Optional free text reason for the attendance.""" reason: String """The initial status of the appointment created for the patient. If not supplied, the group visit's default status is used.""" status: AppointmentStatusEnum } """Autogenerated input type of AddMedicationRecord""" input AddMedicationRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the patient for whom the medication record is being recorded.""" patientId: ID! """The start date for the medication regimen.""" startAt: PartialDate! """Any additional instructions or notes related to the medication prescription.""" additionalInstruction: String """Indicates whether the medication is to be taken continuously without a defined end date.""" continuous: Boolean """The Drug Identification Number, a unique identifier assigned to the medication.""" din: Din """A list of dosage instructions for the medication, including the amount and frequency.""" dosages: [MedicationDosageInput!] """The end date for the medication regimen, if applicable.""" endAt: PartialDate """Indicates whether the medication was prescribed by an external healthcare provider.""" externallyPrescribed: Boolean """The form of the medication (e.g., tablet, capsule, liquid).""" form: MedicationFormEnum """The name of the medication prescribed.""" name: String """Indicates whether the medication prescription cannot be renewed.""" noRenewals: Boolean """Indicates whether the medication was previously prescribed and is being documented retrospectively.""" pastMedication: Boolean """The total quantity of the medication prescribed.""" quantity: MedicationQuantityInput """The number of refills allowed for the medication prescription.""" refill: Int """The route of administration for the medication (e.g., oral, intravenous).""" route: MedicationRouteEnum } """Autogenerated input type of AddNonDrugAllergyRecord""" input AddNonDrugAllergyRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the patient for whom the allergy is being recorded.""" patientId: ID! """The point in the patient’s life when the allergy developed.""" lifeStage: LifeStageEnum """The name of the allergen.""" name: String """Free text option to describe the patient’s reaction to the allergen.""" otherReactions: String """The patient’s reaction to the allergen.""" reaction: ReactionEnum """The type of reaction.""" reactionType: ReactionTypeEnum """The person who reported the allergy.""" reportedBy: ReportedByEnum """The severity of the allergy.""" severity: SeverityEnum """The status of the allergy.""" status: AllergyStatusEnum } """Represents a polymorphic attachment input.""" input AddReferralRecordAttachmentInput { """Logical id of attachment resource.""" resourceId: ID! """Type of the attachment resource.""" resourceType: AddReferralRecordAttachmentInputResourceTypeEnum! } """Autogenerated input type of AddReferralRecordComment""" input AddReferralRecordCommentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The author who added the comment.""" author: ReferralRecordCommentAuthorInput """Free text comment details.""" body: String! """Logical Id of the referral record.""" referralRecordId: ID! } """The add parameters for a patient's status tags.""" input AddStatusTagIdsInput { """Logical id of the status tag.""" id: ID! } """Autogenerated input type of AddTaskComment""" input AddTaskCommentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The actor who is creating the comment (optional, defaults to the API key used for the request).""" actor: TaskCommentActorInput """The text content of the comment.""" comment: String! """Logical ID of the task to add the comment to.""" taskId: ID! } """Ordering attributes for Appointments.""" input AppointmentOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: AppointmentOrderByEnum! } """Autogenerated input type of ArchiveCase""" input ArchiveCaseInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the case record to be archived.""" id: ID! } """Autogenerated input type of ArchivePatient""" input ArchivePatientInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the patient (respondent).""" id: ID! """Indicates if the patient is to be notified of any cancelled appointments, false by default.""" notify: Boolean = false } """Autogenerated input type of AssignReferralRecordToWaitingList""" input AssignReferralRecordToWaitingListInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the referral record which you want to add to referral waiting list.""" referralRecordId: ID! """Logical id of the referral status belong to the waiting list.""" referralStatusId: ID """Logical id of the referral waiting list. If provided null then referral record is unassigned from waiting list.""" waitingListId: ID } """Ordering attributes for CareTeamMembers.""" input CareTeamMemberOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: CareTeamMemberOrderByEnum! } """Represents the input for a case data value.""" input CaseDataValueInput { """The UUID for the case data value.""" valueUuid: String! """A plain text value to be applied.""" textValue: String """A date value to be applied.""" dateValue: PartialDate """A number value to be applied.""" numberValue: Float """A single select value to be applied.""" singleSelectValue: String """An array of values to be applied.""" multiSelectValue: [String!] } """Autogenerated input type of CloseCase""" input CloseCaseInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The reason to mark the case as closed.""" closeReason: String """Logical id of the case record to be closed.""" id: ID! """The reported close date time of the case. Current time by default.""" reportedClosedAt: DateTimeWithTimezone } """Parameter sets for creation/update/removal of the patient's identifications.""" input CombinedIdentificationInput { """The create parameters for a patient's identifications.""" create: [CreateIdentificationInput!] """The remove parameters for the patients's identifications.""" remove: [RemoveIdentificationInput!] """The update parameters for the patient's identifications.""" update: [UpdateIdentificationInput!] } """Parameters for updating the case's linked encounters.""" input CombinedLinkedEncounterInput { """List of encounter record logical IDs to be linked with the case record, with a limit of 10 records at a time.""" add: [ID!] """List of encounter record logical IDs to be unlinked from the case record.""" remove: [ID!] } """Input parameters for creating, updating, or deleting case observation records.""" input CombinedObservationInput { """The create parameters for a case observation record.""" create: [CreateObservationInput!] """Logical ids of the case observation records to be deleted.""" delete: [ID!] """The update parameters for a case observation record.""" update: [UpdateObservationInput!] } """Represents a polymorphic attachment input.""" input CombinedReferralRecordAttachmentInput { """Attachments associated with the referral record to add.""" add: [AddReferralRecordAttachmentInput!] """Attachments associated with the referral record to remove.""" remove: [RemoveReferralRecordAttachmentInput!] } """Parameter sets for adding/removal of the patient's status tags.""" input CombinedStatusTagIdsInput { """The add parameters for a patient's status tags.""" add: [AddStatusTagIdsInput!] """The remove parameters for the patients's status tags.""" remove: [RemoveStatusTagIdsInput!] } """Attributes for Appointment creation.""" input CreateAppointmentInput { """Logical id of the location where the appointment is being scheduled.""" locationId: ID! """Logical id of the patient for whom the appointment is being scheduled.""" patientId: ID """Logical id of the provider for whom the appointment is being scheduled.""" providerId: ID! """This field is deprecated, use patientId instead.""" respondentId: ID """Logical id of the appointment type to be assigned to the appointment.""" serviceId: ID! """List of custom appointment tag ids assigned to the appointment.""" tagIds: [ID!] """The status of the appointment.""" status: AppointmentStatusEnum """When the appointment is to start.""" startAt: UpcomingDateTime! """When the appointment is to end.""" untilAt: UpcomingDateTime! """Free text note field on the appointment.""" note: String """Logical id of the presenting issue to be assigned to the appointment; takes precedence over `Reason`.""" presentingIssueId: ID """Free text reason for the appointment; only used if `presentingIssueId` does not exist and is not supplied, or is supplied as null.""" reason: String """The method of notification for the appointment.""" notifyBy: EntityNotificationMethodEnum """The appointment visit type (i.e., Physical Visit or Virtual Visit). Defaults to Physical Visit.""" visitType: VisitTypeEnum """Indicates if the CHR business logic validations should be skipped (e.g. if CHR is not the source of truth for appointments scheduling), false by default.""" skipValidations: Boolean = false """Indicates if CHR notifications should be sent to the patient, false by default.""" allowNotification: Boolean = false """Indicates if CHR notifications should be sent to the practitioner, false by default.""" allowPractitionerNotification: Boolean = false } """**IGNORED** This is no longer supported.""" input CreateAppointmentOptions { """**IGNORED** This argument was only kept to prevent errors. To set a status, use the `input.status` argument.""" requireConfirmation: Boolean } """Autogenerated input type of CreateAttachment""" input CreateAttachmentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the case to which the attachment is associated.""" caseId: ID """The date associated with the document (i.e., the date of a medical report).""" date: ISO8601DateTime! """Free text description of the attachment.""" description: String """Uploaded file""" file: FileScalar! """List of tags/labels associated with the record.""" fileTagIds: [ID!] """Name of the attachment.""" name: String """Indicates if a CHR inbox messages should be sent to the owner, false by default. If set to true the providerId input field is required.""" notifyOwner: Boolean = false """Logical id of the patient for whom the attachment.""" patientId: ID! """User responsible for this record (i.e., owner). Field is required if `notifyOwner` is set to `true`.""" providerId: ID """Logical id of the referral record to which the attachment is associated.""" referralId: ID } """Autogenerated input type of CreateCase""" input CreateCaseInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The Provider user who is assigned to the case record.""" assignedProviderUserId: ID! """The case template to be used to create case.""" caseTemplateId: ID! """The issue assigned to the case.""" issue: String """List of encounter record Logical ids to be linked with the case record, with a limit of 10 records at a time.""" linkedEncounterIds: [ID!] """List of observations to create along with the case record.""" observations: [CreateObservationInput!] """Logical id of the patient for whom the case is being recorded.""" patientId: ID! """The status of the patient's case. The default status will be used if not provided.""" statusId: ID } """Autogenerated input type of CreateContact""" input CreateContactInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The billing code for the contact.""" billingCode: String """Additional notes about the contact, such as referral processes or availability.""" comments: String """The contact's email address.""" email: Email """The logical ID of the facility to associate the contact with.""" facilityId: ID! """The contact's fax number.""" fax: Phone """The contact's first name.""" firstName: String! """The jurisdiction where the contact is licensed to practice (e.g. a province).""" jurisdiction: ContactJurisdictionEnum """The contact's last name.""" lastName: String! """The contact's professional license number.""" licenseNumber: String """The contact's medical specialty, applicable if their occupation is 'Medical Doctor'.""" medicalSpecialty: ContactMedicalSpecialtyEnum """The contact's occupation (e.g., 'Physician', 'Nurse Practitioner').""" occupation: ContactOccupationEnum """The contact's primary phone number.""" phone: Phone """The extension for the contact's phone number.""" phoneExtension: NumericString """The contact's professional title (e.g., 'Dr.', 'Mr.', 'Ms.').""" title: ContactTitleEnum } """Autogenerated input type of CreateDraftAppointment""" input CreateDraftAppointmentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """When the draft appointment is to start.""" startAt: UpcomingDateTime! """When the draft appointment is to end.""" untilAt: UpcomingDateTime! """Logical id of the location where the draft appointment is being scheduled.""" locationId: ID! """Logical id of the appointment type to be assigned to the draft appointment.""" serviceId: ID """Logical id of the provider for whom the draft appointment is being scheduled.""" providerId: ID! } """Autogenerated input type of CreateFacility""" input CreateFacilityInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents the category of the facility (e.g., CLINIC, PHARMACY, etc.)""" category: FacilityCategoryEnum """The facility’s city name.""" city: String """Free text field to record the comments.""" comments: String """The facility’s country.""" country: String """The facility’s email address.""" email: Email """The facility’s fax number.""" fax: Phone """The name of the facility.""" name: String! """The facility’s phone number.""" phone: Phone """The facility’s phone number extension.""" phoneExtension: NumericString """The facility’s postal code.""" postalCode: String """The facility’s province name.""" province: String """The facility’s secondary phone number.""" secondaryPhone: Phone """The facility’s secondary phone number extension.""" secondaryPhoneExtension: NumericString """Represents the street address line 1 of the facility.""" streetAddress1: String """Represents the street address line 2 of the facility.""" streetAddress2: String """The facility’s website.""" website: String } """Autogenerated input type of CreateFlexibleWorkHour""" input CreateFlexibleWorkHourInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Color used to represent this resource in the CHR. Defaults to '#ffffff' (white).""" color: WorkHourColorInput = {} """The time at which scheduled work hour ends.""" endAtTime: TimeWithoutOffset! """Default length of the slots for this work hour in minutes. Defaults to 15 minutes.""" interval: Int = 15 """The logical ID of the location associated with this work hour. Defaults to account's default location.""" locationId: ID """The logical ID of the provider user for which work hour is being created.""" providerUserId: ID! """The service ids supported during this work hour.""" serviceIds: [ID!]! """The number of appointment slots available at this work hour. Defaults to 1.""" slot: Int = 1 """Indicates if the work hours defined is configured to stack appointments(i.e., back tot back) by default. Defaults to false.""" stacking: Boolean = false """The time at which scheduled work hour starts.""" startAtTime: TimeWithoutOffset! """The visit type of this work hour.""" visitType: VisitTypeEnum! """The time at which scheduled flexible work hour ends.""" endAtDate: ISO8601Date! """The time at which scheduled flexible work hour starts.""" startAtDate: ISO8601Date! } """The create parameters for a patient's identifications.""" input CreateIdentificationInput { """(Deprecated) Code of the identification.""" code: String """(Deprecated) Name of the identification.""" name: String """(Deprecated) Code of the identification payment issuer.""" paymentIssuerCode: String """Marks the identification as the patient's primary identification.""" primary: Boolean """Logical id of the template (patient identification defined in the patient settings) that was applied to this identification.""" templateId: Int """The patient's value for the identification.""" value: String! """The custom data of the identification.""" identificationCustomData: [IdentificationCustomDataInput!] } """Autogenerated input type of CreateIncomingReferralRecord""" input CreateIncomingReferralRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Attachments associated with the referral record.""" attachments: [AddReferralRecordAttachmentInput!] = [] """Represents the date when referral record is added.""" dateOfAdded: ISO8601Date! """Logical ID of the patient for whom the referral record is being created.""" patientId: ID! """Priority of the referral record.""" priorityId: ID """Free text field on the referral record, capturing reason for the referral record.""" reason: String! """Contact(i.e. external provider) who ordered the referral record.""" orderingProviderId: ID! """Provider user to whom referral record will be assigned.""" serviceProviderId: ID """Status of the referral record. A status with an INCOMING direction must be used. If none is provided, the one defined as default will be used.""" statusId: ID } """Autogenerated input type of CreateInternalReferralRecord""" input CreateInternalReferralRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Attachments associated with the referral record.""" attachments: [AddReferralRecordAttachmentInput!] = [] """Represents the date when referral record is added.""" dateOfAdded: ISO8601Date! """Logical ID of the patient for whom the referral record is being created.""" patientId: ID! """Priority of the referral record.""" priorityId: ID """Free text field on the referral record, capturing reason for the referral record.""" reason: String! """Provider user who ordered the referral record.""" orderingProviderId: ID! """Provider user to whom referral record will be assigned.""" serviceProviderId: ID! """Status of the referral record. A status with an INCOMING direction must be used. If none is provided, the one defined as default will be used.""" statusId: ID } """Input parameters for creating a case observation record.""" input CreateObservationInput { """The details of the case observation. Maximum limit is 1000 characters.""" details: String """The end date of the case observation.""" endAt: ISO8601Date """The start date of the case observation.""" startAt: ISO8601Date """The case observation type based on the observation types in the case template. If the template does not support observation types, the maximum limit is 255 characters.""" type: String! } """Autogenerated input type of CreateOutgoingReferralRecord""" input CreateOutgoingReferralRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Attachments associated with the referral record.""" attachments: [AddReferralRecordAttachmentInput!] = [] """Represents the date when referral record is added.""" dateOfAdded: ISO8601Date! """Logical ID of the patient for whom the referral record is being created.""" patientId: ID! """Priority of the referral record.""" priorityId: ID """Free text field on the referral record, capturing reason for the referral record.""" reason: String! """Provider user who ordered the referral record.""" orderingProviderId: ID! """Contact(i.e. external provider) to whom referral record will be addressed.""" serviceProviderId: ID """Status of the referral record. A status with an OUTGOING direction must be used. If none is provided, the one defined as default will be used.""" statusId: ID } """Autogenerated input type of CreatePatient""" input CreatePatientInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """When the patient was born.""" dateOfBirth: ISO8601Date! """The patient's first name.""" firstName: String! """The patient's sex.""" gender: GenderEnum! """The patient's identification numbers.""" identifications: [CreateIdentificationInput!]! """The patient's last name.""" lastName: String! """The gender the patient identifies with.""" genderIdentity: GenderIdentityEnum """Description of the patient's gender identity when `PREFER_TO_DESCRIBE` is used.""" genderIdentityDescription: String """This field is deprecated, use middleName instead.""" middleInitial: String """The patient's middle name.""" middleName: String """The name the patient prefers to be addressed by.""" preferredName: String """The patient's email address.""" email: Email """The patient's mobile phone number.""" phone: String """The patient's home phone number.""" homePhone: Phone """The patient's office phone number.""" officePhone: Phone """The patient's office phone number extension.""" officePhoneExt: String """Free text name of the family provider, appearing in `Addresses & Extra`.""" familyDoctor: String """Free text name of the referring provider, appearing in `Addresses & Extra`.""" referringDoctor: String """The patient's additional address line.""" additionalAddress: String """The city of the patient's address.""" city: String """The country of the patient's address.""" country: String """The region/province/state of the patient's address.""" region: String """The patient's street address.""" streetAddress: String """The ZIP code/postal code of the patient's address.""" zipcode: String """The patient's emergency contact's first name.""" emergencyFirstName: String """The patient's emergency contact's last name.""" emergencyLastName: String """The patient's emergency contact's middle name.""" emergencyMiddleName: String """The phone number of the patient's emergency contact.""" emergencyPhone: Phone """Who the emergency contact is to the patient i.e., `"Mother"`, `"Father"`, etc.""" emergencyRelationship: String """Name of the patient's insurance company.""" insuranceCompany: String """The patient's group number with the insurance company.""" insuranceGroupNumber: String """The patient's id with the insurance company.""" insuranceId: String """The patient's language.""" language: String """The method of notification for the patient.""" notifyBy: NotificationMethodEnum """Indicates if the patient has access to the CHR patient portal.""" publicAccessAllowed: Boolean """Logical id of the contact who is the family provider for this patient outside the clinic.""" familyPractitionerId: Int """Logical id of the facility that is the patient's pharmacy.""" preferredPharmacyId: Int """Logical id of the primary location the patient will be seen at.""" primaryLocationId: Int """Logical id of the CHR user who cares for this patient in the clinic.""" primaryPractitionerId: Int """The patient's pronouns.""" pronouns: PronounsEnum """Logical id of the contact that referred the patient to the clinic.""" referringPractitionerId: Int """Free text field for primary practitioner's email.""" primaryPractitionerEmail: String """Free text field for primary practitioner's name.""" primaryPractitionerName: String """List of status tag IDs to apply to the patient.""" statusTagIds: [ID!] } """Autogenerated input type of CreateProviderOffTime""" input CreateProviderOffTimeInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The color used to visually identify this off time in schedules. Defaults to GREY.""" color: OffTimeColorEnum = GREY """The date at which this scheduled off time ends.""" endAtDate: ISO8601Date! """The time at which scheduled off time ends.""" endAtTime: TimeWithoutOffset! """Free text field/title on the off time.""" memo: String """The logical ID of the provider user where the off time is being created.""" providerUserId: ID! """The date at which this scheduled off time starts.""" startAtDate: ISO8601Date! """The time at which scheduled off time starts.""" startAtTime: TimeWithoutOffset! } """Autogenerated input type of CreateRespondent""" input CreateRespondentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """When the patient was born.""" dateOfBirth: ISO8601Date! """The patient's first name.""" firstName: String! """The patient's sex.""" gender: GenderEnum! """The patient's identification numbers.""" identifications: [CreateIdentificationInput!]! """The patient's last name.""" lastName: String! """The gender the patient identifies with.""" genderIdentity: GenderIdentityEnum """Description of the patient's gender identity when `PREFER_TO_DESCRIBE` is used.""" genderIdentityDescription: String """This field is deprecated, use middleName instead.""" middleInitial: String """The patient's middle name.""" middleName: String """The name the patient prefers to be addressed by.""" preferredName: String """The patient's email address.""" email: Email """The patient's mobile phone number.""" phone: String """The patient's home phone number.""" homePhone: Phone """The patient's office phone number.""" officePhone: Phone """The patient's office phone number extension.""" officePhoneExt: String """Free text name of the family provider, appearing in `Addresses & Extra`.""" familyDoctor: String """Free text name of the referring provider, appearing in `Addresses & Extra`.""" referringDoctor: String """The patient's additional address line.""" additionalAddress: String """The city of the patient's address.""" city: String """The country of the patient's address.""" country: String """The region/province/state of the patient's address.""" region: String """The patient's street address.""" streetAddress: String """The ZIP code/postal code of the patient's address.""" zipcode: String """The patient's emergency contact's first name.""" emergencyFirstName: String """The patient's emergency contact's last name.""" emergencyLastName: String """The patient's emergency contact's middle name.""" emergencyMiddleName: String """The phone number of the patient's emergency contact.""" emergencyPhone: Phone """Who the emergency contact is to the patient i.e., `"Mother"`, `"Father"`, etc.""" emergencyRelationship: String """Name of the patient's insurance company.""" insuranceCompany: String """The patient's group number with the insurance company.""" insuranceGroupNumber: String """The patient's id with the insurance company.""" insuranceId: String """The patient's language.""" language: String """The method of notification for the patient.""" notifyBy: NotificationMethodEnum """Indicates if the patient has access to the CHR patient portal.""" publicAccessAllowed: Boolean """Logical id of the contact who is the family provider for this patient outside the clinic.""" familyPractitionerId: Int """Logical id of the facility that is the patient's pharmacy.""" preferredPharmacyId: Int """Logical id of the primary location the patient will be seen at.""" primaryLocationId: Int """Logical id of the CHR user who cares for this patient in the clinic.""" primaryPractitionerId: Int """The patient's pronouns.""" pronouns: PronounsEnum """Logical id of the contact that referred the patient to the clinic.""" referringPractitionerId: Int """Free text field for primary practitioner's email.""" primaryPractitionerEmail: String """Free text field for primary practitioner's name.""" primaryPractitionerName: String """List of status tags to apply to the patient. Tags are identified by their description, with a case sensitive match. If a tag doesn't exist, it is created on the fly.""" statusTags: [String!] } """Autogenerated input type of CreateStandardWorkHour""" input CreateStandardWorkHourInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Color used to represent this resource in the CHR. Defaults to '#ffffff' (white).""" color: WorkHourColorInput = {} """The time at which scheduled work hour ends.""" endAtTime: TimeWithoutOffset! """Default length of the slots for this work hour in minutes. Defaults to 15 minutes.""" interval: Int = 15 """The logical ID of the location associated with this work hour. Defaults to account's default location.""" locationId: ID """The logical ID of the provider user for which work hour is being created.""" providerUserId: ID! """The service ids supported during this work hour.""" serviceIds: [ID!]! """The number of appointment slots available at this work hour. Defaults to 1.""" slot: Int = 1 """Indicates if the work hours defined is configured to stack appointments(i.e., back tot back) by default. Defaults to false.""" stacking: Boolean = false """The time at which scheduled work hour starts.""" startAtTime: TimeWithoutOffset! """The visit type of this work hour.""" visitType: VisitTypeEnum! """Indicates if the work hours is shown on schedule. Defaults to false.""" showIntervalsOnSchedule: Boolean = false """The day of the week for which this standard work hours is defined.""" weekday: WeekDayEnum! } """Autogenerated input type of CreateTaskByTemplate""" input CreateTaskByTemplateInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The unique identifier of the task template to be used for creating the task.""" taskTemplateId: ID! """The due date and time of the task. This field defines when the task is expected to be completed.""" dueAt: DateTimeWithTimezone """The unique identifier of the patient associated with the task.""" patientId: ID """Specifies the priority level of the task.""" priority: TaskPriorityEnum """The start date and time of the task. This field defines when the task should begin.""" startAt: DateTimeWithTimezone """The current status of the task. NEW by default.""" status: TaskStatusEnum = NEW } """Autogenerated input type of CreateTask""" input CreateTaskInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The name or title of the task.""" name: String! """Specifies the priority level of the task.""" priority: TaskPriorityEnum! """The start date and time of the task. This field defines when the task should begin.""" startAt: DateTimeWithTimezone! """Represents the provider user to which task will be assigned to.""" assignee: TaskAssigneeInput """The due date and time of the task. This field defines when the task is expected to be completed.""" dueAt: DateTimeWithTimezone """The unique identifier of the location associated with the task.""" locationId: ID """The unique identifier of the patient associated with the task.""" patientId: ID """The current status of the task. NEW by default.""" status: TaskStatusEnum = NEW """A detailed description or summary of the task.""" summary: String """The unique identifier of the category to which the task belongs.""" taskCategoryId: ID } """Autogenerated input type of DeleteDraftAppointment""" input DeleteDraftAppointmentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the draft appointment to be deleted.""" id: ID! } """Ordering attributes for DraftAppointments.""" input DraftAppointmentOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: DraftAppointmentOrderByEnum! } """Ordering attributes for Encounters.""" input EncounterOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: EncounterOrderByEnum! } """Represents the input for a flexible data value.""" input FlexibleDataValueInput { """The UUID for the patient data value.""" valueUuid: String! """A plain text value to be applied.""" textValue: String """A date value to be applied.""" dateValue: PartialDate """A number value to be applied.""" numberValue: Float """A single select value to be applied.""" singleSelectValue: String """An array of values to be applied.""" multiSelectValue: [String!] } """Ordering attributes for Group Visits.""" input GroupVisitOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: GroupVisitOrderByEnum! } """The identification's custom data.""" input IdentificationCustomDataInput { """The value of the identification's custom data.""" value: String """The UUID of the identification's custom data.""" uuid: String! } """Ordering attributes for LabResult.""" input LabResultOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: LabResultOrderByEnum! } """Ordering attributes for Letters.""" input LetterOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: LettterOrderByEnum! } """Autogenerated input type of ManageCaseObservation""" input ManageCaseObservationInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the case record.""" caseId: ID! """The observation operations to perform (create, update, delete).""" manageCaseObservations: CombinedObservationInput! } """Input for medication dosage.""" input MedicationDosageInput { """The condition operator linking this dosage to the previous one (required for 2nd and subsequent dosages).""" condition: MedicationDosageConditionEnum """Unit of the dose.""" doseUnit: MedicationDoseUnitEnum """The dose of the medication.""" doseValue: Float """The duration unit of the medication dose.""" durationUnit: MedicationDurationUnitEnum """The duration value of the medication dose.""" durationValue: Int """Frequency of medication dose.""" frequency: FormularyFrequency """Indicates if the dose is directed as PRN.""" prn: Boolean } """Input for medication quantity.""" input MedicationQuantityInput { """The unit of the medication quantity.""" unit: MedicationQuantityUnitEnum """The prescribed quantity of the medication.""" value: Float } """Attributes for patient chart item's additional values. Only one field should be filled except 'value_uuid'""" input PatientDataValueInput { """The UUID for the patient data value.""" valueUuid: String! """A plain text value to be applied.""" textValue: String """A date value to be applied.""" dateValue: PartialDate """A number value to be applied.""" numberValue: Float """A single select value to be applied.""" singleSelectValue: String """An array of values to be applied.""" multiSelectValue: [String!] } """Ordering attributes for Patients.""" input PatientOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: PatientOrderByEnum! } """Autogenerated input type of ReassignCase""" input ReassignCaseInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Provider user ID to assign the case to.""" assignedProviderUserId: ID! """Logical id of the case record to be reassigned.""" id: ID! } """Represents a referral record comment author.""" input ReferralRecordCommentAuthorInput { """Logical Id of the author.""" id: ID! """Represents the author’s type.""" type: ReferralRecordCommentAuthorInputTypeEnum! } """List of the supported fields for ordering""" input ReferralRecordOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: ReferralRecordOrderByEnum! } """Autogenerated input type of RemoveGroupVisitAttendee""" input RemoveGroupVisitAttendeeInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Indicates if CHR notifications should be sent to the patient, false by default.""" allowPatientNotification: Boolean = false """Indicates if CHR notifications should be sent to the practitioner, false by default.""" allowPractitionerNotification: Boolean = false """Logical id of the group visit the patient is being removed from.""" groupVisitId: ID! """Logical id of the patient to remove from the group visit.""" patientId: ID! """The notification channel to use when sending messages to the patient (email, sms, both, none, or inherit to use the patient's default).""" patientNotificationMethod: EntityNotificationMethodEnum } """The remove parameters for the patients's identifications.""" input RemoveIdentificationInput { """Logical id of the identification.""" id: ID! } """Represents a polymorphic attachment input.""" input RemoveReferralRecordAttachmentInput { """Logical id of attachment resource.""" resourceId: ID! """Type of the attachment resource.""" resourceType: RemoveReferralRecordAttachmentInputResourceTypeEnum! } """The remove parameters for the patients's status tags.""" input RemoveStatusTagIdsInput { """Logical id of the status tag.""" id: ID! } """Autogenerated input type of SaveOlisLabMessage""" input SaveOlisLabMessageInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String json: FileScalar! pdf: FileScalar providerUserId: ID receivedAt: ISO8601DateTime reviewedAt: ISO8601DateTime } """Represents the assignee input for a task.""" input TaskAssigneeInput { """Logical id of the assignee.""" id: ID! """Type of the assignee (ProviderUser).""" type: AssigneeTypeEnum! } """List of the supported fields for ordering""" input TaskCategoryOrderByInput { """Direction of the ordering either ascending (i.e., A to Z, small to large, past to present) or descending (i.e., Z to A, large to small, present to past).""" direction: OrderByDirectionEnum! """Field to order by.""" field: TaskCategoryOrderByEnum! } """Input for specifying the actor who is creating the task comment.""" input TaskCommentActorInput { """Logical ID of the actor.""" id: ID! """Type of the actor.""" type: TaskCommentActorInputTypeEnum! } """Ordering parameters for tasks.""" input TaskOrderByInput { """Direction of the ordering either ascending or descending.""" direction: OrderByDirectionEnum! """Field to order by.""" field: TaskOrderByEnum! } """Represents a task template order by input.""" input TaskTemplateOrderByInput { """Direction of ordering either ascending(i.e. A to Z, small to large, past to present) or descending (i.e. Z to A, large to small, present to past)""" direction: OrderByDirectionEnum = DESC """Fields to order by.""" field: TaskTemplateOrderByEnum! } """Autogenerated input type of UpdateAppointment""" input UpdateAppointmentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Indicates if CHR notifications should be sent to the patient, false by default.""" allowNotification: Boolean = false """Indicates if CHR notifications should be sent to the practitioner, false by default.""" allowPractitionerNotification: Boolean = false """Logical id of the appointment.""" id: ID! """Logical id of the provider for whom the appointment is being scheduled.""" providerId: ID """Logical id of the appointment type to be assigned to the appointment.""" serviceId: ID """Logical id of the location where the appointment is being scheduled.""" locationId: ID """When the appointment is to start.""" startAt: UpcomingDateTime """When the appointment is to end.""" untilAt: UpcomingDateTime """Logical id of the presenting issue to be assigned to the appointment; takes precedence over `Reason`.""" presentingIssueId: ID """Free text reason for the appointment; only used if `presentingIssueId` does not exist and is not supplied, or is supplied as null.""" reason: String """The appointment visit type (i.e., Physical Visit or Virtual Visit). Defaults to Physical Visit.""" visitType: VisitTypeEnum """List of custom appointment tag ids assigned to the appointment.""" tagIds: [ID!] """The status of the appointment.""" status: AppointmentStatusEnum """Free text note field on the appointment.""" note: String """The method of notification for the appointment.""" notifyBy: EntityNotificationMethodEnum """Indicates if the CHR business logic validations should be skipped (e.g. if CHR is not the source of truth for appointments scheduling), false by default.""" skipValidations: Boolean = false } """Autogenerated input type of UpdateCareTeamMember""" input UpdateCareTeamMemberInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Care Team Member Id""" id: ID! """Member Id""" memberId: ID """Member Type""" memberType: CareTeamMemberMemberTypeEnum """Role UUID""" roleUuid: String } """Autogenerated input type of UpdateCase""" input UpdateCaseInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the case record to be updated.""" id: ID! """The issue assigned to the case.""" issue: String """Parameter sets for adding/removing the case's encounters.""" linkedEncounters: CombinedLinkedEncounterInput } """Autogenerated input type of UpdateCaseStatus""" input UpdateCaseStatusInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the case record to be updated.""" id: ID! """Logical Id of the case status.""" statusId: ID! } """Autogenerated input type of UpdateContact""" input UpdateContactInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The billing code for the contact.""" billingCode: String """Additional notes about the contact, such as referral processes or availability.""" comments: String """The contact's email address.""" email: Email """The contact's fax number.""" fax: Phone """The contact's first name.""" firstName: String """Logical Id of the contact to be updated.""" id: ID! """The jurisdiction where the contact is licensed to practice (e.g. a province).""" jurisdiction: ContactJurisdictionEnum """The contact's last name.""" lastName: String """The contact's professional license number.""" licenseNumber: String """The contact's medical specialty, applicable if their occupation is 'Medical Doctor'.""" medicalSpecialty: ContactMedicalSpecialtyEnum """The contact's occupation (e.g., 'Physician', 'Nurse Practitioner').""" occupation: ContactOccupationEnum """The contact's primary phone number.""" phone: Phone """The extension for the contact's phone number.""" phoneExtension: NumericString """The contact's professional title (e.g., 'Dr.', 'Mr.', 'Ms.').""" title: ContactTitleEnum } """Autogenerated input type of UpdateDraftAppointment""" input UpdateDraftAppointmentInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """When the draft appointment is to start.""" startAt: UpcomingDateTime! """When the draft appointment is to end.""" untilAt: UpcomingDateTime! """Logical id of the location where the draft appointment is being scheduled.""" locationId: ID! """Logical id of the appointment type to be assigned to the draft appointment.""" serviceId: ID """Logical id of the provider for whom the draft appointment is being scheduled.""" providerId: ID! """Logical id of the draft appointment to be updated.""" id: ID! } """Autogenerated input type of UpdateFacility""" input UpdateFacilityInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents the category of the facility (e.g., CLINIC, PHARMACY, etc.)""" category: FacilityCategoryEnum """The facility’s city name.""" city: String """Free text field to record the comments.""" comments: String """The facility’s country.""" country: String """The facility’s email address.""" email: Email """The facility’s fax number.""" fax: Phone """Logical id of the facility to be updated.""" id: ID! """The name of the facility.""" name: String """The facility’s phone number.""" phone: Phone """The facility’s phone number extension.""" phoneExtension: NumericString """The facility’s postal code.""" postalCode: String """The facility’s province name.""" province: String """The facility’s secondary phone number.""" secondaryPhone: Phone """The facility’s secondary phone number extension.""" secondaryPhoneExtension: NumericString """Represents the street address line 1 of the facility.""" streetAddress1: String """Represents the street address line 2 of the facility.""" streetAddress2: String """The facility’s website.""" website: String } """The update parameters for the patient's identifications.""" input UpdateIdentificationInput { """(Deprecated) Code of the identification.""" code: String """Logical id of the identification.""" id: ID! """(Deprecated) Name of the identification.""" name: String """(Deprecated) Code of the identification payment issuer.""" paymentIssuerCode: String """Marks the identification as the patient's primary identification.""" primary: Boolean """Logical id of the template (patient identification defined in the patient settings) that was applied to this identification.""" templateId: Int """The patient's value for the identification.""" value: String """The custom data of the identification.""" identificationCustomData: [IdentificationCustomDataInput!] } """Autogenerated input type of UpdateIncomingReferralRecord""" input UpdateIncomingReferralRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the referral record.""" id: ID! """Attachments associated with the referral record.""" attachments: CombinedReferralRecordAttachmentInput """Represents the date when referral record is added.""" dateOfAdded: ISO8601Date """Priority of the referral record.""" priorityId: ID """Free text field on the referral record, capturing reason for the referral record.""" reason: String """Contact(i.e. external provider) who ordered the referral record.""" orderingProviderId: ID """Provider user to whom referral record will be assigned.""" serviceProviderId: ID """Status of the referral record.""" statusId: ID } """Autogenerated input type of UpdateInternalReferralRecord""" input UpdateInternalReferralRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the referral record.""" id: ID! """Attachments associated with the referral record.""" attachments: CombinedReferralRecordAttachmentInput """Represents the date when referral record is added.""" dateOfAdded: ISO8601Date """Priority of the referral record.""" priorityId: ID """Free text field on the referral record, capturing reason for the referral record.""" reason: String """Provider user who ordered the referral record.""" orderingProviderId: ID """Provider user to whom referral record will be assigned.""" serviceProviderId: ID """Status of the referral record.""" statusId: ID } """Input parameters for updating an existing case observation record.""" input UpdateObservationInput { """The details of the case observation. Maximum limit is 1000 characters.""" details: String """The end date of the case observation.""" endAt: ISO8601Date """Logical id of the case observation record to be updated.""" id: ID! """The start date of the case observation.""" startAt: ISO8601Date """The case observation type based on the observation types in the case template. If the template does not support observation types, the maximum limit is 255 characters.""" type: String } """Autogenerated input type of UpdateOutgoingReferralRecord""" input UpdateOutgoingReferralRecordInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the referral record.""" id: ID! """Attachments associated with the referral record.""" attachments: CombinedReferralRecordAttachmentInput """Represents the date when referral record is added.""" dateOfAdded: ISO8601Date """Priority of the referral record.""" priorityId: ID """Free text field on the referral record, capturing reason for the referral record.""" reason: String """Provider user who ordered the referral record.""" orderingProviderId: ID """Contact(i.e. external provider) to whom referral record will be addressed.""" serviceProviderId: ID """Status of the referral record.""" statusId: ID } """Autogenerated input type of UpdatePatient""" input UpdatePatientInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The patient's additional address line.""" additionalAddress: String """The city of the patient's address.""" city: String """The country of the patient's address.""" country: String """When the patient was born.""" dateOfBirth: ISO8601Date """The patient's email address.""" email: Email """The patient's emergency contact's first name.""" emergencyFirstName: String """The patient's emergency contact's last name.""" emergencyLastName: String """The patient's emergency contact's middle name.""" emergencyMiddleName: String """The phone number of the patient's emergency contact.""" emergencyPhone: Phone """Who the emergency contact is to the patient i.e., `"Mother"`, `"Father"`, etc.""" emergencyRelationship: String """Free text name of the family provider, appearing in `Addresses & Extra`.""" familyDoctor: String """Logical id of the contact who is the family provider for this patient outside the clinic.""" familyPractitionerId: Int """The patient's first name.""" firstName: String """The patient's sex.""" gender: GenderEnum """The patient's home phone number.""" homePhone: Phone """Logical id of the patient (respondent).""" id: ID! """The patient's identification numbers.""" identifications: CombinedIdentificationInput """Name of the patient's insurance company.""" insuranceCompany: String """The patient's group number with the insurance company.""" insuranceGroupNumber: String """The patient's id with the insurance company.""" insuranceId: String """The patient's language.""" language: String """The patient's last name.""" lastName: String """This field is deprecated, use middleName instead.""" middleInitial: String """The patient's middle name.""" middleName: String """The method of notification for the patient.""" notifyBy: NotificationMethodEnum """The patient's office phone number.""" officePhone: Phone """The patient's office phone number extension.""" officePhoneExt: String """The patient's mobile phone number.""" phone: String """The name the patient prefers to be addressed by.""" preferredName: String """Logical id of the CHR user who cares for this patient in the clinic.""" primaryPractitionerId: Int """Logical id of the contact that referred the patient to the clinic.""" referringPractitionerId: Int """The region/province/state of the patient's address.""" region: String """The patient's street address.""" streetAddress: String """The ZIP code/postal code of the patient's address.""" zipcode: String """Logical id of the facility that is the patient's pharmacy.""" preferredPharmacyId: Int """Indicates if the patient has access to the CHR patient portal.""" publicAccessAllowed: Boolean """The gender the patient identifies with.""" genderIdentity: GenderIdentityEnum """Description of the patient's gender identity when `PREFER_TO_DESCRIBE` is used.""" genderIdentityDescription: String """List of status tag IDs to apply to the patient.""" statusTagIds: CombinedStatusTagIdsInput """Logical id of the primary location the patient will be seen at.""" primaryLocationId: ID """The patient's pronouns.""" pronouns: PronounsEnum """Free text name of the referring provider, appearing in `Addresses & Extra`.""" referringDoctor: String } """Autogenerated input type of UpdateTask""" input UpdateTaskInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the task to be updated.""" id: ID! """Represents the provider user to which task will be assigned to.""" assignee: TaskAssigneeInput """The due date and time of the task. This field defines when the task is expected to be completed.""" dueAt: DateTimeWithTimezone """The name or title of the task.""" name: String """Specifies the priority level of the task.""" priority: TaskPriorityEnum """The start date and time of the task. This field defines when the task should begin.""" startAt: DateTimeWithTimezone """The current status of the task.""" status: TaskStatusEnum """A detailed description or summary of the task.""" summary: String """The unique identifier of the category to which the task belongs.""" taskCategoryId: ID } """Autogenerated input type of UpsertCaseDataItem""" input UpsertCaseDataItemInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical id of the case.""" caseId: ID! """UUID of the case data template for the case data item to be inserted/updated.""" templateUuid: String! """Array of inputs for the fields within the case data item.""" values: [CaseDataValueInput!]! } """Autogenerated input type of UpsertPatientDataItem""" input UpsertPatientDataItemInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical ID of the patient for whom the patient data item is being inserted/updated.""" patientId: ID! """UUID of the patient data item to be inserted/updated.""" templateUuid: String! """Array of inputs for the fields within the patient data item.""" values: [PatientDataValueInput!]! } """Autogenerated input type of UpsertReferralDataItem""" input UpsertReferralDataItemInput { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Logical ID of the referral for whom the patient data item is being inserted/updated.""" referralRecordId: ID! """UUID of the referral data item to be inserted/updated.""" templateUuid: String! """Array of inputs for the fields within the referral data item.""" values: [FlexibleDataValueInput!]! } """Represents a color input.""" input WorkHourColorInput { """The name of the color.""" name: ColorNameEnum """The hex value of the color.""" rgb: String } """Autogenerated return type of AddCareTeamMember.""" type AddCareTeamMemberPayload { """The provider or contact who is a member of the patient's care team.""" careTeamMember: CareTeamMember! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of AddCaseComment.""" type AddCaseCommentPayload { """The newly created case comment.""" caseComment: CaseComment! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of AddDrugAllergyRecord.""" type AddDrugAllergyRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The drug allergy record that was recorded.""" patientAllergy: PatientAllergyRecord } """Autogenerated return type of AddFamilyHistoryRecord.""" type AddFamilyHistoryRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The family history record that was created.""" familyHistoryRecord: FamilyHistoryRecord } """Autogenerated return type of AddGroupVisitAttendee.""" type AddGroupVisitAttendeePayload { """The appointment record created for the patient within the group visit.""" appointment: Appointment! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of AddMedicationRecord.""" type AddMedicationRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The medication record that was recorded.""" medicationRecord: MedicationRecord! } """Autogenerated return type of AddNonDrugAllergyRecord.""" type AddNonDrugAllergyRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The drug allergy record that was recorded.""" patientAllergy: PatientAllergyRecord } """Autogenerated return type of AddReferralRecordComment.""" type AddReferralRecordCommentPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record's comment type.""" referralRecordComment: ReferralRecordComment! } """Autogenerated return type of AddTaskComment.""" type AddTaskCommentPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The task comment that was created.""" taskComment: TaskComment! } """Represents an encounter addendum.""" type Addendum implements Node & Timestampable { """The text of the addendum.""" content: String! """When the resource was created.""" createdAt: ISO8601DateTime! """Provider user who created the record.""" createdBy: ProviderUser! """Logical id of the resource.""" id: ID! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """A patient's administrative note.""" type AdministrativeNote implements Node & Timestampable { """The user who created the note.""" author: ProviderUser """When the resource was created.""" createdAt: ISO8601DateTime! """End date of the record.""" endDate: PartialDate """Logical id of the resource.""" id: ID! """Indicates if the note will pop up to the user when chart is opened.""" important: Boolean """Indicates if the note should only be viewed by the author.""" private: Boolean """Start date of the record.""" startDate: PartialDate """Body of the administrative note.""" text: String """Title of the administrative note.""" title: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for AdministrativeNote.""" type AdministrativeNoteConnection { """A list of edges.""" edges: [AdministrativeNoteEdge] """A list of nodes.""" nodes: [AdministrativeNote] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type AdministrativeNoteEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: AdministrativeNote } """Amounts data.""" type AmountsData { """Amount given as a discount for this billing item.""" discount: Float """Amount paid for this billing item.""" paid: Float """Amount processed for this billing item.""" processed: Float """Amount refunded for this billing item.""" refunded: Float """Total of the billing item.""" total: Float """Amount written off for this billing item.""" wroteOff: Float } """Represents an answer supplied in an answer sheet.""" type Answer implements Node & NullableTimestampable { """When the resource was created.""" createdAt: ISO8601DateTime """Logical id of the resource.""" id: ID! """Position of the answer.""" position: Int """The exportable name of the question.""" questionExportableName: String """Logical id of the question.""" questionId: ID """The text of the question.""" questionText: String """The variable name of the question.""" questionVariableName: String """The list of choices for the answer.""" responseSelections: [ResponseSelection!] """The text of the response to the question.""" responseText: String """Score of the answer.""" score: Float """When the resource was last updated.""" updatedAt: ISO8601DateTime } """Represents an answer sheet""" type AnswerSheet implements Node & Timestampable { """The answers supplied in this answer sheet.""" answersData: [Answer!] """When the resource was created.""" createdAt: ISO8601DateTime! """Provider user who created the record.""" createdBy: ProviderUser """When the qnaire was completed.""" finishedAt: ISO8601DateTime """Logical id of the resource.""" id: ID! """Indicates if the answer sheet is locked.""" locked: Boolean """When the record was locked.""" lockedAt: ISO8601DateTime """Provider user who locked the record.""" lockedBy: ProviderUser """Free text note in html for the record.""" note: String """The qnaire template associated with the answer sheet.""" questionnaire: Questionnaire """Description of the report associated with the answer sheet.""" reportDescription: String """Title of the report associated with the answer sheet.""" reportTitle: String """Score of the answer sheet.""" score: Float """Scores of the answer sheet.""" scores: [Score!] """Indicates if the record has been signed.""" signed: Boolean """The provider.""" signedBy: ProviderUser """When the qnarie was started.""" startedAt: ISO8601DateTime """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for AnswerSheet.""" type AnswerSheetConnection { """A list of edges.""" edges: [AnswerSheetEdge] """A list of nodes.""" nodes: [AnswerSheet] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type AnswerSheetEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: AnswerSheet } """Represents an appointment.""" type Appointment implements Node & Timestampable { """When the appointment status was set to `ARRIVED`.""" checkedInAt: ISO8601DateTime """When the resource was created.""" createdAt: ISO8601DateTime! """Schedule date of the appointment.""" date: ISO8601Date! """Indicates if the appointment record has been deactivated (i.e., archived)""" deactivated: Boolean """Logical id of the resource.""" id: ID! """Clinic location where the appointment is scheduled.""" location: Location """Free text note field on the appointment.""" note: String """Patient with whom the appointment is scheduled.""" patient: Patient! """Patient's primary reason for the appointment, from a clinic defined list.""" presentingIssue: PresentingIssue """Provider with whom the appointment is scheduled (group visits may not include a provider).""" provider: ProviderUser """Free text field on the appointment, capturing reason for the appointment.""" reason: String """Patient with whom the appointment is scheduled.""" respondent: Respondent! @deprecated(reason: "This field is deprecated, use patient instead.") """The appointment type assigned to the appointment (group visits may not include a service).""" service: Service """DateTime for the start of the appointment.""" startAt: ISO8601DateTime! """Current status of the appointment.""" status: AppointmentStatusEnum! """List of custom appointment status tags assigned to the appointment.""" tags: [AppointmentTag!]! """DateTime for the end of the appointment.""" untilAt: ISO8601DateTime! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The appointment visit type (i.e., Physical Visit or Virtual Visit).""" visitType: VisitTypeEnum! } """The connection type for Appointment.""" type AppointmentConnection { """A list of edges.""" edges: [AppointmentEdge] """A list of nodes.""" nodes: [Appointment] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type AppointmentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Appointment } """Represents an appointment tag.""" type AppointmentTag implements Colorable & Node & Timestampable { """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """The name of the appointment tag.""" name: String! """Three letter name for the appointment tag.""" shortName: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Autogenerated return type of ArchiveCase.""" type ArchiveCasePayload { """Represents a case.""" case: Case! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of ArchivePatient.""" type ArchivePatientPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The patient that was archived.""" patient: Patient! } """Autogenerated return type of AssignReferralRecordToWaitingList.""" type AssignReferralRecordToWaitingListPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Returns a single referral record.""" referralRecord: ReferralRecord! } """A list of the attachments on the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" type Attachment implements AttachmentInterface { """Indicates if the attachment can be edited.""" allowEdit: Boolean! """Indicates if the record has been archived.""" archived: Boolean """Url for the attachment content.""" attachmentUrl: String """AttachmentContentType - The content type of the attachment.""" contentType: String """When the resource was created.""" createdAt: ISO8601DateTime! """Indicates if the attachment is the current version.""" currentVersion: Boolean """Free text description of the attachment.""" description: String """The date associated with the document (i.e., the date of a medical report).""" fileDate: ISO8601DateTime! """File name of the attachment.""" fileName: String """Size of the attachment in bytes.""" fileSize: Int """List of tags/labels associated with the record.""" fileTags: [FileTag!] """Logical id of the resource.""" id: ID! """When the record was last reviewed.""" lastReviewedAt: ISO8601DateTime """Name of the attachment.""" name: String """User responsible for this record.""" owner: ProviderUser """When the file was received.""" receivedAt: ISO8601DateTime """Providers who have reviewed the record.""" reviewers: [ProviderUser!] """When the resource was last updated.""" updatedAt: ISO8601DateTime! """When the record was originally uploaded.""" uploadedAt: ISO8601DateTime """The versioning uuid of the attachment.""" versioningUuid: String } """The connection type for Attachment.""" type AttachmentConnection { """A list of edges.""" edges: [AttachmentEdge] """A list of nodes.""" nodes: [Attachment] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type AttachmentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Attachment } """Represents an appointment availability.""" type Availability { """Clinic location of the availability. Null for virtual appointment availabilities.""" location: Location """Provider of the availability.""" provider: ProviderUser! """DateTime for the start of the availability.""" startAt: ISO8601DateTime! """DateTime for the end of the availability.""" untilAt: ISO8601DateTime! """The available visit type (i.e., PHYSICAL_VISIT or VIRTUAL_VISIT).""" visitType: VisitTypeEnum! } """Represents a care team member.""" type CareTeamMember implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """The provider or contact who is a member of the patient's care team.""" member: Member! """Role assigned to the member.""" role: CareTeamRole """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents a care team role.""" type CareTeamRole { """Indicates if the resource has been archived.""" archived: Boolean """Provider user who archived the record.""" archivedBy: ProviderUser """Free text description of the care team role.""" description: String """Name of the care team role.""" name: String """Position of the care team role.""" position: Int! """UUID of the resource.""" uuid: String } """The connection type for CareTeamRole.""" type CareTeamRoleConnection { """A list of edges.""" edges: [CareTeamRoleEdge] """A list of nodes.""" nodes: [CareTeamRole] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CareTeamRoleEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CareTeamRole } """Represents a case.""" type Case implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """When the record was archived.""" archivedAt: ISO8601DateTime """Provider user who archived the record.""" archivedBy: ProviderUser """The provider user assigned to the case.""" assignedProviderUser: ProviderUser! """Returns a list of attachments, with cursor-based pagination. Default sort order is by creation date, with recent attachment first.""" attachments(after: String, before: String, first: Int, last: Int): AttachmentConnection! """Returns a list of case data items, with cursor-based pagination. Default sort order is by position.""" caseDataItems(after: String, before: String, first: Int, last: Int, templateUuid: String): CaseDataItemConnection! """The unique number of the patient’s case.""" caseNumber: String! """The reason to mark the case as closed.""" closeReason: String """When the case was closed.""" closedAt: ISO8601DateTime """The actor (provider or API consumer) who marked the case as closed.""" closedBy: CaseClosedByActor """Returns a list of comments linked to the patient’s case, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" comments(after: String, before: String, first: Int, last: Int): CaseCommentConnection! """When the resource was created.""" createdAt: ISO8601DateTime! """A list of the encounter notes on the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" encounters(after: String, before: String, first: Int, last: Int): EncounterConnection """Logical id of the resource.""" id: ID! """The issue of the patient’s case.""" issue: String """Returns a list of letters, with cursor-based pagination. Default sort order is by creation date and id, with newest records first.""" letters(contactId: ID, letterTemplateId: ID, title: String, after: String, before: String, first: Int, last: Int): LetterConnection! """Returns a list of observations, with cursor-based pagination. Default sort order is by startAt date, with new observation first and created_at with recent first if startAt is same.""" observations(type: SearchString, after: String, before: String, first: Int, last: Int): CaseObservationConnection! """When the case was opened.""" openedAt: ISO8601DateTime """When the case was reported as closed.""" reportedClosedAt: ISO8601DateTime """The status of the patient’s case.""" status: CaseStatus! """The patient’s case template.""" template: CaseTemplate! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents a case comment.""" type CaseComment implements Node & Timestampable { """The author who recorded the comment.""" author: CaseCommentAuthor! """The comment text details.""" body: String! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for CaseComment.""" type CaseCommentConnection { """A list of edges.""" edges: [CaseCommentEdge] """A list of nodes.""" nodes: [CaseComment] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CaseCommentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CaseComment } """The connection type for Case.""" type CaseConnection { """A list of edges.""" edges: [CaseEdge] """A list of nodes.""" nodes: [Case] """Information to aid in pagination.""" pageInfo: PageInfo! } """Represents a case data entity of type date.""" type CaseDataEntityDate implements CaseDataEntityInterface { """Format of the date for the entity.""" dateFormat: CaseDataEntityDateFormatEnum """Default value for the entity.""" defaultValue: CaseDataEntityDateDefaultValueEnum """Offset value from default date.""" defaultValueOffset: Int """Indicates if the entity is for internal use only.""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """List the available date range for the entity.""" range: [CaseDataEntityDateRangeEnum!] """Indicates if a value is required for this entity.""" required: Boolean """Indicates if the entity sets the date of occurred.""" setAsDateOfOccurred: Boolean """The UUID of the value entry.""" uuid: String! } """Represents a case data entity of type multi selection.""" type CaseDataEntityMultiSelection implements CaseDataEntityInterface { """Indicates if the entity is for internal use only.""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity.""" required: Boolean """The UUID of the value entry.""" uuid: String! """An array of values to choose from.""" values: [String!] } """Represents a case data entity of type number.""" type CaseDataEntityNumber implements CaseDataEntityInterface { """Indicates if the entity is for internal use only.""" internalUseOnly: Boolean """The maximum value allowed.""" maxValue: Float """The minimum value allowed.""" minValue: Float """The name of the entity entry.""" name: String! """The plural format of the number.""" pluralFormat: String """Indicates if a value is required for this entity.""" required: Boolean """The singular format of the number.""" singularFormat: String """The UUID of the value entry.""" uuid: String! } """Represents a case data entity of type single selection.""" type CaseDataEntitySingleSelection implements CaseDataEntityInterface { """Indicates if the entity is for internal use only.""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity.""" required: Boolean """The UUID of the value entry.""" uuid: String! """An array of values to choose from.""" values: [String!] } """Represents a case data entity of type text.""" type CaseDataEntityText implements CaseDataEntityInterface { """Indicates if the entity allows multiple lines.""" allowMultiLines: Boolean """Indicates if the entity is for internal use only.""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity.""" required: Boolean """The UUID of the value entry.""" uuid: String! } """Represents a case data item.""" type CaseDataItem implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """A case data template.""" template: CaseDataTemplate! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """An array of values for the record.""" values: [CaseDataValueAny!]! } """The connection type for CaseDataItem.""" type CaseDataItemConnection { """A list of edges.""" edges: [CaseDataItemEdge] """A list of nodes.""" nodes: [CaseDataItem] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CaseDataItemEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CaseDataItem } """Represents a case data template.""" type CaseDataTemplate { """An array of entities for the record.""" entities: [CaseDataEntityAny!]! """Module of the template for the record.""" module: CaseDataTemplateModuleEnum! """Name of the template for the record.""" name: String! """The UUID of the template for the record.""" uuid: String! } """The connection type for CaseDataTemplate.""" type CaseDataTemplateConnection { """A list of edges.""" edges: [CaseDataTemplateEdge] """A list of nodes.""" nodes: [CaseDataTemplate] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CaseDataTemplateEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CaseDataTemplate } """Represents a case data value of type date.""" type CaseDataValueDate implements CaseDataValueInterface { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A date value.""" value: PartialDate } """Represents a case data value of type multi selection.""" type CaseDataValueMultiSelection implements CaseDataValueInterface { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """An array of selected values.""" values: [String!] } """Represents a case data value of type number.""" type CaseDataValueNumber implements CaseDataValueInterface { """A formatted string combining the number's value and its unit.""" displayValue: String """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A number value.""" value: Float } """Represents a case data value of type single selection.""" type CaseDataValueSingleSelection implements CaseDataValueInterface { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A selected value.""" value: String } """Represents a case data value of type text.""" type CaseDataValueText implements CaseDataValueInterface { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A text value.""" value: String } """An edge in a connection.""" type CaseEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Case } """Represents a case observation.""" type CaseObservation implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """The details of the case observation.""" details: String """The end date of the case observation.""" endAt: ISO8601Date """Logical id of the resource.""" id: ID! """The start date of the case observation.""" startAt: ISO8601Date """Represents the case observation type based on the observation types in case template.""" type: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for CaseObservation.""" type CaseObservationConnection { """A list of edges.""" edges: [CaseObservationEdge] """A list of nodes.""" nodes: [CaseObservation] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CaseObservationEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CaseObservation } """Represents a case status.""" type CaseStatus implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """When the record was archived.""" archivedAt: ISO8601DateTime """Provider user who archived the record.""" archivedBy: ProviderUser """Indicates status that represents the case is closed.""" closed: Boolean! """Color used to represent this resource in the CHR.""" color: String! """When the resource was created.""" createdAt: ISO8601DateTime! """Default value for the entity.""" default: Boolean! """Logical id of the resource.""" id: ID! """Name of the case status.""" name: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for CaseStatus.""" type CaseStatusConnection { """A list of edges.""" edges: [CaseStatusEdge] """A list of nodes.""" nodes: [CaseStatus] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CaseStatusEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CaseStatus } """Represents a case template.""" type CaseTemplate implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """Returns the case data properties that belong to the case template.""" caseDataTemplates(name: SearchString, after: String, before: String, first: Int, last: Int): CaseDataTemplateConnection! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Name of the case template.""" name: String! """Observation types linked to the case template.""" observationTypes: [String!]! """Position of the case template.""" position: Int! """Issues linked to the case template.""" supportedIssues: [String!]! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for CaseTemplate.""" type CaseTemplateConnection { """A list of edges.""" edges: [CaseTemplateEdge] """A list of nodes.""" nodes: [CaseTemplate] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type CaseTemplateEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: CaseTemplate } """Autogenerated return type of CloseCase.""" type CloseCasePayload { """Represents a case.""" case: Case! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Represents a contact outside the clinic, like a referring practitioner.""" type Contact implements Node & Timestampable { """Billing code of the contact.""" billingCode: String """Free text comments on the contact.""" comments: String """When the resource was created.""" createdAt: ISO8601DateTime! """Email address of the contact.""" email: Email """Facility of the contact.""" facility: Facility! """Fax number of the contact.""" fax: Phone """First name of the contact.""" firstName: String! """Logical id of the resource.""" id: ID! """The contact's license issuing jurisdiction i.e., ONTARIO, ALBERTA etc.""" jurisdiction: ContactJurisdictionEnum """Raw value of the jurisdiction of the contact.""" jurisdictionRawValue: String """Last name of the contact.""" lastName: String! """License number of the contact.""" licenseNumber: String """The contact's medical specialty provided if the occupation is Medical Doctor.""" medicalSpecialty: ContactMedicalSpecialtyEnum """The data recorded for contact's medical specialty provided if the occupation is Medical Doctor.""" medicalSpecialtyRawValue: String """Occupation of the contact.""" occupation: ContactOccupationEnum """The data recorded for contact's occupation.""" occupationRawValue: String """Phone number of the contact.""" phone: Phone """Phone number extension of the contact.""" phoneExtension: String """Represents if the contact record is a read only record or not.""" readOnly: Boolean! """The contact's title (i.e., "MS", "MR", "DR", etc.).""" title: ContactTitleEnum """The data recorded for contact's title.""" titleRawValue: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for Contact.""" type ContactConnection { """A list of edges.""" edges: [ContactEdge] """A list of nodes.""" nodes: [Contact] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ContactEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Contact } """Autogenerated return type of CreateAttachment.""" type CreateAttachmentPayload { """The attachment that was created.""" attachment: Attachment! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of CreateCase.""" type CreateCasePayload { """Represents a case.""" case: Case! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of CreateContact.""" type CreateContactPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The newly created contact record.""" contact: Contact! } """Autogenerated return type of CreateDraftAppointment.""" type CreateDraftAppointmentPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The draft appointment that was created.""" draftAppointment: DraftAppointment! } """Autogenerated return type of CreateFacility.""" type CreateFacilityPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a healthcare facility or external organization that provides services to patients.""" facility: Facility! } """Autogenerated return type of CreateFlexibleWorkHour.""" type CreateFlexibleWorkHourPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """A flexible work hour record that was created.""" flexibleWorkHour: FlexibleWorkHour! } """Autogenerated return type of CreateIncomingReferralRecord.""" type CreateIncomingReferralRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record.""" referralRecord: ReferralRecord! } """Autogenerated return type of CreateInternalReferralRecord.""" type CreateInternalReferralRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record.""" referralRecord: ReferralRecord! } """Autogenerated return type of CreateOutgoingReferralRecord.""" type CreateOutgoingReferralRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record.""" referralRecord: ReferralRecord! } """Autogenerated return type of CreatePatient.""" type CreatePatientPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The patient that was created.""" patient: Patient! } """Autogenerated return type of CreateProviderOffTime.""" type CreateProviderOffTimePayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The off time record that was created.""" offTime: Offtime! } """Autogenerated return type of CreateRespondent.""" type CreateRespondentPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The patient that was created.""" respondent: Respondent! } """Autogenerated return type of CreateStandardWorkHour.""" type CreateStandardWorkHourPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """A standard work hour record that was created.""" standardWorkHour: StandardWorkHour! } """Autogenerated return type of CreateTaskByTemplate.""" type CreateTaskByTemplatePayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents the task.""" task: Task! } """Autogenerated return type of CreateTask.""" type CreateTaskPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents the task.""" task: Task! } """Autogenerated return type of DeleteDraftAppointment.""" type DeleteDraftAppointmentPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The ID of the draft appointment that was deleted.""" deletedDraftAppointmentId: ID } """Represents a patient's diagnosis.""" type Diagnosis implements NullableTimestampable { """Diagnostic code of the diagnosis.""" code: String """The name of the coding system associated with the diagnostic code.""" codingSystem: String """When the resource was created.""" createdAt: ISO8601DateTime """Description of the diagnosis.""" description: String """Logical id of the resource (null for a free text diagnosis).""" id: ID """When the resource was last updated.""" updatedAt: ISO8601DateTime } """Represents a draft appointment.""" type DraftAppointment implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """The entity which created the record.""" createdBy: CreatedBy """Logical id of the resource.""" id: ID! """Location where the draft appointment is being scheduled.""" location: Location """The provider for whom the draft appointment is being scheduled.""" provider: ProviderUser """The appointment type to be assigned to the draft appointment.""" service: Service """When the draft appointment is to start.""" startAt: ISO8601DateTime """When the draft appointment is to end.""" untilAt: ISO8601DateTime """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for DraftAppointment.""" type DraftAppointmentConnection { """A list of edges.""" edges: [DraftAppointmentEdge] """A list of nodes.""" nodes: [DraftAppointment] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type DraftAppointmentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: DraftAppointment } """Encounter notes on the patient chart, with cursor-based pagination.""" type Encounter implements Node & Timestampable { """The list of addendum.""" addendums: [Addendum!] """The list of qnarie responses associated with the encounter.""" answerSheets: [AnswerSheet!] """The assessment and plan section of the encounter.""" assessmentAndPlan: [String!] """The assessment and plan section of the encounter formatted in HTML.""" assessmentAndPlanHtml: [String!] """The assessment and plan section of the encounter formatted in Markdown.""" assessmentAndPlanMarkdown: [String!] """The list of attachments for the record.""" attachments: [Attachment!] """The main concern for the encounter.""" concernField: String """When the resource was created.""" createdAt: ISO8601DateTime! """Provider user who created the record.""" createdBy: ProviderUser """The list of diagnoses associated with the encounter.""" diagnoses: [Diagnosis!] """The history section of the encounter.""" history: [String!] """The history section of the encounter formatted in HTML.""" historyHtml: [String!] """The history section of the encounter formatted in Markdown.""" historyMarkdown: [String!] """Logical id of the resource.""" id: ID! """The list of injections associated with the encounter.""" injections: [InjectionRecord!] """The list of insured billing items.""" insuredBillingItems: [InsuredBillingItem!] """The physical exam section of the encounte.""" physicalExam: [String!] """The physical exam section of the encounter formatted in HTML.""" physicalExamHtml: [String!] """The physical exam section of the encounter formatted in Markdown.""" physicalExamMarkdown: [String!] """The presenting issue for the encounter.""" presentingIssue: PresentingIssue """The list of private billing items.""" privateBillingItems: [PrivateBillingItem!] """When the patient was seen for the encounter.""" seenAt: ISO8601DateTime """Indicates if the record has been signed.""" signed: Boolean """When the record was signed.""" signedAt: ISO8601DateTime """The provider user who signed signed the record.""" signedBy: ProviderUser """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The list of vitals associated with the encounter.""" vitals: [VitalsRecord!] } """The connection type for Encounter.""" type EncounterConnection { """A list of edges.""" edges: [EncounterEdge] """A list of nodes.""" nodes: [Encounter] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type EncounterEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Encounter } """Represents an enterprise_api consumer.""" type EnterpriseApiConsumer implements Node & Timestampable { """Indicates if the resource is active.""" active: Boolean! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Name of enterprise api consumer.""" name: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents a healthcare facility or external organization that provides services to patients.""" type Facility implements Node & Timestampable { """The classification/type of the healthcare facility or organization.""" category: FacilityCategoryEnum """The data recorded for facility’s category.""" categoryRawValue: String """The city where the facility is located.""" city: String """Additional notes or remarks about the facility.""" comments: String """The country where the facility is located.""" country: String """When the resource was created.""" createdAt: ISO8601DateTime! """The facility's primary email address for correspondence.""" email: String """The facility's fax number for document transmission.""" fax: String """Logical id of the resource.""" id: ID! """Geographic latitude coordinate of the facility location.""" latitude: Float """Geographic longitude coordinate of the facility location.""" longitude: Float """The official name of the facility or organization.""" name: String! """The facility's primary phone number.""" phone: String """Extension number for the facility's primary phone line.""" phoneExt: String """The postal code or ZIP code of the facility's address.""" postalCode: String """The province, state, or region where the facility is located.""" province: String """Represents if the facility record is a read only record or not.""" readOnly: Boolean! """Alternative phone number for the facility.""" secondaryPhone: String """Extension number for the facility's secondary phone line.""" secondaryPhoneExt: String """Primary street address line of the facility.""" streetAddress1: String """Secondary address line (suite, unit, etc.) of the facility.""" streetAddress2: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The facility's official website URL.""" website: String } """The connection type for Facility.""" type FacilityConnection { """A list of edges.""" edges: [FacilityEdge] """A list of nodes.""" nodes: [Facility] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type FacilityEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Facility } """Represents a patient's family history record.""" type FamilyHistoryRecord implements Node & Timestampable { """Age of the family member at on set of the problem.""" ageAtOnset: Int """When the resource was created.""" createdAt: ISO8601DateTime! """Diagnoses of the family member's problem.""" diagnoses: [Diagnosis!]! """Logical id of the resource.""" id: ID! """Indicates if the record is a risk factor.""" isRiskFactor: Boolean! """The life stage for the onset of the problem.""" lifeStage: LifeStageEnum """Free text notes on the record.""" notes: String """The family member's relationship to the patient.""" relationship: String """Start date of the problem for the family member.""" startDate: PartialDate """Treatment details for this problem.""" treatment: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for FamilyHistoryRecord.""" type FamilyHistoryRecordConnection { """A list of edges.""" edges: [FamilyHistoryRecordEdge] """A list of nodes.""" nodes: [FamilyHistoryRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type FamilyHistoryRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: FamilyHistoryRecord } """Represents a file tag/label.""" type FileTag implements Node & Timestampable { """Indicates if the Tag/Label has been archived.""" archived: Boolean """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Indicates if the Tag/Label is locked.""" locked: Boolean """Name of the Tag/Label.""" name: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for FileTag.""" type FileTagConnection { """A list of edges.""" edges: [FileTagEdge] """A list of nodes.""" nodes: [FileTag] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type FileTagEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: FileTag } """Represents a flexible data category.""" type FlexibleDataCategory implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """When the resource was created.""" createdAt: ISO8601DateTime! """Returns a list of flexible data templates, with cursor-based pagination.""" flexibleDataTemplates(after: String, before: String, first: Int, last: Int): FlexibleDataTemplateConnection """Logical id of the resource.""" id: ID! """Name of the category of the record.""" name: String! """Position of the category.""" position: Int """Represents the type of the flexible data category.""" resourceType: FlexibleDataCategoryTypeEnum! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The UUID of the category for the record.""" uuid: String! } """Represents a flexible data entity.""" type FlexibleDataEntity implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Name of a data entity.""" name: String """Type of a flexible data type.""" type: FlexibleDataTypeOptionEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The UUID of the flexible data entity.""" uuid: String } """Represents a flexible data property item.""" type FlexibleDataPropertyItem implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean """Represents the flexible data item category.""" category: FlexibleDataCategory! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Represents the flexible data item template.""" template: FlexibleDataTemplate! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """An array of values of the record.""" values: [FlexibleDataValueAny!]! } """The connection type for FlexibleDataPropertyItem.""" type FlexibleDataPropertyItemConnection { """A list of edges.""" edges: [FlexibleDataPropertyItemEdge] """A list of nodes.""" nodes: [FlexibleDataPropertyItem] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type FlexibleDataPropertyItemEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: FlexibleDataPropertyItem } """Represents a flexible data template.""" type FlexibleDataTemplate implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """When the resource was created.""" createdAt: ISO8601DateTime! """An array of entities for the record.""" entities: [FlexibleDataEntity!]! """Logical id of the resource.""" id: ID! """Module of the template for the record.""" module: FlexibleDataTemplateTypeEnum! """Name of the data template.""" name: String """Position of the data template.""" position: Int """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The UUID of the template for the record.""" uuid: String! } """The connection type for FlexibleDataTemplate.""" type FlexibleDataTemplateConnection { """A list of edges.""" edges: [FlexibleDataTemplateEdge] """A list of nodes.""" nodes: [FlexibleDataTemplate] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type FlexibleDataTemplateEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: FlexibleDataTemplate } """Represents a flexible data value of type date.""" type FlexibleDataValueDate { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A date value.""" value: String } """Represents a flexible data value of type multi selection.""" type FlexibleDataValueMultiSelection { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """An array of values.""" values: [String!] } """Represents a flexible data value of type number.""" type FlexibleDataValueNumber { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A number value.""" value: Float } """Represents a flexible data value of type single selection.""" type FlexibleDataValueSingleSelection { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A single selection value.""" value: String } """Represents a flexible data value of type text.""" type FlexibleDataValueText { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A text value.""" value: String } """Represents a flexible work hour.""" type FlexibleWorkHour implements Colorable & Node & Timestampable { """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """The date at which this scheduled flexible work hour ends.""" endAtDate: ISO8601Date! """The time at which scheduled flexible work hour ends.""" endAtTime: TimeWithoutOffset! """Logical id of the resource.""" id: ID! """Default length of the slots for this work hour in minutes.""" interval: Int! """The location associated with this flexible work hour.""" location: Location! """The services available during this flexible work hour.""" services: [Service!]! """The number of appointment slots available at this flexible work hour.""" slot: Int! """Indicates if the flexible work hours defined is configured to stack appointments(i.e., back tot back)by default.""" stacking: Boolean! """The date at which this scheduled flexible work hour starts.""" startAtDate: ISO8601Date! """The time at which scheduled flexible work hour starts.""" startAtTime: TimeWithoutOffset! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The visit type of this flexible work hour.""" visitType: VisitTypeEnum! } """The connection type for FlexibleWorkHour.""" type FlexibleWorkHourConnection { """A list of edges.""" edges: [FlexibleWorkHourEdge] """A list of nodes.""" nodes: [FlexibleWorkHour] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type FlexibleWorkHourEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: FlexibleWorkHour } """Represents a patient's goal record.""" type GoalRecord implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Free text description of the goal.""" description: String! """Logical id of the resource.""" id: ID! """Indicates the display order position.""" position: Int """The status of the goal record.""" status: GoalStatusEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for GoalRecord.""" type GoalRecordConnection { """A list of edges.""" edges: [GoalRecordEdge] """A list of nodes.""" nodes: [GoalRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type GoalRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: GoalRecord } """Represents a group visit — a scheduled appointment that multiple patients can attend.""" type GroupVisit implements Node & Timestampable { """Whether the group visit is publicly bookable through e-booking.""" allowEbooking: Boolean! """Whether existing patients are allowed to book this group visit.""" allowExistingPatient: Boolean! """Whether new patients are allowed to book this group visit.""" allowNewPatient: Boolean! """The appointments booked into this group visit (capped at 100).""" appointments: [Appointment!]! """The number of remaining slots available for booking.""" availableSlots: Int """When the resource was created.""" createdAt: ISO8601DateTime! """The provider user who created the group visit.""" createdProviderUser: ProviderUser """Whether the group visit has been deactivated.""" deactivated: Boolean """The description of the group visit.""" description: String """Whether the group visit has no remaining available slots.""" fullyBooked: Boolean """Logical id of the resource.""" id: ID! """The location where the group visit takes place.""" location: Location """The name of the group visit.""" name: String """The number of slots currently occupied by appointments.""" occupiedSlotsCount: Int! """The provider users hosting this group visit (capped at 100).""" providerUsers: [ProviderUser!]! """When the group visit starts.""" startAt: ISO8601DateTime! """The status of the group visit.""" status: AppointmentStatusEnum """When the group visit ends.""" untilAt: ISO8601DateTime! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for GroupVisit.""" type GroupVisitConnection { """A list of edges.""" edges: [GroupVisitEdge] """A list of nodes.""" nodes: [GroupVisit] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type GroupVisitEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: GroupVisit } """Represents a patient health profile""" type HealthProfile implements Timestampable { """The patient's advanced directive.""" advancedDirectives: [AdvancedDirectivesEnum!] """Free text description of the patient's advanced directive.""" advancedDirectivesFreeText: String """When the resource was created.""" createdAt: ISO8601DateTime! """A list of the patient's family history records, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" familyHistoryRecords(isRiskFactor: Boolean, after: String, before: String, first: Int, last: Int): FamilyHistoryRecordConnection """A list of the patient's goals, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" goalRecords(status: GoalStatusEnum, after: String, before: String, first: Int, last: Int): GoalRecordConnection """A list of the patient's medical history records, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" medicalHistoryRecords(status: PatientHistoryRecordStatusEnum, isRiskFactor: Boolean, after: String, before: String, first: Int, last: Int): MedicalHistoryRecordConnection """Free text notes on the record.""" notes: String """Free text description of the patient's direction regarding organ or tissue donation.""" organOrTissueDonation: String """A list of the patient's social histories, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" socialHistoryRecords(type: SocialHistoryTypeEnum, subtype: SocialHistorySubtypeEnum, isRiskFactor: Boolean, after: String, before: String, first: Int, last: Int): SocialHistoryRecordConnection """A list of the patient's surgical history records, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" surgicalHistoryRecords(status: PatientHistoryRecordStatusEnum, isRiskFactor: Boolean, after: String, before: String, first: Int, last: Int): SurgicalHistoryRecordConnection """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Health profile mutations.""" type HealthProfileMutations implements HealthProfileMutationsInterface { """Creates a patient’s family history record with the supplied attributes.""" addFamilyHistoryRecord(input: AddFamilyHistoryRecordInput!): AddFamilyHistoryRecordPayload! } """Represents a patient identification.""" type Identification implements Node & Timestampable { """Code of the identification""" code: String """When the resource was created.""" createdAt: ISO8601DateTime! """Date for the end of the identification.""" endAt: ISO8601Date """Logical id of the resource.""" id: ID! """Extra values for the identification.""" identificationCustomData: [IdentificationCustomData!] """Indicates if the identification is primary.""" isPrimary: Boolean! """Name of the identification.""" name: String """Code of the identification payment issuer.""" paymentIssuerCode: String """Date for the start of the identification.""" startAt: ISO8601Date """The identification template associated with the record.""" template: IdentificationTemplate """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The patient's value for the identification.""" value: String } """Represents an extra data for an identification.""" type IdentificationCustomData { """The name of the item.""" name: String """The UUID of the item.""" uuid: String """The value of the item.""" value: String } """Represents an identification template.""" type IdentificationTemplate implements Node { """Indicates if the identification value is autogenerated by the system.""" autoGenerate: Boolean! """Logical id of the resource.""" id: ID! """The identificationCustomData of the identification template.""" identificationCustomData: [IdentificationTemplateCustomData!] """The name of the identification template.""" name: String """The paymentIssuerCode of the identification template.""" paymentIssuerCode: String """Marks the identification template as the primary identification template.""" primary: Boolean! } """Represents an extra data for an identification template.""" type IdentificationTemplateCustomData { """The name of the item.""" name: String """The type of the item.""" type: String """The UUID of the item.""" uuid: String """The value format of the item.""" valueFormat: String } """Represents a patient identification verification object.""" type IdentificationVerification { """The status of the item.""" status: String """The status message of the item.""" statusMessages: [String!] } """Represents a patient's injection record.""" type InjectionRecord implements Node & Timestampable { """Comments attached to the record.""" comments: String """When the resource was created.""" createdAt: ISO8601DateTime! """Provider who created the record.""" createdBy: ProviderUser """The dosage of the injection administered.""" dosage: String """Indicates if the injection was administered in the past.""" historical: Boolean """Logical id of the resource.""" id: ID! """Provider who administered the injection.""" injectedBy: ProviderUser """Date the injection was administered.""" injectedDate: PartialDate """The lot number of the injection.""" lotNumber: String """The name of the injection.""" name: String! """Date the injection was refused by the patient.""" refusedDate: PartialDate """The route of administration of the injection.""" route: InjectionRouteEnum """Legacy, no longer used.""" sequence: String """The record's series placement.""" series: InjectionSeriesEnum """Legacy, no longer used.""" serum: String """The location on the patient's body where the injection was administered.""" siteGiven: InjectionSiteGivenEnum """The strength of the injection given.""" strength: String """Type of injection.""" type: InjectionTypeEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for InjectionRecord.""" type InjectionRecordConnection { """A list of edges.""" edges: [InjectionRecordEdge] """A list of nodes.""" nodes: [InjectionRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type InjectionRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: InjectionRecord } """Represents a insured billing item.""" type InsuredBillingItem implements Node & Timestampable { """The currency unit for the billing item amount.""" amountUnit: CurrencyUnitEnum """The breakdown of the amounts for the billing item.""" amountsData: AmountsData """The total amount for this billing item.""" baseAmount: Float """Code associated with the billing item.""" code: String """When the resource was created.""" createdAt: ISO8601DateTime! """The description of the billing item.""" description: String """The list of diagnoses associated with the billing item.""" diagnoses: [Diagnosis!] """Logical id of the resource.""" id: ID! """Amount paid for this billing item.""" paidAmount: Float """The status of the billing item.""" status: InsuredBillingStatusEnum """Amount of tax applied to this billing item.""" taxAmount: Float """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents an internal_api consumer.""" type InternalApiConsumer implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Name of internal api consumer.""" name: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } type LabObservation implements Node & Timestampable { collectedAt: String """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! olisRecordId: String """Patient with whom the appointment is scheduled.""" patient: Patient reportedAt: ISO8601DateTime respondent: Respondent @deprecated(reason: "it is deprecated; use patient instead") status: String statusChangedAt: ISO8601DateTime """When the resource was last updated.""" updatedAt: ISO8601DateTime! uuid: ID! } """The connection type for LabObservation.""" type LabObservationConnection { """A list of edges.""" edges: [LabObservationEdge] """A list of nodes.""" nodes: [LabObservation] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type LabObservationEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: LabObservation } """Represents a lab result.""" type LabReport implements AttachmentInterface { """Indicates the number of abnormal results contained in the report.""" abnormalCount: Int """Lab accession number of the report.""" accessionNumber: String """When the record was added.""" addedAt: ISO8601DateTime """Indicates if the attachment can be edited.""" allowEdit: Boolean! """Indicates if the record has been archived.""" archived: Boolean """Url for the attachment content.""" attachmentUrl: String """AttachmentContentType - The content type of the attachment.""" contentType: String """When the resource was created.""" createdAt: ISO8601DateTime! """Indicates if the attachment is the current version.""" currentVersion: Boolean """Free text description of the attachment.""" description: String """The date associated with the document (i.e., the date of a medical report).""" fileDate: ISO8601DateTime! """File name of the attachment.""" fileName: String """Size of the attachment in bytes.""" fileSize: Int """List of tags/labels associated with the record.""" fileTags: [FileTag!] """Logical id of the resource.""" id: ID! """Name of lab distributor.""" labDistributor: String """When the record was last reviewed.""" lastReviewedAt: ISO8601DateTime """Main note of the lab report.""" mainNote: String """Name of the attachment.""" name: String """User responsible for this record.""" owner: ProviderUser """When the file was received.""" receivedAt: ISO8601DateTime """Facility receiving the report.""" receivingFacility: String """Providers who have reviewed the record.""" reviewers: [ProviderUser!] """Count of the number of reviews on the report.""" reviewsCount: Int! """Application that sent the report.""" sendingApp: String """Facility that sent the report.""" sendingFacility: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! """When the record was originally uploaded.""" uploadedAt: ISO8601DateTime """The versioning uuid of the attachment.""" versioningUuid: String } """The connection type for LabReport.""" type LabReportConnection { """A list of edges.""" edges: [LabReportEdge] """A list of nodes.""" nodes: [LabReport] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type LabReportEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: LabReport } """Represents a lab result of a lab test.""" type LabResult implements Node & Timestampable { """When the specimen was collected.""" collectedAt: ISO8601DateTime """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """The lab report that contains the lab result.""" labReport: LabReport """The CHR common lab test data associated with the lab result.""" labTest: LabTest """Indicates if this is the latest/most recent lab result for the lab test.""" lastResult: Boolean """Name of the lab result as reported by the distributor.""" name: String """Free text notes on the record.""" note: String """The name of the section/group of the lab result.""" sectionName: String """The status of the lab result as reported by the distributor.""" status: String """The type of lab result.""" type: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The uuid of the the lab result.""" uuid: String """List of values associated with the lab result.""" values: [LabResultValue!] } """The connection type for LabResult.""" type LabResultConnection { """A list of edges.""" edges: [LabResultEdge] """A list of nodes.""" nodes: [LabResult] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type LabResultEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: LabResult } """Represents a result value of a lab result.""" type LabResultValue { """The qualitative interpretation of the lab result e.g "N", "L", "H", etc.""" abnormalFlag: String """The numerical value or measurement that is used to quantify the degree of microbial contamination.""" microbiologyIndex: Int """Free text note field on the lab result.""" note: String """Sub Id of the value when there are multiple values for a given result.""" observationSubId: String """The lab result value reference range i.e low value - high value.""" referencesRange: [String!] """The lab result status code e.g "F" etc.""" resultStatus: String """The lab result value unit.""" units: String """The value of the lab result.""" value: String } type LabTest { """Logical id of the resource.""" id: ID! """The code associated with the lab test name for electronic reporting of lab test results.""" loincCode: String """CHR common name for lab test results.""" name: String! """Short name for the lab test name.""" shortName: String! } """Represents a lab test name.""" type LabTestName { """CHR Common Name for lab test results.""" name: String } """The connection type for LabTestName.""" type LabTestNameConnection { """A list of edges.""" edges: [LabTestNameEdge] """A list of nodes.""" nodes: [LabTestName] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type LabTestNameEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: LabTestName } """Represents the schedule of a specified list of providers.""" type LegacySchedule { """The off hours of the schedule.""" offtime: [Offtime!] """The working hours of the schedule.""" worktime: [Worktime!] } """Represents a letter.""" type Letter implements Node & Timestampable { """To whom the letter is addressed.""" contact: Contact """When the resource was created.""" createdAt: ISO8601DateTime! """Provider who created the record.""" createdBy: ProviderUser """Logical id of the resource.""" id: ID! """Body of the letter.""" letter: String """Indicates if the record is locked.""" locked: Boolean """When the record was locked.""" lockedAt: ISO8601DateTime """Provider who locked the record.""" lockedBy: ProviderUser """Indicates if the record is signed.""" signed: Boolean """Provider who signed the record.""" signedBy: ProviderUser """Template of the letter.""" template: LetterTemplate """Title of the letter.""" title: String """When the record was unlocked.""" unlockedAt: ISO8601DateTime """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for Letter.""" type LetterConnection { """A list of edges.""" edges: [LetterEdge] """A list of nodes.""" nodes: [Letter] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type LetterEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Letter } """Represents a letter template.""" type LetterTemplate implements Node & Timestampable { """Indicates if the record is archived.""" archived: Boolean """Provider use who archived the record.""" archivedBy: ProviderUser """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Title of the letter.""" title: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for LetterTemplate.""" type LetterTemplateConnection { """A list of edges.""" edges: [LetterTemplateEdge] """A list of nodes.""" nodes: [LetterTemplate] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type LetterTemplateEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: LetterTemplate } """Represents a localized field""" type LocalizedField { """Locale of translation field""" locale: LocaleEnum! """Value of the translation field""" value: String! } """Represents a clinic location, as defined in the schedule locations.""" type Location implements Colorable & Node & Timestampable { """The city of the location's address.""" city: String """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Description of the location.""" description: String """Value assigned to the location in the `Online Booking Group Label` field.""" groupLabel: String """Logical id of the resource.""" id: ID! """Value assigned to the location in the `Internal Name` field.""" internalName: String """The location's latitude based off the location address.""" latitude: String """The location's longitude based off the location address.""" longitude: String """The location's name.""" name: String! """The location's postal code/ZIP code.""" postalCode: String """Indicates if the location is the account's primary location.""" primary: Boolean! """The location's phone number.""" primaryContactNumber: Phone """The location's email address.""" primaryEmail: Email """The location's fax number.""" primaryFaxNumber: Phone """Indicates if the location is visible to patients in the CHR patient portal.""" public: Boolean! """The region/province/state of the location's address.""" region: String """The first line of the location's address.""" streetAddress1: String """The second line of the location's address.""" streetAddress2: String """The time zone name in IANA standard.""" timezoneIanaName: String """The time zone the location operates in.""" timezoneName: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Autogenerated return type of ManageCaseObservation.""" type ManageCaseObservationPayload { """The list of case observations after the operation.""" caseObservations: [CaseObservation!]! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Represents a patient's medical history record.""" type MedicalHistoryRecord implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Free text description of the problem.""" description: String """Diagnoses of the medical history record.""" diagnoses: [Diagnosis!]! """Date the problem resolved.""" endDate: PartialDate """Logical id of the resource.""" id: ID! """Indicates if the record is a risk factor.""" isRiskFactor: Boolean! """The point in the patient's life when the problem started.""" lifeStage: LifeStageEnum """Additional notes on the medical history record.""" notes: String """Date the problem started.""" startDate: PartialDate """The status of the problem.""" status: PatientHistoryRecordStatusEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for MedicalHistoryRecord.""" type MedicalHistoryRecordConnection { """A list of edges.""" edges: [MedicalHistoryRecordEdge] """A list of nodes.""" nodes: [MedicalHistoryRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type MedicalHistoryRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: MedicalHistoryRecord } """Represents a medication record's dosage.""" type MedicationDosage { """The condition for which the medication was prescribed.""" condition: String """The dose.""" dose: String! """Unit of the dose.""" doseUnit: String! """Duration of the dose.""" duration: String """Frequency of the dose.""" frequency: String! """Indicates if the dose is directed as PRN.""" prn: Boolean } """Represents a patient's medication record.""" type MedicationRecord implements Node & Timestampable { """Additional instructions for the medication.""" additionalInstruction: String """When the medication record was canceled.""" cancelledAt: ISO8601DateTime """Indicates if the medication is an ongoing medication.""" continuous: Boolean """When the resource was created.""" createdAt: ISO8601DateTime! """The Drug Identification Number of the medication.""" din: String """Dosage information for the medication.""" dosages: [MedicationDosage!] """End date for the medication.""" endAt: PartialDate """Indicates if the medication was prescribed externally.""" externallyPrescribed: Boolean """The form of the medication.""" form: String """Logical id of the resource.""" id: ID! """The name of the medication.""" name: String! """Indicates if the medication should not be renewed.""" noRenewals: Boolean """Indicates if the medication has been taken previously.""" pastMedication: Boolean """The quantity of the medication.""" quantity: String """The unit for the quantity of the medication.""" quantityUnit: String """The number of refills for the medication.""" refill: String """The route of administration for the medication.""" route: String """Start date for the medication.""" startAt: PartialDate """Denotes patient-initiated medication discontinuation.""" stoppedByPatient: Boolean """Marks if the Provider User halted the patient's medication.""" stoppedByProviderUser: ProviderUser """Records the medication discontinuation date.""" stoppedDate: ISO8601Date """Holds notes related to medication discontinuation.""" stoppedNote: String """Stores the reason for medication discontinuation.""" stoppedReason: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for MedicationRecord.""" type MedicationRecordConnection { """A list of edges.""" edges: [MedicationRecordEdge] """A list of nodes.""" nodes: [MedicationRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type MedicationRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: MedicationRecord } """List of the supported mutations and input fields.""" type Mutation { """Adds a care team member to patient chart.""" addCareTeamMember(input: AddCareTeamMemberInput!): AddCareTeamMemberPayload """Adds a comment to an existing case record.""" addCaseComment(input: AddCaseCommentInput!): AddCaseCommentPayload """Creates a patient's drug allergy record with the supplied attributes.""" addDrugAllergyRecord(input: AddDrugAllergyRecordInput!): AddDrugAllergyRecordPayload """Adds a patient to a group visit by creating an appointment within it.""" addGroupVisitAttendee(input: AddGroupVisitAttendeeInput!): AddGroupVisitAttendeePayload """Creates a patient's medication record with the supplied attributes.""" addMedicationRecord(input: AddMedicationRecordInput!): AddMedicationRecordPayload """Creates a patient's non drug allergy record with the supplied attributes.""" addNonDrugAllergyRecord(input: AddNonDrugAllergyRecordInput!): AddNonDrugAllergyRecordPayload """Adds a comment to the referral record.""" addReferralRecordComment(input: AddReferralRecordCommentInput!): AddReferralRecordCommentPayload """Adds a comment to a task.""" addTaskComment(input: AddTaskCommentInput!): AddTaskCommentPayload """Archives an existing case record.""" archiveCase(input: ArchiveCaseInput!): ArchiveCasePayload """Archives a patient.""" archivePatient(input: ArchivePatientInput!): ArchivePatientPayload """Adds the existing referral record to the waiting list.""" assignReferralRecordToWaitingList(input: AssignReferralRecordToWaitingListInput!): AssignReferralRecordToWaitingListPayload """Marks the case as closed.""" closeCase(input: CloseCaseInput!): CloseCasePayload """Creates an appointment with the supplied attributes (only supports future appointments).""" createAppointment(input: CreateAppointmentInput!, options: CreateAppointmentOptions): Appointment! """Creates an attachment with the supplied attributes""" createAttachment(input: CreateAttachmentInput!): CreateAttachmentPayload """Creates a new case for a patient using the specified details.""" createCase(input: CreateCaseInput!): CreateCasePayload """Creates a new contact record and associates it with a facility.""" createContact(input: CreateContactInput!): CreateContactPayload """Creates a draft/temporary appointment with the supplied attributes to reserve a given availability during the booking process.""" createDraftAppointment(input: CreateDraftAppointmentInput!): CreateDraftAppointmentPayload """Creates a new facility.""" createFacility(input: CreateFacilityInput!): CreateFacilityPayload """Creates a new flexible work hour.""" createFlexibleWorkHour(input: CreateFlexibleWorkHourInput!): CreateFlexibleWorkHourPayload """Creates an incoming referral record with the supplied attributes.""" createIncomingReferralRecord(input: CreateIncomingReferralRecordInput!): CreateIncomingReferralRecordPayload """Creates an internal referral record with the supplied attributes.""" createInternalReferralRecord(input: CreateInternalReferralRecordInput!): CreateInternalReferralRecordPayload """Creates an outgoing referral record with the supplied attributes.""" createOutgoingReferralRecord(input: CreateOutgoingReferralRecordInput!): CreateOutgoingReferralRecordPayload """Creates a new patient.""" createPatient(input: CreatePatientInput!): CreatePatientPayload """Creates a new off time record for a provider using the specified details.""" createProviderOffTime(input: CreateProviderOffTimeInput!): CreateProviderOffTimePayload """Creates a new patient.""" createRespondent(input: CreateRespondentInput!): CreateRespondentPayload @deprecated(reason: "This mutation is deprecated, use createPatient instead.") """Creates a new standard work hour.""" createStandardWorkHour(input: CreateStandardWorkHourInput!): CreateStandardWorkHourPayload """Creates a new task with the specified details.""" createTask(input: CreateTaskInput!): CreateTaskPayload """Creates a new task with the specified details based on task template.""" createTaskByTemplate(input: CreateTaskByTemplateInput!): CreateTaskByTemplatePayload """Deletes a draft/temporary appointment.""" deleteDraftAppointment(input: DeleteDraftAppointmentInput!): DeleteDraftAppointmentPayload """Health profile mutations.""" healthProfile: HealthProfileMutations! """Adds, updates, and removes observations associated with the case record.""" manageCaseObservation(input: ManageCaseObservationInput!): ManageCaseObservationPayload """Updates the assignee of an existing case record.""" reassignCase(input: ReassignCaseInput!): ReassignCasePayload """Removes a patient from a group visit by cancelling every appointment they hold within it.""" removeGroupVisitAttendee(input: RemoveGroupVisitAttendeeInput!): RemoveGroupVisitAttendeePayload """*Reserved to CHR internal use.*""" saveOlisLabMessage(input: SaveOlisLabMessageInput!): SaveOlisLabMessagePayload """Updates an appointment with the supplied attributes.""" updateAppointment(input: UpdateAppointmentInput!): UpdateAppointmentPayload """Updates a care team member in patient chart.""" updateCareTeamMember(input: UpdateCareTeamMemberInput!): UpdateCareTeamMemberPayload """Updates an existing case for a patient.""" updateCase(input: UpdateCaseInput!): UpdateCasePayload """Updates the status of an existing case for a patient.""" updateCaseStatus(input: UpdateCaseStatusInput!): UpdateCaseStatusPayload """Updates an existing contact.""" updateContact(input: UpdateContactInput!): UpdateContactPayload """Updates a draft/temporary appointment with the supplied attributes to reserve a given availability during the booking process.""" updateDraftAppointment(input: UpdateDraftAppointmentInput!): UpdateDraftAppointmentPayload """Updates the existing facility.""" updateFacility(input: UpdateFacilityInput!): UpdateFacilityPayload """Updates existing incoming referral record with the supplies attributes.""" updateIncomingReferralRecord(input: UpdateIncomingReferralRecordInput!): UpdateIncomingReferralRecordPayload """Updates existing internal referral record with the supplies attributes.""" updateInternalReferralRecord(input: UpdateInternalReferralRecordInput!): UpdateInternalReferralRecordPayload """Updates existing outgoing referral record with the supplies attributes.""" updateOutgoingReferralRecord(input: UpdateOutgoingReferralRecordInput!): UpdateOutgoingReferralRecordPayload """Updates a patient.""" updatePatient(input: UpdatePatientInput!): UpdatePatientPayload """Updates an existing task with the specified details.""" updateTask(input: UpdateTaskInput!): UpdateTaskPayload """Creates or updates a case data item.""" upsertCaseDataItem(input: UpsertCaseDataItemInput!): UpsertCaseDataItemPayload """Inserts a patient data entry with the supplied attributes on the patient chart.""" upsertPatientDataItem(input: UpsertPatientDataItemInput!): UpsertPatientDataItemPayload """Creates or updates a referral data item.""" upsertReferralDataItem(input: UpsertReferralDataItemInput!): UpsertReferralDataItemPayload } """Off time hour.""" type Offtime implements Colorable & Node & Timestampable { """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """The date at which this scheduled off time ends.""" endAtDate: ISO8601Date! """The time at which scheduled offtime ends. Note that off times are not defined for a specific time zone, and therefore time zone, and apply as-is in any locations and time zones.""" endAtTime: TimeWithoutOffset! """Logical id of the resource.""" id: ID! """Notes regarding this scheduled off time.""" memo: String """The name of this scheduled off time.""" name: String """The provider who is scheduled to be off. Null indicates a site-wide scheduled off time.""" provider: ProviderUser """The date and time at which this scheduled off time starts.""" startAt: ISO8601DateTime! @deprecated(reason: "This field is deprecated, use start_at_date/start_at_time instead.") """The date at which this scheduled off time starts.""" startAtDate: ISO8601Date! """The time at which scheduled offtime starts. Note that off times are not defined for a specific location, and therefore time zone, and apply as-is in any locations and time zones.""" startAtTime: TimeWithoutOffset! """The date and time at which this scheduled off time ends.""" untilAt: ISO8601DateTime! @deprecated(reason: "This field is deprecated, use end_at_date/end_at_time instead.") """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for Offtime.""" type OfftimeConnection { """A list of edges.""" edges: [OfftimeEdge] """A list of nodes.""" nodes: [Offtime] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type OfftimeEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Offtime } """Information about pagination in a connection.""" type PageInfo { """The cursor to continue when paginating forwards.""" endCursor: String """`True` if there are more items paginating forwards.""" hasNextPage: Boolean! """`True` if there are more items paginating backwards.""" hasPreviousPage: Boolean! """The cursor to continue when paginating backwards.""" startCursor: String } """Represents a patient profile""" type Patient implements Node & Timestampable { """The patient's additional address line.""" additionalAddress: String """A list of the patient's administrative notes, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" administrativeNotes(after: String, before: String, first: Int, last: Int): AdministrativeNoteConnection """Age in years. Auto-generated field based on the patient's date of birth.""" age: Int! """A list of the patient's allergies, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" allergyRecords(category: CategoryEnum, status: RecordsStatusEnum, severity: SeverityEnum, after: String, before: String, first: Int, last: Int): PatientAllergyRecordConnection """A list of the qnaire responses in the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" answerSheets(from: DateTimeWithTimezone, questionnaireId: ID, after: String, before: String, first: Int, last: Int): AnswerSheetConnection """Indicates if record has been archived.""" archived: Boolean! """When the record was archived.""" archivedAt: ISO8601Date """The entity which archived the record.""" archivedBy: ArchivedBy """A list of the attachments on the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" attachments(fileTagIds: [ID!], includeArchived: Boolean = false, after: String, before: String, first: Int, last: Int): AttachmentConnection """A list of the care team members on the patient chart. Default sort order is by creation date, with newest records first.""" careTeamMembers(careTeamRoleUuid: String, orderBy: [CareTeamMemberOrderByInput!] = [{direction: DESC, field: CREATED_AT}]): [CareTeamMember!] """Returns patient's single case""" case(id: ID!): Case """A list of the patient's cases, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" cases(assignedProviderUserId: ID, includeArchived: Boolean = false, includeClosed: Boolean = false, issue: SearchString, statusId: ID, after: String, before: String, first: Int, last: Int): CaseConnection """The city of the patient's address.""" city: String """The county of the patient's address.""" country: String """When the resource was created.""" createdAt: ISO8601DateTime! """When the patient was born.""" dateOfBirth: ISO8601Date! """Indicates if the patient record is in a draft status.""" draft: Boolean! """The patient's email address.""" email: Email """When the email address was confirmed.""" emailConfirmedAt: ISO8601DateTime """The patient's emergency contact's first name.""" emergencyFirstName: String """The patient's emergency contact's last name.""" emergencyLastName: String """The patient's emergency contact's middle name.""" emergencyMiddleName: String """The phone number of the patient's emergency contact.""" emergencyPhone: Phone """Who the emergency contact is to the patient i.e., `"Mother"`, `"Father"`, etc.""" emergencyRelationship: String """A list of the encounter notes on the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" encounters(createdById: ID, from: ISO8601DateTime, orderBy: [EncounterOrderByInput!] = [{direction: DESC, field: CREATED_AT}], presentingIssueId: ID, signedById: ID, to: ISO8601DateTime, after: String, before: String, first: Int, last: Int): EncounterConnection """Free text name of the family provider.""" familyDoctor: String """Logical id of the contact who is the family provider for this patient outside the clinic.""" familyPractitioner: Contact """The patient's first name.""" firstName: String! """An auto-generated field based on a combination of firstName and lastName.""" fullName: String! """The patient's sex.""" gender: GenderEnum """The gender the patient identifies with.""" genderIdentity: GenderIdentityEnum """Description of the patient's gender identity when `PREFER_TO_DESCRIBE` is used.""" genderIdentityDescription: String """Indicates if the patient has any allergies documented in their record.""" hasAllergies: Boolean! """Represents a patient's health profile also known as cumulative patient profile (CPP).""" healthProfile: HealthProfile """The patient's home phone number.""" homePhone: Phone """Logical id of the resource.""" id: ID! """A list of patient identifications.""" identifications: [Identification!]! """A list of the patient's injections, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" injectionRecords(type: InjectionTypeEnum, name: String, after: String, before: String, first: Int, last: Int): InjectionRecordConnection """Name of the patient's insurance company.""" insuranceCompany: String """The patient's group number with the insurance company.""" insuranceGroupNumber: String """The patient's id with the insurance company.""" insuranceId: String """A list of the lab reports in the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" labReports(fileTagsIds: [ID!], includeArchived: Boolean = false, includeHistoricalVersions: Boolean = false, after: String, before: String, first: Int, last: Int): LabReportConnection """A lab result for the patient.""" labResult(id: ID!): LabResult """A list of the lab results in the patient chart, with cursor-based pagination. Default sort order is by Lab Test Name asc and Collected At Desc.""" labResults(labTestNames: [String!], lastResultOnly: Boolean, orderBy: [LabResultOrderByInput!] = [{direction: ASC, field: LAB_TEST_NAME}, {direction: DESC, field: COLLECTED_AT}], sectionName: String, after: String, before: String, first: Int, last: Int): LabResultConnection """The patient's language.""" language: String """The patient's last name.""" lastName: String! """A list of the letters in the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" letters(contactId: ID, letterTemplateId: ID, orderBy: [LetterOrderByInput!] = [{direction: DESC, field: CREATED_AT}], title: SearchString, after: String, before: String, first: Int, last: Int): LetterConnection """A list of the patient's medications, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" medicationRecords(current: Boolean, after: String, before: String, first: Int, last: Int): MedicationRecordConnection """This field is deprecated, use middleName instead.""" middleInitial: String """The patient's middle name.""" middleName: String """The method of notification for the patient.""" notifyBy: NotificationMethodEnum! """The patient's office phone number.""" officePhone: Phone """The patient's office phone number extension.""" officePhoneExt: String """Represents a patient's data items.""" patientDataItems(categoryUuid: String, templateUuid: String, after: String, before: String, first: Int, last: Int): PatientDataItemConnection """Mobile phone number of the patient.""" phone: String """When the phone number was confirmed.""" phoneConfirmedAt: ISO8601DateTime """The name the patient prefers to be addressed by.""" preferredName: String """The facility that is the patient's pharmacy.""" preferredPharmacy: Facility """The primary location the patient will be seen at""" primaryLocation: Location """The CHR user who cares for this patient in the clinic.""" primaryPractitioner: ProviderUser """The patient's pronouns.""" pronouns: PronounsEnum """Indicates if the patient has access to the CHR patient portal.""" publicAccessAllowed: Boolean """Returns patient's single referral record""" referralRecord(id: ID!): ReferralRecord """A list of the patient's referral records, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" referralRecords(anyPriorityIds: [ID!], anyStatusIds: [ID!], direction: ReferralDirectionEnum, includeArchived: Boolean = false, orderBy: [ReferralRecordOrderByInput!] = [{direction: ASC, field: ID}, {direction: DESC, field: CREATED_AT}], waitingListId: ID, after: String, before: String, first: Int, last: Int): ReferralRecordConnection """Free text name of the referring provider.""" referringDoctor: String """Logical id of the contact that referred the patient to the clinic.""" referringPractitioner: Contact """The region/province/state of the patient's address.""" region: String """A list of status tags""" statusTags: [StatusTag!]! """The patient's street address.""" streetAddress: String """Returns patient's single task.""" task(id: ID!): Task """A list of the patient's tasks, with cursor-based pagination. Default sort order is by creation date and id ascending.""" tasks(categoryId: ID, includeCompleted: Boolean = false, name: SearchString, orderBy: [TaskOrderByInput!], priority: TaskPriorityEnum, status: TaskStatusEnum, after: String, before: String, first: Int, last: Int): TaskConnection """The patient's title (i.e., Ms., Mr., Dr.).""" title: String """Indicates if the patient has opted out of email notifications.""" unsubscribedFromEmail: Boolean! """Indicates if the patient has opted out of SMS notifications.""" unsubscribedFromSms: Boolean! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """Indicates if the patient details have been verified.""" verified: Boolean! """A list of the patient's vital records, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" vitalsRecords(after: String, before: String, first: Int, last: Int): VitalsRecordConnection """The ZIP code/postal code of the patient's address.""" zipcode: String } """Represents a patient's allergy record.""" type PatientAllergyRecord implements Node & Timestampable { """The category of the allergy.""" category: CategoryEnum """Comments attached to the record.""" comments: String """When the resource was created.""" createdAt: ISO8601DateTime! """The Drug Identification Number (DIN) of the allergen, if applicable.""" din: Din """Logical id of the resource.""" id: ID! """The point in the patient's life when an allergy to a drug was documented with a specific status.""" lifeStage: LifeStageEnum """The name of the allergen.""" name: String """Other (or additional) reactions not covered by the predefined reactions.""" otherReactions: String """The patient's reaction to the allergen.""" reaction: ReactionEnum """The type of reaction.""" reactionType: ReactionTypeEnum """Date the allergy was recorded.""" recordedAt: PartialDate """The person who reported the allergy.""" reportedBy: ReportedByEnum """The severity of the allergy.""" severity: SeverityEnum """The date the allergy started.""" since: String """The status of the allergy.""" status: RecordsStatusEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for PatientAllergyRecord.""" type PatientAllergyRecordConnection { """A list of edges.""" edges: [PatientAllergyRecordEdge] """A list of nodes.""" nodes: [PatientAllergyRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type PatientAllergyRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: PatientAllergyRecord } """The connection type for Patient.""" type PatientConnection { """A list of edges.""" edges: [PatientEdge] """A list of nodes.""" nodes: [Patient] """Information to aid in pagination.""" pageInfo: PageInfo! } """Represents a patient data category.""" type PatientDataCategory { """Indicates if the category is archived.""" archived: Boolean! """Name of the category for the record.""" name: String! """List of templates for the record.""" patientDataTemplates: [PatientDataTemplate!] """The UUID of the category for the record.""" uuid: String! } """The connection type for PatientDataCategory.""" type PatientDataCategoryConnection { """A list of edges.""" edges: [PatientDataCategoryEdge] """A list of nodes.""" nodes: [PatientDataCategory] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type PatientDataCategoryEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: PatientDataCategory } """Represents a patient data entity of type date.""" type PatientDataEntityDate implements PatientDataEntityInterface { """Format of the date for the entity.""" dateFormat: PatientDataEntityDateFormatEnum """Default value for the entity.""" defaultValue: PatientDataEntityDateDefaultValueEnum """Offset value from default date.""" defaultValueOffset: Int """Indicates if the entity is for internal use only""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """List the available date range for the entity.""" range: [PatientDataEntityDateRangeEnum!] """Indicates if a value is required for this entity""" required: Boolean """Indicates if the entity sets the date of occurred.""" setAsDateOfOccurred: Boolean """The UUID of the value entry.""" uuid: String! } """Represents a patient data entity of type multi selection.""" type PatientDataEntityMultiSelection implements PatientDataEntityInterface { """Indicates if the entity is for internal use only""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity""" required: Boolean """The UUID of the value entry.""" uuid: String! """An array of selected values.""" values: [String!] } """Represents a patient data entity of type number.""" type PatientDataEntityNumber implements PatientDataEntityInterface { """Indicates if the entity is for internal use only""" internalUseOnly: Boolean """The maximum value allowed.""" maxValue: Float """The minimum value allowed.""" minValue: Float """The name of the entity entry.""" name: String! """The plural format of the number.""" pluralFormat: String """Indicates if a value is required for this entity""" required: Boolean """The singular format of the number.""" singularFormat: String """The UUID of the value entry.""" uuid: String! } """Represents a patient data entity of type single selection.""" type PatientDataEntitySingleSelection implements PatientDataEntityInterface { """Indicates if the entity is for internal use only""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity""" required: Boolean """The UUID of the value entry.""" uuid: String! """A selected value.""" values: [String!] } """Represents a patient data entity of type text.""" type PatientDataEntityText implements PatientDataEntityInterface { """Indicates if the entity allows multiple lines.""" allowMultiLines: Boolean """Indicates if the entity is for internal use only""" internalUseOnly: Boolean """The name of the entity entry.""" name: String! """Indicates if a value is required for this entity""" required: Boolean """The UUID of the value entry.""" uuid: String! } """Represents a patient data item.""" type PatientDataItem implements Node & Timestampable { """A patient's date item category""" category: PatientDataCategory! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """A patient's date item template""" template: PatientDataTemplate! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """An array of values for the record.""" values: [PatientDataValueAny!]! } """The connection type for PatientDataItem.""" type PatientDataItemConnection { """A list of edges.""" edges: [PatientDataItemEdge] """A list of nodes.""" nodes: [PatientDataItem] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type PatientDataItemEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: PatientDataItem } """Represents a patient data template.""" type PatientDataTemplate { """An array of entities for the record.""" entities: [PatientDataEntityAny!]! """Module of the template for the record.""" module: PatientDataTemplateModuleEnum! """Name of the template for the record.""" name: String! """The UUID of the template for the record.""" uuid: String! } """The connection type for PatientDataTemplate.""" type PatientDataTemplateConnection { """A list of edges.""" edges: [PatientDataTemplateEdge] """A list of nodes.""" nodes: [PatientDataTemplate] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type PatientDataTemplateEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: PatientDataTemplate } """Represents a patient data value date.""" type PatientDataValueDate { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A date value.""" value: PartialDate } """Represents a patient data value multi selection.""" type PatientDataValueMultiSelection { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """An array of selected values.""" values: [String!] } """Represents a patient data value number.""" type PatientDataValueNumber { """Combination of the number entities format and value.""" displayValue: String """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A numerical value.""" value: Float } """Represents a patient data value single selection.""" type PatientDataValueSingleSelection { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A selected value.""" value: String } """Represents a patient data value text.""" type PatientDataValueText { """The name of the value entry.""" name: String! """The UUID of the value entry.""" uuid: String! """A text value.""" value: String } """An edge in a connection.""" type PatientEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Patient } """Represents a presenting issue, as defined in the account.""" type PresentingIssue implements Colorable & Iconable & Node { """Color used to represent this resource in the CHR.""" color: String """Icon used to represent this resource in the CHR.""" icon: String """Logical id of the resource.""" id: ID! """Internal name of the presenting issue.""" internalName: String """A list of translated internal name values for the presenting issue based on locale.""" localizedInternalName: [LocalizedField!]! """A list of translated name values for the presenting issue based on locale.""" localizedName: [LocalizedField!]! """A list of translated prep note values for the presenting issue based on locale.""" localizedPrepNote: [LocalizedField!]! """A list of translated searchable phrases for the presenting issue based on locale.""" localizedSearchablePhrase: [LocalizedField!]! """Name of the presenting issue.""" name: String! """Internal prep note for staff to prepare for the presenting issue.""" prepNote: String """List of additional search terms for the presenting issue.""" searchablePhrase: String """The list of appointment types (services) associated with the presenting issue.""" services(name: SearchString, presentingIssueId: ID, after: String, before: String, first: Int, last: Int): ServiceConnection } """The connection type for PresentingIssue.""" type PresentingIssueConnection { """A list of edges.""" edges: [PresentingIssueEdge] """A list of nodes.""" nodes: [PresentingIssue] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type PresentingIssueEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: PresentingIssue } """Represents a private billing item.""" type PrivateBillingItem implements Node & Timestampable { """The currency unit for the billing item amount.""" amountUnit: CurrencyUnitEnum """Code associated with the billing item.""" code: String """When the resource was created.""" createdAt: ISO8601DateTime! """The currency symbol for the amount.""" currencySymbol: String """The description of the billing item.""" description: String """The list of diagnoses associated with the billing item.""" diagnoses: [Diagnosis!] """Logical id of the resource.""" id: ID! """The quantity of the billing item.""" quantity: Int """The status of the billing item.""" status: BillingStatusEnum """The total price for the billing item.""" totalPrice: Float """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents an active CHR user.""" type ProviderUser implements Node & Timestampable { """The CHR user's billing number.""" billingNumber: String """When the resource was created.""" createdAt: ISO8601DateTime! """The CHR user's email address.""" email: Email! """The CHR user's first name.""" firstName: String """An auto-generated field based on a combination of firstName and lastName.""" fullName: String """Indicates if the provider is configured with an inbox.""" hasInbox: Boolean """Indicates if the provider is configured with a schedule.""" hasSchedule: Boolean """Logical id of the resource.""" id: ID! """List of the CHR user's languages.""" languages: [String!]! """The CHR user's last name.""" lastName: String """The CHR user's license number.""" licenseNumber: String """The CHR user's licensing body.""" licensingBody: String """The CHR user's occupation.""" occupation: OccupationEnum """Returns the schedule for a provider.""" schedule: Schedule """The CHR user's medical specialty.""" specialty: String """The provider user's title.""" title: ProviderUserTitleEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for ProviderUser.""" type ProviderUserConnection { """A list of edges.""" edges: [ProviderUserEdge] """A list of nodes.""" nodes: [ProviderUser] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ProviderUserEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ProviderUser } """List of the supported queries and filters.""" type Query { """Returns a single appointment.""" appointment(id: ID!): Appointment """List of available tags for appointments. Default sort order is by creation date, with oldest records first.""" appointmentTags: [AppointmentTag!] """Returns a list of appointments, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" appointments(from: DateTimeWithTimezone, locationId: ID, patientId: ID, providerId: ID, serviceId: ID, to: DateTimeWithTimezone, visitType: VisitTypeEnum, includeDeactivated: Boolean, orderBy: [AppointmentOrderByInput!] = [{direction: ASC, field: CREATED_AT}, {direction: ASC, field: ID}], after: String, before: String, first: Int, last: Int): AppointmentConnection """Returns a list of available appointment times.""" availabilities(exclusiveAvailability: Boolean = false, from: DateTimeWithTimezone, locations: [ID!], providers: [ID!], serviceId: ID!, to: DateTimeWithTimezone, userGroupId: ID, visitType: VisitTypeEnum): [Availability!] """Returns a single care team role.""" careTeamRole(uuid: String!): CareTeamRole """Returns a list of all the patient care team roles configured for the account ordered by position.""" careTeamRoles(name: String, after: String, before: String, first: Int, last: Int): CareTeamRoleConnection """Returns a single case status.""" caseStatus(id: ID!): CaseStatus """Returns a list of case statuses, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" caseStatuses(includeArchived: Boolean = false, name: SearchString, after: String, before: String, first: Int, last: Int): CaseStatusConnection """Returns a single case template.""" caseTemplate(id: ID!): CaseTemplate """Returns a list of case templates, with cursor-based pagination. Default sort order is in ascending order by position.""" caseTemplates(includeArchived: Boolean = false, name: SearchString, after: String, before: String, first: Int, last: Int): CaseTemplateConnection """Returns a single contact.""" contact(id: ID!): Contact """Returns a list of contacts, with cursor-based pagination. Default sort order is alphabetical by first name, last name.""" contacts(billingCode: String, excludeReadOnly: Boolean = false, facilityName: String, fax: String, name: String, occupation: ContactOccupationEnum, occupationRawValue: String, after: String, before: String, first: Int, last: Int): ContactConnection """Returns a single draft appointment.""" draftAppointment(id: ID!): DraftAppointment """Returns a list of draft appointments, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" draftAppointments(from: DateTimeWithTimezone, locationId: ID, providerId: ID, serviceId: ID, to: DateTimeWithTimezone, orderBy: [DraftAppointmentOrderByInput!] = [{direction: ASC, field: CREATED_AT}, {direction: ASC, field: ID}], after: String, before: String, first: Int, last: Int): DraftAppointmentConnection """Returns a list of facilities, with cursor-based pagination. Default sort order is by createdAt, with oldest records first.""" facilities(category: FacilityCategoryEnum, categoryRawValue: SearchString, city: SearchString, email: SearchString, excludeReadOnly: Boolean = false, fax: SearchString, name: SearchString, phone: SearchString, postalCode: SearchString, after: String, before: String, first: Int, last: Int): FacilityConnection """Returns a single facility.""" facility(id: ID!): Facility """List of available tags for files. Default sort order is by name.""" fileTags(includeArchived: Boolean = false, after: String, before: String, first: Int, last: Int): FileTagConnection """Returns a single group visit.""" groupVisit(id: ID!): GroupVisit """Returns a list of group visits, with cursor-based pagination. Default sort order is by start time, with earliest records first.""" groupVisits(allowEbooking: Boolean = true, description: SearchString, from: DateTimeWithTimezone, fullyBooked: Boolean, includeDeactivated: Boolean = false, locationId: ID, name: SearchString, orderBy: [GroupVisitOrderByInput!] = [{direction: ASC, field: START_AT}], to: DateTimeWithTimezone, after: String, before: String, first: Int, last: Int): GroupVisitConnection """Returns a single identification template.""" identificationTemplate(id: ID!): IdentificationTemplate """Returns a list of identification templates configured for the account.""" identificationTemplates: [IdentificationTemplate!] """Reserved to CHR internal use.""" labObservations(after: String, before: String, first: Int, last: Int, collectedDate: ISO8601Date!, identificationType: String!, identificationValue: String!, recordId: String, recordIds: [String!]): LabObservationConnection """Returns a list of lab test names.""" labTestNames(name: SearchString, after: String, before: String, first: Int, last: Int): LabTestNameConnection """Returns a single letter template.""" letterTemplate(id: ID!): LetterTemplate """Returns a list of letter templates, with cursor-based pagination. Default sort order is by createdAt, with most recent records first.""" letterTemplates(includeArchived: Boolean, title: SearchString, after: String, before: String, first: Int, last: Int): LetterTemplateConnection """Returns a single location.""" location(id: ID!): Location """Returns a list of all the locations configured within the account. Default sort order is by creation date, with oldest records first.""" locations: [Location!] """Returns a single patient (respondent).""" patient(id: ID!): Patient """Returns a list of all the patient data categories configured for the account ordered by position.""" patientDataCategories(includeArchived: Boolean = false, name: SearchString, after: String, before: String, first: Int, last: Int): PatientDataCategoryConnection """Returns a single patient data category.""" patientDataCategory(uuid: String!): PatientDataCategory """Returns a single patient data template.""" patientDataTemplate(categoryUuid: String!, uuid: String!): PatientDataTemplate """Returns a list of patient data templates, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" patientDataTemplates(categoryName: SearchString, categoryUuid: String, name: SearchString, after: String, before: String, first: Int, last: Int): PatientDataTemplateConnection """Returns a verification status of the patient's identification.""" patientIdentificationVerification(id: ID!): IdentificationVerification """Returns a list of patients (respondents), with cursor-based pagination. Default sort order is by creation date, with newest records first.""" patients(dateOfBirth: ISO8601Date, email: SearchString, firstName: SearchString, gender: GenderEnum, identificationValue: String, identificationTemplateId: ID, lastName: SearchString, locationId: ID, phone: PhoneSearchString, primaryPractitionerId: ID, statusTagId: ID, includeArchived: Boolean = false, orderBy: [PatientOrderByInput!], after: String, before: String, first: Int, last: Int): PatientConnection """Returns a single presenting issue.""" presentingIssue(id: ID!): PresentingIssue """Returns a list of presenting issues defined for the account, with cursor-based pagination. Default sort order is by id.""" presentingIssues(after: String, before: String, first: Int, last: Int, name: SearchString, nameOrSearchablePhrase: SearchString): PresentingIssueConnection """Returns a single provider (CHR user).""" provider(id: ID!): ProviderUser """Returns a list of providers (CHR users), with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" providers(languages: [SearchString!], lastName: SearchString, firstName: SearchString, licenseNumber: SearchString, billingNumber: SearchString, email: SearchString, hasInbox: Boolean, hasSchedule: Boolean, after: String, before: String, first: Int, last: Int): ProviderUserConnection """Returns a list of referral data settings.""" referralDataSettings(direction: ReferralDirectionEnum): [ReferralDataSetting!]! """Returns a list of referral priorities, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" referralPriorities(includeArchived: Boolean = false, name: SearchString, after: String, before: String, first: Int, last: Int): ReferralPriorityConnection """Returns a single referral priority.""" referralPriority(id: ID!): ReferralPriority """Returns a single referral record.""" referralRecord(id: ID!): ReferralRecord """Returns a list of referral records, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" referralRecords(anyPriorityIds: [ID!], anyStatusIds: [ID!], direction: ReferralDirectionEnum, includeArchived: Boolean = false, orderBy: [ReferralRecordOrderByInput!] = [{direction: ASC, field: ID}, {direction: DESC, field: CREATED_AT}], waitingListId: ID, after: String, before: String, first: Int, last: Int): ReferralRecordConnection """Returns a single referral status.""" referralStatus(id: ID!): ReferralStatus """Returns a list of referral statuses, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" referralStatuses(direction: ReferralStatusDirectionEnum, excludeWaitingListStatus: Boolean = false, includeArchived: Boolean = false, name: SearchString, waitingListId: ID, after: String, before: String, first: Int, last: Int): ReferralStatusConnection """Returns a single referral waiting list.""" referralWaitingList(id: ID!): ReferralWaitingList """Returns a list of referral waiting lists, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" referralWaitingLists(includeArchived: Boolean = false, name: SearchString, after: String, before: String, first: Int, last: Int): ReferralWaitingListConnection """Returns a single patient (respondent).""" respondent(id: ID!): Respondent @deprecated(reason: "This field is deprecated, use patient instead.") """Returns a list of patients (respondents), with cursor-based pagination. Default sort order is by creation date, with newest records first.""" respondents(dateOfBirth: ISO8601Date, email: SearchString, firstName: SearchString, gender: GenderEnum, identificationValue: String, identificationTemplateId: ID, lastName: SearchString, locationId: ID, phone: PhoneSearchString, primaryPractitionerId: ID, statusTagId: ID, includeArchived: Boolean = false, orderBy: [PatientOrderByInput!], after: String, before: String, first: Int, last: Int): RespondentConnection @deprecated(reason: "This field is deprecated, use patients instead.") """Returns the schedule for a provider.""" schedule(to: DateTimeWithTimezone, from: DateTimeWithTimezone!, providers: [ID!]!, locations: [ID!], visitType: VisitTypeEnum): LegacySchedule """Returns a single appointment type (service).""" service(id: ID!): Service """Returns a list of all the appointment types (services) configured within the account. Default sort order is by creation date, with oldest records first.""" services(name: SearchString, presentingIssueId: ID): [Service!] """Returns a single patient status tag.""" statusTag(id: ID!): StatusTag """Returns a list of all the patient status tags configured for the account, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" statusTags(after: String, before: String, first: Int, last: Int): StatusTagConnection """Returns a single task.""" task(id: ID!): Task """Returns a list of task categories, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" taskCategories(includeArchived: Boolean = false, name: SearchString, orderBy: [TaskCategoryOrderByInput!] = [{direction: DESC, field: CREATED_AT}], after: String, before: String, first: Int, last: Int): TaskCategoryConnection """Returns a single task category.""" taskCategory(id: ID!): TaskCategory """Returns a single task template.""" taskTemplate(id: ID!): TaskTemplate """Returns a list of task templates.""" taskTemplates(name: SearchString, orderBy: [TaskTemplateOrderByInput!] = [{direction: DESC, field: CREATED_AT}], after: String, before: String, first: Int, last: Int): TaskTemplateConnection """Returns a list of tasks, with cursor-based pagination. Default sort order is by creation date and id ascending.""" tasks(categoryId: ID, includeCompleted: Boolean = false, name: SearchString, orderBy: [TaskOrderByInput!], priority: TaskPriorityEnum, status: TaskStatusEnum, after: String, before: String, first: Int, last: Int): TaskConnection """Returns a list of appointments where startAt is greater than the request time, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" upcomingAppointments(after: String, before: String, first: Int, last: Int): AppointmentConnection """Returns a single user group.""" userGroup(id: ID!): UserGroup """Returns a list of all the user groups configured within the account. Default sort order is by creation date, with oldest records first.""" userGroups: [UserGroup!] """Returns a virtual visit link for an appointment or link id.""" virtualVisitLink(appointmentId: ID, id: ID): VirtualVisitLink } """Represents a qnaire template.""" type Questionnaire implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Descriptive text for the qnaire.""" description: String """Number of minutes it is estimated to take to complete qnaire.""" estimatedMinutes: Int """Logical id of the resource.""" id: ID! """Name of the qnaire.""" name: String """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Autogenerated return type of ReassignCase.""" type ReassignCasePayload { """Represents a case.""" case: Case! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Represents a referral data setting.""" type ReferralDataSetting { """Category of the referral data setting.""" category: FlexibleDataCategory! """The direction of the referral this data setting can be used with INCOMING, INTERNAL or OUTGOING.""" direction: ReferralDirectionEnum! """Entity of the referral data setting.""" entity: FlexibleDataEntity! """Position of the referral data setting.""" position: Int! """Template of the referral data setting.""" template: FlexibleDataTemplate! } """Represents a referral priority.""" type ReferralPriority implements Colorable & Iconable & Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Indicates if this referral priority is the default one.""" default: Boolean! """Icon used to represent this resource in the CHR.""" icon: String """Logical id of the resource.""" id: ID! """Name of the referral priority.""" name: String! """Position of the referral priority.""" position: Int! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for ReferralPriority.""" type ReferralPriorityConnection { """A list of edges.""" edges: [ReferralPriorityEdge] """A list of nodes.""" nodes: [ReferralPriority] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ReferralPriorityEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ReferralPriority } """Represents a referral record.""" type ReferralRecord implements Node & Timestampable { """Indicates if the referral record is archived.""" archived: Boolean! """Attachments associated with the referral record.""" attachments(after: String, before: String, first: Int, last: Int): ReferralRecordAttachmentConnection! """Additional notes or remarks related to the referral record.""" comments(after: String, before: String, first: Int, last: Int): ReferralRecordCommentConnection! """When the resource was created.""" createdAt: ISO8601DateTime! """Represents the date when the referral record is added.""" dateOfAdded: ISO8601Date! """Direction of the referral record.""" direction: ReferralDirectionEnum! """Logical id of the resource.""" id: ID! """Provider user or contact who created the referral record.""" orderingProvider: ReferralOrderingProviderResource """Patient with whom the referral record is related to.""" patient: Patient! """Priority of the referral record.""" priority: ReferralPriority """Free text field on the referral record, capturing reason for the referral record.""" reason: String! """Returns a single referral record's referral data item.""" referralDataItem(id: ID!): FlexibleDataPropertyItem """Returns a list of all the referral data items configured for the referral record, with cursor-based pagination.""" referralDataItems(categoryUuid: String, templateUuid: String, after: String, before: String, first: Int, last: Int): FlexibleDataPropertyItemConnection """Provider user or contact for whom the referral record is addressed.""" serviceProvider: ReferralServiceProviderResource """Status of the referral record.""" status: ReferralStatus """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The referral waiting list to which the referral record is linked to.""" waitingList: ReferralWaitingList } """The connection type for ReferralRecordAttachment.""" type ReferralRecordAttachmentConnection { """A list of edges.""" edges: [ReferralRecordAttachmentEdge] """A list of nodes.""" nodes: [ReferralRecordAttachment] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ReferralRecordAttachmentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ReferralRecordAttachment } """Represents a referral record's comment type.""" type ReferralRecordComment implements Node & Timestampable { """The author who recorded the comment.""" author: ReferralRecordCommentAuthor! """The comment text details.""" body: String! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for ReferralRecordComment.""" type ReferralRecordCommentConnection { """A list of edges.""" edges: [ReferralRecordCommentEdge] """A list of nodes.""" nodes: [ReferralRecordComment] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ReferralRecordCommentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ReferralRecordComment } """The connection type for ReferralRecord.""" type ReferralRecordConnection { """A list of edges.""" edges: [ReferralRecordEdge] """A list of nodes.""" nodes: [ReferralRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ReferralRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ReferralRecord } """Represents a referral status.""" type ReferralStatus implements Colorable & Iconable & Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Indicates if this status is the default one (for a given direction).""" default: Boolean! """The direction of the referral this status can be used with. Referral statuses with an INCOMING direction can be used with either INCOMING or INTERNAL referrals.""" direction: ReferralStatusDirectionEnum! """Icon used to represent this resource in the CHR.""" icon: String """Logical id of the resource.""" id: ID! """Name of the referral status.""" name: String! """Position of the referral status (for a given direction).""" position: Int! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """Referral waiting list this referral status is defined for.""" waitingList: ReferralWaitingList } """The connection type for ReferralStatus.""" type ReferralStatusConnection { """A list of edges.""" edges: [ReferralStatusEdge] """A list of nodes.""" nodes: [ReferralStatus] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ReferralStatusEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ReferralStatus } """Represents a referral waiting list.""" type ReferralWaitingList implements Node & Timestampable { """Indicates if the referral waiting list has been archived.""" archived: Boolean! """When the resource was created.""" createdAt: ISO8601DateTime! """Short description of the referral waiting list.""" description: String """Logical id of the resource.""" id: ID! """Name of the referral waiting list.""" name: String! """Position of the referral waiting list.""" position: Int! """Statuses of the referral waiting list.""" referralStatuses: [ReferralStatus!] """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for ReferralWaitingList.""" type ReferralWaitingListConnection { """A list of edges.""" edges: [ReferralWaitingListEdge] """A list of nodes.""" nodes: [ReferralWaitingList] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ReferralWaitingListEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: ReferralWaitingList } """Autogenerated return type of RemoveGroupVisitAttendee.""" type RemoveGroupVisitAttendeePayload { """The appointment records that were cancelled for the patient within the group visit.""" appointments: [Appointment!]! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Represents a patient profile. This type is deprecated, please use `Patient` instead""" type Respondent implements Node & Timestampable { """The patient's additional address line.""" additionalAddress: String """A list of the patient's administrative notes, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" administrativeNotes(after: String, before: String, first: Int, last: Int): AdministrativeNoteConnection """Age in years. Auto-generated field based on the patient's date of birth.""" age: Int! """A list of the patient's allergies, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" allergyRecords(category: CategoryEnum, status: RecordsStatusEnum, severity: SeverityEnum, after: String, before: String, first: Int, last: Int): PatientAllergyRecordConnection """A list of the qnaire responses in the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" answerSheets(from: DateTimeWithTimezone, questionnaireId: ID, after: String, before: String, first: Int, last: Int): AnswerSheetConnection """Indicates if record has been archived.""" archived: Boolean! """When the record was archived.""" archivedAt: ISO8601Date """The entity which archived the record.""" archivedBy: ArchivedBy """A list of the attachments on the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" attachments(fileTagIds: [ID!], includeArchived: Boolean = false, after: String, before: String, first: Int, last: Int): AttachmentConnection """A list of the care team members on the patient chart. Default sort order is by creation date, with newest records first.""" careTeamMembers(careTeamRoleUuid: String, orderBy: [CareTeamMemberOrderByInput!] = [{direction: DESC, field: CREATED_AT}]): [CareTeamMember!] """Returns patient's single case""" case(id: ID!): Case """A list of the patient's cases, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" cases(assignedProviderUserId: ID, includeArchived: Boolean = false, includeClosed: Boolean = false, issue: SearchString, statusId: ID, after: String, before: String, first: Int, last: Int): CaseConnection """The city of the patient's address.""" city: String """The county of the patient's address.""" country: String """When the resource was created.""" createdAt: ISO8601DateTime! """When the patient was born.""" dateOfBirth: ISO8601Date! """Indicates if the patient record is in a draft status.""" draft: Boolean! """The patient's email address.""" email: Email """When the email address was confirmed.""" emailConfirmedAt: ISO8601DateTime """The patient's emergency contact's first name.""" emergencyFirstName: String """The patient's emergency contact's last name.""" emergencyLastName: String """The patient's emergency contact's middle name.""" emergencyMiddleName: String """The phone number of the patient's emergency contact.""" emergencyPhone: Phone """Who the emergency contact is to the patient i.e., `"Mother"`, `"Father"`, etc.""" emergencyRelationship: String """A list of the encounter notes on the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" encounters(createdById: ID, from: ISO8601DateTime, orderBy: [EncounterOrderByInput!] = [{direction: DESC, field: CREATED_AT}], presentingIssueId: ID, signedById: ID, to: ISO8601DateTime, after: String, before: String, first: Int, last: Int): EncounterConnection """Free text name of the family provider.""" familyDoctor: String """Logical id of the contact who is the family provider for this patient outside the clinic.""" familyPractitioner: Contact """The patient's first name.""" firstName: String! """An auto-generated field based on a combination of firstName and lastName.""" fullName: String! """The patient's sex.""" gender: GenderEnum """The gender the patient identifies with.""" genderIdentity: GenderIdentityEnum """Description of the patient's gender identity when `PREFER_TO_DESCRIBE` is used.""" genderIdentityDescription: String """Indicates if the patient has any allergies documented in their record.""" hasAllergies: Boolean! """Represents a patient's health profile also known as cumulative patient profile (CPP).""" healthProfile: HealthProfile """The patient's home phone number.""" homePhone: Phone """Logical id of the resource.""" id: ID! """A list of patient identifications.""" identifications: [Identification!]! """A list of the patient's injections, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" injectionRecords(type: InjectionTypeEnum, name: String, after: String, before: String, first: Int, last: Int): InjectionRecordConnection """Name of the patient's insurance company.""" insuranceCompany: String """The patient's group number with the insurance company.""" insuranceGroupNumber: String """The patient's id with the insurance company.""" insuranceId: String """A list of the lab reports in the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" labReports(fileTagsIds: [ID!], includeArchived: Boolean = false, includeHistoricalVersions: Boolean = false, after: String, before: String, first: Int, last: Int): LabReportConnection """A lab result for the patient.""" labResult(id: ID!): LabResult """A list of the lab results in the patient chart, with cursor-based pagination. Default sort order is by Lab Test Name asc and Collected At Desc.""" labResults(labTestNames: [String!], lastResultOnly: Boolean, orderBy: [LabResultOrderByInput!] = [{direction: ASC, field: LAB_TEST_NAME}, {direction: DESC, field: COLLECTED_AT}], sectionName: String, after: String, before: String, first: Int, last: Int): LabResultConnection """The patient's language.""" language: String """The patient's last name.""" lastName: String! """A list of the letters in the patient chart, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" letters(contactId: ID, letterTemplateId: ID, orderBy: [LetterOrderByInput!] = [{direction: DESC, field: CREATED_AT}], title: SearchString, after: String, before: String, first: Int, last: Int): LetterConnection """A list of the patient's medications, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" medicationRecords(current: Boolean, after: String, before: String, first: Int, last: Int): MedicationRecordConnection """This field is deprecated, use middleName instead.""" middleInitial: String """The patient's middle name.""" middleName: String """The method of notification for the patient.""" notifyBy: NotificationMethodEnum! """The patient's office phone number.""" officePhone: Phone """The patient's office phone number extension.""" officePhoneExt: String """Represents a patient's data items.""" patientDataItems(categoryUuid: String, templateUuid: String, after: String, before: String, first: Int, last: Int): PatientDataItemConnection """Mobile phone number of the patient.""" phone: String """When the phone number was confirmed.""" phoneConfirmedAt: ISO8601DateTime """The name the patient prefers to be addressed by.""" preferredName: String """The facility that is the patient's pharmacy.""" preferredPharmacy: Facility """The primary location the patient will be seen at""" primaryLocation: Location """The CHR user who cares for this patient in the clinic.""" primaryPractitioner: ProviderUser """The patient's pronouns.""" pronouns: PronounsEnum """Indicates if the patient has access to the CHR patient portal.""" publicAccessAllowed: Boolean """Returns patient's single referral record""" referralRecord(id: ID!): ReferralRecord """A list of the patient's referral records, with cursor-based pagination. Default sort order is by creation date, with oldest records first.""" referralRecords(anyPriorityIds: [ID!], anyStatusIds: [ID!], direction: ReferralDirectionEnum, includeArchived: Boolean = false, orderBy: [ReferralRecordOrderByInput!] = [{direction: ASC, field: ID}, {direction: DESC, field: CREATED_AT}], waitingListId: ID, after: String, before: String, first: Int, last: Int): ReferralRecordConnection """Free text name of the referring provider.""" referringDoctor: String """Logical id of the contact that referred the patient to the clinic.""" referringPractitioner: Contact """The region/province/state of the patient's address.""" region: String """A list of status tags""" statusTags: [StatusTag!]! """The patient's street address.""" streetAddress: String """Returns patient's single task.""" task(id: ID!): Task """A list of the patient's tasks, with cursor-based pagination. Default sort order is by creation date and id ascending.""" tasks(categoryId: ID, includeCompleted: Boolean = false, name: SearchString, orderBy: [TaskOrderByInput!], priority: TaskPriorityEnum, status: TaskStatusEnum, after: String, before: String, first: Int, last: Int): TaskConnection """The patient's title (i.e., Ms., Mr., Dr.).""" title: String """Indicates if the patient has opted out of email notifications.""" unsubscribedFromEmail: Boolean! """Indicates if the patient has opted out of SMS notifications.""" unsubscribedFromSms: Boolean! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """Indicates if the patient details have been verified.""" verified: Boolean! """A list of the patient's vital records, with cursor-based pagination. Default sort order is by creation date, with newest records first.""" vitalsRecords(after: String, before: String, first: Int, last: Int): VitalsRecordConnection """The ZIP code/postal code of the patient's address.""" zipcode: String } """The connection type for Respondent.""" type RespondentConnection { """A list of edges.""" edges: [RespondentEdge] """A list of nodes.""" nodes: [Respondent] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type RespondentEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Respondent } """Represents a response selection of the answer.""" type ResponseSelection implements Node { """The exportable value of the choice.""" exportableValue: String """Logical id of the resource.""" id: ID! """The text of the choice.""" text: String """The variable value of the choice.""" variableValue: String } """Autogenerated return type of SaveOlisLabMessage.""" type SaveOlisLabMessagePayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String status: Boolean! } """Represents the schedule for a provider.""" type Schedule { """The flexible work hours of the schedule.""" flexibleWorkHours(anyLocationIds: [ID!], from: ISO8601Date, to: ISO8601Date, after: String, before: String, first: Int, last: Int): FlexibleWorkHourConnection! """The off hours of the schedule.""" offtime(from: ISO8601Date, to: ISO8601Date, after: String, before: String, first: Int, last: Int): OfftimeConnection! """The standard work hours of the schedule.""" standardWorkHours(anyLocationIds: [ID!], anyWeekdays: [WeekDayEnum!], after: String, before: String, first: Int, last: Int): StandardWorkHourConnection! } """Represents a score in an answer sheet.""" type Score { """Maximum value available for the score.""" max: Float """Name of the score.""" name: String """Value of the score.""" value: Float } """Represents an appointment type.""" type Service implements Colorable & Iconable & Node & Timestampable { """Indicates if the appointment type is bookable by existing patients.""" allowExistingPatient: Boolean! """Indicates if the appointment type is bookable by new patients.""" allowNewPatient: Boolean! """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Icon used to represent this resource in the CHR.""" icon: String """Logical id of the resource.""" id: ID! """A list of translated long description values based on locale.""" localizedLongDescription: [LocalizedField!]! """List of translated values for name.""" localizedName: [LocalizedField!]! """A list of translated short description values based on locale.""" localizedShortDescription: [LocalizedField!]! """A detailed description of the service.""" longDescription: HtmlFragment """The maximum number of days in advance the appointment type can be booked by a patient.""" maxRequestableDays: Int """Interval for the minimum amount of notice required to book this appointment type as a patient, used in conjunction with minRequestableIntervalType.""" minRequestableInterval: Int! """Interval type (i.e., days or hours) for the minimum amount of notice required to book the appointment type as a patient, used in conjunction with minRequestableInterval.""" minRequestableIntervalType: String! """The name of the appointment type.""" name: String! """Default status configured for the appointment type for external use (i.e., patient).""" patientDefaultStatus: AppointmentStatusEnum! """The list of presenting issues associated with the appointment type (service) plus presenting issues with enabled allow all services flag.""" presentingIssues(after: String, before: String, first: Int, last: Int): PresentingIssueConnection """Default status configured for the appointment type for internal use (i.e., provider or clinic staff).""" providerDefaultStatus: AppointmentStatusEnum! """A brief description of the service.""" shortDescription: String """Default length of the appointment type in minutes.""" slotLength: Int! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for Service.""" type ServiceConnection { """A list of edges.""" edges: [ServiceEdge] """A list of nodes.""" nodes: [Service] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type ServiceEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Service } """Represents a patient's social history record.""" type SocialHistoryRecord implements Node & Timestampable { """Age of the patient at on set of the record.""" ageAtOnset: Int """When the resource was created.""" createdAt: ISO8601DateTime! """End date of the record.""" endDate: PartialDate """Logical id of the resource.""" id: ID! """Indicates if the record is a risk factor.""" isRiskFactor: Boolean! """The life stage for on set of the record.""" lifeStage: LifeStageEnum """Free text notes on the record.""" notes: String """Json string of the data recorded for the record.""" rawData: String """Free text description of risk factor when other type is selected.""" riskFactor: String """Start date of the record.""" startDate: PartialDate """The sub type of the social history record.""" subtype: SocialHistorySubtypeEnum """The type of social history record.""" type: SocialHistoryTypeEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for SocialHistoryRecord.""" type SocialHistoryRecordConnection { """A list of edges.""" edges: [SocialHistoryRecordEdge] """A list of nodes.""" nodes: [SocialHistoryRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type SocialHistoryRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: SocialHistoryRecord } """The standard work hour.""" type StandardWorkHour implements Colorable & Node & Timestampable { """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """The time at which scheduled standard work hour ends.""" endAtTime: TimeWithoutOffset! """Logical id of the resource.""" id: ID! """Default length of the slots for this work hour in minutes.""" interval: Int! """The location associated with this standard work hour.""" location: Location! """The services available during this standard work hour.""" services: [Service!]! """Indicates if the intervals should be shown on the schedule.""" showIntervalsOnSchedule: Boolean! """The number of appointment slots available at this standard work hour.""" slot: Int! """Indicates if the standard work hours defined is configured to stack appointments(i.e., back tot back)by default.""" stacking: Boolean! """The time at which scheduled standard work hour starts.""" startAtTime: TimeWithoutOffset! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The visit type of this standard work hour.""" visitType: VisitTypeEnum! """The day of the week for which this standard work hours is defined.""" weekday: WeekDayEnum! } """The connection type for StandardWorkHour.""" type StandardWorkHourConnection { """A list of edges.""" edges: [StandardWorkHourEdge] """A list of nodes.""" nodes: [StandardWorkHour] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type StandardWorkHourEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: StandardWorkHour } """Represents a status tag""" type StatusTag implements Colorable & Node & Timestampable { """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """The name of the status tag""" name: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for StatusTag.""" type StatusTagConnection { """A list of edges.""" edges: [StatusTagEdge] """A list of nodes.""" nodes: [StatusTag] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type StatusTagEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: StatusTag } """Represents a patient's surgical history record.""" type SurgicalHistoryRecord implements Node & Timestampable { """When the resource was created.""" createdAt: ISO8601DateTime! """Diagnoses of the surgical history record.""" diagnoses: [Diagnosis!]! """Date the problem resolved.""" endDate: PartialDate """Logical id of the resource.""" id: ID! """Indicates if the record is a risk factor.""" isRiskFactor: Boolean! """The point in the patient's life when the procedure was performed.""" lifeStage: LifeStageEnum """Free text notes on the record.""" notes: String """Date the procedure was performed.""" performedOn: PartialDate """The status of the surgical history.""" status: PatientHistoryRecordStatusEnum """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for SurgicalHistoryRecord.""" type SurgicalHistoryRecordConnection { """A list of edges.""" edges: [SurgicalHistoryRecordEdge] """A list of nodes.""" nodes: [SurgicalHistoryRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type SurgicalHistoryRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: SurgicalHistoryRecord } """Represents a task.""" type Task implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """Represents the assignee of the task (ProviderUser or Patient).""" assignee: TaskAssignee """Indicates if the record has been completed.""" completed: Boolean! """Represents the task completion date and time.""" completedAt: ISO8601DateTime """When the resource was created.""" createdAt: ISO8601DateTime! """Represents the due date and time of the task.""" dueAt: ISO8601DateTime """Logical id of the resource.""" id: ID! """Location of the task.""" location: Location """Name of the task.""" name: String! """Represents the patient record associated with the task.""" patient: Patient """Represents the priority of the task.""" priority: TaskPriorityEnum! """Represents the start date and time of the task.""" startAt: ISO8601DateTime! """Represents the status of the task.""" status: TaskStatusEnum! """Represents the free text description of the task.""" summary: String """Represents the task category.""" taskCategory: TaskCategory """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents a task category.""" type TaskCategory implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Name of the task category.""" name: String! """Returns a single task template.""" taskTemplate(id: ID!): TaskTemplate """Returns a list of task templates.""" taskTemplates(name: SearchString, orderBy: [TaskTemplateOrderByInput!] = [{direction: DESC, field: CREATED_AT}], after: String, before: String, first: Int, last: Int): TaskTemplateConnection """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for TaskCategory.""" type TaskCategoryConnection { """A list of edges.""" edges: [TaskCategoryEdge] """A list of nodes.""" nodes: [TaskCategory] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type TaskCategoryEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: TaskCategory } """Represents a comment on a task.""" type TaskComment implements Node & Timestampable { """The text content of the task comment (up to 1000 characters).""" comment: String! """When the resource was created.""" createdAt: ISO8601DateTime! """The user or API consumer who created the comment.""" createdBy: TaskCommentActor! """Logical id of the resource.""" id: ID! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for Task.""" type TaskConnection { """A list of edges.""" edges: [TaskEdge] """A list of nodes.""" nodes: [Task] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type TaskEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: Task } """Represents a task template.""" type TaskTemplate implements Node & Timestampable { """Indicates if the record has been archived.""" archived: Boolean! """Represents the default provider user to which task will be assigned to.""" assignee: ProviderUser """When the resource was created.""" createdAt: ISO8601DateTime! """A list of default date configurations for tasks created from the template. Each configuration specifies the priority and default offsets for the task's start and due dates relative to its creation.""" defaultDates: [TaskTemplateDefaultDate!]! """Logical id of the resource.""" id: ID! """Represents the default location of the task.""" location: Location """Represents the default name of the task.""" name: String! """Represents the default priority of the task.""" priority: TaskPriorityEnum! """Represents the default free text description of the task.""" summary: String """Task category to which the task template belongs.""" taskCategory: TaskCategory """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """The connection type for TaskTemplate.""" type TaskTemplateConnection { """A list of edges.""" edges: [TaskTemplateEdge] """A list of nodes.""" nodes: [TaskTemplate] """Information to aid in pagination.""" pageInfo: PageInfo! } """Represents the default start and due date offsets for a task template based on a specific priority.""" type TaskTemplateDefaultDate { """The offset value for the task's due date, relative to its start date.""" dueAtOffset: Int """The unit of time for the due date offset.""" dueAtUnit: TaskDateOffsetUnitEnum """Specifies the priority level of the task.""" priority: TaskPriorityEnum! """The offset value for the task's start date, relative to its creation.""" startAtOffset: Int! """The unit of time for the start date offset.""" startAtUnit: TaskDateOffsetUnitEnum! } """An edge in a connection.""" type TaskTemplateEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: TaskTemplate } """Referral record unsupported attachment types.""" type UnsupportedReferralRecordAttachment implements Node & Timestampable { """The type of the unsupported attachment.""" attachmentType: UnsupportedReferralRecordAttachmentTypeEnum! """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Autogenerated return type of UpdateAppointment.""" type UpdateAppointmentPayload { """The appointment that was updated.""" appointment: Appointment! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of UpdateCareTeamMember.""" type UpdateCareTeamMemberPayload { """The provider or contact who is a member of the patient's care team.""" careTeamMember: CareTeamMember! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of UpdateCase.""" type UpdateCasePayload { """Represents a case.""" case: Case! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of UpdateCaseStatus.""" type UpdateCaseStatusPayload { """Represents a case.""" case: Case! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of UpdateContact.""" type UpdateContactPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The newly created contact record.""" contact: Contact! } """Autogenerated return type of UpdateDraftAppointment.""" type UpdateDraftAppointmentPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The draft appointment that was updated.""" draftAppointment: DraftAppointment! } """Autogenerated return type of UpdateFacility.""" type UpdateFacilityPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a healthcare facility or external organization that provides services to patients.""" facility: Facility! } """Autogenerated return type of UpdateIncomingReferralRecord.""" type UpdateIncomingReferralRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record.""" referralRecord: ReferralRecord! } """Autogenerated return type of UpdateInternalReferralRecord.""" type UpdateInternalReferralRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record.""" referralRecord: ReferralRecord! } """Autogenerated return type of UpdateOutgoingReferralRecord.""" type UpdateOutgoingReferralRecordPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents a referral record.""" referralRecord: ReferralRecord! } """Autogenerated return type of UpdatePatient.""" type UpdatePatientPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The patient that was updated.""" patient: Patient } """Autogenerated return type of UpdateTask.""" type UpdateTaskPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Represents the task.""" task: Task! } """Autogenerated return type of UpsertCaseDataItem.""" type UpsertCaseDataItemPayload { """The case data item that was created or updated.""" caseDataItem: CaseDataItem! """A unique identifier for the client performing the mutation.""" clientMutationId: String } """Autogenerated return type of UpsertPatientDataItem.""" type UpsertPatientDataItemPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """Patient data item type which was inserted/updated.""" patientDataItem: PatientDataItem! } """Autogenerated return type of UpsertReferralDataItem.""" type UpsertReferralDataItemPayload { """A unique identifier for the client performing the mutation.""" clientMutationId: String """The referral data item that was created or updated.""" referralDataItem: FlexibleDataPropertyItem! } """Represents a user group.""" type UserGroup implements Colorable & Node & Timestampable { """Indication if the user group can be used in an availabilities query.""" bookable: Boolean """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Description of the user group.""" description: String """Logical id of the resource.""" id: ID! """User type(s) included in the group, if set 'members' will be null.""" massMatch: [MassMatchEnum!] """List of users assigned to the user group, empty if 'mass_match' has value.""" members: [ProviderUser!] """Name of the user group.""" name: String! """When the resource was last updated.""" updatedAt: ISO8601DateTime! } """Represents a virtual visit link.""" type VirtualVisitLink { """The access code required to join the virtual visit.""" accessCode: String! """Represents the associated appointment record for the virtual visit link.""" appointment: Appointment """The URL for the virtual visit link that a participant uses to join the virtual visit.""" url: String! } """Represents a patient's vital record.""" type VitalsRecord implements Node & Timestampable { """The arm the measurement was taken from.""" bloodPressureArm: BloodPressureArmEnum """The position of the patient when the measurement was taken.""" bloodPressurePosition: BloodPressurePositionEnum """The BMI value.""" bmi: Float """When the resource was created.""" createdAt: ISO8601DateTime! """The diastolic blood pressure value (mmHg).""" diastolicBloodPressure: Int """The head circumference value (cm).""" headCircumference: Float """The pattern of the heartbeats.""" heartBeat: HeartBeatEnum """The heart rate value (bpm).""" heartRate: Int """The height value (cm).""" height: Float """Logical id of the resource.""" id: ID! """When the measurements were taken.""" measuredAt: ISO8601DateTime! """The pulse oximetry value (%).""" pulseOximetry: Int """The respiratory rate value (bpm).""" respiratoryRate: Int """The systolic blood pressure value (mmHg).""" systolicBloodPressure: Int """The temperature value (C).""" temperature: Float """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The waist circumference value (cm).""" waistCircumference: Float """The weight value (kg).""" weight: Float } """The connection type for VitalsRecord.""" type VitalsRecordConnection { """A list of edges.""" edges: [VitalsRecordEdge] """A list of nodes.""" nodes: [VitalsRecord] """Information to aid in pagination.""" pageInfo: PageInfo! } """An edge in a connection.""" type VitalsRecordEdge { """A cursor for use in pagination.""" cursor: String! """The item at the end of the edge.""" node: VitalsRecord } """Represents a block of working hours.""" type Worktime implements Colorable & Node & Timestampable { """Color used to represent this resource in the CHR.""" color: String """When the resource was created.""" createdAt: ISO8601DateTime! """Logical id of the resource.""" id: ID! """Default length of the slots for this scheduled work time, in minutes.""" interval: Int! """The location associated with this scheduled work time.""" location: Location """The provider associated with this scheduled work time.""" provider: ProviderUser! """The services available during this scheduled work time.""" services: [Service!]! """The number of appointment slots available at this scheduled work time.""" slots: Int! """Indicates if the scheduled work time is configured to stack appointments (i.e., back to back) by default.""" stacking: Boolean! """The date and time at which this scheduled work time starts.""" startAt: ISO8601DateTime! """The date and time at which this scheduled work time ends.""" untilAt: ISO8601DateTime! """When the resource was last updated.""" updatedAt: ISO8601DateTime! """The visit type for this scheduled work time.""" visitType: VisitTypeEnum! }