PackagesCanonicalsLogsProblems
    Packages
    healthhub.fhir.dk.core@1.0.2-alpha
    https://example.org/fhir/StructureDefinition/PLSPObservation
description: null
package_name: healthhub.fhir.dk.core
derivation: constraint
name: PLSPObservation
type: Observation
elements:
  category: {index: 2}
  referenceRange:
    elements:
      low:
        elements:
          system: {index: 50}
          code: {index: 51}
      high:
        elements:
          system: {index: 52}
          code: {index: 53}
      type: {index: 54}
      appliesTo: {index: 55}
      age:
        elements:
          low:
            elements:
              system: {index: 56}
              code: {index: 57}
          high:
            elements:
              system: {index: 58}
              code: {index: 59}
  hasMember: {index: 60}
  value[x]:
    elements:
      comparator: {index: 41}
      system: {index: 42}
      code: {index: 43}
  encounter: {index: 24}
  specimen: {index: 48}
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 40
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 40}
  value:
    choices: [valueQuantity]
    index: 39
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 39
  valueString:
    type: string
    choiceOf: value
    index: 37
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, choiceOf: value, index: 37}
  component:
    elements:
      code:
        elements:
          coding:
            index: 61
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                NPU:
                  match: {system: null}
                  schema:
                    index: 62
                    elements:
                      version: {index: 63}
                      userSelected: {index: 64}
                MedCom:
                  match: {system: null}
                  schema:
                    index: 65
                    elements:
                      version: {index: 66}
                      userSelected: {index: 67}
                SKS:
                  match: {system: 'urn:oid:1.2.208.176.2.4'}
                  schema:
                    index: 68
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:1.2.208.176.2.4'}
                        index: 69
                      version: {index: 70}
                      userSelected: {index: 71}
      value:
        choices: [valueQuantity]
        index: 76
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema:
                choices: [valueQuantity]
                index: 76
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 77
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 77}
      value[x]:
        elements:
          comparator: {index: 78}
          system: {index: 79}
          code: {index: 80}
      referenceRange:
        elements:
          low:
            elements:
              system: {index: 81}
              code: {index: 82}
          high:
            elements:
              system: {index: 83}
              code: {index: 84}
          type: {index: 85}
          appliesTo: {index: 86}
          age: {index: 87}
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 45
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
        index: 46
      authorString: {type: string, choiceOf: author, index: 47}
  effectiveDateTime: {type: dateTime, short: Clinically relevant time or time-period for observation, choiceOf: effective, index: 27}
  effective:
    short: Clinically relevant time or time-period for observation
    choices: [effectiveDateTime, effectivePeriod]
    index: 26
  code:
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            NPU:
              match: {system: 'urn:oid:1.2.208.176.2.1'}
              schema:
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.208.176.2.1'}
                    index: 5
                  version: {index: 6}
                  code: {index: 7}
                  userSelected: {index: 8}
                required: [code]
            MedCom:
              match: {system: 'https://terminology.medcom.dk/fhir/observation-code'}
              schema:
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terminology.medcom.dk/fhir/observation-code'}
                    index: 10
                  version: {index: 11}
                  code: {index: 12}
                  userSelected: {index: 13}
                required: [code]
            SKS:
              match: {system: 'urn:oid:1.2.208.176.2.4'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:1.2.208.176.2.4'}
                    index: 15
                  version: {index: 16}
                  code: {index: 17}
                  userSelected: {index: 18}
                required: [code]
  identifier: {index: 0}
  focus: {index: 23}
  issued: {index: 29}
  device: {index: 49}
  basedOn: {index: 1}
  subject:
    type: Reference
    refers: ['http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient']
    index: 19
    elements:
      reference: {index: 20}
      identifier: {index: 21}
      display: {index: 22}
    required: [reference]
  performer:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 30
    elements:
      identifier: {index: 31}
      display: {index: 32}
  effectivePeriod: {type: Period, short: Clinically relevant time or time-period for observation, choiceOf: effective, index: 28}
package_version: 1.0.2-alpha
class: profile
kind: resource
url: https://example.org/fhir/StructureDefinition/PLSPObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [effectiveDateTime, issued, effectivePeriod, subject, effective]