臺灣長期照顧實作指引(TW LTC IG)
1.0.0 - STU 1.0.0

臺灣長期照顧實作指引(TW LTC IG), published by 經濟部產業發展署. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Lorex/TWLongTermCare_IG_Build/ and changes regularly. See the Directory of published versions

Resource Profile: 長照支付審查-申報交易任務

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/LTCTaskFeeAudit Version: 1.0.0
Draft as of 2026-07-29 Computable Name: LTCTaskFeeAudit

此 Profile 說明本 IG 如何進一步定義 FHIR 的 Task Resource,以呈現支付審核系統的申報確認通知(appCompletionNotice)、服務紀錄刪除(ObjDel)、服務單位撤回(appCancel)、取消交易單處理結果回報(CancelResultResponse)等工作流操作,以及各交易單(trans_no)的處理狀態與結果。每一筆 Task 代表一次以交易序號為單位的申報交易操作,Task.code 表達 API Function 名稱、Task.status 表達 API 執行狀況、Task.businessStatus 表達分案之核銷狀況,操作所需的輸入參數(縣市代碼、核銷案號、服務紀錄識別碼、所要取消結果回報之交易序號)以 Task.input 承載;因 Task.input 於 FHIR R4 不支援巢狀 part,規格書 appCompletionNotice 之 city_info(縣市代碼下含多筆案件編號)改以「一個縣市一筆 Task」表達,各 Task 以相同之交易序號(Task.groupIdentifier)相互關聯,(查詢A) 回覆之批次處理結果與筆數、分案異常資料、服務紀錄刪除成功/失敗資料則以 Task.output 承載。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* LTCTask A task to be performed
Constraints: inv-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 0..* Identifier 交易任務之業務識別碼
Slice: Unordered, Open by value:system
.... identifier:yyyymm S 0..1 Identifier 支審年月(writeoff_yyyymm),格式為 yyyyMM,長度 6
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/yyyymm
..... value Σ 1..1 string 支審年月值,例如 201901
Example General: 123456
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/trans-no
.... value Σ 1..1 string 交易序號值,例如 D0001、CN001、C0001
Example General: 123456
... partOf SΣ 0..* Reference(Task) 所屬之上層交易任務;取消交易單處理結果回報(CancelResultResponse)時,可用以參照所要取消結果回報之原交易單 Task
... status ?!SΣ 1..1 code 任務狀態,對應規格書「代碼說明-status(API 執行狀況)」:0 待處理對應 #requested、1 處理中對應 #in-progress、3 錯誤對應 #failed、4 處理完成對應 #completed。[應填入以下字串之一:requested | in-progress | failed | completed]
Binding: TaskStatus (required): The current status of the task.
... businessStatus SΣ 0..1 CodeableConcept 分案之核銷狀況,對應規格書「代碼說明-status(核銷狀況)」:0 已分案待電腦審核處理、1 待通知收件、2 已通知待收件、3 審核中、4 等待總表、5 審計待審、6 結案
Binding: 支付審查-核銷狀況 (required)
... intent SΣ 1..1 code 任務意圖,支付審查申報交易固定為 order(指示執行)
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
... code SΣ 1..1 CodeableConcept 本次交易之 API Function 名稱:FeeApply 服務記錄申報、ObjDel 服務紀錄刪除、appCompletionNotice 申報確認通知、appCancel 服務單位撤回、CancelResultResponse 取消交易單處理結果回報
Binding: 支付審查-API 功能 (required)
... focus SΣ 0..1 Reference(長期照顧-照顧計畫 | Resource) 本次操作對象,即這次交易所處理的資料為何?申報交易指向該次申報打包(LTCBundleFeeApply),單筆服務紀錄之刪除或異動則指向該筆服務紀錄申報(LTCClaimFeeApply)
... for SΣ 0..1 Reference(長期照顧-住民基本資料) 任務受益者,即這項任務是為了誰而執行的?
... authoredOn SC 0..1 dateTime 任務建立時間。[應填入日期時間]
... requester SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務請求者,即這項任務是由誰提出的?
... owner SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務負責者,即這項任務由誰負責執行?
... reasonCode S 0..1 CodeableConcept 任務原因代碼,即為什麼要執行這項任務?
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
... note S 0..* Annotation 任務備註。
... Slices for input S 0..* BackboneElement 任務輸入參數,即執行本次交易所需的輸入資料;以 input.type.text 之中文欄位名稱區分各參數
Slice: Unordered, Open by pattern:type.text
.... input:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
..... value[x] 1..1 Content to use in performing the task
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... input:cityCd S 0..1 BackboneElement 縣市代碼(city_cd),長度上限 5;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。規格書之 city_info 為「縣市代碼 → case_no_info(多筆案件編號)」之巢狀結構,而 FHIR R4 之 Task.input 不支援巢狀 part,故本 Profile 將 cityCd 收緊為 0..1,並規定一次申報確認通知若涉及多個縣市,須依縣市拆分為多筆 Task(各 Task 共用同一交易序號 groupIdentifier),使同一 Task 內之 input[caseNo] 明確隸屬於本 Task 之 input[cityCd]
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 縣市代碼
..... value[x] 1..1 string 縣市代碼值,例如 65000、10020
.... input:caseNo S 0..* BackboneElement 案件編號/核銷案號(case_no),長度上限 30;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。本切片之各筆案件編號一律隸屬於同一 Task 之 input[cityCd] 所指之縣市
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 核銷案號
..... value[x] 1..1 string 核銷案號值,例如 201907BA10128
.... input:objid S 0..* BackboneElement 服務紀錄識別碼(objid),長度上限 20;服務紀錄刪除(ObjDel)時逐筆填寫要刪除之服務紀錄識別碼
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄識別碼
..... value[x] 1..1 string 服務紀錄識別碼值,例如 00000000000000000001
.... input:cancelTransNo S 0..1 BackboneElement 所要取消結果回報之交易序號(cancel_trans_no),長度上限 10;取消交易單處理結果回報(CancelResultResponse)時必填
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 所要取消結果回報之交易序號
..... value[x] 1..1 string 所要取消結果回報之交易序號值,例如 D0001
... Slices for output S 0..* BackboneElement 任務輸出結果,即本次交易執行後之處理結果,對應(查詢A)回覆之 API 執行結果資料(webapi_process_info);以 output.type.text 之中文欄位名稱區分各結果項目
Slice: Unordered, Open by pattern:type.text
.... output:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
..... value[x] 1..1 Result of output
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... output:batchProcResult S 0..1 BackboneElement 批次處理結果(batch_proc_result)說明文字,長度上限 200
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理結果
..... value[x] 1..1 string 批次處理結果說明,例如「分案處理完成!」、「服務紀錄刪除完成!」
.... output:batchProcNum S 0..1 BackboneElement 批次處理筆數(batch_proc_num)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理筆數
..... value[x] 1..1 integer 本次批次處理之總筆數
.... output:batchSuccNum S 0..1 BackboneElement 批次處理成功筆數(batch_succ_num)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理成功筆數
..... value[x] 1..1 integer 本次批次處理成功之筆數
.... output:batchErrNum S 0..1 BackboneElement 批次處理失敗筆數(batch_err_num)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理失敗筆數
..... value[x] 1..1 integer 本次批次處理失敗之筆數
.... output:exceptionRecords S 0..* BackboneElement 分案異常資料(exception_records),含識別碼、錯誤碼與錯誤原因;可修改後重新上傳至支審系統
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 分案異常資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆分案異常之錯誤訊息(objid、err_code、err_message)之 OperationOutcome
.... output:deleteRecords S 0..* BackboneElement 服務紀錄刪除成功資料(delete_records),內容為刪除成功之服務紀錄識別碼(objid)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除成功資料
..... value[x] 1..1 string 刪除成功之服務紀錄識別碼,長度上限 20,例如 123456789
.... output:deleteExceptionRecords S 0..* BackboneElement 服務紀錄刪除失敗資料(delete_exception_records),含識別碼、錯誤碼與錯誤原因
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除失敗資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆刪除失敗之錯誤訊息(objid、err_code、err_message)之 OperationOutcome

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.identifier:yyyymm.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.groupIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.businessStatus Base required 支付審查-核銷狀況 📦1.0.0 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.code Base required 支付審查-API 功能 📦1.0.0 This IG
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:cityCd.type Base example Not State Unknown
Task.input:caseNo.type Base example Not State Unknown
Task.input:objid.type Base example Not State Unknown
Task.input:cancelTransNo.​type Base example Not State Unknown
Task.output.type Base example Not State Unknown
Task.output:batchProcResult.​type Base example Not State Unknown
Task.output:batchProcNum.​type Base example Not State Unknown
Task.output:batchSuccNum.​type Base example Not State Unknown
Task.output:batchErrNum.​type Base example Not State Unknown
Task.output:exceptionRecords.​type Base example Not State Unknown
Task.output:deleteRecords.​type Base example Not State Unknown
Task.output:deleteExceptionRecords.​type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn

This structure is derived from LTCTask

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task LTCTask
... Slices for identifier S 0..* Identifier 交易任務之業務識別碼
Slice: Unordered, Open by value:system
.... identifier:yyyymm S 0..1 Identifier 支審年月(writeoff_yyyymm),格式為 yyyyMM,長度 6
..... system 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/yyyymm
..... value 1..1 string 支審年月值,例如 201901
... groupIdentifier S 0..1 Identifier 交易序號(trans_no),長度上限 10;同一次申報交易之各項處理共用同一交易序號
.... system 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/trans-no
.... value 1..1 string 交易序號值,例如 D0001、CN001、C0001
... partOf S 0..* Reference(Task) 所屬之上層交易任務;取消交易單處理結果回報(CancelResultResponse)時,可用以參照所要取消結果回報之原交易單 Task
... businessStatus S 0..1 CodeableConcept 分案之核銷狀況,對應規格書「代碼說明-status(核銷狀況)」:0 已分案待電腦審核處理、1 待通知收件、2 已通知待收件、3 審核中、4 等待總表、5 審計待審、6 結案
Binding: 支付審查-核銷狀況 (required)
... intent 1..1 code 任務意圖,支付審查申報交易固定為 order(指示執行)
Required Pattern: order
... code 1..1 CodeableConcept 本次交易之 API Function 名稱:FeeApply 服務記錄申報、ObjDel 服務紀錄刪除、appCompletionNotice 申報確認通知、appCancel 服務單位撤回、CancelResultResponse 取消交易單處理結果回報
Binding: 支付審查-API 功能 (required)
... focus 0..1 Reference(長期照顧-照顧計畫 | Resource) 本次操作對象,即這次交易所處理的資料為何?申報交易指向該次申報打包(LTCBundleFeeApply),單筆服務紀錄之刪除或異動則指向該筆服務紀錄申報(LTCClaimFeeApply)
... Slices for input 0..* BackboneElement 任務輸入參數,即執行本次交易所需的輸入資料;以 input.type.text 之中文欄位名稱區分各參數
Slice: Unordered, Open by pattern:type.text
.... input:cityCd S 0..1 BackboneElement 縣市代碼(city_cd),長度上限 5;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。規格書之 city_info 為「縣市代碼 → case_no_info(多筆案件編號)」之巢狀結構,而 FHIR R4 之 Task.input 不支援巢狀 part,故本 Profile 將 cityCd 收緊為 0..1,並規定一次申報確認通知若涉及多個縣市,須依縣市拆分為多筆 Task(各 Task 共用同一交易序號 groupIdentifier),使同一 Task 內之 input[caseNo] 明確隸屬於本 Task 之 input[cityCd]
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 縣市代碼
..... value[x] 1..1 string 縣市代碼值,例如 65000、10020
.... input:caseNo S 0..* BackboneElement 案件編號/核銷案號(case_no),長度上限 30;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。本切片之各筆案件編號一律隸屬於同一 Task 之 input[cityCd] 所指之縣市
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 核銷案號
..... value[x] 1..1 string 核銷案號值,例如 201907BA10128
.... input:objid S 0..* BackboneElement 服務紀錄識別碼(objid),長度上限 20;服務紀錄刪除(ObjDel)時逐筆填寫要刪除之服務紀錄識別碼
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄識別碼
..... value[x] 1..1 string 服務紀錄識別碼值,例如 00000000000000000001
.... input:cancelTransNo S 0..1 BackboneElement 所要取消結果回報之交易序號(cancel_trans_no),長度上限 10;取消交易單處理結果回報(CancelResultResponse)時必填
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 所要取消結果回報之交易序號
..... value[x] 1..1 string 所要取消結果回報之交易序號值,例如 D0001
... Slices for output 0..* BackboneElement 任務輸出結果,即本次交易執行後之處理結果,對應(查詢A)回覆之 API 執行結果資料(webapi_process_info);以 output.type.text 之中文欄位名稱區分各結果項目
Slice: Unordered, Open by pattern:type.text
.... output:batchProcResult S 0..1 BackboneElement 批次處理結果(batch_proc_result)說明文字,長度上限 200
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理結果
..... value[x] 1..1 string 批次處理結果說明,例如「分案處理完成!」、「服務紀錄刪除完成!」
.... output:batchProcNum S 0..1 BackboneElement 批次處理筆數(batch_proc_num)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理筆數
..... value[x] 1..1 integer 本次批次處理之總筆數
.... output:batchSuccNum S 0..1 BackboneElement 批次處理成功筆數(batch_succ_num)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理成功筆數
..... value[x] 1..1 integer 本次批次處理成功之筆數
.... output:batchErrNum S 0..1 BackboneElement 批次處理失敗筆數(batch_err_num)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理失敗筆數
..... value[x] 1..1 integer 本次批次處理失敗之筆數
.... output:exceptionRecords S 0..* BackboneElement 分案異常資料(exception_records),含識別碼、錯誤碼與錯誤原因;可修改後重新上傳至支審系統
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 分案異常資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆分案異常之錯誤訊息(objid、err_code、err_message)之 OperationOutcome
.... output:deleteRecords S 0..* BackboneElement 服務紀錄刪除成功資料(delete_records),內容為刪除成功之服務紀錄識別碼(objid)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除成功資料
..... value[x] 1..1 string 刪除成功之服務紀錄識別碼,長度上限 20,例如 123456789
.... output:deleteExceptionRecords S 0..* BackboneElement 服務紀錄刪除失敗資料(delete_exception_records),含識別碼、錯誤碼與錯誤原因
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除失敗資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆刪除失敗之錯誤訊息(objid、err_code、err_message)之 OperationOutcome

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.businessStatus Base required 支付審查-核銷狀況 📦1.0.0 This IG
Task.code Base required 支付審查-API 功能 📦1.0.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* LTCTask A task to be performed
Constraints: inv-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 0..* Identifier 交易任務之業務識別碼
Slice: Unordered, Open by value:system
.... identifier:yyyymm S 0..1 Identifier 支審年月(writeoff_yyyymm),格式為 yyyyMM,長度 6
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/yyyymm
..... value Σ 1..1 string 支審年月值,例如 201901
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... instantiatesUri Σ 0..1 uri Formal definition of task
... basedOn Σ 0..* Reference(Resource) Request fulfilled by this task
... groupIdentifier SΣ 0..1 Identifier 交易序號(trans_no),長度上限 10;同一次申報交易之各項處理共用同一交易序號
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/trans-no
.... value Σ 1..1 string 交易序號值,例如 D0001、CN001、C0001
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... partOf SΣ 0..* Reference(Task) 所屬之上層交易任務;取消交易單處理結果回報(CancelResultResponse)時,可用以參照所要取消結果回報之原交易單 Task
... status ?!SΣ 1..1 code 任務狀態,對應規格書「代碼說明-status(API 執行狀況)」:0 待處理對應 #requested、1 處理中對應 #in-progress、3 錯誤對應 #failed、4 處理完成對應 #completed。[應填入以下字串之一:requested | in-progress | failed | completed]
Binding: TaskStatus (required): The current status of the task.
... statusReason Σ 0..1 CodeableConcept Reason for current status
Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
... businessStatus SΣ 0..1 CodeableConcept 分案之核銷狀況,對應規格書「代碼說明-status(核銷狀況)」:0 已分案待電腦審核處理、1 待通知收件、2 已通知待收件、3 審核中、4 等待總表、5 審計待審、6 結案
Binding: 支付審查-核銷狀況 (required)
... intent SΣ 1..1 code 任務意圖,支付審查申報交易固定為 order(指示執行)
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code SΣ 1..1 CodeableConcept 本次交易之 API Function 名稱:FeeApply 服務記錄申報、ObjDel 服務紀錄刪除、appCompletionNotice 申報確認通知、appCancel 服務單位撤回、CancelResultResponse 取消交易單處理結果回報
Binding: 支付審查-API 功能 (required)
... description Σ 0..1 string Human-readable explanation of task
... focus SΣ 0..1 Reference(長期照顧-照顧計畫 | Resource) 本次操作對象,即這次交易所處理的資料為何?申報交易指向該次申報打包(LTCBundleFeeApply),單筆服務紀錄之刪除或異動則指向該筆服務紀錄申報(LTCClaimFeeApply)
... for SΣ 0..1 Reference(長期照顧-住民基本資料) 任務受益者,即這項任務是為了誰而執行的?
... encounter Σ 0..1 Reference(Encounter) Healthcare event during which this task originated
... executionPeriod Σ 0..1 Period Start and end time of execution
... authoredOn SC 0..1 dateTime 任務建立時間。[應填入日期時間]
... lastModified ΣC 0..1 dateTime Task Last Modified Date
... requester SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務請求者,即這項任務是由誰提出的?
... performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
... owner SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務負責者,即這項任務由誰負責執行?
... location Σ 0..1 Reference(Location) Where task occurs
... reasonCode S 0..1 CodeableConcept 任務原因代碼,即為什麼要執行這項任務?
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
... reasonReference 0..1 Reference(Resource) Why task is needed
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note S 0..* Annotation 任務備註。
... relevantHistory 0..* Reference(Provenance) Key events in history of the Task
... restriction 0..1 BackboneElement Constraints on fulfillment tasks
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... repetitions 0..1 positiveInt How many times to repeat
.... period 0..1 Period When fulfillment sought
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
... Slices for input S 0..* BackboneElement 任務輸入參數,即執行本次交易所需的輸入資料;以 input.type.text 之中文欄位名稱區分各參數
Slice: Unordered, Open by pattern:type.text
.... input:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
..... value[x] 1..1 Content to use in performing the task
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... input:cityCd S 0..1 BackboneElement 縣市代碼(city_cd),長度上限 5;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。規格書之 city_info 為「縣市代碼 → case_no_info(多筆案件編號)」之巢狀結構,而 FHIR R4 之 Task.input 不支援巢狀 part,故本 Profile 將 cityCd 收緊為 0..1,並規定一次申報確認通知若涉及多個縣市,須依縣市拆分為多筆 Task(各 Task 共用同一交易序號 groupIdentifier),使同一 Task 內之 input[caseNo] 明確隸屬於本 Task 之 input[cityCd]
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 縣市代碼
..... value[x] 1..1 string 縣市代碼值,例如 65000、10020
.... input:caseNo S 0..* BackboneElement 案件編號/核銷案號(case_no),長度上限 30;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。本切片之各筆案件編號一律隸屬於同一 Task 之 input[cityCd] 所指之縣市
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 核銷案號
..... value[x] 1..1 string 核銷案號值,例如 201907BA10128
.... input:objid S 0..* BackboneElement 服務紀錄識別碼(objid),長度上限 20;服務紀錄刪除(ObjDel)時逐筆填寫要刪除之服務紀錄識別碼
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄識別碼
..... value[x] 1..1 string 服務紀錄識別碼值,例如 00000000000000000001
.... input:cancelTransNo S 0..1 BackboneElement 所要取消結果回報之交易序號(cancel_trans_no),長度上限 10;取消交易單處理結果回報(CancelResultResponse)時必填
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 所要取消結果回報之交易序號
..... value[x] 1..1 string 所要取消結果回報之交易序號值,例如 D0001
... Slices for output S 0..* BackboneElement 任務輸出結果,即本次交易執行後之處理結果,對應(查詢A)回覆之 API 執行結果資料(webapi_process_info);以 output.type.text 之中文欄位名稱區分各結果項目
Slice: Unordered, Open by pattern:type.text
.... output:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
..... value[x] 1..1 Result of output
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... output:batchProcResult S 0..1 BackboneElement 批次處理結果(batch_proc_result)說明文字,長度上限 200
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理結果
..... value[x] 1..1 string 批次處理結果說明,例如「分案處理完成!」、「服務紀錄刪除完成!」
.... output:batchProcNum S 0..1 BackboneElement 批次處理筆數(batch_proc_num)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理筆數
..... value[x] 1..1 integer 本次批次處理之總筆數
.... output:batchSuccNum S 0..1 BackboneElement 批次處理成功筆數(batch_succ_num)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理成功筆數
..... value[x] 1..1 integer 本次批次處理成功之筆數
.... output:batchErrNum S 0..1 BackboneElement 批次處理失敗筆數(batch_err_num)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理失敗筆數
..... value[x] 1..1 integer 本次批次處理失敗之筆數
.... output:exceptionRecords S 0..* BackboneElement 分案異常資料(exception_records),含識別碼、錯誤碼與錯誤原因;可修改後重新上傳至支審系統
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 分案異常資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆分案異常之錯誤訊息(objid、err_code、err_message)之 OperationOutcome
.... output:deleteRecords S 0..* BackboneElement 服務紀錄刪除成功資料(delete_records),內容為刪除成功之服務紀錄識別碼(objid)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除成功資料
..... value[x] 1..1 string 刪除成功之服務紀錄識別碼,長度上限 20,例如 123456789
.... output:deleteExceptionRecords S 0..* BackboneElement 服務紀錄刪除失敗資料(delete_exception_records),含識別碼、錯誤碼與錯誤原因
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除失敗資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆刪除失敗之錯誤訊息(objid、err_code、err_message)之 OperationOutcome

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Task.identifier:yyyymm.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.identifier:yyyymm.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.groupIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.groupIdentifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.statusReason Base example Not State Unknown
Task.businessStatus Base required 支付審查-核銷狀況 📦1.0.0 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.priority Base required Request priority 📍4.0.1 FHIR Std.
Task.code Base required 支付審查-API 功能 📦1.0.0 This IG
Task.performerType Base preferred Procedure Performer Role Codes 📍4.0.1 FHIR Std.
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:cityCd.type Base example Not State Unknown
Task.input:caseNo.type Base example Not State Unknown
Task.input:objid.type Base example Not State Unknown
Task.input:cancelTransNo.​type Base example Not State Unknown
Task.output.type Base example Not State Unknown
Task.output:batchProcResult.​type Base example Not State Unknown
Task.output:batchProcNum.​type Base example Not State Unknown
Task.output:batchSuccNum.​type Base example Not State Unknown
Task.output:batchErrNum.​type Base example Not State Unknown
Task.output:exceptionRecords.​type Base example Not State Unknown
Task.output:deleteRecords.​type Base example Not State Unknown
Task.output:deleteExceptionRecords.​type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn

This structure is derived from LTCTask

Summary

Mandatory: 1 element(15 nested mandatory elements)
Must-Support: 27 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Task.identifier
  • The element 1 is sliced based on the value of Task.input
  • The element 1 is sliced based on the value of Task.output

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* LTCTask A task to be performed
Constraints: inv-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 0..* Identifier 交易任務之業務識別碼
Slice: Unordered, Open by value:system
.... identifier:yyyymm S 0..1 Identifier 支審年月(writeoff_yyyymm),格式為 yyyyMM,長度 6
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/yyyymm
..... value Σ 1..1 string 支審年月值,例如 201901
Example General: 123456
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/trans-no
.... value Σ 1..1 string 交易序號值,例如 D0001、CN001、C0001
Example General: 123456
... partOf SΣ 0..* Reference(Task) 所屬之上層交易任務;取消交易單處理結果回報(CancelResultResponse)時,可用以參照所要取消結果回報之原交易單 Task
... status ?!SΣ 1..1 code 任務狀態,對應規格書「代碼說明-status(API 執行狀況)」:0 待處理對應 #requested、1 處理中對應 #in-progress、3 錯誤對應 #failed、4 處理完成對應 #completed。[應填入以下字串之一:requested | in-progress | failed | completed]
Binding: TaskStatus (required): The current status of the task.
... businessStatus SΣ 0..1 CodeableConcept 分案之核銷狀況,對應規格書「代碼說明-status(核銷狀況)」:0 已分案待電腦審核處理、1 待通知收件、2 已通知待收件、3 審核中、4 等待總表、5 審計待審、6 結案
Binding: 支付審查-核銷狀況 (required)
... intent SΣ 1..1 code 任務意圖,支付審查申報交易固定為 order(指示執行)
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
... code SΣ 1..1 CodeableConcept 本次交易之 API Function 名稱:FeeApply 服務記錄申報、ObjDel 服務紀錄刪除、appCompletionNotice 申報確認通知、appCancel 服務單位撤回、CancelResultResponse 取消交易單處理結果回報
Binding: 支付審查-API 功能 (required)
... focus SΣ 0..1 Reference(長期照顧-照顧計畫 | Resource) 本次操作對象,即這次交易所處理的資料為何?申報交易指向該次申報打包(LTCBundleFeeApply),單筆服務紀錄之刪除或異動則指向該筆服務紀錄申報(LTCClaimFeeApply)
... for SΣ 0..1 Reference(長期照顧-住民基本資料) 任務受益者,即這項任務是為了誰而執行的?
... authoredOn SC 0..1 dateTime 任務建立時間。[應填入日期時間]
... requester SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務請求者,即這項任務是由誰提出的?
... owner SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務負責者,即這項任務由誰負責執行?
... reasonCode S 0..1 CodeableConcept 任務原因代碼,即為什麼要執行這項任務?
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
... note S 0..* Annotation 任務備註。
... Slices for input S 0..* BackboneElement 任務輸入參數,即執行本次交易所需的輸入資料;以 input.type.text 之中文欄位名稱區分各參數
Slice: Unordered, Open by pattern:type.text
.... input:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
..... value[x] 1..1 Content to use in performing the task
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... input:cityCd S 0..1 BackboneElement 縣市代碼(city_cd),長度上限 5;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。規格書之 city_info 為「縣市代碼 → case_no_info(多筆案件編號)」之巢狀結構,而 FHIR R4 之 Task.input 不支援巢狀 part,故本 Profile 將 cityCd 收緊為 0..1,並規定一次申報確認通知若涉及多個縣市,須依縣市拆分為多筆 Task(各 Task 共用同一交易序號 groupIdentifier),使同一 Task 內之 input[caseNo] 明確隸屬於本 Task 之 input[cityCd]
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 縣市代碼
..... value[x] 1..1 string 縣市代碼值,例如 65000、10020
.... input:caseNo S 0..* BackboneElement 案件編號/核銷案號(case_no),長度上限 30;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。本切片之各筆案件編號一律隸屬於同一 Task 之 input[cityCd] 所指之縣市
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 核銷案號
..... value[x] 1..1 string 核銷案號值,例如 201907BA10128
.... input:objid S 0..* BackboneElement 服務紀錄識別碼(objid),長度上限 20;服務紀錄刪除(ObjDel)時逐筆填寫要刪除之服務紀錄識別碼
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄識別碼
..... value[x] 1..1 string 服務紀錄識別碼值,例如 00000000000000000001
.... input:cancelTransNo S 0..1 BackboneElement 所要取消結果回報之交易序號(cancel_trans_no),長度上限 10;取消交易單處理結果回報(CancelResultResponse)時必填
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 所要取消結果回報之交易序號
..... value[x] 1..1 string 所要取消結果回報之交易序號值,例如 D0001
... Slices for output S 0..* BackboneElement 任務輸出結果,即本次交易執行後之處理結果,對應(查詢A)回覆之 API 執行結果資料(webapi_process_info);以 output.type.text 之中文欄位名稱區分各結果項目
Slice: Unordered, Open by pattern:type.text
.... output:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
..... value[x] 1..1 Result of output
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... output:batchProcResult S 0..1 BackboneElement 批次處理結果(batch_proc_result)說明文字,長度上限 200
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理結果
..... value[x] 1..1 string 批次處理結果說明,例如「分案處理完成!」、「服務紀錄刪除完成!」
.... output:batchProcNum S 0..1 BackboneElement 批次處理筆數(batch_proc_num)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理筆數
..... value[x] 1..1 integer 本次批次處理之總筆數
.... output:batchSuccNum S 0..1 BackboneElement 批次處理成功筆數(batch_succ_num)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理成功筆數
..... value[x] 1..1 integer 本次批次處理成功之筆數
.... output:batchErrNum S 0..1 BackboneElement 批次處理失敗筆數(batch_err_num)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理失敗筆數
..... value[x] 1..1 integer 本次批次處理失敗之筆數
.... output:exceptionRecords S 0..* BackboneElement 分案異常資料(exception_records),含識別碼、錯誤碼與錯誤原因;可修改後重新上傳至支審系統
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 分案異常資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆分案異常之錯誤訊息(objid、err_code、err_message)之 OperationOutcome
.... output:deleteRecords S 0..* BackboneElement 服務紀錄刪除成功資料(delete_records),內容為刪除成功之服務紀錄識別碼(objid)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除成功資料
..... value[x] 1..1 string 刪除成功之服務紀錄識別碼,長度上限 20,例如 123456789
.... output:deleteExceptionRecords S 0..* BackboneElement 服務紀錄刪除失敗資料(delete_exception_records),含識別碼、錯誤碼與錯誤原因
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除失敗資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆刪除失敗之錯誤訊息(objid、err_code、err_message)之 OperationOutcome

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.identifier:yyyymm.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.groupIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.businessStatus Base required 支付審查-核銷狀況 📦1.0.0 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.code Base required 支付審查-API 功能 📦1.0.0 This IG
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:cityCd.type Base example Not State Unknown
Task.input:caseNo.type Base example Not State Unknown
Task.input:objid.type Base example Not State Unknown
Task.input:cancelTransNo.​type Base example Not State Unknown
Task.output.type Base example Not State Unknown
Task.output:batchProcResult.​type Base example Not State Unknown
Task.output:batchProcNum.​type Base example Not State Unknown
Task.output:batchSuccNum.​type Base example Not State Unknown
Task.output:batchErrNum.​type Base example Not State Unknown
Task.output:exceptionRecords.​type Base example Not State Unknown
Task.output:deleteRecords.​type Base example Not State Unknown
Task.output:deleteExceptionRecords.​type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn

Differential View

This structure is derived from LTCTask

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task LTCTask
... Slices for identifier S 0..* Identifier 交易任務之業務識別碼
Slice: Unordered, Open by value:system
.... identifier:yyyymm S 0..1 Identifier 支審年月(writeoff_yyyymm),格式為 yyyyMM,長度 6
..... system 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/yyyymm
..... value 1..1 string 支審年月值,例如 201901
... groupIdentifier S 0..1 Identifier 交易序號(trans_no),長度上限 10;同一次申報交易之各項處理共用同一交易序號
.... system 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/trans-no
.... value 1..1 string 交易序號值,例如 D0001、CN001、C0001
... partOf S 0..* Reference(Task) 所屬之上層交易任務;取消交易單處理結果回報(CancelResultResponse)時,可用以參照所要取消結果回報之原交易單 Task
... businessStatus S 0..1 CodeableConcept 分案之核銷狀況,對應規格書「代碼說明-status(核銷狀況)」:0 已分案待電腦審核處理、1 待通知收件、2 已通知待收件、3 審核中、4 等待總表、5 審計待審、6 結案
Binding: 支付審查-核銷狀況 (required)
... intent 1..1 code 任務意圖,支付審查申報交易固定為 order(指示執行)
Required Pattern: order
... code 1..1 CodeableConcept 本次交易之 API Function 名稱:FeeApply 服務記錄申報、ObjDel 服務紀錄刪除、appCompletionNotice 申報確認通知、appCancel 服務單位撤回、CancelResultResponse 取消交易單處理結果回報
Binding: 支付審查-API 功能 (required)
... focus 0..1 Reference(長期照顧-照顧計畫 | Resource) 本次操作對象,即這次交易所處理的資料為何?申報交易指向該次申報打包(LTCBundleFeeApply),單筆服務紀錄之刪除或異動則指向該筆服務紀錄申報(LTCClaimFeeApply)
... Slices for input 0..* BackboneElement 任務輸入參數,即執行本次交易所需的輸入資料;以 input.type.text 之中文欄位名稱區分各參數
Slice: Unordered, Open by pattern:type.text
.... input:cityCd S 0..1 BackboneElement 縣市代碼(city_cd),長度上限 5;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。規格書之 city_info 為「縣市代碼 → case_no_info(多筆案件編號)」之巢狀結構,而 FHIR R4 之 Task.input 不支援巢狀 part,故本 Profile 將 cityCd 收緊為 0..1,並規定一次申報確認通知若涉及多個縣市,須依縣市拆分為多筆 Task(各 Task 共用同一交易序號 groupIdentifier),使同一 Task 內之 input[caseNo] 明確隸屬於本 Task 之 input[cityCd]
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 縣市代碼
..... value[x] 1..1 string 縣市代碼值,例如 65000、10020
.... input:caseNo S 0..* BackboneElement 案件編號/核銷案號(case_no),長度上限 30;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。本切片之各筆案件編號一律隸屬於同一 Task 之 input[cityCd] 所指之縣市
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 核銷案號
..... value[x] 1..1 string 核銷案號值,例如 201907BA10128
.... input:objid S 0..* BackboneElement 服務紀錄識別碼(objid),長度上限 20;服務紀錄刪除(ObjDel)時逐筆填寫要刪除之服務紀錄識別碼
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄識別碼
..... value[x] 1..1 string 服務紀錄識別碼值,例如 00000000000000000001
.... input:cancelTransNo S 0..1 BackboneElement 所要取消結果回報之交易序號(cancel_trans_no),長度上限 10;取消交易單處理結果回報(CancelResultResponse)時必填
..... type S 1..1 CodeableConcept Label for the input
...... text 1..1 string Plain text representation of the concept
Required Pattern: 所要取消結果回報之交易序號
..... value[x] 1..1 string 所要取消結果回報之交易序號值,例如 D0001
... Slices for output 0..* BackboneElement 任務輸出結果,即本次交易執行後之處理結果,對應(查詢A)回覆之 API 執行結果資料(webapi_process_info);以 output.type.text 之中文欄位名稱區分各結果項目
Slice: Unordered, Open by pattern:type.text
.... output:batchProcResult S 0..1 BackboneElement 批次處理結果(batch_proc_result)說明文字,長度上限 200
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理結果
..... value[x] 1..1 string 批次處理結果說明,例如「分案處理完成!」、「服務紀錄刪除完成!」
.... output:batchProcNum S 0..1 BackboneElement 批次處理筆數(batch_proc_num)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理筆數
..... value[x] 1..1 integer 本次批次處理之總筆數
.... output:batchSuccNum S 0..1 BackboneElement 批次處理成功筆數(batch_succ_num)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理成功筆數
..... value[x] 1..1 integer 本次批次處理成功之筆數
.... output:batchErrNum S 0..1 BackboneElement 批次處理失敗筆數(batch_err_num)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 批次處理失敗筆數
..... value[x] 1..1 integer 本次批次處理失敗之筆數
.... output:exceptionRecords S 0..* BackboneElement 分案異常資料(exception_records),含識別碼、錯誤碼與錯誤原因;可修改後重新上傳至支審系統
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 分案異常資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆分案異常之錯誤訊息(objid、err_code、err_message)之 OperationOutcome
.... output:deleteRecords S 0..* BackboneElement 服務紀錄刪除成功資料(delete_records),內容為刪除成功之服務紀錄識別碼(objid)
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除成功資料
..... value[x] 1..1 string 刪除成功之服務紀錄識別碼,長度上限 20,例如 123456789
.... output:deleteExceptionRecords S 0..* BackboneElement 服務紀錄刪除失敗資料(delete_exception_records),含識別碼、錯誤碼與錯誤原因
..... type S 1..1 CodeableConcept Label for output
...... text 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除失敗資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆刪除失敗之錯誤訊息(objid、err_code、err_message)之 OperationOutcome

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.businessStatus Base required 支付審查-核銷狀況 📦1.0.0 This IG
Task.code Base required 支付審查-API 功能 📦1.0.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* LTCTask A task to be performed
Constraints: inv-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 0..* Identifier 交易任務之業務識別碼
Slice: Unordered, Open by value:system
.... identifier:yyyymm S 0..1 Identifier 支審年月(writeoff_yyyymm),格式為 yyyyMM,長度 6
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/yyyymm
..... value Σ 1..1 string 支審年月值,例如 201901
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... instantiatesUri Σ 0..1 uri Formal definition of task
... basedOn Σ 0..* Reference(Resource) Request fulfilled by this task
... groupIdentifier SΣ 0..1 Identifier 交易序號(trans_no),長度上限 10;同一次申報交易之各項處理共用同一交易序號
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ltc-ig.fhir.tw/identifier/feeaudit/trans-no
.... value Σ 1..1 string 交易序號值,例如 D0001、CN001、C0001
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... partOf SΣ 0..* Reference(Task) 所屬之上層交易任務;取消交易單處理結果回報(CancelResultResponse)時,可用以參照所要取消結果回報之原交易單 Task
... status ?!SΣ 1..1 code 任務狀態,對應規格書「代碼說明-status(API 執行狀況)」:0 待處理對應 #requested、1 處理中對應 #in-progress、3 錯誤對應 #failed、4 處理完成對應 #completed。[應填入以下字串之一:requested | in-progress | failed | completed]
Binding: TaskStatus (required): The current status of the task.
... statusReason Σ 0..1 CodeableConcept Reason for current status
Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
... businessStatus SΣ 0..1 CodeableConcept 分案之核銷狀況,對應規格書「代碼說明-status(核銷狀況)」:0 已分案待電腦審核處理、1 待通知收件、2 已通知待收件、3 審核中、4 等待總表、5 審計待審、6 結案
Binding: 支付審查-核銷狀況 (required)
... intent SΣ 1..1 code 任務意圖,支付審查申報交易固定為 order(指示執行)
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code SΣ 1..1 CodeableConcept 本次交易之 API Function 名稱:FeeApply 服務記錄申報、ObjDel 服務紀錄刪除、appCompletionNotice 申報確認通知、appCancel 服務單位撤回、CancelResultResponse 取消交易單處理結果回報
Binding: 支付審查-API 功能 (required)
... description Σ 0..1 string Human-readable explanation of task
... focus SΣ 0..1 Reference(長期照顧-照顧計畫 | Resource) 本次操作對象,即這次交易所處理的資料為何?申報交易指向該次申報打包(LTCBundleFeeApply),單筆服務紀錄之刪除或異動則指向該筆服務紀錄申報(LTCClaimFeeApply)
... for SΣ 0..1 Reference(長期照顧-住民基本資料) 任務受益者,即這項任務是為了誰而執行的?
... encounter Σ 0..1 Reference(Encounter) Healthcare event during which this task originated
... executionPeriod Σ 0..1 Period Start and end time of execution
... authoredOn SC 0..1 dateTime 任務建立時間。[應填入日期時間]
... lastModified ΣC 0..1 dateTime Task Last Modified Date
... requester SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務請求者,即這項任務是由誰提出的?
... performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
... owner SΣ 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-機構 | 長期照顧-服務人員角色) 任務負責者,即這項任務由誰負責執行?
... location Σ 0..1 Reference(Location) Where task occurs
... reasonCode S 0..1 CodeableConcept 任務原因代碼,即為什麼要執行這項任務?
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
... reasonReference 0..1 Reference(Resource) Why task is needed
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note S 0..* Annotation 任務備註。
... relevantHistory 0..* Reference(Provenance) Key events in history of the Task
... restriction 0..1 BackboneElement Constraints on fulfillment tasks
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... repetitions 0..1 positiveInt How many times to repeat
.... period 0..1 Period When fulfillment sought
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
... Slices for input S 0..* BackboneElement 任務輸入參數,即執行本次交易所需的輸入資料;以 input.type.text 之中文欄位名稱區分各參數
Slice: Unordered, Open by pattern:type.text
.... input:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
..... value[x] 1..1 Content to use in performing the task
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... input:cityCd S 0..1 BackboneElement 縣市代碼(city_cd),長度上限 5;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。規格書之 city_info 為「縣市代碼 → case_no_info(多筆案件編號)」之巢狀結構,而 FHIR R4 之 Task.input 不支援巢狀 part,故本 Profile 將 cityCd 收緊為 0..1,並規定一次申報確認通知若涉及多個縣市,須依縣市拆分為多筆 Task(各 Task 共用同一交易序號 groupIdentifier),使同一 Task 內之 input[caseNo] 明確隸屬於本 Task 之 input[cityCd]
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 縣市代碼
..... value[x] 1..1 string 縣市代碼值,例如 65000、10020
.... input:caseNo S 0..* BackboneElement 案件編號/核銷案號(case_no),長度上限 30;申報確認通知(appCompletionNotice)及指定核銷案號之撤回(appCancel)時填寫。本切片之各筆案件編號一律隸屬於同一 Task 之 input[cityCd] 所指之縣市
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 核銷案號
..... value[x] 1..1 string 核銷案號值,例如 201907BA10128
.... input:objid S 0..* BackboneElement 服務紀錄識別碼(objid),長度上限 20;服務紀錄刪除(ObjDel)時逐筆填寫要刪除之服務紀錄識別碼
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄識別碼
..... value[x] 1..1 string 服務紀錄識別碼值,例如 00000000000000000001
.... input:cancelTransNo S 0..1 BackboneElement 所要取消結果回報之交易序號(cancel_trans_no),長度上限 10;取消交易單處理結果回報(CancelResultResponse)時必填
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 所要取消結果回報之交易序號
..... value[x] 1..1 string 所要取消結果回報之交易序號值,例如 D0001
... Slices for output S 0..* BackboneElement 任務輸出結果,即本次交易執行後之處理結果,對應(查詢A)回覆之 API 執行結果資料(webapi_process_info);以 output.type.text 之中文欄位名稱區分各結果項目
Slice: Unordered, Open by pattern:type.text
.... output:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
..... value[x] 1..1 Result of output
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
.... output:batchProcResult S 0..1 BackboneElement 批次處理結果(batch_proc_result)說明文字,長度上限 200
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理結果
..... value[x] 1..1 string 批次處理結果說明,例如「分案處理完成!」、「服務紀錄刪除完成!」
.... output:batchProcNum S 0..1 BackboneElement 批次處理筆數(batch_proc_num)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理筆數
..... value[x] 1..1 integer 本次批次處理之總筆數
.... output:batchSuccNum S 0..1 BackboneElement 批次處理成功筆數(batch_succ_num)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理成功筆數
..... value[x] 1..1 integer 本次批次處理成功之筆數
.... output:batchErrNum S 0..1 BackboneElement 批次處理失敗筆數(batch_err_num)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 批次處理失敗筆數
..... value[x] 1..1 integer 本次批次處理失敗之筆數
.... output:exceptionRecords S 0..* BackboneElement 分案異常資料(exception_records),含識別碼、錯誤碼與錯誤原因;可修改後重新上傳至支審系統
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 分案異常資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆分案異常之錯誤訊息(objid、err_code、err_message)之 OperationOutcome
.... output:deleteRecords S 0..* BackboneElement 服務紀錄刪除成功資料(delete_records),內容為刪除成功之服務紀錄識別碼(objid)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除成功資料
..... value[x] 1..1 string 刪除成功之服務紀錄識別碼,長度上限 20,例如 123456789
.... output:deleteExceptionRecords S 0..* BackboneElement 服務紀錄刪除失敗資料(delete_exception_records),含識別碼、錯誤碼與錯誤原因
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type S 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
...... text Σ 1..1 string Plain text representation of the concept
Required Pattern: 服務紀錄刪除失敗資料
..... value[x] 1..1 Reference(長照支付審查-申報檢核結果) 參照承載該筆刪除失敗之錯誤訊息(objid、err_code、err_message)之 OperationOutcome

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Task.identifier:yyyymm.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.identifier:yyyymm.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.groupIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.groupIdentifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.statusReason Base example Not State Unknown
Task.businessStatus Base required 支付審查-核銷狀況 📦1.0.0 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.priority Base required Request priority 📍4.0.1 FHIR Std.
Task.code Base required 支付審查-API 功能 📦1.0.0 This IG
Task.performerType Base preferred Procedure Performer Role Codes 📍4.0.1 FHIR Std.
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:cityCd.type Base example Not State Unknown
Task.input:caseNo.type Base example Not State Unknown
Task.input:objid.type Base example Not State Unknown
Task.input:cancelTransNo.​type Base example Not State Unknown
Task.output.type Base example Not State Unknown
Task.output:batchProcResult.​type Base example Not State Unknown
Task.output:batchProcNum.​type Base example Not State Unknown
Task.output:batchSuccNum.​type Base example Not State Unknown
Task.output:batchErrNum.​type Base example Not State Unknown
Task.output:exceptionRecords.​type Base example Not State Unknown
Task.output:deleteRecords.​type Base example Not State Unknown
Task.output:deleteExceptionRecords.​type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn

This structure is derived from LTCTask

Summary

Mandatory: 1 element(15 nested mandatory elements)
Must-Support: 27 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Task.identifier
  • The element 1 is sliced based on the value of Task.input
  • The element 1 is sliced based on the value of Task.output

 

Other representations of profile: CSV, Excel, Schematron