PackagesCanonicalsLogsProblems
    Packages
    rs/healthhub.fhir@2.0.3
    https://healthhub.dk/fhir/StructureDefinition/healthhub-microbiology
description: null
package_name: rs/healthhub.fhir
derivation: constraint
name: HealthHubMicrobiology
type: Observation
elements:
  category: {index: 22}
  referenceRange:
    elements:
      low:
        elements:
          system: {index: 83}
          code: {index: 84}
      high:
        elements:
          system: {index: 85}
          code: {index: 86}
      type:
        elements:
          coding:
            index: 87
            elements:
              userSelected: {index: 88}
          text: {index: 89}
      appliesTo:
        index: 90
        elements:
          coding:
            elements:
              userSelected: {index: 91}
      age:
        elements:
          low:
            elements:
              system: {index: 92}
              code: {index: 93}
          high:
            elements:
              system: {index: 94}
              code: {index: 95}
  hasMember: {index: 96}
  value[x]:
    elements:
      comparator: {index: 69}
      system: {index: 70}
      code: {index: 71}
  meta:
    index: 1
    elements:
      profile: {index: 2}
    required: [profile]
  derivedFrom: {index: 97}
  interpretation: {index: 75}
  encounter: {index: 43}
  specimen: {index: 81}
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 68
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 68}
  value:
    choices: [valueDateTime]
    index: 73
    slicing:
      slices:
        valueDateTime:
          match: {}
          schema:
            choices: [valueDateTime]
            index: 73
  valueString:
    type: string
    choiceOf: value
    index: 65
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, choiceOf: value, index: 65}
  valueDateTime:
    type: dateTime
    choiceOf: value
    index: 74
    slicing:
      slices:
        valueDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: value, index: 74}
  component:
    index: 98
    elements:
      code:
        elements:
          coding:
            index: 99
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                NPU:
                  match: {system: 'urn:oid:1.2.208.176.2.1'}
                  schema:
                    index: 100
                    elements:
                      system:
                        pattern: {type: uri, value: 'urn:oid:1.2.208.176.2.1'}
                        type: uri
                        index: 101
                      version: {index: 102}
                      code: {index: 103}
                      display: {index: 104}
                      userSelected: {index: 105}
                    required: [code, display]
                MedCom:
                  match: {system: 'https://terminology.medcom.dk/fhir/observation-code'}
                  schema:
                    index: 106
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://terminology.medcom.dk/fhir/observation-code'}
                        type: uri
                        index: 107
                      version: {index: 108}
                      code: {index: 109}
                      display: {index: 110}
                      userSelected: {index: 111}
                    required: [code, display]
      value:
        choices: [valueQuantity]
        index: 116
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema:
                choices: [valueQuantity]
                index: 116
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 117
        slicing:
          slices:
            valueQuantity:
              match: {}
              schema: {type: Quantity, choiceOf: value, index: 117}
      value[x]:
        elements:
          comparator: {index: 118}
          system: {index: 119}
          code: {index: 120}
      referenceRange:
        elements:
          low:
            elements:
              system: {index: 121}
              code: {index: 122}
          high:
            elements:
              system: {index: 123}
              code: {index: 124}
          appliesTo: {index: 125}
  note:
    index: 76
    elements:
      author:
        choices: [authorReference, authorString]
        index: 78
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
        index: 79
      authorString: {type: string, choiceOf: author, index: 80}
  extension:
    short: Additional content defined by implementations.
    index: 3
    slicing:
      slices:
        headerObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/header-observation', index: 4}
        senderObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/sender-observation', index: 5}
        receiverObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-observation', index: 6}
        producerObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/producer-observation', index: 7}
        binaryObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/binary-observation', index: 8}
        receiverCopyObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-copy-observation', index: 9}
        requisitionObservation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://healthhub.dk/fhir/StructureDefinition/requisition-observation', index: 10}
  effectiveDateTime: {type: dateTime, short: Clinically relevant time or time-period for observation, choiceOf: effective, index: 46}
  effective:
    short: Clinically relevant time or time-period for observation
    choices: [effectiveDateTime, effectivePeriod]
    index: 45
  id: {short: Logical id of this artifact., index: 0}
  code:
    short: Type of observation (code / type).
    index: 23
    elements:
      coding:
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            NPU:
              match: {system: 'urn:oid:1.2.208.176.2.1'}
              schema:
                index: 25
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:oid:1.2.208.176.2.1'}
                    type: uri
                    index: 26
                  version: {index: 27}
                  code: {index: 28}
                  display: {index: 29}
                  userSelected: {index: 30}
                required: [code, display]
            MedCom:
              match: {system: 'https://terminology.medcom.dk/fhir/observation-code'}
              schema:
                index: 31
                elements:
                  system:
                    pattern: {type: uri, value: 'https://terminology.medcom.dk/fhir/observation-code'}
                    type: uri
                    index: 32
                  version: {index: 33}
                  code: {index: 34}
                  display: {index: 35}
                  userSelected: {index: 36}
                required: [code, display]
      text: {short: 'It is the full name (AnalysenavnFulde) of the analysis in plain text as used by the laboratory, including the official text for NPU codes.', index: 37}
    required: [coding]
  identifier:
    index: 11
    extensions: {}
    elements:
      extension: {index: 12}
      type: {index: 13}
    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: 14
            elements:
              system:
                pattern: {type: uri, value: 'urn:oid:1.2.208.176.1.4'}
                type: uri
                index: 15
              value: {index: 16}
            required: [system, value]
        SOR-ID:
          match: {system: 'urn:oid:1.2.208.176.1.1'}
          schema:
            index: 17
            elements:
              system:
                pattern: {type: uri, value: 'urn:oid:1.2.208.176.1.1'}
                type: uri
                index: 18
              value: {index: 19}
            required: [system, value]
  focus: {index: 42}
  issued: {index: 48}
  device: {index: 82}
  basedOn: {index: 20}
  partOf: {index: 21}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 38
    elements:
      reference: {index: 39}
      identifier: {index: 40}
      display: {index: 41}
    required: [reference]
  performer:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 49
    elements:
      id: {index: 50}
      extension: {index: 51}
      type: {index: 52}
      identifier:
        elements:
          id: {index: 53}
          extension: {index: 54}
          use: {index: 55}
          type: {index: 56}
          system:
            binding: {strength: required, valueSet: 'https://healthhub.dk/fhir/ValueSet/employee-identifier-system'}
            index: 57
          value: {index: 58}
          period: {index: 59}
          assigner: {index: 60}
        extensions: {}
        required: [system, value]
    extensions: {}
  effectivePeriod: {type: Period, short: Clinically relevant time or time-period for observation, choiceOf: effective, index: 47}
package_version: 2.0.3
extensions:
  headerObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/header-observation', type: Extension, isModifier: false, index: 4}
  senderObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/sender-observation', type: Extension, isModifier: false, index: 5}
  receiverObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-observation', type: Extension, isModifier: false, index: 6}
  producerObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/producer-observation', type: Extension, isModifier: false, index: 7}
  binaryObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/binary-observation', type: Extension, isModifier: false, index: 8}
  receiverCopyObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/receiver-copy-observation', type: Extension, isModifier: false, index: 9}
  requisitionObservation: {url: 'https://healthhub.dk/fhir/StructureDefinition/requisition-observation', type: Extension, isModifier: false, index: 10}
class: profile
kind: resource
url: https://healthhub.dk/fhir/StructureDefinition/healthhub-microbiology
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [effective, effectiveDateTime, effectivePeriod, issued, meta, subject]