GET [base]/Practitioner?address-use=work&name=6a4d300b-1807-47b5-8d6c-b0af876a8464
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNTczYTA1YTEtMGVhNC00NDQwLTk0MzgtNWQ5ZDkwYjJhZTQ4IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "6af9a02b-96a3-4fe6-84b9-ddf6f749b4ca",
"meta": {
"lastUpdated": "2020-10-22T13:58:05.179+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://organization.cit-organization-740.local/fhir/Practitioner?_format=json&_pretty=true&address-use=work&name=6a4d300b-1807-47b5-8d6c-b0af876a8464"
}
],
"entry": [
{
"fullUrl": "https://organization.cit-organization-740.local/fhir/Practitioner/370",
"resource": {
"resourceType": "Practitioner",
"id": "370",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-22T13:58:04.626+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "6a4d300b-1807-47b5-8d6c-b0af876a8464"
}
],
"address": [
{
"use": "work",
"text": "5fa6c460-915e-4d6b-9f39-4a01221c8fe9",
"city": "76a6bd3a-fbf0-4b53-bfc4-bf2d862faf06",
"state": "1362af4a-1a23-48f0-9812-993730156e52",
"postalCode": "a91ff416-e76e-46b5-8c66-14dcde99ac78",
"country": "dc241da5-d465-4ea9-8df1-b4ed9550f3f7"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://organization.cit-organization-740.local/fhir/Practitioner/369",
"resource": {
"resourceType": "Practitioner",
"id": "369",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-22T13:58:04.393+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "6a4d300b-1807-47b5-8d6c-b0af876a8464"
}
],
"address": [
{
"use": "work",
"text": "5fa6c460-915e-4d6b-9f39-4a01221c8fe9",
"city": "76a6bd3a-fbf0-4b53-bfc4-bf2d862faf06",
"state": "1362af4a-1a23-48f0-9812-993730156e52",
"postalCode": "a91ff416-e76e-46b5-8c66-14dcde99ac78",
"country": "dc241da5-d465-4ea9-8df1-b4ed9550f3f7"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Practitioner/326/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODVkZTdjODAtZjg0OS00ODg3LWJmN2QtMTU2NTgzYjUxM2ZmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci53cml0ZSIsIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Practitioner",
"id": "326",
"meta": {
"versionId": "2",
"lastUpdated": "2020-10-22T13:57:54.891+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "4d11139a-d9af-49e5-83df-c68c290f5eca"
}
]
}
POST [base]/Practitioner
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Practitioner",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "c37511a8-a3c1-4cbf-aa42-cd413203204e"
}
]
}
Response
{
"resourceType": "Practitioner",
"id": "317",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-22T13:57:53.171+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "c37511a8-a3c1-4cbf-aa42-cd413203204e"
}
]
}
POST [base]/Practitioner/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMjgyMjlkYjUtZWRkOS00YTA5LTlmYmUtMzdmZGU1M2QxMTVhIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "Practitioner",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "ca70e54b-1da2-447b-bd4f-8b29d185d361"
}
]
}
}
]
}
Response
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}
PUT [base]/Practitioner/326
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODVkZTdjODAtZjg0OS00ODg3LWJmN2QtMTU2NTgzYjUxM2ZmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci53cml0ZSIsIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.0.2 (FHIR Client; FHIR 3.0.2/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Practitioner",
"id": "326",
"meta": {
"versionId": "1",
"lastUpdated": "2020-10-22T13:57:54.796+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "4d11139a-d9af-49e5-83df-c68c290f5eca"
}
]
}
Response
{
"resourceType": "Practitioner",
"id": "326",
"meta": {
"versionId": "2",
"lastUpdated": "2020-10-22T13:57:54.891+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
]
},
"name": [
{
"family": "4d11139a-d9af-49e5-83df-c68c290f5eca"
}
]
}