jddamore / IPSviewer

A viewer for IPS based on IPS-Argentina (https://github.com/SALUD-AR/IPS-Argentina)
Apache License 2.0
16 stars 15 forks source link

From FHIR server to JSON format of the IPSViewer #8

Open Valentjno opened 2 years ago

Valentjno commented 2 years ago

Hi, I was wondering if you used a script to generate the JSON samples of the IPS from the resource Patient or if you just wrote the JSON by hand (for example: samples/connectathon_samples/AR_Repository_Example_01.json)

Thank you for your response.

jddamore commented 2 years ago

@Valentjno So we did do some work done to take a script that assembles a IPS Bundle with type = document from a set of resources, but many of the samples in the repository are also from test FHIR servers. There were some manual edits, but generally they weren't manually assembled en masse.

We also are developing a FHIR server (HAPI adaptation) that produces IPS documents from a set of individual resources. The code for that server is public. It will be hosted at http://ips.health (although beware that server may update over coming months). If you'd like to look as some of that code for that assembly from a selection of resources, here's that: https://github.com/CrossroadsLabs/hapi-fhir/blob/rb_ips/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/r4/patient/PatientSummary.java

If you would like to discuss more about IPS, we have weekly calls (on HL7 calendar) and a stream on chat.fhir.org

jddamore commented 1 year ago

@Valentjno Just a follw-up that HAPI did integrate the work done on IPS generation. See https://hapifhir.io/hapi-fhir/docs/server_jpa/ips.html