Stream: implementers
Topic: Simplifier IG not finding a resource
Brian Reinhold (Dec 14 2017 at 10:21):
I am using the {{tree:phd/PhdPatient}} to try and render a structure definition in an IG. The IG says it cannot find the resource. But when I look at the resource in the projects resource list it is there. All the other struct defs render correctly. I cannot find an miss in the name so I am at a loss as to what I messed up or could mess up such that the file is not found in the IG. Anybody have some ideas?
Michel Rutten (Dec 14 2017 at 10:45):
Hi @Brian Reinhold, can you share a link to the broken IG page?
Michel Rutten (Dec 14 2017 at 10:45):
This one? https://simplifier.net/guide/PCHAPersonalHealthDeviceDataImplementationGuide/PhdPatientProfile
Brian Reinhold (Dec 14 2017 at 10:45):
Hi @Brian Reinhold, can you share a link to the broken IG page?
https://simplifier.net/ui/ig/edit/PCHAPersonalHealthDeviceDataImplementationGuide/editor
Phd Patient Profile
Michel Rutten (Dec 14 2017 at 10:51):
Hi Brian, the PHD Patient profile has url key "phdPatient-1":
https://simplifier.net/PCHAPHD/phdPatient-1
So if you update the reference to this key, the rendering should work.
Note that Simplifier assigns unique url keys, appending a numeric suffix to prevent conflicts.
If desired, you can manually update the auto-assigned url key via the toolbar, "Options", "Edit Properties".
Brian Reinhold (Dec 14 2017 at 10:53):
Hi Brian, the PHD Patient profile has url key "phdPatient-1":
https://simplifier.net/PCHAPHD/phdPatient-1
So if you update the reference to this key, the rendering should work.
Note that Simplifier assigns unique url keys, appending a numeric suffix to prevent conflicts.
If desired, you can manually update the auto-assigned url key via the toolbar, "Options", "Edit Properties".
Oh.. Thanks for that. Did I make an earlier resource with that name? How do I find the correct URL to use?
Oh, that's the wrong one. It looks like one from my first trial project. The one I want is, according to Simplifier, at
https://simplifier.net/PHD/Patient
I don't get it. Now the original URL is working. I reverted the change and it worked. Hasn't worked since I put it in a few days ago so I am confused!
Michel Rutten (Dec 14 2017 at 11:04):
Hi @Brian Reinhold, let me check with the team. I'll get back to you on this.
Brian Reinhold (Dec 14 2017 at 11:05):
Hi @Brian Reinhold, let me check with the team. I'll get back to you on this.
Its working for the moment so things are good!
Michel Rutten (Dec 14 2017 at 11:05):
OK cool
Michel Rutten (Dec 14 2017 at 11:06):
BTW Note that the PoCD IG is using a different design than you PHD IG:
https://simplifier.net/guide/DevicesonFHIR-Point-of-CareDeviceGeneralImplementationGuide/DecemberBallotForward
Michel Rutten (Dec 14 2017 at 11:06):
Maybe you want to align the designs?
You can configure the design in the IG editor by editing the properties of the root node.
Here you can witch designs.
Brian Reinhold (Dec 14 2017 at 11:07):
Maybe you want to align the designs?
You can configure the design in the IG editor by editing the properties of the root node.
Here you can witch designs.
I am not sure what that means. What is my 'design'? I didn't do anything for a design as far as I know
Michel Rutten (Dec 14 2017 at 11:51):
Hi @Brian Reinhold, try this:
- open your IG in the Simplifier IG editor
- select the root node
- Notice that Simplifier now displays global settings for the IG
- Select tab "Style"
- Here you can select a visual design; PoCD is using the second option, "Two Level Menu"
Brian Reinhold (Dec 14 2017 at 11:55):
Oh... THATs what you mean. Ages ago when I started this I looked at both and I liked the tree better. Guess it was easier to see all the options. But one can switch back and forth easily, correct? At the moment I find it easier to navigate with the tree, but its nice in the final product not to take up so much screen space with the contents
Oh, what do ya know! When editing you still have the tree structure!
Michel Rutten (Dec 14 2017 at 11:57):
Yes, you can switch any time.
IMHO the two-level menu provides a more modern approach.
Michel Rutten (Dec 14 2017 at 11:58):
And yes, the visual style configuration only affects the published version, independent from the editor design.
Brian Reinhold (Dec 14 2017 at 11:59):
Yes, you can switch any time.
IMHO the two-level menu provides a more modern approach.
It seems faster, too. In the tree mode you have to click on the box and many times I forget .... In the menu mode you click anywhere on the menu and it renders
Last updated: Apr 12 2022 at 19:14 UTC