@ukkidney/ukrdc-axios-ts
    Preparing search index...

    Class PatientRecordsApi

    PatientRecordsApi - object-oriented interface

    PatientRecordsApi

    Hierarchy

    • BaseAPI
      • PatientRecordsApi
    Index

    Constructors

    • Parameters

      • Optionalconfiguration: Configuration
      • basePath: string = BASE_PATH
      • axios: AxiosInstance = globalAxios

      Returns PatientRecordsApi

    Properties

    axios: AxiosInstance = globalAxios
    basePath: string = BASE_PATH
    configuration: Configuration

    Methods

    • Retreive a list of observation codes available for a specific patient

      Parameters

      Returns Promise<AxiosResponse<string[], any>>

      PatientRecordsApi

    • Delete a specific patient record and all its associated data

      Parameters

      Returns Promise<AxiosResponse<any, any>>

      PatientRecordsApi

    • Update the demographic data of a given patient record Args: demographics (DemographicUpdateSchema): [description] patient_record (PatientRecord, optional): [description]. Defaults to Depends(_get_patientrecord). mirth (MirthAPI, optional): [description]. Defaults to Depends(get_mirth). redis (Redis, optional): [description]. Defaults to Depends(get_redis). audit (Auditer, optional): [description]. Defaults to Depends(get_auditer). Returns: [type]: [description]

      Parameters

      Returns Promise<AxiosResponse<MirthMessageResponseSchema, any>>

      PatientRecordsApi