Altinn / app-migration

Planlegging/utvikling/migrering av apps.
1 stars 0 forks source link

Enhance Dropdown Integration with RESH API Code List and Fetch Detailed HMR Information. Form: Melding om samhandlingsavvik #192

Open andreas-didriksen opened 1 year ago

andreas-didriksen commented 1 year ago

Current State: The current system features two dropdown fields, "Behandlingssted" (Treatment Facility) and "Avdeling der pasienten var innlagt" (Department where the patient was admitted), which require improvement in terms of data integration and user experience.

Proposed Changes: We aim to enhance the functionality and user-friendliness of these dropdown fields by integrating them with external data sources and providing detailed information. Here's what we intend to achieve:

Integration with RESH API Code List: Currently, the dropdowns lack a comprehensive list of treatment facilities and departments. We propose to integrate the RESH API's code list to dynamically populate the dropdown options. This will provide users with an accurate and up-to-date selection of choices.

Connection with HMR API for Personnel Details: To provide a holistic view, we intend to link the selected treatment facility or department with the HMR API. This will allow us to fetch information about the health personnel associated with the chosen option.

Expected Outcomes:

Users will experience a streamlined and informative selection process. Dropdown options will be dynamically populated from the RESH API code list.

Dropdown options are populated using the RESH API code list. We need to ensure proper error handling throughout the process and optimize the API calls for efficiency.This enhancement aligns with our goal of providing accurate and comprehensive information to our users.

andreas-didriksen commented 11 months ago

Form: https://github.com/Altinn/app-migration/issues/42