PackagesCanonicalsLogsProblems
    Packages
    medcom.fhir.dk.core@3.0.1
    http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-observation
description: Observation profile intended to be used in MedComHomeCareObservation and MedCom's Laboratory standards.
package_name: medcom.fhir.dk.core
derivation: constraint
name: MedComCoreObservation
type: Observation
elements:
  identifier:
    short: The Observation identifier
    mustSupport: true
    index: 0
    elements:
      value:
        constraint:
          medcom-uuidv4: {human: The value shall correspond to the structure of an UUID version 4, source: 'http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-observation', severity: error, expression: 'matches(''urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'')'}
        mustSupport: true
        index: 1
    required: [value]
  status:
    short: registered | partial | preliminary | final | corrected | cancelled | entered-in-error
    binding: {strength: required, valueSet: 'http://medcomfhir.dk/ig/terminology/ValueSet/medcom-core-observation-status'}
    mustSupport: true
    index: 2
  code:
    mustSupport: true
    index: 3
    elements:
      coding:
        index: 4
        elements:
          system: {mustSupport: true, index: 5}
          code: {mustSupport: true, index: 6}
        slicing:
          slices:
            LOINC:
              match: {}
              schema:
                index: 7
                elements:
                  system: {mustSupport: true, index: 8}
                  code: {mustSupport: true, index: 9}
            SNOMEDCT:
              match: {}
              schema:
                index: 10
                elements:
                  system: {mustSupport: true, index: 11}
                  code: {mustSupport: true, index: 12}
            NPU:
              match: {}
              schema:
                index: 13
                elements:
                  system: {mustSupport: true, index: 14}
                  code: {mustSupport: true, index: 15}
            IEEE:
              match: {}
              schema:
                index: 16
                elements:
                  system: {mustSupport: true, index: 17}
                  code: {mustSupport: true, index: 18}
            MedCom:
              match: {}
              schema:
                index: 19
                elements:
                  system: {mustSupport: true, index: 20}
                  code: {mustSupport: true, index: 21}
            SKS:
              match: {}
              schema:
                index: 22
                elements:
                  system: {mustSupport: true, index: 23}
                  code: {mustSupport: true, index: 24}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-patient']
    index: 25
  effective:
    choices: []
    index: 27
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectiveDateTime:
          match: {}
          schema:
            short: 'The date and time the sample was taken (Danish: prøvetegningstidspunkt).'
            mustSupport: true
            choices: [effectiveDateTime]
            index: 29
          min: 0
          max: 1
  effectiveDateTime:
    short: 'The date and time the sample was taken (Danish: prøvetegningstidspunkt).'
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 30
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {short: 'The date and time the sample was taken (Danish: prøvetegningstidspunkt).', type: dateTime, mustSupport: true, choiceOf: effective, index: 30}
          min: 0
          max: 1
  note: {short: 'A comment on the individual result (Danish: Analysekommentar)', mustSupport: true, index: 31}
package_version: 3.0.1
class: profile
kind: resource
url: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-observation
base: http://hl7.dk/fhir/core/StructureDefinition/dk-core-observation
version: 3.0.1
required: [identifier]