types
Types related to NextGen interactions.
Module
Global variables
-
NextGenEnterpriseAddressHistoriesJSON- JSON Object for patient address history information return object.i.e. a call to [enterprise_url]/persons/[patient_id]/address-histories
Note: this is an incomplete JSON object, only containing the elements we care about.
-
NextGenEnterpriseChartJSON- JSON Object for patient chart information return object.i.e. a call to [enterprise_url]/persons/[patient_id]/chart
Note: this is an incomplete JSON object, only containing the elements we care about.
-
NextGenEnterpriseEthnicitiesJSON- JSON Object for patient ethnicities information return object.i.e. a call to [enterprise_url]/persons/[patient_id]/ethnicities
Note: this is an incomplete JSON object, only containing the elements we care about.
-
NextGenEnterpriseGenderIdentitiesJSON- JSON Object for patient gender identity information return object.i.e. a call to [enterprise_url]/persons/[patient_id]/gender-identities
Note: this is an incomplete JSON object, only containing the elements we care about.
-
NextGenEnterpriseRacesJSON- JSON Object for patient races information return object.i.e. a call to [enterprise_url]/persons/[patient_id]/races
Note: this is an incomplete JSON object, only containing the elements we care about.
-
NextGenEnterpriseSupportRolesJSON- JSON Object for patient support roles information return object.i.e. a call to [enterprise_url]/persons/[patient_id]/chart/support-roles
Note: this is an incomplete JSON object, only containing the elements we care about.
Classes
BulkPatientInfo
class BulkPatientInfo( conditions: list[NextGenEnterpriseDiagnosesEntryJSON] = [], procedures: list[NextGenEnterpriseProceduresEntryJSON] = [], future_appointments: list[NextGenEnterpriseAppointmentsEntryJSON] = [], past_appointments: list[NextGenEnterpriseAppointmentsEntryJSON] = [],):Container class for NextGen EHR query results.
Variables
- static
conditions : list[NextGenEnterpriseDiagnosesEntryJSON]
- 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.
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.
Variables
- static
entry : 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.
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]
NextGenEnterpriseAddressHistoriesEntryJSON
class NextGenEnterpriseAddressHistoriesEntryJSON(*args, **kwargs):JSON Object for patient address history information return object entry.
i.e. a call to [enterprise_url]/persons/[patient_id]/address-histories
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseAppointmentJSON
class NextGenEnterpriseAppointmentJSON(*args, **kwargs):JSON Object for appointment return object.
i.e. entries from [enterprise_url]/appointments/[appointment_id]
Note: this is an incomplete JSON object, only containing the elements we care about.
Variables
- 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
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.
Variables
- static
appointment : NextGenEnterpriseAppointmentJSON
- static
appointmentConfirmed : bool
- static
appointmentDate : str
- static
appointmentNumber : int
- static
beginTime : str
- static
duration : int
- static
encounter : NextGenEnterpriseEncounterJSON
- 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
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseChartEntryJSON
class NextGenEnterpriseChartEntryJSON(*args, **kwargs):JSON Object for patient chart information return object entry.
i.e. a call to [enterprise_url]/persons/[patient_id]/chart
Note: this is an incomplete JSON object, only containing the elements we care about.
Variables
- static
diagnoses : NextGenEnterpriseDiagnosesJSON
- static
encounters : NextGenEnterpriseEncountersJSON
- static
medicalRecordNumber : str
- static
medications : NextGenEnterpriseMedicationsJSON
- static
personId : str
- static
procedures : NextGenEnterpriseProceduresJSON
- static
social-history : NextGenEnterpriseSocialHistoryJSON
- static
support-roles : list[NextGenEnterpriseSupportRolesEntryJSON]
NextGenEnterpriseDiagnosesEntryJSON
class NextGenEnterpriseDiagnosesEntryJSON(*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.
Variables
- static
billingDescription : str
- static
description : str
- static
diagnosis : NextGenEnterpriseDiagnosisJSON
- static
encounter : NextGenEnterpriseEncounterJSON
- 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
- static
statusDescription : 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
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseDiagnosisJSON
class NextGenEnterpriseDiagnosisJSON(*args, **kwargs):JSON Object for specific patient diagnosis return object.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/diagnoses/[diagnosis_id]
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseDocumentsEntryJSON
class NextGenEnterpriseDocumentsEntryJSON(*args, **kwargs):JSON Object for patient documents return object entries.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/documents
Note: this is an incomplete JSON object, only containing the elements we care about.
Variables
- static
createTimestamp : str
- static
createTimestampLocalUtcOffset : int
- static
createTimestampUtc : str
- static
description : str
- static
encounterId : str
- static
fileType : str
- static
id : str
- static
isSensitive : bool
- static
itemType : str
- static
personId : str
NextGenEnterpriseDocumentsJSON
class NextGenEnterpriseDocumentsJSON(*args, **kwargs):JSON Object for patient documents return object.
i.e. a call to [enterprise_url]/persons/[patient_id]/chart/documents
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseEncounterJSON
class NextGenEnterpriseEncounterJSON(*args, **kwargs):JSON Object for specific patient encounter return object.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/encounters/[encounter_id]
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseEncountersEntryJSON
class NextGenEnterpriseEncountersEntryJSON(*args, **kwargs):JSON Object for patient encounters return object entries.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/encounters
Note: this is an incomplete JSON object, only containing the elements we care about.
Variables
- static
encounter : NextGenEnterpriseEncounterJSON
- static
id : str
- static
locationId : str
- static
locationName : str
- static
personId : str
- static
referringProviderName : Optional[str]
- static
renderingProviderName : Optional[str]
- static
status : str
- static
timestamp : str
NextGenEnterpriseEncountersJSON
class NextGenEnterpriseEncountersJSON(*args, **kwargs):JSON Object for patient encounters return object.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/encounters
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseEthnicitiesEntryJSON
class NextGenEnterpriseEthnicitiesEntryJSON(*args, **kwargs):JSON Object for patient ethnicities information return object entry.
i.e. a call to [enterprise_url]/persons/[patient_id]/ethnicities
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseGenderIdentitiesEntryJSON
class NextGenEnterpriseGenderIdentitiesEntryJSON(*args, **kwargs):JSON Object for patient gender identity information return object entry.
i.e. a call to [enterprise_url]/persons/[patient_id]/gender-identities
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseMedicationJSON
class NextGenEnterpriseMedicationJSON(*args, **kwargs):JSON Object for specific patient medication return object.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/medications/[medication_id]
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseMedicationsEntryJSON
class NextGenEnterpriseMedicationsEntryJSON(*args, **kwargs):JSON Object for patient medications return object entries.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/medications
Note: this is an incomplete JSON object, only containing the elements we care about.
Variables
- static
encounter : NextGenEnterpriseEncounterJSON
- static
medication : NextGenEnterpriseMedicationJSON
NextGenEnterpriseMedicationsJSON
class NextGenEnterpriseMedicationsJSON(*args, **kwargs):JSON Object for patient medications return object.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/medications
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterprisePersonJSON
class NextGenEnterprisePersonJSON(*args, **kwargs):JSON Object for patient information return object.
i.e. a call to [enterprise_url]/persons/[patient_id]
Note: this is an incomplete JSON object, only containing the elements we care about.
Variables
- static
address-histories : list[NextGenEnterpriseAddressHistoriesEntryJSON]
- static
chart : list[NextGenEnterpriseChartEntryJSON]
- static
dateOfBirth : str
- static
ethnicities : list[NextGenEnterpriseEthnicitiesEntryJSON]
- static
firstName : str
- static
gender-identities : list[NextGenEnterpriseGenderIdentitiesEntryJSON]
- static
id : str
- static
lastName : str
- static
middleName : Optional[str]
- static
races : list[NextGenEnterpriseRacesEntryJSON]
- static
sex : str
NextGenEnterpriseProcedureJSON
class NextGenEnterpriseProcedureJSON(*args, **kwargs):JSON Object for specific patient procedure return object.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/encounters/[encounter_id]/procedures/[procedure_id]
Note: this is an incomplete JSON object, only containing the elements we care about.
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.
Variables
- static
cpt4Code : str
- static
encounter : NextGenEnterpriseEncounterJSON
- static
encounterId : str
- static
encounterTimestamp : str
- static
encounterTimestampLocalUtcOffset : int
- static
encounterTimestampUtc : str
- static
id : str
- static
isCompleted : bool
- static
personId : str
- static
procedure : NextGenEnterpriseProcedureJSON
- 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
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseRacesEntryJSON
class NextGenEnterpriseRacesEntryJSON(*args, **kwargs):JSON Object for patient races information return object entry.
i.e. a call to [enterprise_url]/persons/[patient_id]/races
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseSocialHistoryEntryJSON
class NextGenEnterpriseSocialHistoryEntryJSON(*args, **kwargs):JSON Object for social history return object entries.
i.e. entries from a call to [enterprise_url]/persons/[patient_id]/chart/social-history
Note: this is an incomplete JSON object, only containing the elements we care about.
NextGenEnterpriseSocialHistoryJSON
class NextGenEnterpriseSocialHistoryJSON(*args, **kwargs):JSON Object for social history return object.
i.e. a call to [enterprise_url]/persons/[patient_id]/chart/social-history
Note: this is an incomplete JSON object, only containing the elements we care about.
Ancestors
Variables
- static
nextPageLink : Optional[str]
Methods
items
def items(...) ‑> list[~T]:D.items() -> a set-like object providing a view on D's items
NextGenEnterpriseSupportRolesEntryJSON
class NextGenEnterpriseSupportRolesEntryJSON(*args, **kwargs):JSON Object for patient support roles information return object entry.
i.e. a call to [enterprise_url]/persons/[patient_id]/chart/support-roles
Note: this is an incomplete JSON object, only containing the elements we care about.
PatientCodeDetails
class PatientCodeDetails( condition_codes: Optional[list[Condition]], procedure_codes: Optional[list[Procedure]],):Container indicating the diagnosis and treatment codes for a given patient.
Variables
- static
condition_codes : Optional[list[Condition]]
- static
procedure_codes : Optional[list[Procedure]]
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.
RetrievedPatientDetailsJSON
class RetrievedPatientDetailsJSON(*args, **kwargs):JSON Object for patient details retrieved.
Note: this is an incomplete JSON object, only containing the elements we care about.
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[list[str]]