PackagesCanonicalsLogsProblems
    Packages
    nhn.fhir.no.kjernejournal@1.0.1
    http://nhn.no/kj/fhir/StructureDefinition/KjConditionTransplantsAndOtherForeignBodies
description: null
package_name: nhn.fhir.no.kjernejournal
derivation: constraint
name: KjConditionTransplantsAndOtherForeignBodies
type: Condition
elements:
  onset:
    mustSupport: true
    choices: [onsetDateTime, onsetAge]
    index: 30
  category:
    short: Type of critical information
    mustSupport: true
    index: 19
    elements:
      coding:
        binding: {strength: required, valueSet: 'http://nhn.no/kj/fhir/ValueSet/ConditionCategory'}
        index: 20
        elements:
          system:
            short: Types of critical information
            pattern: {type: Uri, value: 'http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation'}
            index: 21
          code:
            pattern: {type: Code, value: '7'}
            index: 22
        required: [system, code]
    required: [coding]
  clinicalStatus:
    short: active | inactive
    mustSupport: true
    binding: {strength: required, valueSet: 'http://nhn.no/kj/fhir/ValueSet/ConditionClinicalStatus'}
    index: 15
    elements:
      coding: {index: 16}
    required: [coding]
  onsetAge: {type: Age, mustSupport: true, choiceOf: onset, index: 32}
  abatement:
    mustSupport: true
    choices: [abatementDateTime]
    index: 34
  note: {mustSupport: true, index: 38}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        validUntil:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://nhn.no/kj/fhir/StructureDefinition/KjValidUntil
            index: 1
            elements:
              value:
                choices: []
                index: 3
        verificationDateTime:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://nhn.no/kj/fhir/StructureDefinition/KjVerificationDateTime
            index: 4
            elements:
              value:
                choices: []
                index: 6
        updater:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://nhn.no/kj/fhir/StructureDefinition/KjUpdater
            index: 7
            elements:
              value:
                choices: []
                index: 9
        updatedDateTime:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://nhn.no/kj/fhir/StructureDefinition/KjUpdatedDateTime
            index: 10
            elements:
              value:
                choices: []
                index: 12
        sourceOfInformation:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation', index: 13}
          min: 1
          max: 1
        verifier:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://nhn.no/kj/fhir/StructureDefinition/KjVerifier', index: 14}
          min: 0
          max: 1
  recordedDate: {mustSupport: true, index: 36}
  recorder:
    type: Reference
    mustSupport: true
    refers: ['http://nhn.no/kj/fhir/StructureDefinition/KjPractitionerRole']
    index: 37
  code:
    mustSupport: true
    index: 23
    elements:
      coding:
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            TransplantsAndOtherForeignBodies:
              match: {system: 'http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation'}
              schema:
                binding: {strength: required, valueSet: 'http://nhn.no/kj/fhir/ValueSet/TransplantsAndOtherForeignBodies'}
                _required: true
                index: 25
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://nhn.no/kj/fhir/CodeSystem/SubcategoriesOfCriticalInformation'}
                    index: 26
                required: [system]
      text: {mustSupport: true, index: 27}
  onsetDateTime: {type: dateTime, mustSupport: true, choiceOf: onset, index: 31}
  abatementDateTime: {type: dateTime, mustSupport: true, choiceOf: abatement, index: 35}
  verificationStatus:
    short: confirmed | refuted | entered-in-error
    mustSupport: true
    binding: {strength: required, valueSet: 'http://nhn.no/kj/fhir/ValueSet/ConditionVerificationStatus'}
    index: 17
    elements:
      coding: {index: 18}
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.no/fhir/StructureDefinition/no-basis-Patient']
    index: 28
package_version: 1.0.1
extensions:
  validUntil:
    url: http://nhn.no/kj/fhir/StructureDefinition/KjValidUntil
    type: Extension
    mustSupport: true
    index: 1
    elements:
      value:
        choices: []
        index: 3
  verificationDateTime:
    url: http://nhn.no/kj/fhir/StructureDefinition/KjVerificationDateTime
    type: Extension
    mustSupport: true
    index: 4
    elements:
      value:
        choices: []
        index: 6
  updater:
    url: http://nhn.no/kj/fhir/StructureDefinition/KjUpdater
    type: Extension
    mustSupport: true
    index: 7
    elements:
      value:
        choices: []
        index: 9
  updatedDateTime:
    url: http://nhn.no/kj/fhir/StructureDefinition/KjUpdatedDateTime
    type: Extension
    mustSupport: true
    index: 10
    elements:
      value:
        choices: []
        index: 12
  sourceOfInformation: {url: 'http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation', min: 1, max: 1, type: Extension, mustSupport: true, index: 13}
  verifier: {url: 'http://nhn.no/kj/fhir/StructureDefinition/KjVerifier', min: 0, max: 1, type: Extension, mustSupport: true, index: 14}
class: profile
kind: resource
url: http://nhn.no/kj/fhir/StructureDefinition/KjConditionTransplantsAndOtherForeignBodies
base: http://hl7.org/fhir/StructureDefinition/Condition
version: null
required: [clinicalStatus, recorder, recordedDate, verificationStatus, category, code]