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

    Class VsdmService

    Service for interacting with the VSDM (Versichertenstammdaten-Management). Provides methods to read and parse Versichertenstammdaten from the VSDM.

    The service handles connection management, query construction, and result mapping for directory service operations. It implements caching to improve performance for repeated lookups.

    Index

    Methods

    • Reads and parses Versichertenstammdaten (insurance master data) from the VSDM. This includes general insurance data, personal data, protected data, and verification proof.

      Parameters

      • ehcHandle: string

        The handle of the electronic health card (eGK)

      • hpcHandle: string

        The handle of the health professional card (SMC-B or eHBA)

      • onlineCheck: boolean = false

        Whether to perform an online verification check

      Returns Promise<VersichertenStammdaten>

      A Promise that resolves to the parsed VersichertenStammdaten object

    • Loads the VSDM Data of the given ehcHandle with the hpcHandle authentication.

      Parameters

      • ehcHandle: string

        Electronic Health Card Handle

      • hpcHandle: string

        Health Practitioner Card Handle

      Returns Promise<{ auditEvidence: string; hcv: string; insurantId: string }>

      Data needed to Use it for the Entitlement to access the Personal Health Records.