Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert unwanted conditions to notes in a FHIR to HL7 transform for MARS OTC data #15584

Closed
1 of 2 tasks
chris-kuryak opened this issue Aug 12, 2024 · 0 comments · Fixed by #15764
Closed
1 of 2 tasks
Assignees
Labels
engineering Work to be completed by an engineer onboarding-ops Work related to onboarding with a partner. Addressed by the Onboarding & Operations team in RS.

Comments

@chris-kuryak
Copy link
Collaborator

chris-kuryak commented Aug 12, 2024

Problem statement

Platform has identified that an accurate conversion of unwanted conditions to notes is not possible with a FHIR-to-FHIR transform. Therefore, Engagement team should use a FHIR to HL7 transform to complete this task for the near future.

What you need to know

https://app.zenhub.com/workspaces/engagement-6166edbd409257001e09f1b2/issues/gh/cdcgov/prime-reportstream/14693

  • In a FHIR to HL7 receiver transform filter out Observations from being mapped to OBX segments
  • Example:
  # Override observation-result-with-aoe from base mappints to map only reportable conditions following condition_code (see: observation-mapping.csv for more detail)
  # RSV:  	55735004, COVID:	840539006
  - name: observation-result-with-aoe
    resource:         
        - "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code  in ('55735004'|'840539006')).exists())"
     

  # Map unwanted conditions to notes
  # RSV:  	55735004, COVID:	840539006
  # Create schema that takes unwanted conditions and maps them to notes
  - name: unwated-conditions-to-notes
    resource:         
        - "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code  in ('55735004'|'840539006')).exists().not())"
        - schema: unwanted-conditions-to-notes.yml

Acceptance criteria

  • FHIR-to-HL7 transform created for OTC data in MARS format that converts unwanted conditions to notes.

To do

  • ...
@chris-kuryak chris-kuryak added engineering Work to be completed by an engineer needs-refinement Tickets that need refinement from the team onboarding-ops Work related to onboarding with a partner. Addressed by the Onboarding & Operations team in RS. labels Aug 12, 2024
@lucero-v lucero-v self-assigned this Aug 19, 2024
@victor-chaparro victor-chaparro removed the needs-refinement Tickets that need refinement from the team label Aug 22, 2024
@lucero-v lucero-v linked a pull request Sep 3, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Work to be completed by an engineer onboarding-ops Work related to onboarding with a partner. Addressed by the Onboarding & Operations team in RS.
Projects
Development

Successfully merging a pull request may close this issue.

3 participants