PackagesCanonicalsLogsProblems
    Packages
    healthhub.fhir.dk.core@1.0.7
    https://plsp.dk/fhir/StructureDefinition/PLSPCondition
description: null
package_name: healthhub.fhir.dk.core
derivation: constraint
name: PLSPCondition
type: Condition
elements:
  onset:
    choices: [onsetDateTime]
    index: 40
  category:
    index: 6
    elements:
      coding:
        index: 7
        elements:
          version: {index: 8}
          code: {index: 9}
          userSelected: {index: 10}
        required: [code]
      text: {index: 11}
    required: [coding]
  clinicalStatus: {short: active | recurrence | relapse | inactive | remission | resolved | unknown, index: 4}
  stage: {index: 52}
  encounter: {index: 38}
  evidence: {index: 53}
  abatement:
    choices: []
    index: 43
  asserter:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 49
    elements:
      identifier: {index: 50}
      display: {index: 51}
  note:
    index: 54
    elements:
      author:
        choices: [authorReference, authorString]
        index: 56
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
        index: 57
      authorString: {type: string, choiceOf: author, index: 58}
  extension:
    type: Extension
    short: Diagnosis category
    isModifier: false
    url: https://plsp.dk/fhir/StructureDefinition/DiagnosisCategory
    index: 0
    slicing:
      slices:
        diagnosisCategory:
          match: {}
          schema:
            type: Extension
            short: Diagnosis category
            isModifier: false
            url: https://plsp.dk/fhir/StructureDefinition/DiagnosisCategory
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
        notFollowedAnymore:
          match: {}
          schema: {type: Extension, short: End date of the diagnosis., isModifier: false, url: 'http://hl7.dk/fhir/core/StructureDefinition/NotFollowedAnymore', index: 2}
          max: 1
  recordedDate: {index: 44}
  recorder:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 45
    elements:
      type: {short: Type the reference refers to (e.g. "Practitioner"), index: 46}
      identifier: {index: 47}
      display: {index: 48}
  severity: {index: 12}
  code:
    short: Identification of the diagnosis
    index: 13
    elements:
      coding:
        short: Code defined by a terminology system ICPC, SKS and ICD
        index: 14
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            ICPC2:
              match: {system: 'urn:oid:1.2.208.176.2.31'}
              schema:
                index: 15
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.208.176.2.31'}
                    index: 16
                  version: {short: Version of the ICPC system, index: 17}
                  code: {short: ICPC2 Code, index: 18}
                  display: {short: ICPC2 Name, index: 19}
                  userSelected: {index: 20}
                required: [display, system, code]
            SKS-D:
              match: {system: 'urn:oid:1.2.208.176.2.4.12'}
              schema:
                index: 21
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.208.176.2.4.12'}
                    index: 22
                  version: {short: SKS Version, index: 23}
                  code: {short: SKS Code, index: 24}
                  display: {short: SKS Name, index: 25}
                  userSelected: {index: 26}
                required: [display, system, code]
            ICD10:
              match: {system: 'urn:oid:2.16.840.1.113883.6.3'}
              schema:
                index: 27
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.6.3'}
                    index: 28
                  code: {index: 29}
                  display: {index: 30}
                  userSelected: {index: 31}
                required: [display, system, code]
      text: {index: 32}
    required: [coding]
  identifier: {index: 3}
  onsetDateTime: {type: dateTime, choiceOf: onset, index: 41}
  bodySite: {index: 33}
  verificationStatus: {index: 5}
  subject:
    type: Reference
    refers: ['http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient']
    index: 34
    elements:
      reference: {index: 35}
      identifier: {index: 36}
      display: {index: 37}
    required: [reference]
package_version: 1.0.7
extensions:
  diagnosisCategory:
    url: https://plsp.dk/fhir/StructureDefinition/DiagnosisCategory
    type: Extension
    short: Diagnosis category
    isModifier: false
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
  notFollowedAnymore: {url: 'http://hl7.dk/fhir/core/StructureDefinition/NotFollowedAnymore', max: 1, type: Extension, short: End date of the diagnosis., isModifier: false, index: 2}
class: profile
kind: resource
url: https://plsp.dk/fhir/StructureDefinition/PLSPCondition
base: http://hl7.org/fhir/StructureDefinition/Condition
version: null
required: [onset, onsetDateTime, code]