Technical instructions

Technical instructions

Authorization

The PHR platform utilizes the OAuth 2.0 protocol for authorization.

The authorization profiles and models used on the platform are described in the PHR Authorization Guide. The guide contains references to the appropriate OAuth 2.0 specifications.

HL7 FHIR

Kanta PHR and the data it contains are based on the HL7 FHIR standard. Use of the HL7 FHIR standard in Kanta PHR is described in the document titled Implementation Guide. This guide is designed for specifiers and developers who need information about the FHIR resources, elements and extensions used in Kanta PHR.

The Kanta PHR platform only supports the JSON format, which means that all resources must be stored on the platform in the JSON format.

Declaring reference to and conformance with a profile confirmed as part of the Kanta PHR national data content is mandatory. The server validates the content of the resource being stored against the specified profile, and rejects any resource whose content does not conform to the profile.

Reference to the profile is declared by including the URL for the profile in the resource metadata:

         {
"resourceType": "Patient",
…
"meta": {
      "profile": [
                “http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3”
      ]
},
…
 

Last updated 19.09.2018