Skip to main content

Installation

To install the component in your project:

Via NPM

Via CDN

Alternatively, you can include the component directly via CDN:

Basic Usage

After installation, import and use the component:

Properties

Required Properties

Optional Properties

Video Integration for Telemedicine

The videoElement property allows you to integrate the component with a custom HTML video element for telemedicine consultations. This functionality is especially useful when you already have an implemented video call structure and want to use the audio from that call as a source for recording and transcription.

How It Works

When you provide a videoElement, the component will use the audio stream from this video element as the primary source along with the professional’s device microphone.

Implementation

Practical Example with React

Technical Requirements

  • The video element must have an active stream (srcObject defined)
  • The telemedicine property must be enabled (true)
  • The stream must contain at least one audio track

Events

The component emits the following events that can be captured:

Available Specialties

The component supports various medical specialties, which are:

Customization

The component can be customized through CSS variables:

Framework Integration

React

Vue

Security

The component was developed following security best practices:
  • End-to-end encryption
  • HIPAA compliance
  • Access control
  • Transparent auditing

Time Limitations

To configure recording time limits:

Custom report schema

The report customization functionality (report-schema) is only available from component version 2.3.1 onwards.
You can customize the report generated by the component using the report-schema property. This allows you to define instructions, a schema and examples for the report, making the content generation more flexible and adapted to your needs.
Tip: You can test and validate the custom report configuration directly in the backoffice, in the transformation tab in the application settings. This way, you can experiment with different schemas and examples before applying them in production.
  • The schema field must be a valid JSON Schema, according to the official specification. This ensures that the generated report follows the expected structure.
  • The fewShots field must contain examples that satisfy the defined schema. This way, the examples serve as a reference for the correct filling of the report.
For example:

Disabling consultation type selection

The consultation type selection disabling functionality (skipConsultationType) is available as a test feature in component version 2.5.0.
You can disable the consultation type selection using the skipConsultationType property. This allows the component to start recording automatically, without the need to select the consultation type.
  • If the telemedicine property is true, the component will display the browser tab selection box for selecting the audio source.
  • If the videoElement property is also provided, the component will use the audio from this element as the primary source.
  • If neither telemedicine nor videoElement is provided, the component will use the audio from the professional’s device as the primary source.

Sending data for prescription

The component can be configured to send data for prescription using the prescription-data property. This allows you to send additional data so that the prescription is generated based on the sent data.
The prescription data sending functionality (prescription-data) is available for test from component version 2.5.0.

Mevo

For the MEVO platform, you must send the following data:
  • provider: “MEVO”
  • externalReference: Unique identifier in the MEVO platform

Memed

The prescription data sending functionality for the Memed platform (prescription-data) is available for test from component version 2.6.0-rc.0.
For the Memed platform, you must send the following data:
  • provider: “MEMED”
  • token: Authentication token for the Memed platform for the professional
  • patient: That is an object with the following fields:
    • externalId: Unique identifier of the patient in the Memed platform
    • name: Name of the patient
    • email: Email of the patient
    • phone: Phone of the patient
    • document: Document of the patient (only numbers - optional)
When the recording is finished, the component will send the data to the prescription medical sdk of Memed, which will generate the prescription medical based on the data resulting from the recording.