Examples
Example: Searching for Healthcare Services Based on Location
The following is an example of a SEARCH request in which the search is for healthcare services available for a specific location.
Search Query
Search [baseURL]/HealthcareService/[location]
Response
| Bundle |
| id : 83e8164f-2eb4-49b9-93a6-f030399eb88f |
| meta |
| lastUpdated : 2022-02-11T07:55:46.62+01:00 |
| type : searchset |
| total : 3 |
| link |
| relation : self |
| url : http://172.20.177.186/fhir/HealthcareService?_profile=https%3A%2F%2Ffhir.cambio.se%2FStructureDefinition%2FHealthcareServiceLiteSe%2Fv1&location.identifier=http%3A%2F%2Fcambio.se%2FHSAId%7CSE162321000024-ABCD |
| entry |
| fullUrl : http://172.20.177.186/fhir/HealthcareService/657 |
| resource |
| id : 657 |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/HealthcareServiceLiteSe/v1 |
| name : KOL |
| entry |
| fullUrl : http://172.20.177.186/fhir/HealthcareService/747 |
| resource |
| id : 747 |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/HealthcareServiceLiteSe/v1 |
| name : Läkarbesök |
| entry |
| fullUrl : http://172.20.177.186/fhir/HealthcareService/746 |
| resource |
| id : 746 |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/HealthcareServiceLiteSe/v1 |
| name : Videomöte |