eHealth Infrastructure
2.6.0 - Release 13

Publish Box goes here

Resource Profile: ehealth-practitioner - Examples

No examples are currently available for the profile.

StructureDefinition: ehealth-practitioner - Operation examples

GET [base]/Practitioner?identifier=urn%3Aoid%3A1.2.208.176.1.2%7Cfff868bf-8b8c-4083-b1aa-a0dd3831a1c8

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYjkxOWU1NDQtYWNhZi00YTkxLWI4NDAtNDg2MDRjZmM0ZTBhIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip

Response

{
  "resourceType": "Bundle",
  "id": "1687020a-cc72-4d77-94e4-1729c1c3159e",
  "meta": {
    "lastUpdated": "2023-01-06T07:51:50.024+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://organization.cit-organization-1062.local/fhir/Practitioner?_format=json&_pretty=true&identifier=urn%3Aoid%3A1.2.208.176.1.2%7Cfff868bf-8b8c-4083-b1aa-a0dd3831a1c8"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://organization.cit-organization-1062.local/fhir/Practitioner/281",
      "resource": {
        "resourceType": "Practitioner",
        "id": "281",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2023-01-06T07:51:49.762+00:00",
          "source": "#681258ca-5ed3-9b",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:1.2.208.176.1.2",
            "value": "fff868bf-8b8c-4083-b1aa-a0dd3831a1c8"
          }
        ],
        "name": [
          {
            "family": "84c27fac-3ad6-4aed-9394-d8eecaa545c4"
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "https://organization.cit-organization-1062.local/fhir/Practitioner/283",
      "resource": {
        "resourceType": "Practitioner",
        "id": "283",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2023-01-06T07:51:49.940+00:00",
          "source": "#658ef2c5-4610-96",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:1.2.208.176.1.2",
            "value": "fff868bf-8b8c-4083-b1aa-a0dd3831a1c8"
          }
        ],
        "name": [
          {
            "family": "17fa7993-d2cd-4175-8359-35a244dc5a12"
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}

GET [base]/Practitioner/286/_history/2

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYTEyZTE2NTYtYmU1Mi00NjJmLWI2MDUtNjg4NWQ2MDgyZTdmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci53cml0ZSIsIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip

Response

{
  "resourceType": "Practitioner",
  "id": "286",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2023-01-06T07:51:50.622+00:00",
    "source": "#6b822e21-010e-9e",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "37542c0b-69bd-45ed-a7d6-e5413a75bc9f"
    }
  ]
}

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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; 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": "67ab6ae9-fbfc-40a0-8da3-69d20c961c15"
    }
  ]
}

Response

{
  "resourceType": "Practitioner",
  "id": "277",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2023-01-06T07:51:48.931+00:00",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "67ab6ae9-fbfc-40a0-8da3-69d20c961c15"
    }
  ]
}

POST [base]/Practitioner/$validate

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMzg3N2VkMWQtMWJiNC00NDkzLTkxNzktYWQ0ZWNmYzQ2YTg4IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; 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": "d5800c35-0813-4026-aeb6-aacea891edde"
          }
        ]
      }
    }
  ]
}

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/286

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYTEyZTE2NTYtYmU1Mi00NjJmLWI2MDUtNjg4NWQ2MDgyZTdmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci53cml0ZSIsIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8

Body:

{
  "resourceType": "Practitioner",
  "id": "286",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2023-01-06T07:51:50.551+00:00",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "37542c0b-69bd-45ed-a7d6-e5413a75bc9f"
    }
  ]
}

Response

{
  "resourceType": "Practitioner",
  "id": "286",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2023-01-06T07:51:50.622+00:00",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "37542c0b-69bd-45ed-a7d6-e5413a75bc9f"
    }
  ]
}