eHealth Infrastructure
latest - ci-build

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%7Cdb503a3c-a1a8-4679-8d23-908b1fa332b8

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiM2JhYWM5YjMtZWIxYy00YmIzLTgxNGItNTIyOTk3YzYxYWUwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
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": "4dbd4afa-9903-4024-ba90-482231a3d30a",
  "meta": {
    "lastUpdated": "2024-04-26T09:29:03.763+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://organization.cit-organization-1181.local/fhir/Practitioner?_format=json&_pretty=true&identifier=urn%3Aoid%3A1.2.208.176.1.2%7Cdb503a3c-a1a8-4679-8d23-908b1fa332b8"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://organization.cit-organization-1181.local/fhir/Practitioner/411",
      "resource": {
        "resourceType": "Practitioner",
        "id": "411",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2024-04-26T09:29:03.417+00:00",
          "source": "#3d17fbab-c440-4b",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:1.2.208.176.1.2",
            "value": "db503a3c-a1a8-4679-8d23-908b1fa332b8"
          }
        ],
        "name": [
          {
            "family": "ec2e8d1e-c154-4923-b461-4cc87c85a0c0"
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "https://organization.cit-organization-1181.local/fhir/Practitioner/413",
      "resource": {
        "resourceType": "Practitioner",
        "id": "413",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2024-04-26T09:29:03.637+00:00",
          "source": "#41988340-21b4-46",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:1.2.208.176.1.2",
            "value": "db503a3c-a1a8-4679-8d23-908b1fa332b8"
          }
        ],
        "name": [
          {
            "family": "211d6206-37e8-4694-baa4-dbe38e292995"
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}

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

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYjY1M2MzN2QtMjhhYy00Y2E3LWEyOGEtMTM1NTExMTcxMzA3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci53cml0ZSIsIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "416",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2024-04-26T09:29:04.333+00:00",
    "source": "#4955bc1e-2457-45",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "0f115d3e-e10a-467e-a3ef-65a80e7040ed"
    }
  ]
}

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": "eb10eff8-296e-4473-9250-16d74e954b05"
    }
  ]
}

Response

{
  "resourceType": "Practitioner",
  "id": "407",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2024-04-26T09:29:02.678+00:00",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "eb10eff8-296e-4473-9250-16d74e954b05"
    }
  ]
}

POST [base]/Practitioner/$validate

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZmZiYzBkM2YtMjU1OC00MTQ5LWI3MzMtY2NmZjMwOWZkMTU1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "96ea77cc-ff53-4dd0-acbe-49ade4d0f032"
          }
        ]
      }
    }
  ]
}

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

Header

Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYjY1M2MzN2QtMjhhYy00Y2E3LWEyOGEtMTM1NTExMTcxMzA3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByYWN0aXRpb25lci53cml0ZSIsIlByYWN0aXRpb25lci5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "416",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2024-04-26T09:29:04.258+00:00",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "0f115d3e-e10a-467e-a3ef-65a80e7040ed"
    }
  ]
}

Response

{
  "resourceType": "Practitioner",
  "id": "416",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2024-04-26T09:29:04.333+00:00",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
    ]
  },
  "name": [
    {
      "family": "0f115d3e-e10a-467e-a3ef-65a80e7040ed"
    }
  ]
}