Read the latest critical information record for a patient
A HelseId token is required to authorize the user.
Curl example: Read latest AllergyIntolerance for a patient
curl --location --request GET 'https://test1.critical-information.hit.nhn.no/api/critical-information/v1/AllergyIntolerance/ecdc45cf-0e25-4c90-b3f0-cbc1f0d83fc2' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiI......<HelseId token>' \
--header 'Content-Type: application/fhir+json; charset=UTF-8' \
--header 'Accept: application/fhir+json' \
--header 'nhn-user-role: %7B%0A++++%22system%22%3A+%22urn%3Aoid%3A2.16.578.1.12.4.1.1.9060%22%2C%0A++++%22code%22%3A+%22LE%22%0A%7D' \
--header 'nhn-access-basis: SAMTYKKE' \
--header 'nhn-source-system: My system name' \
--header 'nhn-patient-nin: 10086055555'