FHIR Chat · can I upload a Logical Model SD to clinFHIR? · clinFHIR

Stream: clinFHIR

Topic: can I upload a Logical Model SD to clinFHIR?


view this post on Zulip Eric Haas (Oct 05 2017 at 23:53):

David, Can I upload a logical model SD to ClinFHIR in order to create a graph?

view this post on Zulip David Hay (Oct 06 2017 at 00:16):

should work (though I've not checked recently). there's a 'logical' tab to the right when you add a new resource. it will list all logical models on the conformance server. Let me know how you get on!

view this post on Zulip Eric Haas (Oct 06 2017 at 00:19):

I meant upload the xml or json SD Directly into clinfhir
. I've not uploaded a logcical model to a reference server since I didn't realize that was an option.

view this post on Zulip Michael van der Zel (Oct 06 2017 at 12:51):

I did this by uploading my logical models to the open HAPI server. There was a catch. ClinFHIR searched for specific author fields in the logical models. I added those fields. @David Hay is this still required?

view this post on Zulip David Hay (Oct 06 2017 at 18:03):

Thanks Michael - I had forgotten that. You need an identifier with the value http://clinfhir.com|author . (Rationale is to limit to CF created profiles to limit what it has to support). I'm moving to use of an extension across all CF authored stuff, though that's not complete yet!

view this post on Zulip David Hay (Oct 06 2017 at 18:04):

I just did a quick check - the 'select from server' option seems to work ok (with the identifier added) but not the paste directly. Not sure why - will take a look...

view this post on Zulip David Hay (Oct 06 2017 at 19:03):

OK. It did't used to, but it does now! (And no identifier needed...) Couple of things:

  • Make sure to check the 'Import as Logical Model' checkbox, or you'll get a StructureDefinition
  • When populating the model from the structure&reference tab, there's an option labelled 'toggle input mode' that shows both the tree and the Json view on the same pane.
  • The 'form' link alongside it is an experimental form generator (based on Questionnaire) - doesn't work yet
  • The current builder doesn't handle extensions at all well. I'm working on a replacement - will let you know when ready for testing...

enjoy...


Last updated: Apr 12 2022 at 19:14 UTC