Stream: implementers
Topic: FHIR Server Post error for Patient Example
Max Nakamura (Aug 03 2016 at 21:22):
Hello @Grahame Grieve ,
I am would like to post the attached DAF-Patient_Example.xml to http://fhir3.healthintersections.com.au/open/, but am getting the several errors similar to the snippet posted below.
Please review and advise how to resolve. This sample posts to other FHIR servers e.g. HAPI at http://fhirtest.uhn.ca/baseDstu3 without error.
<issue>
<severity value="error"/>
<code value="invariant"/>
<details>
<text value="All FHIR elements must have a @value or children () children().count() > id.count()"/>
</details>
<expression value="Patient.text"/>
</issue>
<issue>
<severity value="error"/>
<code value="invariant"/>
<details>
<text value="All FHIR elements must have a @value or children () children().count() > id.count()"/>
</details>
<expression value="Patient.identifier"/>
</issue>
Thank you,daf-patient_example.zip
Grahame Grieve (Aug 03 2016 at 21:31):
the other servers don't validate so thoroughly, but in this case, my server is in error - and I don't have time to fix it until the ballot is finalised (fluent path is still changing right now too)
Max Nakamura (Aug 03 2016 at 21:42):
Hi @Grahame Grieve ,
Thank you for the quick response and explanation.
I will use the other servers to post the samples and obtain the related resource references to add to the composition sample.
Cheers.
Last updated: Apr 12 2022 at 19:14 UTC