Stream: implementers
Topic: Logical Models example generation tool available?
Oliver Egger (Sep 05 2017 at 11:49):
I have a Logical Model defined as StructureDefinition Resource. Are there any tools available (or code snippets) which generate a sample xml (or json) file out of the StructureDefinition Resource?
RITESH PATEL (Sep 11 2017 at 19:35):
checkout https://simplifier.net/forge/download
Binu DGIT (Sep 12 2017 at 07:10):
Hi,
I would like to design a logical model for pregnancy record in order to include details like Antenatal records, delivery, and postnatal visits. I could find some of the definitions in Mr. David Hay's blog but does not contain json/xml samples to upload. finally I reached the following site http://fhir.hl7.org.au/fhir/rcpa/index.html where I could find some samples for prostate and cancer reporting. Cancer reporting is also something which I am interested in. But I could not find any mechanism to upload the logical model and the respective message in HAPI server. Can someone help me out in this
Lloyd McKenzie (Sep 12 2017 at 14:28):
Logical models are for design, not for exchange. You can't send logical model instances to a FHIR server - they're not conformant FHIR. However, you can use your logical model to define your internal structure and then use StructureMap to translate that to the corresponding resource or resource bundle which you could then send to a test server.
David Hay (Sep 14 2017 at 01:45):
I'm taking a slightly different approach wrt generating the 'real' profile from the Logical Model. If the model covers a single base Type (like Condition for example) then you can 'map' the elements in the model (including extensions) and then generate the profile directly form the model (providing that it's not too complex). I suspect that that process could generate the StructureMap to 'document' the transform.
If the model covers more than one base type, then it becomes a bit trickier - haven't figured out the best way to do this yet.
But regardless of how automated you can make the transform - or if it simple acts as 'requirements' for a FHIR expert to generate the artifacts using a tool like Forge - I be;ieve the Logical Model is a great way to interact with Clinicians & BA's...
Last updated: Apr 12 2022 at 19:14 UTC