@yoshteq/ti365-ts-sdk
    Preparing search index...

    Class EpaService

    Allow access to the ePA v3.x with a simple interface.

    Index

    Constructors

    Properties

    session: Ti365Session

    Methods

    • Returns string

    • returns the health practicer card that is used to access the epa.

      Returns Promise<Card>

    • Searches an ePA Server responsible for the given Insurance ID.

      Parameters

      • insuranceId: string

        Insurance Id of patient.

      Returns Promise<undefined | EpaServer>

      server or undefined if none is found

    • Direct Access to the ePA XDS.b DocumentManagementService for an patient. Use this if you are convinced you have access to this ePA. Also tests the access to the ePA and only returns a usable DocumentManagementService.

      If user is not entitled to access this ePA, this method tries to get an entitlement via the EH-Card.

      Parameters

      • insuranceId: string

        the insurant id of this patient.

      Returns Promise<DocumentManagementService | EpaConnectionErrors>

      DocumentManagementService if we have a valid accessible ePA connection. Otherwise ist returns a status string.