Search critical information records for a patient

A HelseId token is required to authorize the user.

The only supported search is GET Patient/$everything.

Curl example: Find all the latest critical information records for a patient using GET

curl --location --request GET 'https://test1.critical-information.hit.nhn.no/api/critical-information/v1/Patient/$everything' \
--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'