Stream: questionnaire
Topic: SDC profile
Diane (Jul 10 2021 at 21:40):
- Is it necessary (or desirable) to include a profile within the meta element in our Questionnaires?
We had been using this profile:
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|2.7"
but it doesn't validate in either the IG or in HAPI validation, so we are thinking of removing it.
-
If it is necessary to reference the SDC profile, is this now the correct and current version?
-
If we use an updated version of the SDC profile url, will this "break" our form renderer (LHC Forms from NLM) which still utilizes the older URLs in some cases (such as for some extensions)? @Paul Lynch
Lloyd McKenzie (Jul 10 2021 at 22:01):
- In general, IGs should not require declaring profile in meta because it adds a cost for systems that are producing otherwise conformant data and also reduces the pool of systems that might be willing to conform. The only time profiles should be mandated is if all systems talking to the server will be aware of the profile and can be reasonably customized to support the declaration AND the declaration is essential for efficient processing of the received data. (Servers can always validate an instance to determine whether it complies with a given profile, so client-side declaration is primarily about saving the server the effort of performing that process.
- In your IG, you can indicate that your Questionnaire is an example of an SDC profile without declaring it in an instance.
- Different tools may rely on different versions of an IG, so yes, it's possible that pointing to the 'newest' SDC profiles could cause some tools to not recognize all extensions
Paul Lynch (Jul 21 2021 at 18:23):
I suspect the reason it doesn't validate is that the SDC IG is not published yet. The LHC-Forms renderer uses that profile URI to determine which FHIR version being used. However, if you leave it out, it will look at the structure of the Questionnaire try to make a good guess. You can also put the base Questionnaire profile in meta.profile, which LHC-Forms will also try to parse for the FHIR version. (Example: "http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire")
Last updated: Apr 12 2022 at 19:14 UTC