i4mi / MobileAccessGateway

IPF HAPI-FHIR IHE ITI springboot example
Apache License 2.0
13 stars 9 forks source link

Improve ITI-67 to ITI-18 conversion #158

Open qligier opened 2 months ago

qligier commented 2 months ago

https://github.com/i4mi/MobileAccessGateway/blob/6363161b8e2b890137ee3b043a85d7c843476329/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67RequestConverter.java#L63-L75

In the ITI-67 request processing, if the id or identifier search parameter is used, all others are ignored. id is not an official ITI-67 search parameter. identifier is then mapped to uniqueId or entryUuid depending on if it's a UUID or an OID, which is suspicious because the uniqueId can be both a UUID or an OID. We should do two GetDocuments queries to make sure we get all documents.

oliveregger commented 1 month ago

@unixoid : we need to look at this because the mapping for fhir resource.id to XDS.DocumentEntry.logicalId