Closed dhit-mdavis closed 2 years ago
hello @dhit-mdavis: This is an interesting issue. When you put the DAR extension in an array, like your first example, what is the meaning you want to convey?
Hi @yunwwang. Here's the C-CDA view of the same data before it gets converted to FHIR. Let me know if this helps answer your question
<name>
<given nullFlavor="NI" />
<family>LastName</family>
</name>
<name>
<given qualifier="BR">Johnny</given>
<family>LastName</family>
</name>
@dhit-mdavis :
The meaning of the XML presentation and JSON presentation are different:
In XML presentation: The patient has two names. We only know the family name of the first of his two names. In JSON presentation, the DAR extension causes some confusion on the precise meaning of this array. That is why I asked. One interpretation (I think this is the correct interpretation) is that: The patient has two names. We don't know the first of his two names.
The correct JSON presentation of the XML name array is
"name": [
{
"family": "LastName"
},
{
"use": "official",
"text": "Johnny LastName",
"family": "LastName",
"given": [
"Johnny"
]
}
]
We will investigate if we could improve our test to handle that.
Thank you @yunwwang for that info. I think it was helpful from my perspective.
"We will investigate if we could improve our test to handle that."
So the question is now, how will Inferno v2 handle the correct JSON presentation array you illustrate? I'm going to look into performing a test case using the info below and update here once completed.
Hi @yunwwang. Apologies for the delay in this follow up. Here are my results.
1 - I adjusted the FHIR output to represent the interpretation that you mentioned above
2 - In doing so, I was able to pass the following sub tests for the Single Patient API Patient resource section. However, I now end up failing the very last test section, 4.32 Missing Data Tests
What are your thoughts on this outcome?
You can use any resource for missing data test, not just Patient. For example, if this Patient has an Observation which contains a DAR extension. That would pass the DAR extension test.
Thank you @yunwwang. I'll bring this back and keep you informed.
Otherwise, let me know if it's my responsibility to close a ticket then I will for now
We are still looking at our handling of DAR extension. Please keep this ticket open.
Roger that and I will leave it open for the time being. Thanks as always!
We have identified the issue that Inferno could not retract search value when the first array item is an element with DAR extension. The fix is in the Pull Request mentioned above.
Thanks for that update!
Would you please confirm if a skip is synonymous with a failure? We have encountered quite a bit of them. See below: .2 Patient Tests i. Test can provide correct responses for patient queries. These queries must contain resources conforming to the US Core Patient Profile as specified in the US Core v3.1.1 Implementation Guide. ii. 4.2.07 Server returns Provenance resources from patient search by_id + revInclude Provenance : target iii. 4.2.09 All must support elements are provided in the Patient resources returned iv. 4.3.03 Server returns Provenance resources from AllergyIntolerance search by patient + revinclude Provenance target v. 4.3.05 All must support element are provided in the AllergyIntolerance resources returned
Thank you so much
Hi Stephen, I was afraid of that but thank you so much for the quick response.
Hello.
Inferno v2 fails - Inferno Legacy Passes Here is a FHIR Resource example
Inferno v2 passes - Inferno Legacy Passes Here is a FHIR Resource example
Please let me know your thoughts
Thanks - Mat