i4mi / MobileAccessGateway

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

ITI-67: setting parameter codesystem is not translated #183

Closed oliveregger closed 2 months ago

oliveregger commented 2 months ago

MHD ITI-67

GET {{host}}/fhir/DocumentReference?setting=394802001%7Chttp%3A%2F%2Fsnomed.info%2Fsct&status=current&patient.identifier=urn%3Aoid%3A2.16.756.5.30.1.127.3.10.3%7C761337610435209810 HTTP/1.1 Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ4cXp4cE16STd3OWEzSWlKeWJPU1Fhd1kwZ044SkYyR2Z5SlNDM3hIU25nIn0.eyJleHAiOjE3MjY3NDcwOTEsImlhdCI6MTcyNjc0Njc5MSwianRpIjoiZGE0MmYyMDQtZDIyMi00OTg4LWI4NTgtYmM2NWE3MDZlYjczIiwiaXNzIjoiaHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmloZS1ldXJvcGUubmV0L2l1YS1zc28vcmVhbG1zL2NoLWl1YSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIxYTU4YWIxOS0yMjY5LTQ3ODUtYjJiNi02ZjA5YzI1Nzg5NTciLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJjaC1pdWEtY2xpZW50IiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyIvKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZGVmYXVsdC1yb2xlcy1jaC1pdWEiLCJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJwdXJwb3NlX29mX3VzZT11cm46b2lkOjIuMTYuNzU2LjUuMzAuMS4xMjcuMy4xMC41fE5PUk0gcHJvZmlsZSBlbWFpbCIsImV4dGVuc2lvbnMiOnsiY2hfZXByIjp7InVzZXJfaWRfcXVhbGlmaWVyIjoidXJuOmdzMTpnbG4ifSwiaWhlX2l1YSI6eyJwdXJwb3NlX29mX3VzZSI6eyJjb2RlIjoiTk9STSIsInN5c3RlbSI6InVybjpvaWQ6Mi4xNi43NTYuNS4zMC4xLjEyNy4zLjEwLjUifX19LCJjbGllbnRJZCI6ImNoLWl1YS1jbGllbnQiLCJjbGllbnRIb3N0IjoiMTAuMzQuMC4xMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LWNoLWl1YS1jbGllbnQiLCJjbGllbnRBZGRyZXNzIjoiMTAuMzQuMC4xMiJ9.m55nUdZtuStPRJlo3CcircYQe3bwQlk4pCmVN8CIIiSG7Tp-rzleHkjH5OToyf868c9jKBXMKbq8Y8D0eKuqYLOeB6AgorDwy5pQ3aDvEaJ3joguAWKJDUhhqT4AHaHXg4nAX__OmmCcBAkaeAyUNGg8V04BzEQsO1xqXz9OM6AoPVRAdzchcb_TdnEBq1JY5eALP0O38jf-CWqeR-TP_lSHvk_kcAYEQwf8O-thsC7LheDXBLitiKzYibzi2K9jfbvZ9aW5K9tzYpUtX2X70XjmfLYPe-zSonZGpdhoLAtLifa6qQ68IEj1lndh_uw-c1d5Dlm09jFgaf5muizOpA Accept: application/fhir+json traceparent: 00-fa4690f92ed9424d971943e7166ddac1-940414d849b140a5-00

the codesystem is for XDS not converted to an oid

oliveregger commented 2 months ago

system parameter is not set correctly, needs to be the inverse:

GET {{host}}/fhir/DocumentReference?setting=http%3A%2F%2Fsnomed.info%2Fsct%7C394802001&status=current&patient.identifier=urn%3Aoid%3A2.16.756.5.30.1.127.3.10.3%7C761337610435209810 HTTP/1.1

then it works