Skip to content

Commit

Permalink
PDQm: fix the name search parameter
Browse files Browse the repository at this point in the history
Fixes #212
  • Loading branch information
qligier committed Oct 10, 2024
1 parent 4fcd7bd commit 177c523
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions input/fsh/pdqm.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ Usage: #inline
Instance: PDQm-QueryResponse
InstanceOf: ChPDQmQueryPatientResourceResponseMessage
Title: "PDQm Query response message" // need to be put it ig.xml
Description: "CH PDQm Query response message example result for Franz Muster, 27.1.1955" // need to be put it ig.xml
Description: "CH PDQm Query response message example result for Franz Muster, 27.1.1995" // need to be put it ig.xml
Usage: #example
* type = #searchset
* total = 1
* link.relation = "self"
* link.url = "http://example.com/fhir/Patient?birthdate=1995-01-27&name=Muster"
* link.url = "http://example.com/fhir/Patient?family=Muster&birthdate=1995-01-27"
* entry.fullUrl = "http://example.com/fhir/Patient/FranzMuster"
* entry.resource = FranzMuster
* entry.search.mode = #match
Expand All @@ -169,7 +169,7 @@ Usage: #example
* type = #searchset
* total = 0
* link.relation = "self"
* link.url = "http://example.com/fhir/Patient?name=M"
* link.url = "http://example.com/fhir/Patient?family=M"
* entry.fullUrl = "urn:uuid:13c56fd3-f2f1-4174-ae56-c91f027ffddf"
* entry.resource = PDQmResponseMoreAttributesRequested
* entry.search.mode = #outcome
1 change: 1 addition & 0 deletions input/pagecontent/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* mCSD: set the system for LDAP DNs and add a slice to identifiers [#209](https://github.com/ehealthsuisse/ch-epr-fhir/issues/209)
* mCSD: add the community as example [#200](https://github.com/ehealthsuisse/ch-epr-fhir/issues/200)
* MHD: make the DocumentReference title mandatory [#219](https://github.com/ehealthsuisse/ch-epr-fhir/issues/219)
* PDQm: fix the name search parameter [#212](https://github.com/ehealthsuisse/ch-epr-fhir/issues/212)

### DSTU4 Informative Ballot 2024 - Resolved Issues
* Relax Document Reference masterIdentifier requirements [#199](https://github.com/ehealthsuisse/ch-epr-fhir/issues/199)
Expand Down
8 changes: 4 additions & 4 deletions input/pagecontent/iti-78.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ The _Patient Demographics Supplier_ SHALL reference the _PDQm Patient_ profile o

##### Message Example

Query for a patient with name Muster and birthdate 1995-01-27.
Query for a patient with family name Muster and birthdate 1995-01-27.

```http
GET [base]/Patient?name=Muster&birthdate=1995-01-27
GET [base]/Patient?family=Muster&birthdate=1995-01-27
Accept: application/fhir+json
traceparent: 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-00
```
[Example response to above query](Bundle-PDQm-QueryResponse.json.html)

Query for a patient with name M returning too many results:
Query for a patient with family name M returning too many results:

```http
GET [base]/Patient?name=M
GET [base]/Patient?family=M
Accept: application/fhir+json
traceparent: 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-00
```
Expand Down

0 comments on commit 177c523

Please sign in to comment.