/
Upload alert information for a patient

Upload alert information for a patient

Upload alert info for a patient.

Request

Kjernejournal use the Norwegian national identification number (NIN) to specify the patient. The NIN is a person’s sensitive data and should not be part of any URL since URLs are typically logged.

Instead kjernejournal require the ticket for the patient from the HelseIndikator service to be put in the HTTP header. See HTTP Header .

URL /v1/fhir/Patient

Post <host>/v1/fhir/<FHIR resource>

POST https://api.st3.kjernejournal-test.no:8000/v1/fhir/AllergyIntolerance

Example

{ "resourceType": "AllergyIntolerance", "meta": { "lastUpdated": "2021-03-21T12:39:43.743+01:00", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjAllergyIntolerance" ] }, "contained": [ { "resourceType": "PractitionerRole", "id": "recorderRef", "practitioner": { "identifier": { "system": "urn:oid:2.16.578.1.12.4.1.4.4", "value": "222200068" }, "display": "Ben Psa Reddik" }, "organization": { "identifier": { "system": "urn:oid:2.16.578.1.12.4.1.2.101", "value": "100100223" }, "display": "Andeby Legevakt" }, "code": [ { "coding": [ { "system": "http://nhn.no/kj/fhir/CodeSystem/CategoriesOfHealthProfessionals", "code": "LE" } ] } ] } ], "extension": [ { "url": "http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation", "valueCoding": { "system": "http://nhn.no/kj/fhir/CodeSystem/SourceOfInformation", "code": "1" } } ], "clinicalStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code": "active", "display": "Active" } ] }, "verificationStatus": { "extension": [ { "url": "http://nhn.no/kj/fhir/StructureDefinition/KjPresumed", "valueBoolean": true } ], "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" } ] }, "category": [ "medication" ], "criticality": "high", "code": { "coding": [ { "system": "http://nhn.no/kj/fhir/CodeSystem/DrugTradeName", "code": "ID_4A56CC12-0B42-4C5D-B422-DF5760F1CED7" } ] }, "patient": { "reference": "patient/13116900216" }, "onsetAge": { "value": 3, "unit": "years", "system": "http://unitsofmeasure.org", "code": "a" }, "recordedDate": "2021-03-02T00:00:00+01:00", "recorder": { "reference": "#recorderRef" }, "reaction": [ { "manifestation": [ { "coding": [ { "system": "http://nhn.no/kj/fhir/CodeSystem/TypeOfReaction", "code": "14", "display": "Nyresvikt/redusert nyrefunksjon" } ] } ] } ] }

Response

If the upload is successful, the resource id is returned.

Example

https://ttr1kj-cmplb-3.test.ld.nhn.no:7000/v1/fhir/AllergyIntolerance/fd687449-d569-4eab-b5d7-e1339addb517/_history/1

 

Related content

Authentication and authorization
Authentication and authorization
More like this
Flow for EHR to retrieve alert information for a patient from kjernejournal
Flow for EHR to retrieve alert information for a patient from kjernejournal
More like this
Integration Guide: Kjernejournal REST API using HelseID as authenticator
Integration Guide: Kjernejournal REST API using HelseID as authenticator
More like this
KjAllergyIntolerance profile
KjAllergyIntolerance profile
Read with this
Change or update the alert information for a patient
Change or update the alert information for a patient
More like this

© Norsk helsenett - kjernejournal