Skip to content

UAT: Update author source for labs (3.1 spec) #1453

@angelathe

Description

@angelathe

What needs to be done

Under the 3.1 spec, authors for labs should now come from /ClinicalDocument/component/structuredBody/component/section/entry/organizer/author/assignedAuthor/representedOrganization

But we currently only pull author from the following xpath, which is no longer required by 3.1 spec. /ClinicalDocument/component/structuredBody/component/section/entry/organizer/performer/representedOrganization.

Update the DiagnosticReport author extraction logic to prioritize the author/assignedAuthor/representedOrganization path. If that path is not present, fall back to performer/representedOrganization to maintain backward compatibility with older documents.

Open question: Note that it is possible that an entry/organizer would have both a performer and an author. Can both exist in a FHIR bundle, and if so, which field should we pull the author from on the Viewer-side?

Why it needs to be done

Brought up by TN -- Hardik will provide de-identified examples when possible.

Acceptance Criteria

  • Update/add any relevant logic in the FHIR converter.
  • (?) Update what fields we pull the lab report author info from, if necessary.
  • Make PRs (2) in dibbs-fhir-converter and dibbs-ecr-viewer

Technical Notes

FHIR conversion IS required for this ticket.

Additional context

Relevant files: data/Templates/eCR/Entry/Result/entry.liquid
Example eCRs: [TBD - will be provided by TN]

Metadata

Metadata

Assignees

No one assigned

    Labels

    FHIR conversion requiredThis ticket will require FHIR conversion workjurisdiction needTickets that directly impact users' ability to use our appstreamline eCRIssues for the Streamline eCR teamuser requestA feature or bugfix directly requested by users.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions