PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-lab-report@1.0.0
    http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-cbc
description: Profile for observation laboratory result of automated Count of Blood Cells. We choose as Unit 10⁹/L or 10¹²/L for Cell Count.
package_name: ch.fhir.ig.ch-lab-report
derivation: constraint
name: ChLabObservation_CBC
type: Observation
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 18723-7, system: 'http://loinc.org'}
    index: 0
    slicing:
      slices:
        studyType:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: 18723-7, system: 'http://loinc.org'}
            index: 0
        specialty:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '394916005', system: 'http://snomed.info/sct'}
            index: 1
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 58410-2, system: 'http://loinc.org'}
    index: 2
  method:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '702659008', system: 'http://snomed.info/sct'}
    index: 3
  component:
    short: Component observations
    mustSupport: true
    array: true
    min: 8
    max: 12
    index: 4
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: value}
      min: 8
      max: 12
      slices:
        Hemoglobin:
          match:
            code:
              coding:
              - {code: 718-7, system: 'http://loinc.org'}
          schema:
            short: Hemoglobin
            mustSupport: true
            _required: true
            index: 23
            extensions:
              value-r5: {url: null, index: 24}
            elements:
              extension:
                index: 24
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 24}
              code:
                short: Hemoglobin code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 718-7, system: 'http://loinc.org'}
                index: 25
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 27
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 27
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 28
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 28}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 29}
                  unit: {mustSupport: true, index: 30}
                  code:
                    pattern: {type: Code, value: g/dL}
                    index: 31
                required: [value, unit]
        MeanCorpuscularVolume:
          match:
            code:
              coding:
              - {code: 787-2, system: 'http://loinc.org'}
          schema:
            short: Mean Corpuscular Volume
            mustSupport: true
            _required: true
            index: 41
            extensions:
              value-r5: {url: null, index: 42}
            elements:
              extension:
                index: 42
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 42}
              code:
                short: MeanCorpuscularVolume code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 787-2, system: 'http://loinc.org'}
                index: 43
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 45
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 45
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 46
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 46}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 47}
                  unit: {mustSupport: true, index: 48}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 49
                required: [value, unit]
        Hematocrit:
          match:
            code:
              coding:
              - {code: 4544-3, system: 'http://loinc.org'}
          schema:
            short: Hematocrit
            mustSupport: true
            _required: true
            index: 32
            extensions:
              value-r5: {url: null, index: 33}
            elements:
              extension:
                index: 33
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 33}
              code:
                short: Hematocrit code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 4544-3, system: 'http://loinc.org'}
                index: 34
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 36
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 36
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 37
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 37}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 38}
                  unit: {mustSupport: true, index: 39}
                  code:
                    pattern: {type: Code, value: '%'}
                    index: 40
                required: [value, unit]
        WhiteBloodCellCount:
          match:
            code:
              coding:
              - {code: 6690-2, system: 'http://loinc.org'}
          schema:
            short: Leucocyte count
            mustSupport: true
            _required: true
            index: 5
            extensions:
              value-r5: {url: null, index: 6}
            elements:
              extension:
                index: 6
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 6}
              code:
                short: Leucocyte count code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 6690-2, system: 'http://loinc.org'}
                index: 7
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 9
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 9
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 10
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 10}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 11}
                  unit: {mustSupport: true, index: 12}
                  code:
                    pattern: {type: Code, value: 10*9/L}
                    index: 13
                required: [value, unit]
        MeanCorpuscularHemoglobin:
          match:
            code:
              coding:
              - {code: 785-6, system: 'http://loinc.org'}
          schema:
            short: Mean Corpuscular Hemoglobin
            mustSupport: true
            _required: true
            index: 50
            extensions:
              value-r5: {url: null, index: 51}
            elements:
              extension:
                index: 51
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 51}
              code:
                short: MeanCorpuscularHemoglobin code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 785-6, system: 'http://loinc.org'}
                index: 52
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 54
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 54
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 55
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 55}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 56}
                  unit: {mustSupport: true, index: 57}
                  code:
                    pattern: {type: Code, value: pg}
                    index: 58
                required: [value, unit]
        MeanCorpuscularHemoglobinConcentration:
          match:
            code:
              coding:
              - {code: 786-4, system: 'http://loinc.org'}
          schema:
            short: Mean Corpuscular Hemoglobin Concentration
            mustSupport: true
            _required: true
            index: 59
            extensions:
              value-r5: {url: null, index: 60}
            elements:
              extension:
                index: 60
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 60}
              code:
                short: MeanCorpuscularHemoglobinConcentration code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 786-4, system: 'http://loinc.org'}
                index: 61
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 63
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 63
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 64
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 64}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 65}
                  unit: {mustSupport: true, index: 66}
                  code:
                    pattern: {type: Code, value: g/dL}
                    index: 67
                required: [value, unit]
        PlateletCount:
          match:
            code:
              coding:
              - {code: 777-3, system: 'http://loinc.org'}
          schema:
            short: Platelet Count
            mustSupport: true
            _required: true
            index: 77
            extensions:
              value-r5: {url: null, index: 78}
            elements:
              extension:
                index: 78
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 78}
              code:
                short: PlateletCount code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 777-3, system: 'http://loinc.org'}
                index: 79
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 81
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 81
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 82
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 82}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 83}
                  unit: {mustSupport: true, index: 84}
                  code:
                    pattern: {type: Code, value: 10^9/L}
                    index: 85
                required: [value, unit]
        ErythrocyteDistWidth:
          match: {code: null}
          schema:
            short: Erythrocyte distribution width
            mustSupport: true
            index: 68
            extensions:
              value-r5: {url: null, index: 69}
            elements:
              extension:
                index: 69
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 69}
              code:
                short: ErythrocyteDistWidth code
                binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-lab-report/ValueSet/observation-code-entsvol-ratio'}
                mustSupport: true
                index: 70
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 72
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 72
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 73
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 73}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 74}
                  unit: {mustSupport: true, index: 75}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 76
                required: [value, unit]
        PlateletMeanVolume:
          match:
            code:
              coding:
              - {code: 32623-1, system: 'http://loinc.org'}
          schema:
            short: Platelet Mean Volume
            mustSupport: true
            index: 95
            extensions:
              value-r5: {url: null, index: 96}
            elements:
              extension:
                index: 96
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 96}
              code:
                short: PlateletMeanVolume code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 32623-1, system: 'http://loinc.org'}
                index: 97
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 99
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 99
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 100
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 100}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 101}
                  unit: {mustSupport: true, index: 102}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 103
                required: [value, unit]
        PlateletDistWidth:
          match:
            code:
              coding:
              - {code: 32207-3, system: 'http://loinc.org'}
          schema:
            short: Platelet Distribution Width
            mustSupport: true
            index: 86
            extensions:
              value-r5: {url: null, index: 87}
            elements:
              extension:
                index: 87
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 87}
              code:
                short: Platelet distribution width [Entitic volume] in Blood by Automated count
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 32207-3, system: 'http://loinc.org'}
                index: 88
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 90
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 90
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 91
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 91}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 92}
                  unit: {mustSupport: true, index: 93}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 94
                required: [value, unit]
        RedBloodCellCount:
          match:
            code:
              coding:
              - {code: 789-8, system: 'http://loinc.org'}
          schema:
            short: Erythrocyte count
            mustSupport: true
            _required: true
            index: 14
            extensions:
              value-r5: {url: null, index: 15}
            elements:
              extension:
                index: 15
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 15}
              code:
                short: Leucocyte count code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 789-8, system: 'http://loinc.org'}
                index: 16
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 18
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 18
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 19
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 19}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 20}
                  unit: {mustSupport: true, index: 21}
                  code:
                    pattern: {type: Code, value: 10*12/L}
                    index: 22
                required: [value, unit]
package_version: 1.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-cbc
base: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ChLab-observation-single-test
version: 1.0.0