KjConsentBehandlingsavklaring profile
The KjConsentBehandlingsavklaring profile is for registration treatment clarification for do not resuscitate (HLR minus).
NOTE!
- This profile is under development and is not yet released to production.
- This profile replace the
KJConsentAvgrensningAvLivsforlengendeBehandlingprofile (registration of the consent the patient has given for limitation of life-prolonging treatment). - In a transitional phase it will not be allowed for a patient to have both
KJConsentBehandlingsavklaringandKJConsentAvgrensningAvLivsforlengendeBehandling. - Any existing
KJConsentAvgrensningAvLivsforlengendeBehandlingmust therefore be inactivated (or expire) before a newKJConsentBehandlingsavklaringcan be registered.
Profile elements
Note that for all FHIR elements which has coding, e.g. code.coding and policyRule.coding, we prefer coding.display to always be set for completeness sake as well as coding.code and coding.system.
https://simplifier.net/kjernejournalr4/kjconsentbehandlingsavklaring
| Element | Norwegian Text | Description | Comment |
|---|---|---|---|
| id | Record id. | Id + meta.versionId is the unique identifier. | |
| meta.versionId | Record version id. | ||
| status | See below | Used for Status, see below. | Values can be: active | inactive | entered-in-error |
| category.coding.code | 11=HLR-minus og behandlingsavklaringer | 11=HLR-minus og behandlingsavklaringer | Type of critical information. Cannot be changed on update. |
| policyRule.coding | Consent policy code. | The code must always be '2', see example below. Cannot be changed on update. | |
| scope.coding | Which area this resource covers treatment - Consent to undergo a specific treatment. |
The code must always be 'treatment', see example below. Cannot be changed on update. | |
| patient | Pasient | Who the consent applies to. | |
| dateTime | Opprettet dato | When this Consent was issued / created. | |
| performer | Hvem som gjorde første registrering. | Who recorded this consent first. Must always reference the original recorder of the resource. | Use PractitionerRole contained reference. |
| provision.code | Kode for varighet av behandlingsavklaring, påkrevd. | Code for duration for this treament clarification, required. | Valid codes for 7655 on finnkode.no. If 'B' (Begrenset) then extension.KjValidUntil must be set. |
| extension.behandlingsavklaring-hlr-minus-reason | Faglig begrunnelse for HLR‑minus, påkrevd. | Clinical reason for HLR minus, required. | Max 80, min 2 characters, inclusive lineshifts. |
| extension.behandlingsavklaring-treatment-goal | Behandlingsmål | Treatment goal. | Valid codes for 7653 on finnkode.no. |
| extension.behandlingsavklaring-treatment-goal-text | Behandlingsmål utfyllende, valigfri | Treatment goal description, not required. | Max 700, min 2 characters, inclusive lineshifts. |
| extension.behandlingsavklaring-decision-basis | Beslutningsgrunnlag. En, flere, eller alle koder tillatt. | Basis for decision-making. One, more, or all codes allowed. | Valid codes for 7654 on finnkode.no. |
| extension.behandlingsavklaring-info-given-patient | Om pasienten er informert, påkrevd. | Was the patient informed? Required. | If behandlingsavklaring-info-given-patient = false then reason must be set in behandlingsavklaring-info-text-patient |
| extension.behandlingsavklaring-info-text-patient | Fritekst begrunnelse dersom pasient ikke er informert. Påkrevd hvis ikke, ellers valgfri. | Free text reason if the patient is not informed. Required if not, or else optional. | Max 80, min 2 characters, inclusive lineshifts. |
| extension.behandlingsavklaring-info-given-relatives | Om pårørende er informert, påkrevd. | Was the relatives informed? Required. | If behandlingsavklaring-info-given-relatives = false then reason must be set in behandlingsavklaring-info-text-relatives |
| extension.behandlingsavklaring-info-text-relatives | Fritekst begrunnelse dersom pårørende ikke er informert. Påkrevd hvis ikke, ellers valgfri. | Free text reason if the relatives are not informed. Required if not, or else optional. | Max 80, min 2 characters, inclusive lineshifts. |
| extension.behandlingsavklaring-has-other-plans | Om pasient har andre planer, valgfri. | If patient has other careplans, optional? | |
| extension.behandlingsavklaring-other-plan-text | Kommentar til andre planer. Ikke tillatt hvis pasient ikke har andre planer. | Note regarding other plans. Not allowed if patient has no other careplan. | Max 80, min 2 characters, inclusive lineshifts. |
| extension.updater | Hvem som gjorde endring. | Who changed this version of the resource. | Use PractitionerRole contained reference. |
| extension.updatedDateTime | Tidspunkt endring. | When this version of the resource was changed. | |
| extension.KjValidUntil | Gyldig til. Må være etter opprettet dato (Consent.dateTime). | Valid until date. Must be after created date (Consent.dateTime). | Required for Consent.provision code 'B' (Begrenset). For Consent.provision code 'V' (Varig) it cannot be present. |
| extension.KjText | Kommentar, valgfri. | Note, optional. | Max 700, min 2 characters, inclusive lineshifts. |
Status
The status which the critical information record is in.
Note that when reading deleted resources clinical data is filtered away for privacy reasons.
| Status | Norwegian Text | Element Values | Comment |
|---|---|---|---|
| Active | Aktiv | status=active | Use when the treatment clarification is to be followed and enforced. |
| Inactive | Inaktiv | status=inactive | Use when this consent for treatment clarification is terminated or replaced. |
| Deleted | Slettet | status=entered-in-error | When an erroneous registration. Use the REST delete endpoint. |
Coding systems
Consent (Behandlingsavklaring) can be registered on the following coding systems.
| Element | FHIR coding system url | Code | Display | Coding system in the Coding System Service |
|---|---|---|---|---|
| category.coding.code | http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation | 11 | HLR-minus og behandlingsavklaringer | KJ_KRITISK_INFO_UNDERKATEGORI |
| scope.coding | http://terminology.hl7.org/CodeSystem/consentscope | treatment | Treatment | |
| policyRule.coding | http://nhn.no/kj/fhir/CodeSystem/ConsentPolicies | 2 | HLR-minus og behandlingsavklaringer | |
| provision.code | http://nhn.no/kj/fhir/CodeSystem/KjVarighetBehandlingsavklaring | KJ_VARIGHET_BEHANDLINGSAVKLARING | ||
| extension.behandlingsavklaring-treatment-goal | http://nhn.no/kj/fhir/CodeSystem/KjBehandlingsavklaring | KJ_BEHANDLINGSAVKLARING | ||
| extension.behandlingsavklaring-decision-basis | http://nhn.no/kj/fhir/CodeSystem/KjBeslutningsgrunnlag | KJ_BESLUTNINGSGRUNNLAG |
Example
Consent
{
"resourceType": "Consent",
"meta": {
"profile": [
"http://nhn.no/kj/fhir/StructureDefinition/KjConsentBehandlingsavklaring"
]
},
"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/behandlingsavklaring-hlr-minus-reason",
"valueString": "For stor spredning av kreft."
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-treatment-goal",
"valueCodeableConcept": {
"coding": [
{
"system": "http://nhn.no/kj/fhir/CodeSystem/KjBehandlingsavklaring",
"code": "B3",
"display": "Fokus på livskvalitet og lindring når livet går mot slutten"
}
]
}
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-treatment-goal-text",
"valueString": "Antibiotika kan gis på lindrende indikasjon"
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-decision-basis",
"valueCodeableConcept": {
"coding": [
{
"system": "http://nhn.no/kj/fhir/CodeSystem/KjBeslutningsgrunnlag",
"code": "KB",
"display": "Klinisk beslutning"
}
]
}
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-info-given-patient",
"valueBoolean": false
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-info-text-patient",
"valueString": "Alvorlig kognitiv svikt."
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-info-given-relatives",
"valueBoolean": false
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-info-text-relatives",
"valueString": "Har ikke nær familie."
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-has-other-plans",
"valueBoolean": true
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/behandlingsavklaring-other-plan-text",
"valueString": "Palliativ plan i lokal journal."
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/KjText",
"valueString": "En kommentar"
},
{
"url": "http://nhn.no/kj/fhir/StructureDefinition/KjValidUntil",
"valueDateTime": "2027-02-01T00:00:00+00:00"
}
],
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "treatment",
"display": "Treatment"
}
]
},
"category": [
{
"coding": [
{
"system": "http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation",
"code": "11",
"display": "HLR-minus og behandlingsavklaringer"
}
]
}
],
"patient": {
"reference": "Patient/04098605660"
},
"dateTime": "2026-05-04T09:58:59+00:00",
"performer": [
{
"reference": "#recorderRef"
}
],
"policyRule": {
"coding": [
{
"system": "http://nhn.no/kj/fhir/CodeSystem/ConsentPolicies",
"code": "2",
"display": "HLR-minus og behandlingsavklaringer"
}
]
},
"provision": {
"code": [
{
"coding": [
{
"system": "http://nhn.no/kj/fhir/CodeSystem/KjVarighetBehandlingsavklaring",
"code": "B",
"display": "Begrenset"
}
]
}
]
}
}