PackagesCanonicalsLogsProblems
    Packages
    medcom.fhir.dk.conditionlist@1.0.1
    http://medcomfhir.dk/ig/conditionlist/StructureDefinition/medcom-conditionlist-condition
description: An instance of the MedCom ConditionList Condition resource.
package_name: medcom.fhir.dk.conditionlist
derivation: constraint
name: MedComConditionListCondition
type: Condition
elements:
  onset:
    choices: []
    index: 35
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        onsetDateTime:
          match: {}
          schema:
            short: 'Date of the diagnosed onset of the condition (Danish: Debutdato)'
            mustSupport: true
            choices: [onsetDateTime]
            index: 37
          min: 0
          max: 1
  category:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      ordered: false
      description: Slice based on the coding.code value to differentiate the category of the condition
      discriminator:
      - {path: coding.code, type: value}
      min: 1
      slices:
        type:
          match:
            coding: {code: null}
          schema:
            short: 'Type of the diagnosis (Danish: Diagnosetype). ''Kontaktdiagnose'' = ''encounter-diagnosis'', ''Forløbsdiagnose'' = ''problem-list-item'''
            mustSupport: true
            index: 2
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/condition-category'}
                    mustSupport: true
                    type: uri
                    index: 3
                  code:
                    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/condition-category'}
                    mustSupport: true
                    index: 4
                required: [code, system]
        status:
          match:
            coding: {code: null}
          schema:
            short: 'The status for this diagnosis (Danish: Diagnosestatus). ''Aktuel'' = ''current'', ''Relevant'' = ''resolved'''
            mustSupport: true
            _required: true
            index: 5
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    type: uri
                    index: 6
                  code:
                    binding: {strength: required, valueSet: 'http://medcomfhir.dk/ig/terminology/ValueSet/medcom-conditionlist-status-valueset'}
                    mustSupport: true
                    index: 7
                required: [code, system]
  clinicalStatus: {mustSupport: true, index: 0}
  abatement:
    choices: []
    index: 40
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        abatementDateTime:
          match: {}
          schema:
            short: 'Date of the abate end of the condition (Danish: Afslutningsdato)'
            mustSupport: true
            choices: [abatementDateTime]
            index: 42
          min: 0
          max: 1
  note:
    mustSupport: true
    index: 45
    elements:
      text: {short: 'Additional description for the condition (Danish: Tillægstekst)', mustSupport: true, index: 46}
  recordedDate: {short: 'Date of registration of the diagnosis in the general practitioner''s own system (Danish: Registreringsdato)', mustSupport: true, index: 44}
  code:
    elements:
      coding:
        index: 8
        elements:
          system: {mustSupport: true, index: 9}
          code: {mustSupport: true, index: 10}
          display: {mustSupport: true, index: 11}
        slicing:
          slices:
            FSIIIConditionCode:
              match: {}
              schema:
                index: 12
                elements:
                  system: {mustSupport: true, index: 13}
                  code: {mustSupport: true, index: 14}
                  display: {mustSupport: true, index: 15}
            SCTConditionCode:
              match: {}
              schema:
                index: 16
                elements:
                  system: {mustSupport: true, index: 17}
                  code: {mustSupport: true, index: 18}
                  display: {mustSupport: true, index: 19}
            FFBConditionCode:
              match: {}
              schema:
                index: 20
                elements:
                  system: {mustSupport: true, index: 21}
                  code: {mustSupport: true, index: 22}
                  display: {mustSupport: true, index: 23}
            SKS-D:
              match: {}
              schema:
                index: 24
                elements:
                  system: {mustSupport: true, index: 25}
                  code: {mustSupport: true, index: 26}
                  display: {mustSupport: true, index: 27}
            ICPC2code:
              match: {}
              schema:
                index: 28
                elements:
                  system: {mustSupport: true, index: 29}
                  code: {mustSupport: true, index: 30}
                  display: {mustSupport: true, index: 31}
      text: {short: 'The condition text selected by the recorder (Danish: Diagnosetekst).', mustSupport: true, index: 32}
  onsetDateTime:
    short: 'Date of the diagnosed onset of the condition (Danish: Debutdato)'
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 38
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {short: 'Date of the diagnosed onset of the condition (Danish: Debutdato)', type: dateTime, mustSupport: true, choiceOf: onset, index: 38}
          min: 0
          max: 1
  abatementDateTime:
    short: 'Date of the abate end of the condition (Danish: Afslutningsdato)'
    type: dateTime
    mustSupport: true
    choiceOf: abatement
    index: 43
    slicing:
      slices:
        abatementDateTime:
          match: {}
          schema: {short: 'Date of the abate end of the condition (Danish: Afslutningsdato)', type: dateTime, mustSupport: true, choiceOf: abatement, index: 43}
          min: 0
          max: 1
  subject: {mustSupport: true, index: 33}
package_version: 1.0.1
class: profile
kind: resource
url: http://medcomfhir.dk/ig/conditionlist/StructureDefinition/medcom-conditionlist-condition
base: http://hl7.dk/fhir/core/StructureDefinition/dk-core-condition
version: 1.0.1
required: [category, recordedDate]