Hi ,
Can anyone please suggest where I can download negative test data, i.e. resource data fails on validation. Specifically I need patient data ( not bundle)
Thanks
This is the place to have open discussions between community members, to share thoughts regarding the ILCore profile drafts and the Work Group process and work products. All community members are welcome to participate in discussions, comment and raise questions.
Creating separate files for the resources in a bundle is not a very common practice, though it can easily be done with a little scripting. The main purpose of a bundle, and of FHIR resources in general is to represent states of entities in a Restful framework. So for example you can POST the transaction bundle to a public FHIR server like http://hapi-fhir.outburn.co.il/ so the individual resources will be saved on the server. This will allow you to search for them and with the appropriate Accept header you can ask the server to return them as XML. You can also perform a Bulk export and get them as NDJSON.
Another option is to POST the bundle to the /Bundle endpoint (i.e. http://hapi-fhir.outburn.co.il/Bundle) - this will only create the Bundle on the server and not the individual resources. You can still do a GET request for that bundle and ask it to be returned in XML.