dotimplement / HealthChain

Simplify prototyping and testing LLM applications in healthcare context 💫 🏥
https://dotimplement.github.io/HealthChain/
Apache License 2.0
10 stars 1 forks source link

Add clinical documentation use case #47

Closed jenniferjiangkells closed 1 month ago

jenniferjiangkells commented 2 months ago

Closes #26 and fixes #24

This PR adds ClinicalDocumentation use case to the library. Changes include:

@adamkells It would be good for you to implement the medications and allergies methods CcdAnnotator to get a bit of familiarity with CDA 😺

Also to do is synthetic data generator methods for CDA. Currently you can load an existing CDA file and use that for testing. We need to complete the implementation for medications and allergies sections first.

I wouldn't mind optimising the pyproject.toml so that users can just download whichever use case they need so they don't need all this xml stuff if they're not using the clindoc use case...but that's for another PR.

jenniferjiangkells commented 1 month ago

https://gazelle.ihe.net/CDAGenerator/cda/POCDMT000040SubstanceAdministration.html https://wiki.ihe.net/index.php/CDA_Entry_Content_Modules https://data.developer.nhs.uk/fhir/sh/StructuredHeadings-1-0-RC4/Data%20Types/datatypes.html @adamkells