From 4d1b73a7df8d42587350dce2d203400578a77eef Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Thu, 9 Nov 2023 15:15:17 +0100 Subject: [PATCH] Add example to PID-5 requirement --- docs/requirements.md | 12 +++++++++++- docs/usecases.md | 6 +++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/requirements.md b/docs/requirements.md index 753de75..36603f0 100644 --- a/docs/requirements.md +++ b/docs/requirements.md @@ -2,9 +2,19 @@ There are some special requirements on top of the EPR, due to the software used by CARA. -## When publishing a document +## When publishing a document (ITI-41) The [DocumentEntry.sourcePatientInfo](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.2.html#4.2.3.2.23) SHALL be present and convey the patient first and last name in the PID-5 field. This information is used by the web portal to show the patient name associated with that document. You can provide the name as found in the MPI. + +Other PID fields are optional. + +```xml + + + PID-5|GASSMANN-IMHOLZ^CYRIL RENE FRANCOIS + + +``` diff --git a/docs/usecases.md b/docs/usecases.md index 64b25e2..c74658b 100644 --- a/docs/usecases.md +++ b/docs/usecases.md @@ -14,7 +14,7 @@ To execute the examples you can either use [curl](https://curl.se/) or use the p [Demographics Query for GASSMANN](requests/iti-47-gassmann-eprik.http): -``` +```bash curl --request POST \ --url https://test.ahdis.ch/eprik-cara/camel/cara/UPIProxy/services/PIXPDQV3ManagerService \ --header 'content-type: application/soap+xml;charset=UTF-8' \ @@ -40,7 +40,7 @@ EPRIK offers an endpoint for unauthenticated transport receiver and sender accor with netcat the above message can be directly sent to eprik: -``` +```bash nc -w1 -v 34.65.166.228 8080 < ./docs/requests/iti-47-atna-raw.txt ``` @@ -55,7 +55,7 @@ Authenticate with your Identity Provider on the top right. If you are authentica reference IdP Token with [HTTP header](requests/sts-idp-httpheader-eprik.http): -``` +```bash curl --request POST \ --url https://test.ahdis.ch/eprik-cara/camel/cara/STS/services/SecurityTokenService \ --header 'content-type: application/soap+xml;charset=UTF-8' \