eHealth Infrastructure
3.2.0 - release

This page is part of the FUT Infrastructure (v3.2.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

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%7Ca784075b-9bd7-4ac5-927f-5ddd3872afc7

Header

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

Response

{
  "resourceType": "Bundle",
  "id": "d9e3f5ae-42b5-443a-82e9-91ba6273759a",
  "meta": {
    "lastUpdated": "2024-07-29T09:18:57.123+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://organization.cit-organization-1209.local/fhir/Practitioner?_format=json&_pretty=true&identifier=urn%3Aoid%3A1.2.208.176.1.2%7Ca784075b-9bd7-4ac5-927f-5ddd3872afc7"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://organization.cit-organization-1209.local/fhir/Practitioner/423",
      "resource": {
        "resourceType": "Practitioner",
        "id": "423",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2024-07-29T09:18:56.799+00:00",
          "source": "#a81eecb5-7d4a-43",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:1.2.208.176.1.2",
            "value": "a784075b-9bd7-4ac5-927f-5ddd3872afc7"
          }
        ],
        "name": [
          {
            "family": "d1088a2b-cfc5-4a7f-af92-147197346e33"
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "https://organization.cit-organization-1209.local/fhir/Practitioner/425",
      "resource": {
        "resourceType": "Practitioner",
        "id": "425",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2024-07-29T09:18:57.043+00:00",
          "source": "#fc4f1426-1bde-98",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:1.2.208.176.1.2",
            "value": "a784075b-9bd7-4ac5-927f-5ddd3872afc7"
          }
        ],
        "name": [
          {
            "family": "e1ef9add-30c8-48d4-bbaa-577a46e5a27a"
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}

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

Header

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

Response

{
  "resourceType": "Practitioner",
  "id": "428",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2024-07-29T09:18:57.691+00:00",
    "source": "#3e3d53d2-bab8-4f",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "4c7ae386-47bd-4db8-b342-288764e91040"
    }
  ]
}

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.10.5 (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": "ad1eeeaf-6fd1-4f1e-93e2-099f321ef0ff"
    }
  ]
}

Response

{
  "resourceType": "Practitioner",
  "id": "419",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2024-07-29T09:18:56.055+00:00",
    "source": "#7b3c0cf0-a970-43e1-bd31-c10c47567c55",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "ad1eeeaf-6fd1-4f1e-93e2-099f321ef0ff"
    }
  ]
}

POST [base]/Practitioner/$validate

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMGU3ZTU0ZDItNGFlNi00NTFlLWIyZTMtYWVkODAwYWI3YTg1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.10.5 (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": "f4b13522-41c8-495b-9c63-3ea86861009d"
          }
        ]
      }
    }
  ]
}

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>No issues detected during validation</td></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td>No issues detected during validation</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/428

Header

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

Body:

{
  "resourceType": "Practitioner",
  "id": "428",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2024-07-29T09:18:57.596+00:00",
    "source": "#df676b68-0f9b-41ef-901f-ec797ab3392b",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "4c7ae386-47bd-4db8-b342-288764e91040"
    }
  ]
}

Response

{
  "resourceType": "Practitioner",
  "id": "428",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2024-07-29T09:18:57.691+00:00",
    "source": "#3e3d53d2-bab8-4fd6-96e9-9efc9c83fb7b",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "4c7ae386-47bd-4db8-b342-288764e91040"
    }
  ]
}