Examples
Example: Searching for a Patient
The following is an example of a GET request where a list of patients are retrieved based on a search parameter.
Request
GET [baseURL]/Patient/_search?given=test
Body
Bundle |
id : e0a51662-2a75-40fa-899f-87eab54056ba |
meta |
lastUpdated : 2023-03-06T10:33:13.848+01:00 |
type : searchset |
total : 1 |
link |
relation : self |
url : <host>/fhir/Patient/?family=john |
entry |
fullUrl : <host>/fhir/Patient/470 |
resource |
id : 470 |
meta |
profile : https://fhir.cambio.se/StructureDefinition/PatientLiteSe |
identifier |
use : official |
system : urn:oid:1.2.752.129.2.1.3.1 |
value : 195503071770 |
name |
family : john |
given : Anders |
gender : male |
birthDate : 1955-03-07 |
deceased : False |