medizininformatik-initiative / torch

Apache License 2.0
3 stars 1 forks source link

74-encounter-handling-in-consent #80

Closed Lucas0T closed 1 month ago

Lucas0T commented 1 month ago

New Features: -Fetches Encounters for Patient Batch after Building Encounter Period Information -Updates the Startdate of Consent according to matching Encounters within Period

juliangruendner commented 1 month ago

@Lucas0T add test to check that resources are filtered correctly between two patients, so that no overlap is present. Eg. R1 for P1 should be excluded because P1 consent C1 no date match for R1 R2 for P2 should be included because P2 consent C2 given for R2 is date match for R2 ensure that R1 and R2 have the same date and C1 and C2 do not.