types
Types related to NextGen interactions.
Classes
BulkPatientInfo
class BulkPatientInfo( conditions: list[NextGenEnterpriseConditionsEntryJSON] = [], procedures: list[NextGenEnterpriseProceduresEntryJSON] = [], future_appointments: list[NextGenEnterpriseAppointmentsEntryJSON] = [], past_appointments: list[NextGenEnterpriseAppointmentsEntryJSON] = [],):
Container class for NextGen EHR query results.
Variables
- static
conditions : list[NextGenEnterpriseConditionsEntryJSON]
- static
future_appointments : list[NextGenEnterpriseAppointmentsEntryJSON]
- static
past_appointments : list[NextGenEnterpriseAppointmentsEntryJSON]
- static
procedures : list[NextGenEnterpriseProceduresEntryJSON]
FHIRBundleEntryJSON
class FHIRBundleEntryJSON(*args, **kwargs):
JSON Object for patient search results entry objects.
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
FHIRBundleJSON
class FHIRBundleJSON(*args, **kwargs):
JSON Object for patient search results.
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
entry : typing_extensions.NotRequired[Optional[list[FHIRBundleEntryJSON]]]
- static
resourceType : Literal['Bundle']
FHIRBundleResourceJSON
class FHIRBundleResourceJSON(*args, **kwargs):
JSON Object for patient search results resource objects.
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
address : List[dict]
- static
birthDate : str
- static
gender : str
- static
id : str
- static
identifier : List
- static
name : list[PatientNameJSON]
- static
resourceType : Literal['Patient']
- static
telecom : List[dict]
NextGenEnterpriseAppointmentsEntryJSON
class NextGenEnterpriseAppointmentsEntryJSON(*args, **kwargs):
JSON Object for appointments return object entries.
i.e. entries from a call to [enterprise_url]/appointments?$expand=Appointment
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
appointment : NextGenEnterpriseAppointmentsExpandedEntryJSON
- static
appointmentConfirmed : bool
- static
appointmentDate : str
- static
appointmentNumber : int
- static
beginTime : str
- static
duration : int
- static
endTime : str
- static
eventId : str
- static
eventName : str
- static
firstName : str
- static
id : str
- static
isCancelled : bool
- static
isDeleted : bool
- static
lastName : str
- static
locationId : str
- static
locationName : str
- static
middleName : str
- static
personId : str
NextGenEnterpriseAppointmentsExpandedEntryJSON
class NextGenEnterpriseAppointmentsExpandedEntryJSON(*args, **kwargs):
JSON Object for expanded appointments return object entries.
i.e. expanded entries from [enterprise_url]/appointments?$expand=Appointment
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
appointment : NextGenEnterpriseAppointmentsExpandedEntryJSON
- static
appointmentConfirmed : bool
- static
appointmentDate : str
- static
appointmentNumber : int
- static
beginTime : str
- static
duration : int
- static
endTime : str
- static
eventId : str
- static
eventName : str
- static
firstName : str
- static
id : str
- static
isCancelled : bool
- static
isDeleted : bool
- static
lastName : str
- static
locationId : str
- static
locationName : str
- static
middleName : str
- static
personId : str
NextGenEnterpriseAppointmentsJSON
class NextGenEnterpriseAppointmentsJSON(*args, **kwargs):
JSON Object for appointments return object.
i.e. a call to [enterprise_url]/appointments?$expand=Appointment
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
nextPageLink : typing_extensions.NotRequired[Optional[str]]
Methods
items
def items( ...,) ‑> list[NextGenEnterpriseAppointmentsEntryJSON]:
D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseConditionsEntryJSON
class NextGenEnterpriseConditionsEntryJSON(*args, **kwargs):
JSON Object for patient diagnoses return object entries.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/diagnoses
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
billingDescription : str
- static
description : str
- static
encounterId : str
- static
encounterTimestamp : str
- static
encounterTimestampLocalUtcOffset : int
- static
encounterTimestampUtc : str
- static
icdCode : str
- static
icdCodeSystem : str
- static
id : str
- static
onsetDate : str
- static
personId : str
NextGenEnterpriseDiagnosesJSON
class NextGenEnterpriseDiagnosesJSON(*args, **kwargs):
JSON Object for patient diagnoses return object.
i.e. a call to [enterprise_url]/persons/[patient_id]/chart/diagnoses
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
nextPageLink : typing_extensions.NotRequired[Optional[str]]
Methods
items
def items( ...,) ‑> list[NextGenEnterpriseConditionsEntryJSON]:
D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseProceduresEntryJSON
class NextGenEnterpriseProceduresEntryJSON(*args, **kwargs):
JSON Object for patient procedures return object entries.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/procedures
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
cpt4Code : str
- static
encounterId : str
- static
encounterTimestamp : str
- static
encounterTimestampLocalUtcOffset : int
- static
encounterTimestampUtc : str
- static
id : str
- static
isCompleted : bool
- static
personId : str
- static
serviceDate : str
- static
serviceItemDescription : str
- static
serviceItemId : str
- static
status : str
NextGenEnterpriseProceduresJSON
class NextGenEnterpriseProceduresJSON(*args, **kwargs):
JSON Object for patient procedures return object.
i.e. a call to [enterprise_url]/persons/[patient_id]/chart/procedures
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
nextPageLink : typing_extensions.NotRequired[Optional[str]]
Methods
items
def items( ...,) ‑> list[NextGenEnterpriseProceduresEntryJSON]:
D.items() -> a set-like object providing a view on D's items
PatientCodeDetails
class PatientCodeDetails( icd10_codes: dict[str, PatientCodeStatus], cpt4_codes: dict[str, PatientCodeStatus],):
Container indicating the status of various codes for a given patient.
Variables
- static
cpt4_codes : dict[str, PatientCodeStatus]
- static
icd10_codes : dict[str, PatientCodeStatus]
PatientCodeStatus
class PatientCodeStatus( value, names=None, *, module=None, qualname=None, type=None, start=1,):
Information on the status of a specific code for a patient.
Indicates whether a code was present or absent in a patient's records, or unknown if we were unable to establish one way or another.
PatientNameJSON
class PatientNameJSON(*args, **kwargs):
JSON Object for patient name objects.
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
RetrievedPatientDetailsJSON
class RetrievedPatientDetailsJSON(*args, **kwargs):
JSON Object for patient details retrieved from Patient endpoint.
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
- builtins.dict
Variables
- static
cell_numbers : List[str]
- static
date_of_birth : Optional[str]
- static
emails : List[str]
- static
family_name : Optional[str]
- static
gender : Optional[str]
- static
given_name : Optional[str]
- static
home_numbers : List[str]
- static
id : str
- static
mailing_address : Optional[str]
- static
medical_record_number : Optional[str]