ehealthsuisse / ch-epr-fhir

Repository for the swiss implementation guide for the FHIR based profiles
3 stars 5 forks source link

MHD [ITI-67] Find Document References Response validator shall be validating a Bundle instead of a Document Manifest #3

Closed NBailliet closed 3 years ago

NBailliet commented 3 years ago

We do not currently have a dedicated structure definition for the response of the ITI-67 transaction Find Document References. We changed the validator temporarily which is now using a Bundle structure definition from the IG FHIR Server instead of the initially configured Document Reference structure definition.

Link to the Gazelle JIRA ticket : https://gazelle.ihe.net/jira/browse/EHS-455

oliveregger commented 3 years ago

a constraint should be added that to satisfy the requirements when the fullUrl is specified in a document bundle: URI for resource (Absolute URL server address or URI for UUID/OID)

Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry. Note that this is not a versioned reference to the resource, but its identity. Where a resource is not assigned a persistent identity that can be used in the Bundle, a UUID should be used (urn:uuid:...).

see also related issue from projecathon: https://gazelle.ihe.net/jira/browse/EHS-443

ziegm commented 3 years ago

Issues resolved with following commits: