Skip to main content

types

Types for hub-related code.

Classes

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

Variables

  • static fullUrl : str

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 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 birthDate : str
  • static gender : str
  • static id : str
  • static resourceType : Literal['Patient']

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

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

Methods


items

def items(...)> list[NextGenEnterpriseProceduresEntryJSON]:

D.items() -> a set-like object providing a view on D's items

PatientInfo

class PatientInfo(    conditions: list[NextGenEnterpriseConditionsEntryJSON],    procedures: list[NextGenEnterpriseProceduresEntryJSON],):

PatientInfo(conditions, procedures)

Ancestors

  • builtins.tuple

Variables

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

Variables

  • static family : str
  • static given : list[str]

SMARTOnFHIRAccessToken

class SMARTOnFHIRAccessToken(    token: str,    valid_until: Optional[datetime] = None,    context: Optional[_NextGenContext] = None,):

Wrapper for access token and metadata from NextGen.

Variables

  • static context : Optional[bitfount.hub.types._NextGenContext]
  • static token : str