{ "description": null, "_filename": "KjConsent.StructureDefinition.json", "package_name": "nhn.fhir.no.kjernejournal", "date": "2020-03-30T05:57:55.7803858+00:00", "derivation": "constraint", "meta": { "lastUpdated": "2020-03-30T05:57:55.877+00:00" }, "publisher": null, "fhirVersion": "4.0.0", "name": "KjConsent", "abstract": false, "type": "Consent", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "1.0.1", "status": "draft", "id": "57b95504-68ef-4216-8068-a86ae3f58baa", "kind": "resource", "url": "http://nhn.no/kj/fhir/StructureDefinition/KjConsent", "version": null, "differential": { "element": [ { "id": "Consent.extension", "path": "Consent.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Consent.extension:validUntil", "max": "1", "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjValidUntil" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "sliceName": "validUntil", "mustSupport": true }, { "id": "Consent.extension:validUntil.value[x]", "path": "Consent.extension.value[x]", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "type" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.extension:note", "max": "1", "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjText" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "sliceName": "note", "mustSupport": true }, { "id": "Consent.extension:note.value[x]", "path": "Consent.extension.value[x]", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "type" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.extension:verificationDateTime", "max": "1", "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjVerificationDateTime" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "sliceName": "verificationDateTime", "mustSupport": true }, { "id": "Consent.extension:verificationDateTime.value[x]", "path": "Consent.extension.value[x]", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "type" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.extension:abatementDateTime", "max": "1", "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjAbatementDateTime" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "sliceName": "abatementDateTime", "mustSupport": true }, { "id": "Consent.extension:abatementDateTime.value[x]", "path": "Consent.extension.value[x]", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "type" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.extension:updater", "max": "1", "min": 1, "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjUpdater" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "sliceName": "updater" }, { "id": "Consent.extension:updater.value[x]", "path": "Consent.extension.value[x]", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "type" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.extension:updatedDateTime", "max": "1", "min": 1, "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjUpdatedDateTime" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "sliceName": "updatedDateTime" }, { "id": "Consent.extension:updatedDateTime.value[x]", "path": "Consent.extension.value[x]", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "type" } ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.extension:verifier", "max": "1", "min": 0, "path": "Consent.extension", "type": [ { "code": "Extension", "profile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjVerifier" ] } ], "sliceName": "verifier", "mustSupport": true }, { "id": "Consent.status", "path": "Consent.status", "binding": { "strength": "required", "valueSet": "http://nhn.no/kj/fhir/ValueSet/ConsentStatus" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "definition": "Normalt: \"Active\", inactive hvis avkreftet og entered in error hvis slettet.", "mustSupport": true }, { "id": "Consent.scope", "path": "Consent.scope", "binding": { "strength": "required" }, "comment": "-", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.scope.coding", "max": "1", "min": 1, "path": "Consent.scope.coding", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.scope.coding.system", "min": 1, "path": "Consent.scope.coding.system", "fixedUri": "http://terminology.hl7.org/CodeSystem/consentscope", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.scope.coding.code", "min": 1, "path": "Consent.scope.coding.code", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "fixedCode": "adr" }, { "id": "Consent.category", "max": "1", "path": "Consent.category", "binding": { "strength": "required", "valueSet": "http://nhn.no/kj/fhir/ValueSet/ConsentCategory" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.category.coding", "max": "1", "min": 1, "path": "Consent.category.coding", "binding": { "strength": "required", "valueSet": "http://nhn.no/kj/fhir/ValueSet/ConsentCategory" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] }, { "id": "Consent.patient", "min": 1, "path": "Consent.patient", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.no/fhir/StructureDefinition/no-basis-Patient" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.dateTime", "min": 1, "path": "Consent.dateTime", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.performer", "max": "1", "min": 1, "path": "Consent.performer", "type": [ { "code": "Reference", "aggregation": [ "contained" ], "targetProfile": [ "http://nhn.no/kj/fhir/StructureDefinition/KjPractitionerRole" ] } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.policyRule", "min": 1, "path": "Consent.policyRule", "binding": { "strength": "required", "valueSet": "http://nhn.no/kj/fhir/ValueSet/ConsentPolicyRule", "description": "Regulatory policy" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ], "mustSupport": true }, { "id": "Consent.policyRule.coding", "max": "1", "min": 1, "path": "Consent.policyRule.coding", "binding": { "strength": "required", "valueSet": "http://nhn.no/kj/fhir/ValueSet/ConsentPolicyRule" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "normative" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", "valueCode": "4.0.0" } ] } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent" }