CDCgov / phdi

https://cdcgov.github.io/dibbs-site/
Creative Commons Zero v1.0 Universal
35 stars 14 forks source link

golden patient updates #2707

Closed fzhao99 closed 1 month ago

fzhao99 commented 1 month ago

PULL REQUEST

Followup to 2674 that went in yesterday

Summary

Realized in followup testing that certain resources referenced other resources that were later on in the entry array, causing 400 Bad Request errors on "initial" post. Although this is fixed by sending the request twice / after the later resources were seeded, wanted to put the additions in the right order to make things work the first time. Now, the initial post should add everything all at once

Was also missing two of the newborn screening use cases, so added those as well

Related Issue

Fixes #2645

Did post the patient into OpenHAPI yesterday, which you can check has all the relevant conditions

Cancer (leukemia), Gonorrhea, homelessness, syphilis, chlamydia (x5 - this may need to get deduped in followup 😬), pregnancy by GET'ing https://hapi.fhir.org/baseR4/Condition?patient=f288c654-6885-4f48-999c-48d776dc06af

Pregnancy subcases (newborn screening - fail / pass / hearing referral), as well as various other of the above observations https://hapi.fhir.org/baseR4/Observation?patient=f288c654-6885-4f48-999c-48d776dc06af