Stream: IG creation
Topic: Example Warnings
Sarah Gaunt (Jan 15 2020 at 09:59):
I'm getting a new warning
http://hl7.org/fhir/us/ecr/StructureDefinition/rr-determination-of-reportability-extension warning The Implementation Guide contains no examples for this profile
This is an awesome warning! The thing is, I'm getting it on all my extensions, and I do have examples of all the extensions, they are just contained inside other examples.
Is it ok to leave them and supress these warnings, or would it be preferable to create stand-alone examples for the extensions?
Grahame Grieve (Jan 15 2020 at 11:52):
I didn't think of extensions. I'll remove the warnings for extensions
Grahame Grieve (Jan 15 2020 at 13:04):
no I improved them
Rob Hausam (Jan 15 2020 at 14:17):
I'm getting warnings for the IPS extensions that are included in the other examples.
Rob Hausam (Jan 15 2020 at 14:38):
Looking a bit further I'm also getting warnings for every single resource profile, data type profile and extension in the IG, even though for most of them the IG does currently have examples (either as a separate example or contained within the example bundle). @Grahame Grieve?
Rob Hausam (Jan 15 2020 at 14:42):
The example instances don't seem to be recognized now, even though they are valid instances of the profiles. In the last week we finished removing all of the meta.profile declarations that we previously had in some of the example instances and they were validating properly before this change.
Grahame Grieve (Jan 15 2020 at 19:35):
@Rob Hausam I chose one of the extensions at random: http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips
- I'm not finding it in any example
Rob Hausam (Jan 15 2020 at 19:41):
We might not have the extensions in any of the examples. I know we don't for participant-uv-ips, because as we discussed on our call today we are no longer using it and are going to remove it (once Giorgio pushes his changes). But most of the profiled resources are in either the bundle or separate example instances (and we agreed that we should have a separate example for each profile, which we will do) and the Coding and CodeableConcept profiles are used I'm sure in all of the example instances.
Grahame Grieve (Jan 15 2020 at 19:42):
I'm investigating the others but please tell me if you think the qa is wrong about any extensions
Rob Hausam (Jan 15 2020 at 19:43):
ok - I'll update locally and will check that
Rob Hausam (Jan 15 2020 at 20:51):
I've added an example locally that includes the abatement-dateTime-uv-ips extension and that works, with no warning. So it looks like we should be good with the extensions - but the others are still there.
Grahame Grieve (Jan 15 2020 at 20:51):
One of the issues is this, from your IG definition:
Grahame Grieve (Jan 15 2020 at 20:52):
<resource> <reference> <reference value="Bundle/IPS-examples-Bundle-01"/> </reference> <exampleBoolean value="true"/> </resource>
Grahame Grieve (Jan 15 2020 at 20:52):
it needs to be
Grahame Grieve (Jan 15 2020 at 20:52):
<resource> <reference> <reference value="Bundle/IPS-examples-Bundle-01"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips"/> </resource>
Rob Hausam (Jan 15 2020 at 21:13):
OK. Maybe there's better documentation on this now. But when we started it wasn't at all clear what would be the reason to choose between exampleBoolean or exampleCanonical, or why exampleCanonical would be needed - and obviously in the absence of a particular need exampleBoolean is simpler. So I presume the details for this are documented in the IG training materials somewhere?
Sarah Gaunt (Jan 15 2020 at 21:15):
Awesome - thanks!
Rob Hausam (Jan 15 2020 at 21:17):
Is this good for you now, Sarah?
Sarah Gaunt (Jan 15 2020 at 21:19):
Haven't checked yet - need to run IG pub again - will let you know.
BTW, I did have all my examples with the exampleCanonical set. Theoretically with Lloyd's new template, when you have that set, the example should show up on the profile page (of course, this IG i'm woking on doesnt' use LLoyd's template, so it's kind of a moot point!).
It did point out two examples I was missing though, which was cool...
Rob Hausam (Jan 15 2020 at 21:21):
Yes, that makes sense.
Sarah Gaunt (Jan 15 2020 at 21:23):
@Rob Hausam - curious about this: "In the last week we finished removing all of the meta.profile declarations that we previously had in some of the example instances and they were validating properly before this change."? Why did you remove all of the meta.profile declarations in the example instances?
Rob Hausam (Jan 15 2020 at 21:29):
One thing that I'm not sure makes sense, though, is that in my case that Grahame referenced, the example instance is a Bundle, but the canonical reference is to Composition. Using Composition does also require Bundle, but obviously they are not the same. And what if you have profiled both Bundle and Composition and the instance is intended to be an example of both (in IPS we have only profiled Composition, but we could have done both)?
Rob Hausam (Jan 15 2020 at 21:31):
@Sarah Gaunt Primarily we removed all of the meta.profile declarations because Grahame said that we shouldn't be using them. :) But we agreed that it would be better if those declarations were not required for the instances, and we adjusted the modeling so that it wasn't required to be able to properly validate.
Rob Hausam (Jan 15 2020 at 21:35):
I guess I probably should have clarified that we didn't just remove the meta.profile declarations from the examples, but first we adjusted the modeling so that they weren't required and removed the meta.profile declarations from the profiles themselves and then removed them from the example instances.
Lloyd McKenzie (Jan 15 2020 at 22:56):
We've agreed to allow exampleCanonical to repeat - just haven't applied that change yet. When we do, it's gonna break a bunch of stuff.
Rob Hausam (Jan 15 2020 at 23:05):
So can you clarify how setting exampleCanonical is supposed to / does work for a profile of Composition with an example instance for that profile of Bundle which contains the Composition and related resource instances?
Sarah Gaunt (Jan 15 2020 at 23:32):
We've agreed to allow exampleCanonical to repeat - just haven't applied that change yet. When we do, it's gonna break a bunch of stuff.
Hmmmm... I was going to suggest that yesterday, but thought then that it would be too easy to just point to one example and be done with it. Would there be any checks to see if there actually is an instance of the profile represented in the example pointed to? Or should I just let it go and trust people to actually do what they say they are going to do... :oh_no:
Sarah Gaunt (Jan 15 2020 at 23:37):
Sarah Gaunt Primarily we removed all of the meta.profile declarations because Grahame said that we shouldn't be using them. :) But we agreed that it would be better if those declarations were not required for the instances, and we adjusted the modeling so that it wasn't required to be able to properly validate.
@Grahame Grieve Why shouldn't we be using them? How can you know what profile they are supposed to conform to if you don't. I can see lots of times it will be obvious, but in the case of the Observations that are causing me issues with the Bundle slicing - where there is really nothing to differentiate one from another (i.e. Observation.code and Observation.value extensibly bound to value sets) how can you tell. Though I suppose in those cases, there isn't really anything to conform to, so maybe it's a moot point. Though, in the slicing it's not, if you are required to have one.
Grahame Grieve (Jan 15 2020 at 23:45):
well, that's one of the great reasons not to use it, because it hides genuine problems like that. You can't slice if you can't differentiate
Grahame Grieve (Jan 15 2020 at 23:47):
I still on the hook to write a blog post descibing other reasons not to. but the single most important principle is: don't make the implementers fill out profile just because it makes your life easier
Grahame Grieve (Jan 15 2020 at 23:48):
in the context of an IG, you use exampleCanonical to specify what it should be valid against. Though I'm just making that work for IPS and I've run into a big structural problem in the validator
Rob Hausam (Jan 15 2020 at 23:49):
@Sarah Gaunt We had the same issue with multiple Observation profiles that differed only in the extensible bindings to different value sets, which can't be distinguished by the discriminator (unless you declare meta.profile in the profile). So what we did was consolidate those multiple flavors of Observation in a single slice with a choice of any of those Observation profiles. That seems to be readable enough and it works with the validator, so I think we are reasonably happy with using that approach.
Grahame Grieve (Jan 15 2020 at 23:49):
but you have to ask: do implementers need to tell them apart, and if they do, how do they?
Rob Hausam (Jan 15 2020 at 23:50):
right
Grahame Grieve (Jan 15 2020 at 23:50):
clarify how setting exampleCanonical is supposed to / does work for a profile of Composition with an example instance for that profile of Bundle which contains the Composition
That's some magic inside the validator - if you give it a bundle, and the profile you give it is on a resource, and that resource is the first in the bundle, then it goes ahead and starts validating the first resource instead of the bundle
Rob Hausam (Jan 15 2020 at 23:52):
ok, that's seems like a workable approach - will be good to document
Grahame Grieve (Jan 15 2020 at 23:55):
I don't know where I'd document that
Sarah Gaunt (Jan 15 2020 at 23:56):
@Rob Hausam interesting... Not sure how that would work here, one of the cases is a bundle with several different Observations - blood pressure, bmi, etc. There aren't any issues with those because they all have a fixed code. Then we have another slice which is required, and it's the one that points to the un-differentiable Observation. But of course, the validator can't tell whether the one that is required is ever there. The only way I could get it to work was to (hack) and hard code the meta.profile in the Observation so the validator could find it. Not an idea solution at all IMO.
Grahame Grieve (Jan 16 2020 at 00:10):
what's the other observation contain?
Sarah Gaunt (Jan 16 2020 at 00:22):
Here is an example: http://build.fhir.org/ig/HL7/bser/StructureDefinition-BSeR-DiabetesPreventionReferralFeedbackSupportingInformation.html
This is the Observation: http://build.fhir.org/ig/HL7/bser/StructureDefinition-BSeR-ParticipationFeedbackObservation.html
Rob Hausam (Jan 16 2020 at 16:14):
@Grahame Grieve I didn't follow up earlier on your comment yesterday about "in the context of an IG, you use exampleCanonical to specify what it should be valid against. Though I'm just making that work for IPS and I've run into a big structural problem in the validator". Can you elaborate, on the IPS bit and the rest?
Rob Hausam (Jan 16 2020 at 17:12):
@Grahame Grieve I changed from exampleBoolean to the exampleCanonical profile reference as you suggested for the IPS-examples-Bundle-01 (and the other existing example instances) and it appears to have had no effect. All of the same "The Implementation Guide contains no examples for this profile" warning messages are still there. @Lloyd McKenzie? Is there something that somehow I missed?
Lloyd McKenzie (Jan 16 2020 at 17:20):
There's a commit to the IGPublisher, hopefully today, that should fix the issue.
Rob Hausam (Jan 16 2020 at 17:29):
I assumed that was coming
I may try to "pre-adopt" if it's not coming soon today (committed but not yet released)
Grahame Grieve (Jan 16 2020 at 18:04):
I'm still working on it.
Rob Hausam (Jan 16 2020 at 19:31):
thanks
Grahame Grieve (Jan 17 2020 at 00:02):
the coming IG publisher will produce a series of new warnings where you have ambiguous slices on observations, and will also report that about a 3rd of your profiles have no examples at all, and abou a 3rd have no explicit examples (e.g. they don't have any examples linked in the IG, but the validator found examples in the general bundle)
Rob Hausam (Jan 17 2020 at 00:10):
if the comment is related to IPS, that sounds fine to me (although obviously it will involve some work)
if the validator finds examples in the general bundle is that sufficient? (I'm presuming you will say no) - I can see some value of requiring individual examples for each resource profile, if that's going to be the rule
Grahame Grieve (Jan 17 2020 at 00:18):
yes IPS. I don't know what the rules should be. All I'm doing for now is providing information
Grahame Grieve (Jan 17 2020 at 00:18):
the examples don't need to be individual, though, I think
Grahame Grieve (Jan 19 2020 at 20:29):
btw I'm pretty sure that any warnings now are right
Sarah Gaunt (Jan 19 2020 at 20:51):
All the ones I've seen in the past couple of days have been correct, agreed...
Rob Hausam (Jan 22 2020 at 05:30):
This doesn't seem to be fixed yet, for me (using IG Publisher 1.0.47-SNAPSHOT). In IPS we are not yet using the new template (don't know if that makes a difference?). With the exampleCanonical references using the "incorrect" relative urls I'm getting all of these information messages about ""no explicitly linked examples":
== /Users/rhausam/git-repo/fhir-ips/resources/AllergyIntolerance-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/CodeableConcept-uv-ips.structuredefinition.xml == == /Users/rhausam/git-repo/fhir-ips/resources/Coding-uv-ips.structuredefinition.xml == == /Users/rhausam/git-repo/fhir-ips/resources/Composition-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Condition-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Device-observer-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Device-observer-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Device-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Device-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/DeviceUseStatement-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/DiagnosticReport-uv-ips.structuredefinition.xml == WARNING: http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips: The Implementation Guide contains no examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/ImagingStudy-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/ImagingStudy-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Immunization-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Immunization-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Medication-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/MedicationStatement-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-alcoholUse-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-imaging-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-imaging-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-laboratory-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-laboratory-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-media-uv-ips.structuredefinition.xml == WARNING: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-media-uv-ips: The Implementation Guide contains no examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-member-imaging-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-imaging-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-member-laboratory-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-laboratory-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-member-pathology-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-pathology-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pathology-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pathology-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pregnancy-edd-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-edd-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pregnancy-outcome-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pregnancy-status-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-tobaccoUse-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Organization-laboratory-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-laboratory-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Organization-observation-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-observation-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Patient-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Practitioner-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Procedure-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Procedure-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Specimen-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile
Rob Hausam (Jan 22 2020 at 05:31):
If I change all of the exampleCanonical references to the "correct" full urls, I still get apparently the same set of info messages:
== /Users/rhausam/git-repo/fhir-ips/resources/AllergyIntolerance-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/CodeableConcept-uv-ips.structuredefinition.xml == == /Users/rhausam/git-repo/fhir-ips/resources/Coding-uv-ips.structuredefinition.xml == == /Users/rhausam/git-repo/fhir-ips/resources/Composition-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Condition-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Device-observer-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Device-observer-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Device-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Device-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/DeviceUseStatement-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/ImagingStudy-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/ImagingStudy-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Immunization-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Immunization-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Medication-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/MedicationStatement-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-alcoholUse-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-imaging-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-imaging-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-laboratory-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-laboratory-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-member-imaging-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-imaging-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-member-laboratory-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-laboratory-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-member-pathology-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-member-pathology-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pathology-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pathology-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pregnancy-edd-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-edd-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pregnancy-outcome-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-pregnancy-status-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-tobaccoUse-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Observation-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Organization-laboratory-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-laboratory-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Organization-observation-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-observation-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Patient-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Practitioner-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Procedure-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Procedure-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile == /Users/rhausam/git-repo/fhir-ips/resources/Specimen-uv-ips.structuredefinition.xml == INFORMATION: http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips: The Implementation Guide contains no explicitly linked examples for this profile
Rob Hausam (Jan 22 2020 at 05:35):
And this is the relevant section of the IG resource (ig-uv-ips.xml) where the example references are specified (in this case with the full urls):
<!-- ======== EXAMPLES ========== --> <resource> <reference> <reference value="Bundle/IPS-examples-Bundle-01"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips"/> </resource> <resource> <reference> <reference value="Medication/eumfh-39-07-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips"/> </resource> <resource> <reference> <reference value="MedicationStatement/eumfh-39-07-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips"/> </resource> <resource> <reference> <reference value="Immunization/75680"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Immunization-uv-ips"/> </resource> <resource> <reference> <reference value="AllergyIntolerance/eumfh-39-07-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips"/> </resource> <resource> <reference> <reference value="AllergyIntolerance/allergyintolerance-with-abatement"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips"/> </resource> <resource> <reference> <reference value="Condition/eumfh-39-07-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips"/> </resource> <resource> <reference> <reference value="Procedure/eumfh-39-07-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Procedure-uv-ips"/> </resource> <resource> <reference> <reference value="Practitioner/eumfh-39-07"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips"/> </resource> <resource> <reference> <reference value="Patient/eumfh-39-07"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"/> </resource> <resource> <reference> <reference value="Patient/66033"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"/> </resource> <resource> <reference> <reference value="DeviceUseStatement/eumfh-70-275-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips"/> </resource> <resource> <reference> <reference value="Device/eumfh-70-275-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Device-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/trilliumII-example-imaging-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-imaging-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/trilliumII-example-imaging-4"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-imaging-uv-ips"/> </resource> <resource> <reference> <reference value="ImagingStudy/TII-ImagingStudy-5-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/ImagingStudy-uv-ips"/> </resource> <!-- <resource> <reference> <reference value="Composition/IPS-examples-Composition-01"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips"/> </resource> --> <resource> <reference> <reference value="Organization/TII-Organization1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-observation-uv-ips"/> </resource> <resource> <reference> <reference value="Device/trilliumII-example-imaging-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Device-observer-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/pregnancy-eed-example"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-edd-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/pregnancy-status-example"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/pregnancy-outcome-example"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/tobaccouse-example"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips"/> </resource> <resource> <reference> <reference value="Observation/alcoholuse-example"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips"/> </resource> <resource> <reference> <reference value="Patient/patient-example-female"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"/> </resource> <resource> <reference> <reference value="Specimen/specimen-example-1"/> </reference> <exampleCanonical value="http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips"/> </resource> <!-- ======== EXAMPLES END ========== -->
Am I missing something?
Rob Hausam (Jan 22 2020 at 05:39):
The IPS IG is currently not using any meta.profile declarations in either the profiles or the example instances. @Sarah Gaunt has used that to help resolve some of her issues with this. We can put them back in, if needed, but so far I'm trying to see if we can get all of this to work without doing that.
Sarah Gaunt (Jan 22 2020 at 05:42):
Yes, that's the only way I could find to get rid of the "explicit example" information messages...
Rob Hausam (Jan 22 2020 at 05:55):
I updated my posts above and removed the warning messages, as after looking at them again all of the warnings appeared actually to be correct (as has been commented on earlier). I guess since the issue is apparently just with the information messages, we probably can ignore (or suppress) them if needed? At least having to fix the issue(s) may be a bit less pressing. @Grahame Grieve?
Grahame Grieve (Jan 22 2020 at 10:45):
FMG won’t be requiring all profiles to have examples this round, since the check is only a week old
Grahame Grieve (Jan 22 2020 at 10:46):
I’m not sure, reading this sequence, whether there’s a problem here or not. When I last built IPS, I only got the warnings where there wasn’t actually any examples I could find
Sarah Gaunt (Jan 22 2020 at 11:10):
Guess i didn't need to kill myself with examples the last couple of days, then... Probably couldn't have dealt with the warnings anyway - would have kept me up at night! :joy:
Grahame Grieve (Jan 22 2020 at 11:24):
It was you that suggested it ;-)
Sarah Gaunt (Jan 22 2020 at 11:26):
I know!!!! That's another reason I had to finish them all. TBH, creating examples REALLY highlights any issues with your profiles, so definitely a worthwhile exercise. And why I wanted it...
Shovan Roy (Jan 24 2020 at 04:53):
@Grahame Grieve , I'm getting "The Implementation Guide contains no examples for this profile" warning for abstract profiles as well.. not sure if it is required to provide examples for abstract profiles as well. what do you suggest?
Grahame Grieve (Jan 24 2020 at 05:28):
the next version will not create this message for abstract profiles
Last updated: Apr 12 2022 at 19:14 UTC