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

feat: Add periods to patient addresses #3041

Merged
merged 14 commits into from
Dec 12, 2024
Merged

feat: Add periods to patient addresses #3041

merged 14 commits into from
Dec 12, 2024

Conversation

mcmcgrath13
Copy link
Collaborator

@mcmcgrath13 mcmcgrath13 commented Dec 11, 2024

PULL REQUEST

Summary

Add the useable period to a patient's addresses if available. Counterpart of skylight-hq/FHIR-Converter#20

Refactored formatAddress to be a bit more flexible and terser to use on the common case in the process.

Related Issue

Fixes #2913

Acceptance Criteria

We would like to display all information that is available to (consult w/ design first).

  • If there are multiple addresses, only show the current address in the patient summary
  • If the are multiple addresses, show them all in Patient Info with effective dates

Additional Information

image image

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.50%. Comparing base (fc8d319) to head (b6dcf73).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3041      +/-   ##
==========================================
- Coverage   86.00%   83.50%   -2.51%     
==========================================
  Files         162      132      -30     
  Lines       10855     8188    -2667     
==========================================
- Hits         9336     6837    -2499     
+ Misses       1519     1351     -168     
Flag Coverage Δ
fhir-converter 78.83% <ø> (ø)
ingestion 64.08% <ø> (ø)
message-parser 96.53% <ø> (ø)
message-refiner 92.85% <ø> (ø)
orchestration 85.67% <ø> (ø)
record-linkage ?
trigger-code-reference ?
validation 90.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 30 files with indirect coverage changes

@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

# Download FHIR-Converter
RUN git clone https://github.com/skylight-hq/FHIR-Converter.git --branch v7.0-skylight-15 --single-branch /build/FHIR-Converter
RUN git clone https://github.com/skylight-hq/FHIR-Converter.git --branch mcm/econ-periods --single-branch /build/FHIR-Converter
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: update this with released version once merged

@mcmcgrath13 mcmcgrath13 marked this pull request as ready for review December 11, 2024 21:46
Copy link
Collaborator

@JNygaard-Skylight JNygaard-Skylight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcmcgrath13 mcmcgrath13 added this pull request to the merge queue Dec 12, 2024
Merged via the queue into main with commit 0bbb3c9 Dec 12, 2024
36 checks passed
@mcmcgrath13 mcmcgrath13 deleted the mcm/econ-periods branch December 12, 2024 19:01
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.

Add effective dates to Patient address
2 participants