FHIR Chat · data-absent-reason for must support Goal.target not working · inferno

Stream: inferno

Topic: data-absent-reason for must support Goal.target not working


view this post on Zulip Jake Fisher (Sep 27 2021 at 16:38):

We are failing USCG-08 with the following error message: Could not find target, Goal.target.due[x]:dueDate in the 2 provided Goal resources(s).

We are returning this data absent reason primitive extension for Goal.target.dueDate since we don't have a target due date in the workflow for goals:

"target": [
      {
        "_dueDate": {
          "extension": [
            {
              "valueCode": "unknown",
              "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
            }
          ]
        }
      }
    ],

This is on a locally hosted install of Inferno on version 1.6.0.

Any ideas why this test is failing?

view this post on Zulip Stephen MacVicar (Sep 27 2021 at 18:37):

Inferno doesn't accept data absent reasons as evidence that a server supports a field.

view this post on Zulip Cooper Thompson (Sep 27 2021 at 19:07):

Ugh. This is basically a continuation of this topic in #argonaut. It sounds like we really need ONC clarification that the Inferno requirements (inherited from US Core) should be limited to USCDIv1 content. Eric Haas even said that in his first response on that topic, but I didn't fully digest what he said.

view this post on Zulip Nihar (Sep 27 2021 at 19:34):

Hi @Jake Fisher & @Stephen MacVicar : I'm really sorry for jumping in here....!! Considering your question, we got the question that what is the difference between FHIR Validator & Using the any Editions for resources validation...? We got this question because when we are trying the target due date along with the dataAbsentReason extension in FHIR Validator...It is actually not giving any error to us. image.png.

view this post on Zulip Yunwei Wang (Sep 28 2021 at 13:57):

@Nihar Inferno validator validates if an individual resource conforms a specific profile. Both FHIR spec and US Core IG allows resource to have DAR extensions. What @Jake Fisher asked is test for MustSuppot which means the server shall be able to demonstrate that it support a MustSupport element in a meaningful way. We don't treat using DAR extension as a meaningful way to support an element.

view this post on Zulip Nihar (Sep 28 2021 at 14:38):

@Yunwei Wang : Thank you so much for clarification.
We are actually trying to validate those test cases (like USCG-08) using the FHIR Validator and that's what confusing us.
In each resources we have inferno test case of Must Support Elements are returned or not. Now, there are certain elements that we don't have support for like Goal Target due date...
What we are trying is to pass the DAR for all such elements and validate under the FHIR Validator
OR
We are trying to remove the entire node from the json and validate under the FHIR Validator

As an output of above 2 cases, If FHIR Validator passes the resource json then we are assuming that DAR or 'No Node for element' is allowed for all such elements and same will be applicable when we test it under the Inferno Program Edition.
Are we considering the right approach in terms of usability of Inferno FHIR Validator for such validations? Please guide.

view this post on Zulip Yunwei Wang (Sep 28 2021 at 14:55):

Passing validator means the resource itself is valid. You also need to demonstrate that your server support all MustSupport elements. Using DAR extension is not a reasonable way to demonstrate such support. Inferno tests "MustSupport" by checking that in resources returned from the server, there is at least one resource having that element populated


Last updated: Apr 12 2022 at 19:14 UTC