FHIR Chat · Forge implementation guide message · implementers

Stream: implementers

Topic: Forge implementation guide message


view this post on Zulip Brian Reinhold (Aug 04 2017 at 09:52):

I just updated to Forge 16.4.1 and tried loading the implementation guide. It had 4 profiles in it. Before I had issues but now everything went fine. I had several more profiles to load and when I loaded the next one, I get this warning on the implementation guide:
Message : Element with min. cardinality 1 cannot be null
Severity: Warning
Source : PhdRtsaObservation
Context : PhdImplementationGuide / Packages / PhdPackage / Resources / PhdRtsaObservation / Example

I also get this message
Message : The canonical resource url 'StructureDefinition/phdParentDeviceComponent' is invalid and not suitable for publishing purposes. A canonical url should be absolute and globally unique.
Severity: Informational
Source : phdParentDeviceComponent
Context : phdParentDeviceComponent / URL

Is that just because I have not formally obtained a 'real' URL yet and am using a placeholder?

view this post on Zulip Vadim Peretokin (Aug 04 2017 at 10:20):

The latter message - yep

view this post on Zulip Brian Reinhold (Aug 04 2017 at 10:52):

The latter message - yep

Thought so. I am a little unsure about the first one.

view this post on Zulip Michel Rutten (Aug 07 2017 at 08:58):

Hi @Brian Reinhold, the validation message about a cardinality violation indicates that the value of a required element is missing or empty. In this case, FHIR states that you must specify an example for each resource entry in an IG package:
https://www.hl7.org/fhir/implementationguide-definitions.html#ImplementationGuide.package.resource.example

view this post on Zulip Michel Rutten (Aug 07 2017 at 09:00):

The other validation message indicates that all conformance resources must have a valid, absolute unique canonical url:
https://www.hl7.org/fhir/structuredefinition-definitions.html#StructureDefinition.url

view this post on Zulip Brian Reinhold (Aug 07 2017 at 10:59):

Hi @Brian Reinhold, the validation message about a cardinality violation indicates that the value of a required element is missing or empty. In this case, FHIR states that you must specify an example for each resource entry in an IG package:
https://www.hl7.org/fhir/implementationguide-definitions.html#ImplementationGuide.package.resource.example

That message showed up where I didn't expect it. In the DeviceComponents the latest update has the identifier cardinality 0..* instead of 1..1 which I went ahead and used. Those errors I understood. But now its not coming up except where I expected it. I think the problem may have been when I put in fake placeholder URLs that were 'correct' at least in format, I removed the old resources from the package and added the new ones. However, looking at the implementation guide xml, the old resource urls were still present. I manually deleted them and that may have caused the error to go away.


Last updated: Apr 12 2022 at 19:14 UTC