PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.emr@0.2.0
    https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRObservationLabResults
description: 此Profile繼承於臺灣核心-檢驗檢查(TW Core Observation) ,並用以描述門診病歷中的病人基本資料_實驗室檢查紀錄[[*FMM1*](http://build.fhir.org/versions.html#maturity)]
package_name: tw.gov.mohw.emr
derivation: constraint
name: PMRObservationLabResults
type: Observation
elements:
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 0
  code:
    mustSupport: true
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: code, type: type}
          min: 1
          slices:
            LabTestResults:
              match: {}
              schema:
                _required: true
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 4
                  code:
                    pattern: {type: Code, value: 19146-0}
                    index: 5
                  display:
                    pattern: {type: String, value: Referral lab test results}
                    index: 6
                required: [display, system, code]
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRPatient']
    index: 7
  encounter:
    type: Reference
    refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMREncounter']
    index: 8
  performer:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMROrganization', 'https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRPatient', 'https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRPractitioner']
    index: 9
  component:
    array: true
    min: 2
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.code, type: value}
      min: 2
      slices:
        BloodType:
          match:
            code:
              coding: {code: 883-9}
          schema:
            short: 血型的結果值。[應填入於門診病歷血型Blood Type]
            _required: true
            index: 11
            elements:
              code:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-codes'}
                index: 12
                elements:
                  coding:
                    index: 13
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 14
                      code:
                        pattern: {type: Code, value: 883-9}
                        index: 15
                      display:
                        pattern: {type: String, value: 'ABO group [Type] in Blood'}
                        index: 16
                    required: [display, system, code]
                required: [coding]
              value:
                short: 組成之檢驗檢查的實際結果。
                choices: []
                index: 18
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        short: 血型的結果值。[應填入於門診病歷血型Blood Type]
                        choices: [valueCodeableConcept]
                        index: 20
              valueCodeableConcept:
                type: CodeableConcept
                short: 血型的結果值。[應填入於門診病歷血型Blood Type]
                choiceOf: value
                index: 21
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: '血型的結果值。[應填入於門診病歷血型Blood Type]', choiceOf: value, index: 21}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    index: 22
                    slicing:
                      rules: open
                      discriminator:
                      - {path: code, type: value}
                      min: null
                      slices:
                        BloodGroup_A:
                          match: {code: LA19710-5}
                          schema:
                            mustSupport: true
                            index: 23
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 24
                              code:
                                pattern: {type: Code, value: LA19710-5}
                                mustSupport: true
                                index: 25
                              display:
                                pattern: {type: String, value: Group A}
                                index: 26
                            required: [system, code]
                        BloodGroup_B:
                          match: {code: LA19709-7}
                          schema:
                            mustSupport: true
                            index: 27
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 28
                              code:
                                pattern: {type: Code, value: LA19709-7}
                                mustSupport: true
                                index: 29
                              display:
                                pattern: {type: String, value: Group B}
                                index: 30
                            required: [system, code]
                        BloodGroup_O:
                          match: {code: LA19708-9}
                          schema:
                            mustSupport: true
                            index: 31
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 32
                              code:
                                pattern: {type: Code, value: LA19708-9}
                                mustSupport: true
                                index: 33
                              display:
                                pattern: {type: String, value: Group O}
                                index: 34
                            required: [system, code]
                        BloodGroup_AB:
                          match: {code: LA28449-9}
                          schema:
                            mustSupport: true
                            index: 35
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 36
                              code:
                                pattern: {type: Code, value: LA28449-9}
                                mustSupport: true
                                index: 37
                              display:
                                pattern: {type: String, value: Group AB}
                                index: 38
                            required: [system, code]
                  text: {short: 概念的文字表示法, mustSupport: true, index: 39}
            required: [value]
        RhType:
          match:
            code:
              coding: {code: 10331-7}
          schema:
            _required: true
            index: 40
            elements:
              code:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-codes'}
                index: 41
                elements:
                  coding:
                    index: 42
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 43
                      code:
                        pattern: {type: Code, value: 10331-7}
                        index: 44
                      display:
                        pattern: {type: String, value: 'Rh [Type] in Blood'}
                        index: 45
                    required: [display, system, code]
                required: [coding]
              value:
                choices: []
                index: 47
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        short: D抗原性的結果值。[應填入於門診病歷血型D抗原性Rh Type]
                        choices: [valueCodeableConcept]
                        index: 49
              valueCodeableConcept:
                type: CodeableConcept
                short: D抗原性的結果值。[應填入於門診病歷血型D抗原性Rh Type]
                choiceOf: value
                index: 50
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: 'D抗原性的結果值。[應填入於門診病歷血型D抗原性Rh Type]', choiceOf: value, index: 50}
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    index: 51
                    slicing:
                      rules: open
                      discriminator:
                      - {path: code, type: value}
                      min: null
                      slices:
                        Positive:
                          match: {code: LA6576-8}
                          schema:
                            mustSupport: true
                            index: 52
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 53
                              code:
                                pattern: {type: Code, value: LA6576-8}
                                mustSupport: true
                                index: 54
                              display:
                                pattern: {type: String, value: Positive}
                                index: 55
                            required: [system, code]
                        Negative:
                          match: {code: LA6577-6}
                          schema:
                            index: 56
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 57
                              code:
                                pattern: {type: Code, value: LA6577-6}
                                mustSupport: true
                                index: 58
                              display:
                                pattern: {type: String, value: Negative}
                                index: 59
                            required: [system, code]
                  text: {short: 概念的文字表示法, mustSupport: true, index: 60}
            required: [value]
package_version: 0.2.0
class: profile
kind: resource
url: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRObservationLabResults
base: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Observationtwcore
version: 0.2.0