From 177c5231efdb0406c2241f39d4442c43c224b63c Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Wed, 9 Oct 2024 08:10:11 +0200 Subject: [PATCH] PDQm: fix the name search parameter Fixes #212 --- input/fsh/pdqm.fsh | 6 +++--- input/pagecontent/changelog.md | 1 + input/pagecontent/iti-78.md | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/input/fsh/pdqm.fsh b/input/fsh/pdqm.fsh index ad89d6f..6096ed6 100644 --- a/input/fsh/pdqm.fsh +++ b/input/fsh/pdqm.fsh @@ -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 @@ -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 \ No newline at end of file diff --git a/input/pagecontent/changelog.md b/input/pagecontent/changelog.md index 80d9989..7190742 100644 --- a/input/pagecontent/changelog.md +++ b/input/pagecontent/changelog.md @@ -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) diff --git a/input/pagecontent/iti-78.md b/input/pagecontent/iti-78.md index de282ac..238c563 100644 --- a/input/pagecontent/iti-78.md +++ b/input/pagecontent/iti-78.md @@ -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 ```