Skip to content

Conversation

@D3V41
Copy link
Contributor

@D3V41 D3V41 commented Aug 20, 2025

Status Quo

Currently, when an HL7 lab or HRM is uploaded:

  • It is linked to the provider mentioned in the document(metadata).
  • If no provider information is mentioned in the metadata, it will be linked to the patient’s MRP.

Change

  • Added a new preference in the admin panel:

    • 1
  • When enabled, uploaded documents will automatically be linked to both:

    • The patient’s MRP.
    • The provider mentioned in the document.

@D3V41 D3V41 force-pushed the feature/flagging-of-mrp branch from 40fc387 to 16ecc70 Compare August 29, 2025 00:30
D3V41 added 3 commits August 29, 2025 00:31
- Renamed auto_link_to_mrp property to provider_linking_rules.
- Updated related method, class, and variable names to match the new property.
- Moved the switch to the Labs/Inbox menu and revised its description for clarity.
- Ensured the property is automatically added to the database when the switch is turned on.
D3V41 pushed a commit to MagentaHealth/Open-O that referenced this pull request Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant