PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.ci@1.0.0
    https://nhicore.nhi.gov.tw/ci/StructureDefinition/Questionnaire-twci
description: 此重大傷病申請書-Questionnaire TWCI Profile說明TWCI IG如何進一步定義FHIR的Questionnaire Resource以呈現重大傷病申請書中之內容
package_name: tw.gov.mohw.nhi.ci
derivation: constraint
name: QuestionnaireTWCI
type: Questionnaire
elements:
  status:
    pattern: {type: code, value: active}
    type: code
    index: 0
  item:
    mustSupport: true
    array: true
    min: 7
    index: 1
    elements:
      linkId: {short: 問卷題目編號, index: 2}
      type: {short: '答題類型。group:組合題 | date:日期 | string:字串 | integer:整數| choice:選擇| attachment:文件| text:文字', index: 3}
    slicing:
      rules: closed
      discriminator:
      - {path: linkId, type: value}
      min: 7
      slices:
        hosp:
          match: {linkId: '1'}
          schema:
            mustSupport: true
            _required: true
            index: 4
            elements:
              linkId:
                pattern: {type: string, value: '1'}
                type: string
                index: 5
              text:
                pattern: {type: string, value: hosp|院所資訊}
                type: string
                index: 6
              type:
                pattern: {type: code, value: group}
                type: code
                index: 7
              required:
                pattern: {type: boolean, value: true}
                type: boolean
                index: 8
              item:
                array: true
                min: 5
                index: 9
                slicing:
                  rules: closed
                  discriminator:
                  - {path: linkId, type: value}
                  min: 5
                  slices:
                    applMode:
                      match: {linkId: '1.1'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 10
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.1'}
                            type: string
                            index: 11
                          text:
                            pattern: {type: string, value: hosp.applMode|申報方式}
                            type: string
                            index: 12
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 13
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 14
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-apply-mode'}
                            type: canonical
                            index: 15
                    applType:
                      match: {linkId: '1.2'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 16
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.2'}
                            type: string
                            index: 17
                          text:
                            pattern: {type: string, value: hosp.applType|申報類別}
                            type: string
                            index: 18
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 19
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 20
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-apply-type'}
                            type: canonical
                            index: 21
                    applDate:
                      match: {linkId: '1.3'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 22
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.3'}
                            type: string
                            index: 23
                          text:
                            pattern: {type: string, value: hosp.applDate|申請日期}
                            type: string
                            index: 24
                          type:
                            pattern: {type: code, value: date}
                            type: code
                            index: 25
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 26
                    medCertBookDate:
                      match: {linkId: '1.4'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 27
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.4'}
                            type: string
                            index: 28
                          text:
                            pattern: {type: string, value: hosp.medCertBookDate|開立診斷書申請日期}
                            type: string
                            index: 29
                          type:
                            pattern: {type: code, value: date}
                            type: code
                            index: 30
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 31
                    hospId:
                      match: {linkId: '1.5'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 32
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.5'}
                            type: string
                            index: 33
                          text:
                            pattern: {type: string, value: hosp.hospId|醫事機構代碼}
                            type: string
                            index: 34
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 35
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 36
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-organization'}
                            type: canonical
                            index: 37
                    acptNo:
                      match: {linkId: '1.6'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 38
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.6'}
                            type: string
                            index: 39
                          text:
                            pattern: {type: string, value: hosp.acptNo|受理編號}
                            type: string
                            index: 40
                          type:
                            pattern: {type: code, value: string}
                            type: code
                            index: 41
                    acptNum:
                      match: {linkId: '1.7'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 42
                        elements:
                          linkId:
                            pattern: {type: string, value: '1.7'}
                            type: string
                            index: 43
                          text:
                            pattern: {type: string, value: hosp.acptNum|受理次數}
                            type: string
                            index: 44
                          type:
                            pattern: {type: code, value: integer}
                            type: code
                            index: 45
        patient:
          match: {linkId: '2'}
          schema:
            mustSupport: true
            _required: true
            index: 46
            elements:
              linkId:
                pattern: {type: string, value: '2'}
                type: string
                index: 47
              text:
                pattern: {type: string, value: patient|病人資訊}
                type: string
                index: 48
              type:
                pattern: {type: code, value: reference}
                type: code
                index: 49
              required:
                pattern: {type: boolean, value: true}
                type: boolean
                index: 50
              answerOption:
                elements:
                  value:
                    choices: [valueReference]
                    index: 52
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    index: 53
        doctor:
          match: {linkId: '3'}
          schema:
            mustSupport: true
            _required: true
            index: 54
            elements:
              linkId:
                pattern: {type: string, value: '3'}
                type: string
                index: 55
              text:
                pattern: {type: string, value: doctor|醫師資訊}
                type: string
                index: 56
              type:
                pattern: {type: code, value: group}
                type: code
                index: 57
              required:
                pattern: {type: boolean, value: true}
                type: boolean
                index: 58
              item:
                index: 59
                slicing:
                  rules: closed
                  discriminator:
                  - {path: linkId, type: value}
                  min: 1
                  slices:
                    diagPrsnId:
                      match: {linkId: '3.1'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 60
                        elements:
                          linkId:
                            pattern: {type: string, value: '3.1'}
                            type: string
                            index: 61
                          text:
                            pattern: {type: string, value: doctor.diagPrsnId|醫師身分證號}
                            type: string
                            index: 62
                          type:
                            pattern: {type: code, value: string}
                            type: code
                            index: 63
                    diagPrsnName:
                      match: {linkId: '3.2'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 64
                        elements:
                          linkId:
                            pattern: {type: string, value: '3.2'}
                            type: string
                            index: 65
                          text:
                            pattern: {type: string, value: doctor.diagPrsnName|診斷醫師姓名}
                            type: string
                            index: 66
                          type:
                            pattern: {type: code, value: string}
                            type: code
                            index: 67
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 68
            required: [item]
        diagnosis:
          match: {linkId: '4'}
          schema:
            mustSupport: true
            _required: true
            index: 69
            elements:
              linkId:
                pattern: {type: string, value: '4'}
                type: string
                index: 70
              text:
                pattern: {type: string, value: diagnosis|疾病資訊}
                type: string
                index: 71
              type:
                pattern: {type: code, value: group}
                type: code
                index: 72
              item:
                index: 73
                slicing:
                  rules: closed
                  discriminator:
                  - {path: linkId, type: value}
                  min: 1
                  slices:
                    icd10cmCode:
                      match: {linkId: '4.1'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 74
                        elements:
                          linkId:
                            pattern: {type: string, value: '4.1'}
                            type: string
                            index: 75
                          text:
                            pattern: {type: string, value: diagnosis.icd10cmCode|主診斷代碼}
                            type: string
                            index: 76
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 77
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 78
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-diag-code-icd'}
                            type: canonical
                            index: 79
                    examinationReport:
                      match: {linkId: '4.2'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        array: true
                        index: 80
                        elements:
                          linkId:
                            pattern: {type: string, value: '4.2'}
                            type: string
                            index: 81
                          text:
                            pattern: {type: string, value: diagnosis.examinationReport|檢查報告}
                            type: string
                            index: 82
                          type:
                            pattern: {type: code, value: group}
                            type: code
                            index: 83
                          item:
                            index: 84
                            slicing:
                              rules: closed
                              discriminator:
                              - {path: linkId, type: value}
                              min: null
                              slices:
                                reportType:
                                  match: {linkId: 4.2.1}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 85
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.2.1}
                                        type: string
                                        index: 86
                                      text:
                                        pattern: {type: string, value: diagnosis.examinationReport.reportType|報告類型。當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類。}
                                        type: string
                                        index: 87
                                      type:
                                        pattern: {type: code, value: choice}
                                        type: code
                                        index: 88
                                      answerValueSet:
                                        pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/loinc-report-type'}
                                        type: canonical
                                        index: 89
                                speType:
                                  match: {linkId: 4.2.2}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 90
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.2.2}
                                        type: string
                                        index: 91
                                      text:
                                        pattern: {type: string, value: diagnosis.examinationReport.speType|檢體種類}
                                        type: string
                                        index: 92
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 93
                                reportResultString:
                                  match: {linkId: 4.2.3}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 94
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.2.3}
                                        type: string
                                        index: 95
                                      text:
                                        pattern: {type: string, value: diagnosis.examinationReport.reportResultString|報告結果-文數字}
                                        type: string
                                        index: 96
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 97
                                reportResultPdf:
                                  match: {linkId: 4.2.4}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 98
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.2.4}
                                        type: string
                                        index: 99
                                      text:
                                        pattern: {type: string, value: 'diagnosis.examinationReport.reportResultPdf|檢查報告檔案,請填寫完整檔案路徑。填寫格式:「file://檔名.副檔名」。'}
                                        type: string
                                        index: 100
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 101
                                reportResultPdfTitle:
                                  match: {linkId: 4.2.5}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 102
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.2.5}
                                        type: string
                                        index: 103
                                      text:
                                        pattern: {type: string, value: diagnosis.examinationReport.reportResultPdfTitle|檢查報告名稱}
                                        type: string
                                        index: 104
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 105
                                reportDate:
                                  match: {linkId: 4.2.6}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 106
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.2.6}
                                        type: string
                                        index: 107
                                      text:
                                        pattern: {type: string, value: diagnosis.examinationReport.reportDate|報告日期,YYYY-MM-DD。}
                                        type: string
                                        index: 108
                                      type:
                                        pattern: {type: code, value: date}
                                        type: code
                                        index: 109
                    medrec:
                      match: {linkId: '4.3'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        array: true
                        index: 110
                        elements:
                          linkId:
                            pattern: {type: string, value: '4.3'}
                            type: string
                            index: 111
                          text:
                            pattern: {type: string, value: diagnosis.medrec|病歷資料}
                            type: string
                            index: 112
                          type:
                            pattern: {type: code, value: group}
                            type: code
                            index: 113
                          repeats:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 114
                          item:
                            index: 115
                            slicing:
                              rules: closed
                              discriminator:
                              - {path: linkId, type: value}
                              min: null
                              slices:
                                medrec:
                                  match: {linkId: 4.3.1}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 116
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.3.1}
                                        type: string
                                        index: 117
                                      text:
                                        pattern: {type: string, value: diagnosis.medrec.medrec|病歷資料}
                                        type: string
                                        index: 118
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 119
                                medrecTitle:
                                  match: {linkId: 4.3.2}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 120
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.3.2}
                                        type: string
                                        index: 121
                                      text:
                                        pattern: {type: string, value: diagnosis.medrec.medrecTitle|病歷資料名稱}
                                        type: string
                                        index: 122
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 123
                    imageStudy:
                      match: {linkId: '4.4'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        array: true
                        index: 124
                        elements:
                          linkId:
                            pattern: {type: string, value: '4.4'}
                            type: string
                            index: 125
                          text:
                            pattern: {type: string, value: diagnosis.imageStudy|影像報告}
                            type: string
                            index: 126
                          type:
                            pattern: {type: code, value: group}
                            type: code
                            index: 127
                          repeats:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 128
                          item:
                            index: 129
                            slicing:
                              rules: closed
                              discriminator:
                              - {path: linkId, type: value}
                              min: null
                              slices:
                                imgItem:
                                  match: {linkId: 4.4.1}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 130
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.4.1}
                                        type: string
                                        index: 131
                                      text:
                                        pattern: {type: string, value: diagnosis.imageStudy.imgItem|影像報告}
                                        type: string
                                        index: 132
                                      type:
                                        pattern: {type: code, value: choice}
                                        type: code
                                        index: 133
                                      answerValueSet:
                                        pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/icd-10-pcs-2023-image'}
                                        type: canonical
                                        index: 134
                                imgResult:
                                  match: {linkId: 4.4.2}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 135
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.4.2}
                                        type: string
                                        index: 136
                                      text:
                                        pattern: {type: string, value: diagnosis.imageStudy.imgResult|影像報告結果}
                                        type: string
                                        index: 137
                                      type:
                                        pattern: {type: code, value: string}
                                        type: code
                                        index: 138
                                imgDate:
                                  match: {linkId: 4.4.3}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 139
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.4.3}
                                        type: string
                                        index: 140
                                      text:
                                        pattern: {type: string, value: diagnosis.imageStudy.imgDate|影像報告日期}
                                        type: string
                                        index: 141
                                      type:
                                        pattern: {type: code, value: date}
                                        type: code
                                        index: 142
                                imgBodySite:
                                  match: {linkId: 4.4.4}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    index: 143
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.4.4}
                                        type: string
                                        index: 144
                                      text:
                                        pattern: {type: string, value: diagnosis.imageStudy.imgBodySite|影像檢查的身體部位}
                                        type: string
                                        index: 145
                                      type:
                                        pattern: {type: code, value: choice}
                                        type: code
                                        index: 146
                                      answerValueSet:
                                        pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/body-site'}
                                        type: canonical
                                        index: 147
                                imgDicom:
                                  match: {linkId: 4.4.5}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    array: true
                                    index: 148
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.4.5}
                                        type: string
                                        index: 149
                                      text:
                                        pattern: {type: string, value: diagnosis.imageStudy.imgDicom|DICOM影像}
                                        type: string
                                        index: 150
                                      type:
                                        pattern: {type: code, value: group}
                                        type: code
                                        index: 151
                                      repeats:
                                        pattern: {type: boolean, value: true}
                                        type: boolean
                                        index: 152
                                      item:
                                        array: true
                                        min: 2
                                        index: 153
                                        slicing:
                                          rules: closed
                                          discriminator:
                                          - {path: linkId, type: value}
                                          min: 2
                                          slices:
                                            studyUid:
                                              match: {linkId: 4.4.5.1}
                                              schema:
                                                type: BackboneElement
                                                mustSupport: true
                                                _required: true
                                                index: 154
                                                elements:
                                                  linkId:
                                                    pattern: {type: string, value: 4.4.5.1}
                                                    type: string
                                                    index: 155
                                                  text:
                                                    pattern: {type: string, value: diagnosis.imageStudy.imgDicom.studyUid|整項影像檢查的識別碼}
                                                    type: string
                                                    index: 156
                                                  type:
                                                    pattern: {type: code, value: string}
                                                    type: code
                                                    index: 157
                                            series:
                                              match: {linkId: 4.4.5.2}
                                              schema:
                                                type: BackboneElement
                                                mustSupport: true
                                                array: true
                                                min: 1
                                                _required: true
                                                index: 158
                                                elements:
                                                  linkId:
                                                    pattern: {type: string, value: 4.4.5.2}
                                                    type: string
                                                    index: 159
                                                  text:
                                                    pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series|每項影像檢查有一個或多個系列(series)的實例}
                                                    type: string
                                                    index: 160
                                                  type:
                                                    pattern: {type: code, value: group}
                                                    type: code
                                                    index: 161
                                                  repeats:
                                                    pattern: {type: boolean, value: true}
                                                    type: boolean
                                                    index: 162
                                                  item:
                                                    array: true
                                                    min: 3
                                                    index: 163
                                                    slicing:
                                                      rules: closed
                                                      discriminator:
                                                      - {path: linkId, type: value}
                                                      min: 3
                                                      slices:
                                                        uid:
                                                          match: {linkId: 4.4.5.2.1}
                                                          schema:
                                                            type: BackboneElement
                                                            mustSupport: true
                                                            _required: true
                                                            index: 164
                                                            elements:
                                                              linkId:
                                                                pattern: {type: string, value: 4.4.5.2.1}
                                                                type: string
                                                                index: 165
                                                              text:
                                                                pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.uid|此系列的DICOM系列實例UID}
                                                                type: string
                                                                index: 166
                                                              type:
                                                                pattern: {type: code, value: string}
                                                                type: code
                                                                index: 167
                                                        modality:
                                                          match: {linkId: 4.4.5.2.2}
                                                          schema:
                                                            type: BackboneElement
                                                            mustSupport: true
                                                            _required: true
                                                            index: 168
                                                            elements:
                                                              linkId:
                                                                pattern: {type: string, value: 4.4.5.2.2}
                                                                type: string
                                                                index: 169
                                                              text:
                                                                pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.modality|此系列實例所使用的成像儀器}
                                                                type: string
                                                                index: 170
                                                              type:
                                                                pattern: {type: code, value: choice}
                                                                type: code
                                                                index: 171
                                                              answerValueSet:
                                                                pattern: {type: canonical, value: 'http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html'}
                                                                type: canonical
                                                                index: 172
                                                        instance:
                                                          match: {linkId: 4.4.5.2.3}
                                                          schema:
                                                            type: BackboneElement
                                                            mustSupport: true
                                                            array: true
                                                            min: 1
                                                            _required: true
                                                            index: 173
                                                            elements:
                                                              linkId:
                                                                pattern: {type: string, value: 4.4.5.2.3}
                                                                type: string
                                                                index: 174
                                                              text:
                                                                pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.instance|系列中的一個SOP實例}
                                                                type: string
                                                                index: 175
                                                              type:
                                                                pattern: {type: code, value: group}
                                                                type: code
                                                                index: 176
                                                              repeats:
                                                                pattern: {type: boolean, value: true}
                                                                type: boolean
                                                                index: 177
                                                              item:
                                                                array: true
                                                                min: 2
                                                                index: 178
                                                                slicing:
                                                                  rules: closed
                                                                  discriminator:
                                                                  - {path: linkId, type: value}
                                                                  min: 2
                                                                  slices:
                                                                    uid:
                                                                      match: {linkId: 4.4.5.2.3.1}
                                                                      schema:
                                                                        type: BackboneElement
                                                                        mustSupport: true
                                                                        _required: true
                                                                        index: 179
                                                                        elements:
                                                                          linkId:
                                                                            pattern: {type: string, value: 4.4.5.2.3.1}
                                                                            type: string
                                                                            index: 180
                                                                          text:
                                                                            pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.instance.uid|DICOM影像}
                                                                            type: string
                                                                            index: 181
                                                                          type:
                                                                            pattern: {type: code, value: string}
                                                                            type: code
                                                                            index: 182
                                                                    sopClass:
                                                                      match: {linkId: 4.4.5.2.3.2}
                                                                      schema:
                                                                        type: BackboneElement
                                                                        mustSupport: true
                                                                        _required: true
                                                                        index: 183
                                                                        elements:
                                                                          linkId:
                                                                            pattern: {type: string, value: 4.4.5.2.3.2}
                                                                            type: string
                                                                            index: 184
                                                                          text:
                                                                            pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.instance.sopClass|DICOM class 類型}
                                                                            type: string
                                                                            index: 185
                                                                          type:
                                                                            pattern: {type: code, value: choice}
                                                                            type: code
                                                                            index: 186
                                imgNonDicom:
                                  match: {linkId: 4.4.6}
                                  schema:
                                    type: BackboneElement
                                    mustSupport: true
                                    array: true
                                    index: 187
                                    elements:
                                      linkId:
                                        pattern: {type: string, value: 4.4.6}
                                        type: string
                                        index: 188
                                      text:
                                        pattern: {type: string, value: diagnosis.imageStudy.imgNonDicom|非DICOM影像}
                                        type: string
                                        index: 189
                                      type:
                                        pattern: {type: code, value: group}
                                        type: code
                                        index: 190
                                      repeats:
                                        pattern: {type: boolean, value: true}
                                        type: boolean
                                        index: 191
                                      item:
                                        array: true
                                        min: 2
                                        index: 192
                                        slicing:
                                          rules: closed
                                          discriminator:
                                          - {path: linkId, type: value}
                                          min: 2
                                          slices:
                                            imgNonDicom:
                                              match: {linkId: 4.4.6.1}
                                              schema:
                                                type: BackboneElement
                                                mustSupport: true
                                                _required: true
                                                index: 193
                                                elements:
                                                  linkId:
                                                    pattern: {type: string, value: 4.4.6.1}
                                                    type: string
                                                    index: 194
                                                  text:
                                                    pattern: {type: string, value: diagnosis.imageStudy.imgNonDicom.imgNonDicom|非DICOM影像}
                                                    type: string
                                                    index: 195
                                                  type:
                                                    pattern: {type: code, value: string}
                                                    type: code
                                                    index: 196
                                            imgNonDicomMimeType:
                                              match: {linkId: 4.4.6.2}
                                              schema:
                                                type: BackboneElement
                                                mustSupport: true
                                                _required: true
                                                index: 197
                                                elements:
                                                  linkId:
                                                    pattern: {type: string, value: 4.4.6.2}
                                                    type: string
                                                    index: 198
                                                  text:
                                                    pattern: {type: string, value: diagnosis.imageStudy.imgNonDicom.imgNonDicomMimeType|非DICOM影像MimeType}
                                                    type: string
                                                    index: 199
                                                  type:
                                                    pattern: {type: code, value: choice}
                                                    type: code
                                                    index: 200
                                                  answerValueSet:
                                                    pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/media-mimetypes'}
                                                    type: canonical
                                                    index: 201
            required: [item]
        ci:
          match: {linkId: '5'}
          schema:
            mustSupport: true
            _required: true
            index: 202
            elements:
              linkId:
                pattern: {type: string, value: '5'}
                type: string
                index: 203
              text:
                pattern: {type: string, value: ci|重大傷病}
                type: string
                index: 204
              type:
                pattern: {type: code, value: reference}
                type: code
                index: 205
              required:
                pattern: {type: boolean, value: true}
                type: boolean
                index: 206
              answerOption:
                elements:
                  value:
                    choices: [valueReference]
                    index: 208
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    index: 209
        cancerStage:
          match: {linkId: '6'}
          schema:
            mustSupport: true
            _required: true
            index: 210
            elements:
              linkId:
                pattern: {type: string, value: '6'}
                type: string
                index: 211
              text:
                pattern: {type: string, value: cancerStage|癌症期別}
                type: string
                index: 212
              type:
                pattern: {type: code, value: group}
                type: code
                index: 213
              required:
                pattern: {type: boolean, value: true}
                type: boolean
                index: 214
              item:
                index: 215
                slicing:
                  rules: closed
                  discriminator:
                  - {path: linkId, type: value}
                  min: 1
                  slices:
                    cancerStage:
                      match: {linkId: '6.1'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 216
                        elements:
                          linkId:
                            pattern: {type: string, value: '6.1'}
                            type: string
                            index: 217
                          text:
                            pattern: {type: string, value: cancerStage.cancerStage|癌症期別,醫院自行填入癌症期別(1~4),若為不適用者填9(不適用)。}
                            type: string
                            index: 218
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 219
                          required:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 220
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/cancer-stage'}
                            type: canonical
                            index: 221
                    assessScore:
                      match: {linkId: '6.2'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 222
                        elements:
                          linkId:
                            pattern: {type: string, value: '6.2'}
                            type: string
                            index: 223
                          text:
                            pattern: {type: string, value: cancerStage.assessScore|癌症分期分數或結果}
                            type: string
                            index: 224
                          type:
                            pattern: {type: code, value: string}
                            type: code
                            index: 225
                    assessDate:
                      match: {linkId: '6.3'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 226
                        elements:
                          linkId:
                            pattern: {type: string, value: '6.3'}
                            type: string
                            index: 227
                          text:
                            pattern: {type: string, value: cancerStage.assessDate|癌症分期量表評估日期,YYYY-MM-DD,西元年月日,民國前為負數。}
                            type: string
                            index: 228
                          type:
                            pattern: {type: code, value: date}
                            type: code
                            index: 229
            required: [item]
        illness:
          match: {linkId: '7'}
          schema:
            mustSupport: true
            _required: true
            index: 230
            elements:
              linkId:
                pattern: {type: string, value: '7'}
                type: string
                index: 231
              text:
                pattern: {type: string, value: illness|惡性腫瘤重大傷病換發評估表}
                type: string
                index: 232
              type:
                pattern: {type: code, value: group}
                type: code
                index: 233
              item:
                index: 234
                slicing:
                  rules: closed
                  discriminator:
                  - {path: linkId, type: value}
                  min: null
                  slices:
                    oriCancerCode:
                      match: {linkId: '7.1'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 235
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.1'}
                            type: string
                            index: 236
                          text:
                            pattern: {type: string, value: illness.oriCancerCode|原發癌症診斷碼,最長為7碼。}
                            type: string
                            index: 237
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 238
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-primary-cancer-icd'}
                            type: canonical
                            index: 239
                    oriCancerDxDate:
                      match: {linkId: '7.2'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 240
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.2'}
                            type: string
                            index: 241
                          text:
                            pattern: {type: string, value: illness.oriCancerDxDate|癌症最初診斷日期,西元年月日;不得大於系統日。}
                            type: string
                            index: 242
                          type:
                            pattern: {type: code, value: date}
                            type: code
                            index: 243
                    oriCancerAjcc:
                      match: {linkId: '7.3'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 244
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.3'}
                            type: string
                            index: 245
                          text:
                            pattern: {type: string, value: illness.oriCancerAjcc|癌症最初診斷AJCC分期(病理分期或未接受治療前的臨床分期),依期別填入;若不是用此分類而用其他分類,則填寫9。}
                            type: string
                            index: 246
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 247
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-cancerstaging'}
                            type: canonical
                            index: 248
                    oriCancerAjcc1:
                      match: {linkId: '7.4'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 249
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.4'}
                            type: string
                            index: 250
                          text:
                            pattern: {type: string, value: illness.oriCancerAjcc1|癌症最初診斷AJCC分期_補充說明欄位,若前述欄位為9,則請於此欄位描述其他系統之其他分期為何。}
                            type: string
                            index: 251
                          type:
                            pattern: {type: code, value: string}
                            type: code
                            index: 252
                    cancerStatus:
                      match: {linkId: '7.5'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 253
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.5'}
                            type: string
                            index: 254
                          text:
                            pattern: {type: string, value: illness.cancerStatus|目前癌症狀態}
                            type: string
                            index: 255
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 256
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-cancerstage-status'}
                            type: canonical
                            index: 257
                    cancerTreatment:
                      match: {linkId: '7.6'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 258
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.6'}
                            type: string
                            index: 259
                          text:
                            pattern: {type: string, value: illness.cancerTreatment|後續治療評估,可複選。}
                            type: string
                            index: 260
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 261
                          repeats:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 262
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-cancer-treatment'}
                            type: canonical
                            index: 263
                    cancerTreatmentPlan:
                      match: {linkId: '7.7'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 264
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.7'}
                            type: string
                            index: 265
                          text:
                            pattern: {type: string, value: illness.cancerTreatmentPlan|後續治療計劃,可複選。}
                            type: string
                            index: 266
                          type:
                            pattern: {type: code, value: choice}
                            type: code
                            index: 267
                          repeats:
                            pattern: {type: boolean, value: true}
                            type: boolean
                            index: 268
                          answerValueSet:
                            pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-cancer-treatment-plan'}
                            type: canonical
                            index: 269
                    cancerTreatmentText:
                      match: {linkId: '7.8'}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 270
                        elements:
                          linkId:
                            pattern: {type: string, value: '7.8'}
                            type: string
                            index: 271
                          text:
                            pattern: {type: string, value: illness.cancerTreatmentText|補充說明。}
                            type: string
                            index: 272
                          type:
                            pattern: {type: code, value: string}
                            type: code
                            index: 273
package_version: 1.0.0
class: profile
kind: resource
url: https://nhicore.nhi.gov.tw/ci/StructureDefinition/Questionnaire-twci
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: 1.0.0