PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@lab-report-1.0.0-ballot
    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
derivation: constraint
name: ChLabObservation_CBC
type: Observation
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 18723-7, system: 'http://loinc.org', display: Hematology studies (set)}
    index: 0
    slicing:
      slices:
        studyType:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: 18723-7, system: 'http://loinc.org', display: Hematology studies (set)}
            index: 0
        specialty:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '394916005', system: 'http://snomed.info/sct', display: Hematopathology}
            index: 1
  code:
    short: LOINC Display Name
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 58410-2, system: 'http://loinc.org', display: CBC panel - Blood by Automated count}
    index: 2
    elements:
      text:
        pattern: {type: String, value: CBC panel Auto (Bld)}
        index: 3
  method:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '702659008', system: 'http://snomed.info/sct', display: Automated count technique (qualifier value)}
    index: 4
  component:
    short: Component observations
    mustSupport: true
    array: true
    min: 8
    max: 12
    index: 5
    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', display: 'Hemoglobin [Mass/volume] in Blood'}
          schema:
            short: Hemoglobin
            mustSupport: true
            _required: true
            index: 26
            extensions:
              value-r5: {url: null, index: 27}
            elements:
              extension:
                index: 27
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 27}
              code:
                short: Hemoglobin code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 718-7, system: 'http://loinc.org', display: 'Hemoglobin [Mass/volume] in Blood'}
                index: 28
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Hemoglobin (Bld) [Mass/Vol]'}
                    index: 29
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 31
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 31
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 32
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 32}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 33}
                  unit: {mustSupport: true, index: 34}
                  code:
                    pattern: {type: Code, value: g/dL}
                    index: 35
                required: [value, unit]
        MeanCorpuscularVolume:
          match:
            code:
              coding:
              - {code: 787-2, system: 'http://loinc.org', display: 'MCV [Entitic volume] by Automated count'}
          schema:
            short: Mean Corpuscular Volume
            mustSupport: true
            _required: true
            index: 46
            extensions:
              value-r5: {url: null, index: 47}
            elements:
              extension:
                index: 47
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 47}
              code:
                short: MeanCorpuscularVolume code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 787-2, system: 'http://loinc.org', display: 'MCV [Entitic volume] by Automated count'}
                index: 48
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'MCV Auto (RBC) [Entitic vol]'}
                    index: 49
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 51
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 51
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 52
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 52}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 53}
                  unit: {mustSupport: true, index: 54}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 55
                required: [value, unit]
        ErythrocyteDistWidthRatio:
          match:
            code:
              coding:
              - {code: 788-0, system: 'http://loinc.org', display: 'Erythrocyte distribution width [Ratio] by Automated count'}
          schema:
            short: Erythrocyte distribution width [Ratio]
            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: ErythrocyteDistWidthRatio code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 788-0, system: 'http://loinc.org', display: 'Erythrocyte distribution width [Ratio] by Automated count'}
                index: 88
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Erythrocyte distribution width Auto (RBC) [Ratio]'}
                    index: 89
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 91
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 91
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 92
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 92}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 93}
                  unit: {mustSupport: true, index: 94}
                  code:
                    pattern: {type: Code, value: '%'}
                    index: 95
                required: [value, unit]
        Hematocrit:
          match:
            code:
              coding:
              - {code: 4544-3, system: 'http://loinc.org', display: 'Hematocrit [Volume Fraction] of Blood by Automated count'}
          schema:
            short: Hematocrit
            mustSupport: true
            _required: true
            index: 36
            extensions:
              value-r5: {url: null, index: 37}
            elements:
              extension:
                index: 37
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 37}
              code:
                short: Hematocrit code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 4544-3, system: 'http://loinc.org', display: 'Hematocrit [Volume Fraction] of Blood by Automated count'}
                index: 38
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Hematocrit Auto (Bld) [Volume fraction]'}
                    index: 39
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 41
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 41
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 42
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 42}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 43}
                  unit: {mustSupport: true, index: 44}
                  code:
                    pattern: {type: Code, value: '%'}
                    index: 45
                required: [value, unit]
        WhiteBloodCellCount:
          match:
            code:
              coding:
              - {code: 6690-2, system: 'http://loinc.org', display: 'Leukocytes [#/volume] in Blood by Automated count'}
          schema:
            short: Leucocyte count
            mustSupport: true
            _required: true
            index: 6
            extensions:
              value-r5: {url: null, index: 7}
            elements:
              extension:
                index: 7
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 7}
              code:
                short: Leucocyte count code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 6690-2, system: 'http://loinc.org', display: 'Leukocytes [#/volume] in Blood by Automated count'}
                index: 8
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'WBC Auto (Bld) [#/Vol]'}
                    index: 9
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 11
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 11
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 12
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 12}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 13}
                  unit: {mustSupport: true, index: 14}
                  code:
                    pattern: {type: Code, value: 10*9/L}
                    index: 15
                required: [value, unit]
        MeanCorpuscularHemoglobin:
          match:
            code:
              coding:
              - {code: 785-6, system: 'http://loinc.org', display: 'MCH [Entitic mass] by Automated count'}
          schema:
            short: Mean Corpuscular Hemoglobin
            mustSupport: true
            _required: true
            index: 56
            extensions:
              value-r5: {url: null, index: 57}
            elements:
              extension:
                index: 57
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 57}
              code:
                short: MeanCorpuscularHemoglobin code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 785-6, system: 'http://loinc.org', display: 'MCH [Entitic mass] by Automated count'}
                index: 58
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'MCH Auto (RBC) [Entitic mass]'}
                    index: 59
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 61
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 61
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 62
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 62}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 63}
                  unit: {mustSupport: true, index: 64}
                  code:
                    pattern: {type: Code, value: pg}
                    index: 65
                required: [value, unit]
        MeanCorpuscularHemoglobinConcentration:
          match:
            code:
              coding:
              - {code: 786-4, system: 'http://loinc.org', display: 'MCHC [Mass/volume] by Automated count'}
          schema:
            short: Mean Corpuscular Hemoglobin Concentration
            mustSupport: true
            _required: true
            index: 66
            extensions:
              value-r5: {url: null, index: 67}
            elements:
              extension:
                index: 67
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 67}
              code:
                short: MeanCorpuscularHemoglobinConcentration code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 786-4, system: 'http://loinc.org', display: 'MCHC [Mass/volume] by Automated count'}
                index: 68
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'MCHC Auto (RBC) [Mass/Vol]'}
                    index: 69
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 71
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 71
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 72
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 72}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 73}
                  unit: {mustSupport: true, index: 74}
                  code:
                    pattern: {type: Code, value: g/dL}
                    index: 75
                required: [value, unit]
        PlateletCount:
          match:
            code:
              coding:
              - {code: 777-3, system: 'http://loinc.org', display: 'Platelets [#/volume] in Blood by Automated count'}
          schema:
            short: Platelet Count
            mustSupport: true
            _required: true
            index: 96
            extensions:
              value-r5: {url: null, index: 97}
            elements:
              extension:
                index: 97
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 97}
              code:
                short: PlateletCount code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 777-3, system: 'http://loinc.org', display: 'Platelets [#/volume] in Blood by Automated count'}
                index: 98
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Platelets Auto (Bld) [#/Vol]'}
                    index: 99
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 101
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 101
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 102
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 102}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 103}
                  unit: {mustSupport: true, index: 104}
                  code:
                    pattern: {type: Code, value: 10^9/L}
                    index: 105
                required: [value, unit]
        ErythrocyteDistWidth:
          match:
            code:
              coding:
              - {code: 21000-5, system: 'http://loinc.org', display: 'Erythrocyte distribution width [Entitic volume] by Automated count'}
          schema:
            short: Erythrocyte distribution width
            mustSupport: true
            index: 76
            extensions:
              value-r5: {url: null, index: 77}
            elements:
              extension:
                index: 77
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 77}
              code:
                short: ErythrocyteDistWidth code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 21000-5, system: 'http://loinc.org', display: 'Erythrocyte distribution width [Entitic volume] by Automated count'}
                index: 78
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Erythrocyte distribution width Auto (RBC) [Entitic vol]'}
                    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: fL}
                    index: 85
                required: [value, unit]
        PlateletMeanVolume:
          match:
            code:
              coding:
              - {code: 32623-1, system: 'http://loinc.org', display: 'Platelet mean volume [Entitic volume] in Blood by Automated count'}
          schema:
            short: Platelet Mean Volume
            mustSupport: true
            index: 116
            extensions:
              value-r5: {url: null, index: 117}
            elements:
              extension:
                index: 117
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 117}
              code:
                short: PlateletMeanVolume code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 32623-1, system: 'http://loinc.org', display: 'Platelet mean volume [Entitic volume] in Blood by Automated count'}
                index: 118
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Platelet mean volume Auto (Bld) [Entitic vol]'}
                    index: 119
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 121
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 121
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 122
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 122}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 123}
                  unit: {mustSupport: true, index: 124}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 125
                required: [value, unit]
        PlateletDistWidth:
          match:
            code:
              coding:
              - {code: 32207-3, system: 'http://loinc.org', display: 'Platelet distribution width [Entitic volume] in Blood by Automated count'}
          schema:
            short: Platelet Distribution With
            mustSupport: true
            index: 106
            extensions:
              value-r5: {url: null, index: 107}
            elements:
              extension:
                index: 107
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 107}
              code:
                short: PlateletDistWidth code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 32207-3, system: 'http://loinc.org', display: 'Platelet distribution width [Entitic volume] in Blood by Automated count'}
                index: 108
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'Platelet distribution width Auto (Bld) [Entitic vol]'}
                    index: 109
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 111
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 111
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 112
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 112}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 113}
                  unit: {mustSupport: true, index: 114}
                  code:
                    pattern: {type: Code, value: fL}
                    index: 115
                required: [value, unit]
        RedBloodCellCount:
          match:
            code:
              coding:
              - {code: 789-8, system: 'http://loinc.org', display: 'Erythrocytes [#/volume] in Blood by Automated count'}
          schema:
            short: Erythrocyte count
            mustSupport: true
            _required: true
            index: 16
            extensions:
              value-r5: {url: null, index: 17}
            elements:
              extension:
                index: 17
                slicing:
                  slices:
                    value-r5:
                      match: {}
                      schema: {index: 17}
              code:
                short: Leucocyte count code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 789-8, system: 'http://loinc.org', display: 'Erythrocytes [#/volume] in Blood by Automated count'}
                index: 18
                elements:
                  text:
                    short: LOINC Display Name
                    pattern: {type: String, value: 'RBC Auto (Bld) [#/Vol]'}
                    index: 19
              value:
                short: automated CBC Profile component value
                mustSupport: true
                choices: [valueQuantity]
                index: 21
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: automated CBC Profile component value
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 21
              valueQuantity:
                type: Quantity
                short: automated CBC Profile component value
                mustSupport: true
                choiceOf: value
                index: 22
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, short: automated CBC Profile component value, mustSupport: true, choiceOf: value, index: 22}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 23}
                  unit: {mustSupport: true, index: 24}
                  code:
                    pattern: {type: Code, value: 10*12/L}
                    index: 25
                required: [value, unit]
package_version: lab-report-1.0.0-ballot
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-ballot