Examples
Example: Searching a Registration of Female Patient's Breast development stage by Specifying Required Code and the Patient ID
The following is an example of a GET request in which the search is based on patient ID and SNOMED CT code of Breast development stage.
As a response, the Observations are included in a Bundle resource.
Search query
GET [baseURL]/Observation?patient:identifier=urn:oid:1.2.752.129.2.1.3.1|20081202-2804&date=gt2008-05-01&date=lt2022-07-04&code=https://snomed.info/sct|251811005
Response
| Bundle |
| id : a418f2bc-c8e2-4e69-82e4-e85b7e139a19 |
| meta |
| lastUpdated : 2022-07-04T10:25:38.365+02:00 |
| type : searchset |
| total : 1 |
| link |
| relation : self |
| url : http://pcpal-growthxp.cambio.se:8080/fhir/Observation?code=https%3A%2F%2Fsnomed.info%2Fsct%7C251811005&date=gt2008-05-01&date=lt2022-07-04&patient%3Aidentifier=urn%3Aoid%3A1.2.752.129.2.1.3.1%7C20081202-2804 |
| entry |
| fullUrl : http://pcpal-growthxp.cambio.se:8080/fhir/Observation/cosmic:cps:clinicalparameter.repository.journal.record:95126 |
| resource |
| id : cosmic:cps:clinicalparameter.repository.journal.record:95126 |
| meta |
| id : cosmic:cps:clinicalparameter.repository.journal.record:95126 |
| profile : https://fhir.cambio.se/StructureDefinition/ObservationBreastFemaleLite/v1 |
| contained |
| id : 1 |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/PractitionerRoleLiteSe/v1 |
| practitioner |
| reference : Practitioner/523130 |
| type : Practitioner |
| organization |
| reference : Organization/1077 |
| type : Organization |
| identifier |
| system : https://fhir.cambio.se/Observation |
| value : cosmic:cps:clinicalparameter.repository.journal.record:95126 |
| status : preliminary |
| code |
| coding |
| system : http://snomed.info/sct |
| code : 251811005 |
| display : Tanner girls breast stage |
| subject |
| reference : Patient/2107 |
| type : Patient |
| encounter |
| reference : Encounter/70463 |
| type : Encounter |
| effective : 2022-07-04T03:40:00+02:00 |
| performer |
| reference : #1 |
| type : PractitionerRole |
| value |
| coding |
| system : http://snomed.info/sct |
| code : 251812003 |
| display : Breasts Tanner Stage 1 |