Stream: IG creation
Topic: Proper way to ref a local base definition
Brian Reinhold (Sep 17 2018 at 21:59):
I have several Observation profiles all based upon a PhdBaseObservation profile. Therefore in these profiled Observation I have
<baseDefinition value="http://hl7.org/fhir/uv/phd/StructureDefinition/PhdBaseObservation" />
That was valid for Forge/Simplifier, but I do not know if that is good for the IG publisher. When I try an publish, the publisher hangs on the first Observation that references the base Observation
Processing Conformance Resources (00:01:26.0614sec) process type: NamingSystem (00:01:26.0614sec) process type: CodeSystem (00:01:26.0614sec) process type: ValueSet (00:01:26.0614sec) process type: ConceptMap (00:01:26.0614sec) process type: DataElement (00:01:26.0614sec) process type: StructureDefinition (00:01:26.0614sec) process res: PhdDevice (00:01:26.0614sec) process res: PhdBaseObservation (00:01:26.0752sec) process res: PhdNunericObservation (00:01:26.0812sec)
I am not sure if that is the cause of the hang but I can't think of anything else. Its about the only 'different' thing the Structure Definition has.
Lloyd McKenzie (Sep 18 2018 at 13:59):
That's legal. Is the target profile listed before the referencing profile? (Failure to do that isn't an excuse to hang - just trouble shooting)
Brian Reinhold (Sep 18 2018 at 14:02):
That's legal. Is the target profile listed before the referencing profile? (Failure to do that isn't an excuse to hang - just trouble shooting)
That was not the cause of the hang. I stripped everything out to have one very simple field and got it to work. The hang was (I think) trying to find something that I had not yet defined (or its not at the location it stated it should be ... yet).
Grahame Grieve (Sep 18 2018 at 20:22):
there's no way it should hang... how do I reproduce this? (not that I'm having luck getting to actually have time to do this stuff - trying to clear out local things before heading to USA next week)
Brian Reinhold (Sep 18 2018 at 20:23):
there's no way it should hang... how do I reproduce this? (not that I'm having luck getting to actually have time to do this stuff - trying to clear out local things before heading to USA next week)
@Grahame Grieve I believe it was due to an resource reference that did not exist at the said location. Its not happening since I put one there. I am coming from Forge and refs are different.
Last updated: Apr 12 2022 at 19:14 UTC