0

How can I set Conformance so that only certain extensions for a resource are allowed for my server? Same question hold for Other resource where I want to allow only resources my server understand. I looked at Conformance.xml plus Forge tool and could not figure this out.

Amit Joshi
  • 15,448
  • 21
  • 77
  • 141
frosty
  • 2,421
  • 6
  • 26
  • 47

1 Answers1

1

As a general rule, you should avoid rejecting instances that contain unrecognized extensions. Ignoring them is better practice. (Unless they're modifierExtensions - those you can't safely ignore if you don't understand them.) Extensions are the norm in FHIR. If you start rejecting instances that contain unrecognized extensions, you're going to be unable to interoperate with any system that doesn't specifically design itself to talk to your system (which sort of defeats the purpose of using an interoperability standard).

There is no mechanism at present to indicate that you don't accept unrecognized extensions as part of the Conformance resource, though given that we say you SHALL flag the fact in your Conformance statement, there probably should be. Can you submit a formal change request for us to add an explicit flag on Conformance?

Lloyd McKenzie
  • 6,345
  • 1
  • 13
  • 10
  • Thanks for your explanation. I'll submit a formal change request. An example will be helpful on how to represent an "Other" resource in Conformance.xml. – frosty Jul 27 '14 at 04:36