Read all the latest records for a given Conditions-type, e.g. CriticalMedicalCondition, Infection, IntubationProblem, OtherProblemWithAnesthesia, TransplantsAndOtherForeignBodies, for a patient.

A HelseId token is required to authorize the user.

Curl example: Read all the latest Conditions records of type Infection for a patient

curl --location --request GET 'https://test1.critical-information.hit.nhn.no/api/critical-information/v1/Conditions?criticalInfoType=Infection' \
--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: 45920040881'

Response example

{
  "resourceType" : "Bundle",
  "type" : "searchset",
  "entry" : [ {
    "resource" : {
      "resourceType" : "Condition",
      "id" : "01c97840-f87e-416c-ac71-d1f8a2af3556",
      "meta" : {
        "versionId" : "1",
        "lastUpdated" : "2025-01-31T14:31:02.853+00:00",
        "profile" : [ "http://nhn.no/kj/fhir/StructureDefinition/KjConditionInfection" ]
      },
      "contained" : [ {
        "resourceType" : "PractitionerRole",
        "id" : "recorderRef",
        "practitioner" : {
          "identifier" : {
            "system" : "urn:oid:2.16.578.1.12.4.1.4.4",
            "value" : "222200063"
          },
          "display" : "Lillehagen, Rolf Fos"
        },
        "organization" : {
          "identifier" : {
            "system" : "urn:oid:2.16.578.1.12.4.1.4.101",
            "value" : "993187178"
          },
          "display" : "Legevakta i Trondheim"
        },
        "code" : [ {
          "coding" : [ {
            "system" : "http://nhn.no/kj/fhir/CodeSystem/CategoriesOfHealthProfessionals",
            "code" : "LE",
            "display" : "Lege"
          } ]
        } ]
      } ],
      "extension" : [ {
        "url" : "http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation",
        "valueCoding" : {
          "system" : "http://nhn.no/kj/fhir/CodeSystem/SourceOfInformation",
          "code" : "2",
          "display" : "Observert av registrerende helsepersonell"
        }
      } ],
      "clinicalStatus" : {
        "coding" : [ {
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active",
          "display" : "Active"
        } ]
      },
      "verificationStatus" : {
        "coding" : [ {
          "system" : "http://terminology.hl7.org/CodeSystem/condition-ver-status",
          "code" : "confirmed",
          "display" : "Confirmed"
        } ]
      },
      "category" : [ {
        "coding" : [ {
          "system" : "http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation",
          "code" : "10",
          "display" : "Smitte"
        } ]
      } ],
      "code" : {
        "coding" : [ {
          "extension" : [ {
            "url" : "http://nhn.no/kj/fhir/StructureDefinition/UrlInfectionGuide",
            "valueReference" : {
              "reference" : "https://www.fhi.no/nettpub/smittevernveilederen/"
            }
          }, {
            "url" : "http://nhn.no/kj/fhir/StructureDefinition/CodeInfoText",
            "valueReference" : {
              "reference" : "Smittsomme sykdommer hvor det er fare for at pasienten blir feilbehandlet eller feildiagnostisert om infeksjon er ukjent."
            }
          } ],
          "system" : "http://nhn.no/kj/fhir/CodeSystem/TypeOfInfection",
          "code" : "5",
          "display" : "Annen smittsom sykdom med konsekvens for behandling av pasienten"
        } ]
      },
      "subject" : {
        "reference" : "Patient/45920040881"
      },
      "onsetAge" : {
        "value" : 25,
        "system" : "http://unitsofmeasure.org",
        "code" : "a"
      },
      "recordedDate" : "2000-12-06T02:00:00+02:00",
      "recorder" : {
        "reference" : "#recorderRef"
      }
    }
  }, {
    "resource" : {
      "resourceType" : "Condition",
      "id" : "f6d0f9c4-7a60-494d-a34d-d03b0f1448f0",
      "meta" : {
        "versionId" : "1",
        "lastUpdated" : "2025-01-31T14:31:02.887+00:00",
        "profile" : [ "http://nhn.no/kj/fhir/StructureDefinition/KjConditionInfection" ]
      },
      "contained" : [ {
        "resourceType" : "PractitionerRole",
        "id" : "recorderRef",
        "practitioner" : {
          "identifier" : {
            "system" : "urn:oid:2.16.578.1.12.4.1.4.4",
            "value" : "222200063"
          },
          "display" : "Lillehagen, Rolf Fos"
        },
        "organization" : {
          "identifier" : {
            "system" : "urn:oid:2.16.578.1.12.4.1.4.101",
            "value" : "993187178"
          },
          "display" : "Legevakta i Trondheim"
        },
        "code" : [ {
          "coding" : [ {
            "system" : "http://nhn.no/kj/fhir/CodeSystem/CategoriesOfHealthProfessionals",
            "code" : "LE",
            "display" : "Lege"
          } ]
        } ]
      } ],
      "extension" : [ {
        "url" : "http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation",
        "valueCoding" : {
          "system" : "http://nhn.no/kj/fhir/CodeSystem/SourceOfInformation",
          "code" : "2",
          "display" : "Observert av registrerende helsepersonell"
        }
      } ],
      "clinicalStatus" : {
        "coding" : [ {
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active",
          "display" : "Active"
        } ]
      },
      "verificationStatus" : {
        "coding" : [ {
          "system" : "http://terminology.hl7.org/CodeSystem/condition-ver-status",
          "code" : "confirmed",
          "display" : "Confirmed"
        } ]
      },
      "category" : [ {
        "coding" : [ {
          "system" : "http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation",
          "code" : "10",
          "display" : "Smitte"
        } ]
      } ],
      "code" : {
        "coding" : [ {
          "extension" : [ {
            "url" : "http://nhn.no/kj/fhir/StructureDefinition/UrlInfectionGuide",
            "valueReference" : {
              "reference" : "https://www.fhi.no/nettpub/smittevernveilederen/"
            }
          }, {
            "url" : "http://nhn.no/kj/fhir/StructureDefinition/CodeInfoText",
            "valueReference" : {
              "reference" : "Smittsomme sykdommer hvor det er fare for at pasienten blir feilbehandlet eller feildiagnostisert om infeksjon er ukjent."
            }
          } ],
          "system" : "http://nhn.no/kj/fhir/CodeSystem/TypeOfInfection",
          "code" : "5",
          "display" : "Annen smittsom sykdom med konsekvens for behandling av pasienten"
        } ]
      },
      "subject" : {
        "reference" : "Patient/45920040881"
      },
      "onsetAge" : {
        "value" : 25,
        "system" : "http://unitsofmeasure.org",
        "code" : "a"
      },
      "recordedDate" : "2000-12-06T02:00:00+02:00",
      "recorder" : {
        "reference" : "#recorderRef"
      }
    }
  } ]
}