Stream: clinFHIR
Topic: Logical Modeler
natus (May 23 2017 at 18:23):
Hi
I guess it would be usefull to be able to load profile from json, instead of building them from scrach by clicking on buttons.
The scenario builder allows to import resources from json. What about provinding this feature for tue logical Modeler ?
Is there a workaround ?
Thanks
David Hay (May 25 2017 at 00:34):
You mean paste an existing logical model into the modeller?
Jayashree Surnar (Jun 08 2017 at 04:30):
hello @David Hay , what is diff b/w the Logical Modler and the profile?
David Hay (Jun 09 2017 at 00:51):
Hi Jayashree.
The logical modeller builds a StructureDefinition file that does not conform to any of the 'core' FHIR resource types - although it uses the FHIR datatypes and supports binding to ValueSets. A profile does conform to a core resource type - with extensions for additional elements. The plan is that CF will generate a profile based on a logical model (you use the mapping to indicate the extensions). Currently this is still a work in progress - when a bit more stable I'll blog about it. The idea of the logical model is to make it easier to represent clinical requirements in an analysis phase without getting too bogged down in the conformance artifacts required to do this properly.
Of course, the purpose of all of this is educational and for v simple profiles - forge remains the 'goto' tool for anything serious...
Jayashree Surnar (Jun 09 2017 at 11:49):
Thank you @David Hay
Pranitha Sruthi (Jun 13 2017 at 06:21):
Hi all, when I'm trying to create a profile on clinfhir, errors are getting displayed as in the screenshots below.
clinfhir_error.PNG clinfhir_error2.PNG. Also, the logical model is not getting saved.
Can anyone please suggest a solution? Thank you
David Hay (Jun 13 2017 at 17:55):
Hi Pranitha - couple of things. First a warning - the profiling in CF is still under development, and intended as educational. They'll likely be OK for simple ones once I get the bugs out (so little time !) so do use forge for 'real' ones at the moment.
I suspect that your error is a CORS one that we've noted with Chrome when the servers get changed. You can confirm that if you display the javascript console in chrome - unfortunately I haven't figured out how to trap those errors with a better user message. In our testing it gets fixed if you clear the browser cache (or use a different browser!)
Let me know how you get on...
Pranitha Sruthi (Jun 14 2017 at 10:00):
Hi @David Hay I have checked for the browsers mozilla firefox and internet explorer and in both cases,tab is getting stuck . When I try to create a profile on forge, its not getting saved as snapshot. I had reported the bug and is not fixed yet. clinfhir3.PNG
David Hay (Jun 14 2017 at 18:10):
Hi Pranitha - there shouldn't be a space in the name (though that doesn't seem to cause an issue for me). Can you display the javascript console in the browser and tell me if there is any error displayed? (I assume that the error is that clicking the 'save' button doesn't close the form)...
Pranitha Sruthi (Jun 19 2017 at 08:38):
Hi @David Hay I'm trying to create profile for CBC panel(Complete Blood Count ) using the resource diagnostic report. jsconsole.PNG Here is a screenshot of the javascript console.
David Hay (Jun 19 2017 at 11:41):
Hi Pranitha - what are the steps you follow to get to this point? (ie where modal will not close when the save button is clicked). I'm not able to duplicate the error, and the console is not showing any error either so I need the steps to follow...
Pranitha Sruthi (Jun 20 2017 at 04:18):
Hi @David Hay I just tried to create the same profile again using logical modeller. I have created a new logical model named it,selected the resource diagnostic report and edited an element. When I clicked on the 'save model ' option, the window has become unresponsive.
David Hay (Jun 20 2017 at 04:32):
Hi Pranitha, what servers have you selected? what type of model did you create (single, multiple or copy). If single, what base type did you select? from where did you select the resource DiagnosticReport? I need a step by step description if I'm to duplicate the errors...
Pranitha Sruthi (Jun 20 2017 at 04:43):
The server is public HAPI STU3, the logical modeller is single and the resource is diagnostic report. logicalmodel.PNG In the screenshot,I have given a name for the logical model and selected a resource diagnosticreport.
David Hay (Jun 20 2017 at 06:26):
so I created a new logical model on the HAPI-3 server based on DiagnosticRepor (imaginatively called test), edited an element, deleted an element, added a new element clicking save after each change without any issues. (you can see the model there if you like). So I'm not able to duplicate the error I'm afraid. What did you do after the steps you mentioned? What browser are you using? Do you have a low power computer perhaps?
Pranitha Sruthi (Jun 20 2017 at 06:29):
After editing an element, when I clicked on the option 'save model', the screen has become unresponsive.
Pranitha Sruthi (Jun 20 2017 at 06:31):
Currently working on the browser chrome.
David Hay (Jun 20 2017 at 06:32):
which element, and what edits? does the save to the element work OK? is that the first thing you do after creating the model? Have other models worked in the past? What computer/RAM?
Pranitha Sruthi (Jun 20 2017 at 06:37):
The element was 'code'. Yes, the save element is working fine. After creating a model, I tried to edit the element 'code' and the changes were also reflected. I had saved the changes and found no issues. But, when I clicked on the option 'save model', the screen had become unresponsive.
David Hay (Jun 20 2017 at 06:41):
what change?
David Hay (Jun 20 2017 at 06:42):
wait - I can duplicate it!
Pranitha Sruthi (Jun 20 2017 at 06:44):
The changes like adding a loinc code,editing the name.
Pranitha Sruthi (Jun 20 2017 at 06:44):
Ok
David Hay (Jun 20 2017 at 06:59):
Ok - so the issue is that the query "http://fhirtest.uhn.ca/baseDstu3/ValueSet/report-codes/$expand" (which, I see, is trying to expand all of LOINC) is blocking the UI. This is actually called whenever the code node is selected - it's unrelated to any edits, and not actually a bug (rather an unexpected side effect of a feature :) )
Let me cogitate on the best way to resolve this...
David Hay (Jun 20 2017 at 07:03):
Interestingly, if you select Grahames server as the terminology server then you won;t get the issue as Grahame recognises that the result set is too large and throws an error. So that might let you keep working. cheers...
Pranitha Sruthi (Jun 20 2017 at 07:03):
Okay thank you :)
David Hay (Jun 20 2017 at 07:06):
You're welcome - took a while but we got there in the end. The key was to detail the exact steps that led to the issue - after that it was easy...
Brian Postlethwaite (Jul 04 2017 at 03:26):
can you provide the _count option (or whatever it is for terminology expansion) so that it doesn't try and return you so much data...
David Hay (Jul 04 2017 at 04:32):
worth a try!
Last updated: Apr 12 2022 at 19:14 UTC