FHIR Chat · Fhir Validation · ibm

Stream: ibm

Topic: Fhir Validation


view this post on Zulip Sridhar S (Sep 10 2020 at 09:56):

Is there anyway we can disable validation in the IBM fhir-server

view this post on Zulip Sridhar S (Sep 10 2020 at 09:58):

if so can you give some guide on it

view this post on Zulip Paul Bastide (Sep 10 2020 at 12:09):

Depends on what you mean... there are fundamental constraints which are always on... if you are referring to the CodeableConcept validation that is now baked in, you can disable it with fhirServer/core/extendedCodeableConceptValidation boolean A boolean flag which indicates whether extended validation is performed by the server during object construction for code, Coding, CodeableConcept, Quantity, Uri, and String elements which have required bindings to value sets.

view this post on Zulip Paul Bastide (Sep 10 2020 at 12:10):

link is here https://ibm.github.io/FHIR/guides/FHIRServerUsersGuide#51.1-property-descriptions

view this post on Zulip Lee Surprenant (Sep 10 2020 at 15:02):

more generally, disabling validation on create/update is not something we support today. our design has been that we would make the fastest validator possible and keep validation on all the time. if its slowing you down for a particular use case, please let us know

view this post on Zulip Digamber Kalivemula (Sep 14 2020 at 05:47):

why resources are getting validated while retrieving data from server?

view this post on Zulip Lee Surprenant (Sep 14 2020 at 12:33):

there's 2 levels of validation:

  1. ability to parse into our object model
  2. validation of conformance to the constraints of the specification and any profiles declared

view this post on Zulip Lee Surprenant (Sep 14 2020 at 12:34):

on resource ingestion, we perfrom both 1 and 2

view this post on Zulip Lee Surprenant (Sep 14 2020 at 12:34):

on resource retrieval, only #1 is performed

view this post on Zulip Paul Bastide (Sep 14 2020 at 12:35):

Lee Surprenant said:

on resource retrieval, only #1 is performed

To add to Lee's explanation, the IBM FHIR Server saves one rendition of the resource (e.g. application/fhir+json), if a requestor wants to serialize it back, we have to convert it to the intermediate Java object, and serialize it back (e.g. application/fhir+xml)

view this post on Zulip Lee Surprenant (Sep 14 2020 at 12:39):

because we chose to model codes with a required binding as Java Enumeration, the parsing implicitly includes validation of these fields.
recently, we decided to add similar validation for Coding and CodeableConcept fields with a required-binding to a valueset with an enumerable list of values.
however, because folks may have invalid data sitting in their db (since we weren't checking language code or ucum syntax before), we added a flag to turn this extra validation so that you can disable it long enough to fix the data.

view this post on Zulip Digamber Kalivemula (Sep 14 2020 at 14:55):

https://chat.fhir.org/#narrow/stream/212434-ibm/topic/Fhir.20Validation/near/209628735
is this is the recently added validation you are referring?

view this post on Zulip Lee Surprenant (Sep 14 2020 at 16:09):

yes

view this post on Zulip Lee Surprenant (Sep 14 2020 at 16:10):

specifically that was added in our 4.4.0 release as indicated in the release notes at https://github.com/IBM/FHIR/releases/tag/4.4.0


Last updated: Apr 12 2022 at 19:14 UTC