PackagesCanonicalsLogsProblems
    Packages
    healthhub.fhir@2.0.6
    https://healthhub.dk/fhir/StructureDefinition/healthhub-clinical-impression
description: null
package_name: healthhub.fhir
derivation: constraint
name: HealthHubClinicalImpression
type: ClinicalImpression
elements:
  description: {index: 36}
  date: {index: 49}
  meta: {index: 0}
  investigation: {index: 78}
  protocol: {index: 79}
  assessor:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 50
    elements:
      id: {index: 51}
      extension: {index: 52}
      reference: {index: 53}
      type: {index: 54}
      identifier:
        index: 55
        elements:
          id: {index: 56}
          extension: {index: 57}
          use: {index: 58}
          type:
            index: 59
            elements:
              id: {index: 60}
              extension: {index: 61}
              coding:
                binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/employee-profession-system'}
                index: 62
                elements:
                  id: {index: 63}
                  extension: {index: 64}
                  system:
                    pattern: {type: Uri, value: 'https://healthhub.dk/fhir/CodeSystem/employee-profession'}
                    index: 65
                  version: {index: 66}
                  code: {index: 67}
                  display: {index: 68}
                  userSelected: {index: 69}
                extensions: {}
                required: [system, code]
              text: {index: 70}
            extensions: {}
            required: [coding]
          system:
            binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/employee-identifier-system'}
            index: 71
          value: {index: 72}
          period: {index: 73}
          assigner: {index: 74}
        extensions: {}
        required: [value, type, system]
      display: {short: Text alternative for the resource (Employee name), index: 75}
    extensions: {}
    required: [identifier, reference]
  supportingInfo: {index: 102}
  encounter: {index: 44}
  problem: {index: 77}
  statusReason: {index: 30}
  note: {index: 103}
  effective[x]:
    extensions: {}
    elements:
      extension: {index: 48}
  extension:
    array: true
    min: 3
    index: 1
    slicing:
      slices:
        updateDateTime:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/update-date-time', index: 2}
        systemSpecificClinicalNote:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/system-specific-clinical-note', index: 3}
          min: 1
          max: 1
        asserter:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/asserter', index: 4}
          min: 1
        additionalClinicalNoteInformation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/additional-clinical-note-information', index: 5}
          min: 1
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 47}
  prognosisCodeableConcept: {index: 100}
  status:
    constraint:
      status-completed-only: {human: Status must be 'completed', source: 'https://healthhub.dk/fhir/StructureDefinition/healthhub-clinical-impression', severity: error, expression: $this = 'completed'}
    index: 29
  effective:
    choices: [effectiveDateTime]
    index: 46
  previous: {index: 76}
  code:
    label: Kategori
    index: 31
    elements:
      id: {index: 32}
      extension: {index: 33}
      coding: {index: 34}
      text: {index: 35}
    extensions: {}
    required: [text]
  identifier:
    index: 6
    elements:
      id: {index: 7}
      extension: {index: 8}
      use: {index: 9}
      type: {index: 10}
    extensions: {}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      max: 1
      slices:
        ProviderNumber:
          match: {system: 'urn:oid:1.2.208.176.1.4'}
          schema:
            index: 11
            elements:
              id: {index: 12}
              extension: {index: 13}
              use: {index: 14}
              type: {index: 15}
              system:
                pattern: {type: Uri, value: 'urn:oid:1.2.208.176.1.4'}
                index: 16
              value:
                constraint:
                  digits-providernumber: {human: ProviderNumber Identifiers are at minimum and maximum 6 digits long, severity: error, expression: 'matches(''^([0-9]){6}$'')', requirements: ProviderNumber Identifiers are at minimum and maximum 6 digits long}
                index: 17
              period: {index: 18}
              assigner: {index: 19}
            extensions: {}
            required: [value, system]
        SOR-ID:
          match: {system: 'urn:oid:1.2.208.176.1.1'}
          schema:
            index: 20
            elements:
              id: {index: 21}
              extension: {index: 22}
              use: {index: 23}
              type: {index: 24}
              system:
                pattern: {type: Uri, value: 'urn:oid:1.2.208.176.1.1'}
                index: 25
              value:
                constraint:
                  min-digits-sor: {human: 'SOR Identifiers are at minimum 11 digits long. See https://sundhedsdatastyrelsen.dk/-/media/sds/filer/rammer-og-retningslinjer/organisationsregistrering/adgang-til-sor/info-om-opbygningen-af-sor-ider.pdf', severity: error, expression: 'matches(''^([0-9]){11,}$'')', requirements: SOR Identifiers are at minimum 11 digits long}
                index: 26
              period: {index: 27}
              assigner: {index: 28}
            extensions: {}
            required: [value, system]
  finding:
    index: 80
    extensions: {}
    elements:
      extension: {index: 81}
      modifierExtension: {index: 82}
      itemCodeableConcept: {index: 83}
      itemReference:
        index: 84
        elements:
          id: {index: 85}
          extension: {index: 86}
          reference: {index: 87}
          type: {index: 88}
          identifier:
            index: 89
            elements:
              id: {index: 90}
              extension: {index: 91}
              use: {index: 92}
              type: {index: 93}
              system:
                binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/reference-clinical-impression-system'}
                index: 94
              value: {index: 95}
              period: {index: 96}
              assigner: {index: 97}
            extensions: {}
            required: [value, system]
          display: {index: 98}
        extensions: {}
        required: [identifier]
      basis: {index: 99}
    required: [itemReference]
  prognosisReference: {index: 101}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 37
    elements:
      id: {index: 38}
      extension: {index: 39}
      reference: {index: 40}
      type: {index: 41}
      identifier: {index: 42}
      display: {index: 43}
    extensions: {}
    required: [reference]
package_version: 2.0.6
extensions:
  updateDateTime: {url: 'https://healthhub.dk/fhir/StructureDefinition/update-date-time', type: Extension, isModifier: false, index: 2}
  systemSpecificClinicalNote: {url: 'https://healthhub.dk/fhir/StructureDefinition/system-specific-clinical-note', min: 1, max: 1, type: Extension, isModifier: false, index: 3}
  asserter: {url: 'https://healthhub.dk/fhir/StructureDefinition/asserter', min: 1, type: Extension, isModifier: false, index: 4}
  additionalClinicalNoteInformation: {url: 'https://healthhub.dk/fhir/StructureDefinition/additional-clinical-note-information', min: 1, type: Extension, isModifier: false, index: 5}
class: profile
kind: resource
url: https://healthhub.dk/fhir/StructureDefinition/healthhub-clinical-impression
base: http://hl7.org/fhir/StructureDefinition/ClinicalImpression
version: null
required: [effectiveDateTime, assessor, meta, effective]