Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Instead kjernejournal require the ticket for the patient from the HelseIndikator service to be put in the “X-kj-ticket field” in the HTTP header.

Reason or consent from patient to access patient information

Reason/consent values

  • "HPMOTTATTSAMTYKKE" -Consent received from the patient

  • "HPAKUTT" -Reason is emergency

  • "HPUNNTAK" -Consent not required. If specialist or the patients General Practitioner

KJ-SAMTYKKE-BRUK

A consent is required from the patient to access the patients alert information. This is normally set in the request to HelseIndikator service and is part of the ticket. The header KJ-SAMTYKKE-BRUK can be used to override the consent in the ticket.

KJ-SAMTYKKE-SPERRET-KRITISKINFO

If the patient has restricted access to the alert information module, a reason or consent from the patient is required. The header KJ-SAMTYKKE-SPERRET-KRITISKINFO is used to set the reason.

HTTP Header parameters

The header section of the request requires the following parameters to be set:

Parameter

Description

Value

Example

Authorization

HelseId JWT

Bearer <HelseId.bruker.JWT>

Bearer eyJraWQiOiIxMzM3IiwiYWxnIjoiUlMyNT...

X-kj-ticket

Ticket from the HelseIndikator service.

Contains the Patient national identity number

HGhktf877MpMI…

KJ-SAMTYKKE-BRUK

Reason or consent from patient to access alter information. This header overrides the consent in the ticket.

"HPMOTTATTSAMTYKKE", "HPAKUTT", "HPUNNTAK"

KJ-SAMTYKKE-SPERRET-KRITISKINFO

Reason or consent from patient to access a blocked module (Alert information)

"HPMOTTATTSAMTYKKE", "HPAKUTT", "HPUNNTAK"

X-EPJ-System

Which EHR the request originated and which version of the system was used

ACME EHR system versjon 42.01

Accept

Parameter for selecting response in json or xml format

application/<format>

application/json or

application/xml

Content-Type

Must be set for POST, PUT

application/fhir+json; charset=UTF-8

Example

Code Block
GET  https://api.st2.kjernejournal-test.no:8000/v1/fhir/Patient/$everything

Accept-Charset: utf-8
Accept: application/fhir+json;q=1.0
Authorization: Bearer eyJraWQiOiIxMzM3IiwiYWxnIjo...
X-EPJ-System: ACME EPJ system versjon 42.01
X-KJ-TICKET: HGhktf8...