Skip to content

Save necessary data to database when message is ingested #1385

@austin-hall-skylight

Description

@austin-hall-skylight

What needs to be done

Note: this ticket will need finalizing as our understanding of Epitrax's tables and the work needed evolved
When an eCR is ingested into Epitrax, parse the eCR ID from the XML if needed, save the original message ID, system message ID, eCR ID, message source, and message type to the database.

Why it needs to be done

We need to display the message ID's in the new EMSA tab and the eCR ID is needed to open the viewer from Epitrax

Acceptance Criteria

  • When an eCR is received, save the necessary data to the DB
  • All relevant tests are updated

Technical Notes

Make sure to get both the eCR ID root and extension as both are needed to open the eCR correctly in the viewer.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions