Hi,
I am using the camel fhir component to retrieve observations for a patient. As
part of the request I set the URL including query params identifying the
patient:
.setHeader(FhirConstants.PROPERTY_PREFIX + "url",
constant("Observation?subject:Patient=0111191234"))
.toD(String.format("fhir:%s/%s",
FhirApiCollection.getCollection().getApiName(FhirSearchApiMethod.class).getName(),
FhirSearchApiMethod.SEARCHBYURL.getName()) +
"?encoding=XML" +
"&log=false" +
"&validationMode=NEVER")
If the request fails for example HTTP 404 Not Found because the patient was
unknown then the resulting RuntimeCamelException logged by the
RedeliveryErrorHandler includes the URL.
This is a problem because of GDPR we cannot allow a patient identifier in the
log files.
Is there any way to prevent the logging or to remove the URL before the logging
Paw B Sørensen
[email protected]
Med venlig hilsen / Kind regards
[Systematic Logo]<http://www.systematic.com/>
Paw B Sørensen
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
Denmark
Mobile: +45 2544 9834
[email protected]<mailto:[email protected]>
www.systematic.com<http://www.systematic.com>