FHIR Chat · snapshot error · IG creation

Stream: IG creation

Topic: snapshot error


view this post on Zulip sai charan (Mar 02 2018 at 10:06):

Hi All,I am getting the snapshot error.I want to resolve that issue.Untitled123.png Thank You

view this post on Zulip Lloyd McKenzie (Mar 02 2018 at 15:07):

Does your differential include a node for DiagnosticReport, DiagnosticReport.category, and DiagnosticReport.category.coding?

view this post on Zulip sai charan (Mar 05 2018 at 04:27):

@Lloyd McKenzie yes,I have node for that one.I attaching my file.Just see once and resolve issues.CN-CBCWDifferentialPanelMethodUnspecified.structuredefinition.xml

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:45):

I opened your differential and the first thing I saw was this:
<element id="DiagnosticReport"> <path value="DiagnosticReport" /> <comment value="This is intended to capture a single report, and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing." /> </element> <element id="DiagnosticReport.category.coding.code"> <path value="DiagnosticReport.category.coding.code" /> <fixedCode value="HM" /> </element>

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:46):

You jump right from DiagnosticReport to DiagnosticReport.category.coding.code

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:46):

You need intervening nodes for DiagnosticReport.category and DiagnosticReport.category.coding

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:47):

And you'll need to do the same thing everywhere else in your profile too. You can't have any elements in your differential unless their parents also appear in the differential.

view this post on Zulip sai charan (Mar 05 2018 at 04:49):

@Lloyd McKenzie Thank you

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:50):

You're welcome - but next time don't say that you have something when you don't :)

view this post on Zulip Mounika (May 29 2018 at 12:59):

Hi all, I am getting snapshot error "OtherObservation does not contain an element that matches an existing differential element that has id: Observation.related" while publishing to our IG. Can anyone tell me what is the issue? Here is the structure
Capture17.PNG

view this post on Zulip Lloyd McKenzie (May 29 2018 at 13:02):

What appears before Observation.related?

view this post on Zulip Mounika (May 29 2018 at 13:10):

<element id="Observation.bodySite">
<path value="Observation.bodySite" />
<max value="0" />
</element>
<element id="Observation.specimen">
<path value="Observation.specimen" />
<max value="0" />
</element>
<element id="Observation.device">
<path value="Observation.device" />
<max value="0" />
</element>
<element id="Observation.referenceRange">
<path value="Observation.referenceRange" />
<max value="0" />
</element>
<element id="Observation.related">
<path value="Observation.related" />
<short value="Related observation" />
<definition value="A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code." />
<requirements value="Normally, an observation will have either a value or a set of related observations. A few observations(e.g. Apgar score) may have both a value and a set of related observations or sometimes a QuestionnaireResponse from which the measure is derived." />
</element>
<element id="Observation.related.type">
<path value="Observation.related.type" />
<fixedCode value="has-member" />
</element>
<element id="Observation.related.target">
<path value="Observation.related.target" />
<short value="Resource that is related to this one." />
<type>

view this post on Zulip Lloyd McKenzie (May 29 2018 at 13:16):

What version is your IG running against?

view this post on Zulip Mounika (May 29 2018 at 13:18):

current build version.

view this post on Zulip Lloyd McKenzie (May 29 2018 at 13:18):

Can you attach the full StructureDefinition?

view this post on Zulip Mounika (May 29 2018 at 13:19):

ya sure

view this post on Zulip Mounika (May 29 2018 at 13:22):

cn-OtherObservation.xml

view this post on Zulip Lloyd McKenzie (May 29 2018 at 13:24):

<fhirVersion value="3.0.1"/>
That's not current build - that's R3, where Observation.related doesn't exist.

view this post on Zulip Mounika (May 29 2018 at 13:28):

I created that profile using forge STU3.

view this post on Zulip Michel Rutten (May 29 2018 at 13:30):

@Lloyd McKenzie Observation.related exists in STU3:
http://hl7.org/fhir/stu3/observation-definitions.html#Observation.related

view this post on Zulip Lloyd McKenzie (May 29 2018 at 14:04):

Yes, sorry, you're correct. related exists in R3, but not in the current build. What release is the IG specified for?

view this post on Zulip Eric Haas (May 29 2018 at 17:29):

needs to be valid for R4 if building in R4 as lloyd points out.

view this post on Zulip Eric Haas (May 29 2018 at 17:32):

Building an IG in R4 is like running in quicksand everything is changing, I advise against it if you can avoid it.

view this post on Zulip Grahame Grieve (May 29 2018 at 19:55):

need to be clear in this thread - you use the R4 builder, but that's not the same as 'building in R4"


Last updated: Apr 12 2022 at 19:14 UTC