description: 此重大傷病申請書回覆-QuestionnaireResponse TWCI Profile說明TWCI IG如何進一步定義FHIR的QuestionnaireResponse Resource以呈現重大傷病申請書回覆中之內容 package_name: tw.gov.mohw.nhi.ci derivation: constraint name: QuestionnaireResponseTWCI type: QuestionnaireResponse elements: questionnaire: type: canonical mustSupport: true pattern: {type: canonical, value: 'https://nhicore.nhi.gov.tw/ci/Questionnaire/apply-catastrophic-illness'} index: 0 status: pattern: {type: code, value: completed} type: code index: 1 item: mustSupport: true array: true min: 7 index: 2 elements: linkId: {short: 問卷題目編號, 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 item: array: true min: 5 max: 7 index: 7 slicing: rules: closed discriminator: - {path: linkId, type: value} min: 5 max: 7 slices: applMode: match: {linkId: '1.1'} schema: type: BackboneElement mustSupport: true _required: true index: 8 elements: linkId: pattern: {type: string, value: '1.1'} type: string index: 9 text: pattern: {type: string, value: hosp.applMode|申報方式} type: string index: 10 answer: mustSupport: true index: 11 elements: value: choices: [] index: 13 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true pattern: type: Coding value: {code: '2', system: 'https://nhicore.nhi.gov.tw/ci/CodeSystem/nhi-apply-mode'} type: Coding index: 15 min: 1 max: 1 valueCoding: type: Coding mustSupport: true pattern: type: Coding value: {code: '2', system: 'https://nhicore.nhi.gov.tw/ci/CodeSystem/nhi-apply-mode'} choiceOf: value index: 16 slicing: slices: valueCoding: match: {} schema: type: Coding mustSupport: true _required: true pattern: type: Coding value: {code: '2', system: 'https://nhicore.nhi.gov.tw/ci/CodeSystem/nhi-apply-mode'} choiceOf: value index: 16 min: 1 max: 1 required: [value, valueCoding] required: [answer] applType: match: {linkId: '1.2'} schema: type: BackboneElement mustSupport: true _required: true index: 17 elements: linkId: pattern: {type: string, value: '1.2'} type: string index: 18 text: pattern: {type: string, value: hosp.applType|申報類別} type: string index: 19 answer: mustSupport: true index: 20 elements: value: choices: [] index: 22 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true pattern: type: Coding value: {code: '1', system: 'https://nhicore.nhi.gov.tw/ci/CodeSystem/nhi-apply-type'} type: Coding index: 24 min: 1 max: 1 valueCoding: type: Coding mustSupport: true pattern: type: Coding value: {code: '1', system: 'https://nhicore.nhi.gov.tw/ci/CodeSystem/nhi-apply-type'} choiceOf: value index: 25 slicing: slices: valueCoding: match: {} schema: type: Coding mustSupport: true _required: true pattern: type: Coding value: {code: '1', system: 'https://nhicore.nhi.gov.tw/ci/CodeSystem/nhi-apply-type'} choiceOf: value index: 25 min: 1 max: 1 required: [value, valueCoding] required: [answer] applDate: match: {linkId: '1.3'} schema: type: BackboneElement mustSupport: true _required: true index: 26 elements: linkId: pattern: {type: string, value: '1.3'} type: string index: 27 text: pattern: {type: string, value: hosp.applDate|申請日期} type: string index: 28 answer: {mustSupport: true, index: 29} required: [answer] medCertBookDate: match: {linkId: '1.4'} schema: type: BackboneElement constraint: medCertBookDate: {human: 開立診斷書申請日期,不可大於系統日,不可小於2016-01-01,且為系統日之30日內。, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: answer.value.ofType(date) <= today() and answer.value.ofType(date) >= @2016-01-01 and answer.value.ofType(date) >= today() - 30 days} mustSupport: true _required: true index: 30 elements: linkId: pattern: {type: string, value: '1.4'} type: string index: 31 text: pattern: {type: string, value: hosp.medCertBookDate|開立診斷書申請日期} type: string index: 32 answer: mustSupport: true index: 33 elements: value: choices: [] index: 35 required: [value] required: [answer] hospId: match: {linkId: '1.5'} schema: type: BackboneElement mustSupport: true _required: true index: 36 elements: linkId: pattern: {type: string, value: '1.5'} type: string index: 37 text: pattern: {type: string, value: hosp.hospId|醫事機構代碼} type: string index: 38 answer: mustSupport: true index: 39 elements: value: choices: [] index: 41 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: choices: [valueCoding] _required: true index: 43 min: 1 max: 1 valueCoding: type: Coding choiceOf: value index: 44 slicing: slices: valueCoding: match: {} schema: {type: Coding, choiceOf: value, _required: true, index: 44} min: 1 max: 1 required: [value, valueCoding] required: [answer] acptNo: match: {linkId: '1.6'} schema: type: BackboneElement mustSupport: true index: 45 elements: linkId: pattern: {type: string, value: '1.6'} type: string index: 46 text: pattern: {type: string, value: hosp.acptNo|受理編號} type: string index: 47 answer: mustSupport: true index: 48 elements: value: choices: [] index: 50 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: choices: [valueString] _required: true index: 52 min: 1 max: 1 valueString: type: string choiceOf: value index: 53 slicing: slices: valueString: match: {} schema: {type: string, choiceOf: value, _required: true, index: 53} min: 1 max: 1 required: [value, valueString] required: [answer] acptNum: match: {linkId: '1.7'} schema: type: BackboneElement mustSupport: true index: 54 elements: linkId: pattern: {type: string, value: '1.7'} type: string index: 55 text: pattern: {type: string, value: hosp.acptNum|受理次數} type: string index: 56 answer: {mustSupport: true, index: 57} required: [answer] patient: match: {linkId: '2'} schema: mustSupport: true _required: true index: 58 elements: linkId: pattern: {type: string, value: '2'} type: string index: 59 text: pattern: {type: string, value: patient|病人資訊} type: string index: 60 answer: mustSupport: true index: 61 elements: value: choices: [] index: 63 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueReference: match: {} schema: choices: [valueReference] index: 65 min: 0 max: 1 valueReference: type: Reference choiceOf: value refers: ['https://nhicore.nhi.gov.tw/ci/StructureDefinition/Patient-twci'] index: 66 slicing: slices: valueReference: match: {} schema: type: Reference choiceOf: value refers: ['https://nhicore.nhi.gov.tw/ci/StructureDefinition/Patient-twci'] index: 66 min: 0 max: 1 required: [answer] doctor: match: {linkId: '3'} schema: mustSupport: true _required: true index: 67 elements: linkId: pattern: {type: string, value: '3'} type: string index: 68 text: pattern: {type: string, value: doctor|醫師資訊} type: string index: 69 item: index: 70 slicing: rules: closed discriminator: - {path: linkId, type: value} min: 1 slices: diagPrsnId: match: {linkId: '3.1'} schema: type: BackboneElement mustSupport: true index: 71 elements: linkId: pattern: {type: string, value: '3.1'} type: string index: 72 text: pattern: {type: string, value: doctor.diagPrsnId|醫師身分證號} type: string index: 73 answer: mustSupport: true index: 74 elements: value: choices: [] index: 76 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-10: {human: 長度不得超過10字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 10} mustSupport: true choices: [valueString] _required: true index: 78 min: 1 max: 1 valueString: constraint: txt-10: {human: 長度不得超過10字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 10} type: string mustSupport: true choiceOf: value index: 79 slicing: slices: valueString: match: {} schema: constraint: txt-10: {human: 長度不得超過10字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 10} type: string mustSupport: true _required: true choiceOf: value index: 79 min: 1 max: 1 required: [value, valueString] required: [answer] diagPrsnName: match: {linkId: '3.2'} schema: type: BackboneElement mustSupport: true _required: true index: 80 elements: linkId: pattern: {type: string, value: '3.2'} type: string index: 81 text: pattern: {type: string, value: doctor.diagPrsnName|診斷醫師姓名} type: string index: 82 answer: mustSupport: true index: 83 elements: value: choices: [] index: 85 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-12: {human: 長度不得超過12字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 12} mustSupport: true choices: [valueString] _required: true index: 87 min: 1 max: 1 valueString: constraint: txt-12: {human: 長度不得超過12字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 12} type: string mustSupport: true choiceOf: value index: 88 slicing: slices: valueString: match: {} schema: constraint: txt-12: {human: 長度不得超過12字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 12} type: string mustSupport: true _required: true choiceOf: value index: 88 min: 1 max: 1 required: [value, valueString] required: [answer] required: [item] diagnosis: match: {linkId: '4'} schema: mustSupport: true _required: true index: 89 elements: linkId: pattern: {type: string, value: '4'} type: string index: 90 text: pattern: {type: string, value: diagnosis|疾病資訊} type: string index: 91 item: index: 92 slicing: rules: closed discriminator: - {path: linkId, type: value} min: 1 slices: icd10cmCode: match: {linkId: '4.1'} schema: type: BackboneElement mustSupport: true _required: true index: 93 elements: linkId: pattern: {type: string, value: '4.1'} type: string index: 94 text: pattern: {type: string, value: diagnosis.icd10cmCode|主診斷代碼} type: string index: 95 answer: mustSupport: true index: 96 elements: value: choices: [] index: 98 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 100 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 101 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 101} min: 1 max: 1 required: [value, valueCoding] required: [answer] examinationReport: match: {linkId: '4.2'} schema: type: BackboneElement constraint: speType: {human: 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: (item.where(linkId = '4.2.1').item.answer.value.ofType(Coding).exists(code='47526-9')) implies (item.where(linkId = '4.2.2').item.answer.value.ofType(string).exists())} mustSupport: true array: true index: 102 elements: linkId: pattern: {type: string, value: '4.2'} type: string index: 103 text: pattern: {type: string, value: diagnosis.examinationReport|檢查報告} type: string index: 104 item: index: 105 slicing: rules: closed discriminator: - {path: linkId, type: value} min: null slices: reportType: match: {linkId: 4.2.1} schema: type: BackboneElement mustSupport: true index: 106 elements: linkId: pattern: {type: string, value: 4.2.1} type: string index: 107 text: pattern: {type: string, value: diagnosis.examinationReport.reportType|報告類型。當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類。} type: string index: 108 answer: mustSupport: true index: 109 elements: value: choices: [] index: 111 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 113 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 114 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 114} min: 1 max: 1 required: [value, valueCoding] required: [answer] speType: match: {linkId: 4.2.2} schema: type: BackboneElement mustSupport: true index: 115 elements: linkId: pattern: {type: string, value: 4.2.2} type: string index: 116 text: pattern: {type: string, value: diagnosis.examinationReport.speType|檢體種類} type: string index: 117 answer: mustSupport: true index: 118 elements: value: choices: [] index: 120 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-20: {human: 長度不得超過20字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 20} mustSupport: true choices: [valueString] _required: true index: 122 min: 1 max: 1 valueString: constraint: txt-20: {human: 長度不得超過20字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 20} type: string mustSupport: true choiceOf: value index: 123 slicing: slices: valueString: match: {} schema: constraint: txt-20: {human: 長度不得超過20字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 20} type: string mustSupport: true _required: true choiceOf: value index: 123 min: 1 max: 1 required: [value, valueString] required: [answer] reportResultString: match: {linkId: 4.2.3} schema: type: BackboneElement mustSupport: true index: 124 elements: linkId: pattern: {type: string, value: 4.2.3} type: string index: 125 text: pattern: {type: string, value: diagnosis.examinationReport.reportResultString|報告結果-文數字} type: string index: 126 answer: mustSupport: true index: 127 elements: value: choices: [] index: 129 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-4000: {human: 長度不得超過4000字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 4000} mustSupport: true choices: [valueString] _required: true index: 131 min: 1 max: 1 valueString: constraint: txt-4000: {human: 長度不得超過4000字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 4000} type: string mustSupport: true choiceOf: value index: 132 slicing: slices: valueString: match: {} schema: constraint: txt-4000: {human: 長度不得超過4000字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 4000} type: string mustSupport: true _required: true choiceOf: value index: 132 min: 1 max: 1 required: [value, valueString] required: [answer] reportResultPdf: match: {linkId: 4.2.4} schema: type: BackboneElement mustSupport: true index: 133 elements: linkId: pattern: {type: string, value: 4.2.4} type: string index: 134 text: pattern: {type: string, value: 'diagnosis.examinationReport.reportResultPdf|檢查報告檔案,請填寫完整檔案路徑。填寫格式:「file://檔名.副檔名」。'} type: string index: 135 answer: mustSupport: true index: 136 elements: value: choices: [] index: 138 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-50: {human: 長度不得超過50字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 50} mustSupport: true choices: [valueString] _required: true index: 140 min: 1 max: 1 valueString: constraint: txt-50: {human: 長度不得超過50字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 50} type: string mustSupport: true choiceOf: value index: 141 slicing: slices: valueString: match: {} schema: constraint: txt-50: {human: 長度不得超過50字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 50} type: string mustSupport: true _required: true choiceOf: value index: 141 min: 1 max: 1 required: [value, valueString] required: [answer] reportResultPdfTitle: match: {linkId: 4.2.5} schema: type: BackboneElement mustSupport: true index: 142 elements: linkId: pattern: {type: string, value: 4.2.5} type: string index: 143 text: pattern: {type: string, value: diagnosis.examinationReport.reportResultPdfTitle|檢查報告名稱} type: string index: 144 answer: mustSupport: true index: 145 elements: value: choices: [] index: 147 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-50: {human: 長度不得超過50字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 50} mustSupport: true choices: [valueString] _required: true index: 149 min: 1 max: 1 valueString: constraint: txt-50: {human: 長度不得超過50字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 50} type: string mustSupport: true choiceOf: value index: 150 slicing: slices: valueString: match: {} schema: constraint: txt-50: {human: 長度不得超過50字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 50} type: string mustSupport: true _required: true choiceOf: value index: 150 min: 1 max: 1 required: [value, valueString] required: [answer] reportDate: match: {linkId: 4.2.6} schema: type: BackboneElement mustSupport: true index: 151 elements: linkId: pattern: {type: string, value: 4.2.6} type: string index: 152 text: pattern: {type: string, value: diagnosis.examinationReport.reportDate|報告日期,YYYY-MM-DD。} type: string index: 153 answer: {mustSupport: true, index: 154} required: [answer] medrec: match: {linkId: '4.3'} schema: type: BackboneElement mustSupport: true array: true index: 155 elements: linkId: pattern: {type: string, value: '4.3'} type: string index: 156 text: pattern: {type: string, value: diagnosis.medrec|病歷資料} type: string index: 157 item: index: 158 slicing: rules: closed discriminator: - {path: linkId, type: value} min: null slices: medrec: match: {linkId: 4.3.1} schema: type: BackboneElement mustSupport: true index: 159 elements: linkId: pattern: {type: string, value: 4.3.1} type: string index: 160 text: pattern: {type: string, value: diagnosis.medrec.medrec|病歷資料} type: string index: 161 answer: mustSupport: true index: 162 elements: value: choices: [] index: 164 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 166 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 167 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 167} min: 1 max: 1 required: [value, valueString] required: [answer] medrecTitle: match: {linkId: 4.3.2} schema: type: BackboneElement mustSupport: true index: 168 elements: linkId: pattern: {type: string, value: 4.3.2} type: string index: 169 text: pattern: {type: string, value: diagnosis.medrec.medrecTitle|病歷資料名稱} type: string index: 170 answer: mustSupport: true index: 171 elements: value: choices: [] index: 173 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 175 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 176 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 176} min: 1 max: 1 required: [value, valueString] required: [answer] imageStudy: match: {linkId: '4.4'} schema: type: BackboneElement mustSupport: true array: true index: 177 elements: linkId: pattern: {type: string, value: '4.4'} type: string index: 178 text: pattern: {type: string, value: diagnosis.imageStudy|影像報告} type: string index: 179 item: index: 180 slicing: rules: closed discriminator: - {path: linkId, type: value} min: null slices: imgItem: match: {linkId: 4.4.1} schema: type: BackboneElement mustSupport: true index: 181 elements: linkId: pattern: {type: string, value: 4.4.1} type: string index: 182 text: pattern: {type: string, value: diagnosis.imageStudy.imgItem|影像報告} type: string index: 183 answer: elements: value: choices: [] index: 185 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 187 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 188 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 188} min: 1 max: 1 required: [value, valueCoding] imgResult: match: {linkId: 4.4.2} schema: type: BackboneElement mustSupport: true index: 189 elements: linkId: pattern: {type: string, value: 4.4.2} type: string index: 190 text: pattern: {type: string, value: diagnosis.imageStudy.imgResult|影像報告結果} type: string index: 191 answer: mustSupport: true index: 192 elements: value: choices: [] index: 194 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 196 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 197 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 197} min: 1 max: 1 required: [value, valueString] required: [answer] imgDate: match: {linkId: 4.4.3} schema: type: BackboneElement mustSupport: true index: 198 elements: linkId: pattern: {type: string, value: 4.4.3} type: string index: 199 text: pattern: {type: string, value: diagnosis.imageStudy.imgDate|影像報告日期} type: string index: 200 answer: {mustSupport: true, index: 201} required: [answer] imgBodySite: match: {linkId: 4.4.4} schema: type: BackboneElement mustSupport: true index: 202 elements: linkId: pattern: {type: string, value: 4.4.4} type: string index: 203 text: pattern: {type: string, value: diagnosis.imageStudy.imgBodySite|影像檢查的身體部位} type: string index: 204 answer: elements: value: choices: [] index: 206 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 208 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 209 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 209} min: 1 max: 1 required: [value, valueCoding] imgDicom: match: {linkId: 4.4.5} schema: type: BackboneElement mustSupport: true array: true index: 210 elements: linkId: pattern: {type: string, value: 4.4.5} type: string index: 211 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom|DICOM影像} type: string index: 212 item: array: true min: 2 index: 213 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: 214 elements: linkId: pattern: {type: string, value: 4.4.5.1} type: string index: 215 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.studyUid|整項影像檢查的識別碼} type: string index: 216 answer: elements: value: choices: [] index: 218 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 220 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 221 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 221} min: 1 max: 1 required: [value, valueString] series: match: {linkId: 4.4.5.2} schema: type: BackboneElement mustSupport: true array: true min: 1 _required: true index: 222 elements: linkId: pattern: {type: string, value: 4.4.5.2} type: string index: 223 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series|每項影像檢查有一個或多個系列(series)的實例} type: string index: 224 item: array: true min: 3 index: 225 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: 226 elements: linkId: pattern: {type: string, value: 4.4.5.2.1} type: string index: 227 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.uid|此系列的DICOM系列實例UID} type: string index: 228 answer: mustSupport: true index: 229 elements: value: choices: [] index: 231 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 233 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 234 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 234} min: 1 max: 1 required: [value, valueString] required: [answer] modality: match: {linkId: 4.4.5.2.2} schema: type: BackboneElement mustSupport: true _required: true index: 235 elements: linkId: pattern: {type: string, value: 4.4.5.2.2} type: string index: 236 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.modality|此系列實例所使用的成像儀器} type: string index: 237 answer: elements: value: choices: [] index: 239 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 241 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 242 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 242} min: 1 max: 1 required: [value, valueCoding] instance: match: {linkId: 4.4.5.2.3} schema: type: BackboneElement mustSupport: true array: true min: 1 _required: true index: 243 elements: linkId: pattern: {type: string, value: 4.4.5.2.3} type: string index: 244 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.instance|系列中的一個SOP實例} type: string index: 245 item: array: true min: 2 index: 246 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: 247 elements: linkId: pattern: {type: string, value: 4.4.5.2.3.1} type: string index: 248 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.instance.uid|DICOM影像} type: string index: 249 answer: mustSupport: true index: 250 elements: value: choices: [] index: 252 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 254 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 255 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 255} min: 1 max: 1 required: [value, valueString] required: [answer] sopClass: match: {linkId: 4.4.5.2.3.2} schema: type: BackboneElement mustSupport: true _required: true index: 256 elements: linkId: pattern: {type: string, value: 4.4.5.2.3.2} type: string index: 257 text: pattern: {type: string, value: diagnosis.imageStudy.imgDicom.series.instance.sopClass|DICOM class 類型} type: string index: 258 answer: mustSupport: true index: 259 elements: value: choices: [] index: 261 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 263 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 264 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 264} min: 1 max: 1 required: [value, valueCoding] required: [answer] imgNonDicom: match: {linkId: 4.4.6} schema: type: BackboneElement mustSupport: true array: true index: 265 elements: linkId: pattern: {type: string, value: 4.4.6} type: string index: 266 text: pattern: {type: string, value: diagnosis.imageStudy.imgNonDicom|非DICOM影像} type: string index: 267 item: array: true min: 2 index: 268 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: 269 elements: linkId: pattern: {type: string, value: 4.4.6.1} type: string index: 270 text: pattern: {type: string, value: diagnosis.imageStudy.imgNonDicom.imgNonDicom|非DICOM影像} type: string index: 271 answer: mustSupport: true index: 272 elements: value: choices: [] index: 274 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: mustSupport: true choices: [valueString] _required: true index: 276 min: 1 max: 1 valueString: type: string mustSupport: true choiceOf: value index: 277 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, _required: true, index: 277} min: 1 max: 1 required: [value, valueString] required: [answer] imgNonDicomMimeType: match: {linkId: 4.4.6.2} schema: type: BackboneElement mustSupport: true _required: true index: 278 elements: linkId: pattern: {type: string, value: 4.4.6.2} type: string index: 279 text: pattern: {type: string, value: diagnosis.imageStudy.imgNonDicom.imgNonDicomMimeType|非DICOM影像MimeType} type: string index: 280 answer: mustSupport: true index: 281 elements: value: choices: [] index: 283 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 285 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 286 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 286} min: 1 max: 1 required: [value, valueCoding] required: [answer] required: [item] ci: match: {linkId: '5'} schema: mustSupport: true _required: true index: 287 elements: linkId: pattern: {type: string, value: '5'} type: string index: 288 text: pattern: {type: string, value: ci|重大傷病} type: string index: 289 answer: mustSupport: true index: 290 elements: value: choices: [] index: 292 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueReference: match: {} schema: choices: [valueReference] index: 294 min: 0 max: 1 valueReference: type: Reference choiceOf: value refers: ['https://nhicore.nhi.gov.tw/ci/StructureDefinition/Condition-twci'] index: 295 slicing: slices: valueReference: match: {} schema: type: Reference choiceOf: value refers: ['https://nhicore.nhi.gov.tw/ci/StructureDefinition/Condition-twci'] index: 295 min: 0 max: 1 required: [answer] cancerStage: match: {linkId: '6'} schema: mustSupport: true _required: true index: 296 elements: linkId: pattern: {type: string, value: '6'} type: string index: 297 text: pattern: {type: string, value: cancerStage|癌症期別} type: string index: 298 item: index: 299 slicing: rules: closed discriminator: - {path: linkId, type: value} min: 1 slices: cancerStage: match: {linkId: '6.1'} schema: type: BackboneElement mustSupport: true _required: true index: 300 elements: linkId: pattern: {type: string, value: '6.1'} type: string index: 301 text: pattern: {type: string, value: cancerStage.cancerStage|癌症期別,醫院自行填入癌症期別(1~4),若為不適用者填9(不適用)。} type: string index: 302 answer: mustSupport: true index: 303 elements: value: choices: [] index: 305 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 307 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 308 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 308} min: 1 max: 1 required: [value, valueCoding] required: [answer] assessScore: match: {linkId: '6.2'} schema: type: BackboneElement mustSupport: true index: 309 elements: linkId: pattern: {type: string, value: '6.2'} type: string index: 310 text: pattern: {type: string, value: cancerStage.assessScore|癌症分期分數或結果} type: string index: 311 answer: mustSupport: true index: 312 elements: value: choices: [] index: 314 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-12: {human: 長度不得超過12字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 12} mustSupport: true choices: [valueString] _required: true index: 316 min: 1 max: 1 valueString: constraint: txt-12: {human: 長度不得超過12字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 12} type: string mustSupport: true choiceOf: value index: 317 slicing: slices: valueString: match: {} schema: constraint: txt-12: {human: 長度不得超過12字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 12} type: string mustSupport: true _required: true choiceOf: value index: 317 min: 1 max: 1 required: [value, valueString] required: [answer] assessDate: match: {linkId: '6.3'} schema: type: BackboneElement mustSupport: true index: 318 elements: linkId: pattern: {type: string, value: '6.3'} type: string index: 319 text: pattern: {type: string, value: cancerStage.assessDate|癌症分期量表評估日期,YYYY-MM-DD,西元年月日,民國前為負數。} type: string index: 320 answer: {mustSupport: true, index: 321} required: [answer] required: [item] illness: match: {linkId: '7'} schema: mustSupport: true _required: true index: 322 elements: linkId: pattern: {type: string, value: '7'} type: string index: 323 text: pattern: {type: string, value: illness|惡性腫瘤重大傷病換發評估表} type: string index: 324 item: index: 325 slicing: rules: closed discriminator: - {path: linkId, type: value} min: null slices: oriCancerCode: match: {linkId: '7.1'} schema: type: BackboneElement mustSupport: true index: 326 elements: linkId: pattern: {type: string, value: '7.1'} type: string index: 327 text: pattern: {type: string, value: illness.oriCancerCode|原發癌症診斷碼,最長為7碼。} type: string index: 328 answer: mustSupport: true index: 329 elements: value: choices: [] index: 331 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 333 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 334 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 334} min: 1 max: 1 required: [value, valueCoding] required: [answer] oriCancerDxDate: match: {linkId: '7.2'} schema: type: BackboneElement mustSupport: true index: 335 elements: linkId: pattern: {type: string, value: '7.2'} type: string index: 336 text: pattern: {type: string, value: illness.oriCancerDxDate|癌症最初診斷日期,西元年月日;不得大於系統日。} type: string index: 337 answer: {mustSupport: true, index: 338} required: [answer] oriCancerAjcc: match: {linkId: '7.3'} schema: type: BackboneElement mustSupport: true index: 339 elements: linkId: pattern: {type: string, value: '7.3'} type: string index: 340 text: pattern: {type: string, value: illness.oriCancerAjcc|癌症最初診斷AJCC分期(病理分期或未接受治療前的臨床分期),依期別填入;若不是用此分類而用其他分類,則填寫9。} type: string index: 341 answer: mustSupport: true index: 342 elements: value: choices: [] index: 344 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 346 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 347 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 347} min: 1 max: 1 required: [value, valueCoding] required: [answer] oriCancerAjcc1: match: {linkId: '7.4'} schema: type: BackboneElement mustSupport: true index: 348 elements: linkId: pattern: {type: string, value: '7.4'} type: string index: 349 text: pattern: {type: string, value: illness.oriCancerAjcc1|癌症最初診斷AJCC分期_補充說明欄位,若前述欄位為9,則請於此欄位描述其他系統之其他分期為何。} type: string index: 350 answer: mustSupport: true index: 351 elements: value: choices: [] index: 353 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-20: {human: 長度不得超過20字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 20} mustSupport: true choices: [valueString] _required: true index: 355 min: 1 max: 1 valueString: constraint: txt-20: {human: 長度不得超過20字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 20} type: string mustSupport: true choiceOf: value index: 356 slicing: slices: valueString: match: {} schema: constraint: txt-20: {human: 長度不得超過20字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 20} type: string mustSupport: true _required: true choiceOf: value index: 356 min: 1 max: 1 required: [value, valueString] required: [answer] cancerStatus: match: {linkId: '7.5'} schema: type: BackboneElement mustSupport: true index: 357 elements: linkId: pattern: {type: string, value: '7.5'} type: string index: 358 text: pattern: {type: string, value: illness.cancerStatus|目前癌症狀態} type: string index: 359 answer: mustSupport: true index: 360 elements: value: choices: [] index: 362 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 364 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 365 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 365} min: 1 max: 1 required: [value, valueCoding] required: [answer] cancerTreatment: match: {linkId: '7.6'} schema: type: BackboneElement mustSupport: true index: 366 elements: linkId: pattern: {type: string, value: '7.6'} type: string index: 367 text: pattern: {type: string, value: illness.cancerTreatment|後續治療評估,可複選。} type: string index: 368 answer: mustSupport: true index: 369 elements: value: choices: [] index: 371 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 373 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 374 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 374} min: 1 max: 1 required: [value, valueCoding] required: [answer] cancerTreatmentPlan: match: {linkId: '7.7'} schema: type: BackboneElement mustSupport: true index: 375 elements: linkId: pattern: {type: string, value: '7.7'} type: string index: 376 text: pattern: {type: string, value: illness.cancerTreatmentPlan|後續治療計劃,可複選。} type: string index: 377 answer: mustSupport: true index: 378 elements: value: choices: [] index: 380 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] _required: true index: 382 min: 1 max: 1 valueCoding: type: Coding mustSupport: true choiceOf: value index: 383 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, _required: true, index: 383} min: 1 max: 1 required: [value, valueCoding] required: [answer] cancerTreatmentText: match: {linkId: '7.8'} schema: type: BackboneElement mustSupport: true index: 384 elements: linkId: pattern: {type: string, value: '7.8'} type: string index: 385 text: pattern: {type: string, value: illness.cancerTreatmentText|補充說明。} type: string index: 386 answer: mustSupport: true index: 387 elements: value: choices: [] index: 389 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueString: match: {} schema: constraint: txt-400: {human: 長度不得超過400字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 400} mustSupport: true choices: [valueString] _required: true index: 391 min: 1 max: 1 valueString: constraint: txt-400: {human: 長度不得超過400字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 400} type: string mustSupport: true choiceOf: value index: 392 slicing: slices: valueString: match: {} schema: constraint: txt-400: {human: 長度不得超過400字, source: 'https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci', severity: error, expression: length() <= 400} type: string mustSupport: true _required: true choiceOf: value index: 392 min: 1 max: 1 required: [value, valueString] required: [answer] package_version: 1.0.0 class: profile kind: resource url: https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse version: 1.0.0 required: [questionnaire]