Skip to content

Commit

Permalink
Add example to PID-5 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
qligier committed Nov 9, 2023
1 parent 567e0fe commit 4d1b73a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<Slot name="sourcePatientInfo">
<ValueList>
<Value>PID-5|GASSMANN-IMHOLZ^CYRIL RENE FRANCOIS</Value>
</ValueList>
</Slot>
```
6 changes: 3 additions & 3 deletions docs/usecases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand All @@ -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
```

Expand All @@ -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' \
Expand Down

0 comments on commit 4d1b73a

Please sign in to comment.