BCTrastuzumabRule3
type: Library
node role: treeRoot
id:
  v: BCTrastuzumabRule3
text:
  status:
    v: extensions
  div:
    v: Metadata Title Trastuzumab（轉移性乳癌）給付規定-Trastuzumab Rule3 Version 1.0.0 Status Draft Description 此 Library 為乳（癌轉移性乳癌）患者於申請使用 Trastuzumab 之給付檢核條件。 Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Parameters Parameter None Library Content CQL Content //轉移性乳癌_Trastuzumab給付規定 library BCTrastuzumabRule3 version '1.0.0' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers include BCCodeConcept version '1.0.0' called CodeConcept include BCReusable version '1.0.0' called Reusable context Patient //============================================ // 主要規定一：初次使用條件 //============================================ /*規則1*/ define "ICD代碼檢核_布林值": Reusable."ICD-10使用C50" define "醫令類別為1_布林值":Reusable."醫令類別為1" //條件1:單獨使用於治療腫瘤細胞上有HER2過度表現(IHC3+或FISH+)，曾接受過一次以上化學治療之轉移性乳癌病人 //條件1-1:單獨使用於治療腫瘤細胞上有HER2過度表現(IHC3+或FISH+) define "條件1-1=檢驗檢查-HER2過度表現(IHC3+或FISH+)": Reusable."HasHER2OverexpressionTest" define "條件1-1=基因檢測-HER2過度表現(IHC3+或FISH+)": Reusable."HasHER2OverexpressionGene" define "條件1-1=HER2過度表現(IHC3+或FISH+)": "條件1-1=檢驗檢查-HER2過度表現(IHC3+或FISH+)" or "條件1-1=基因檢測-HER2過度表現(IHC3+或FISH+)" define "條件1-1=單獨使用於治療腫瘤細胞上有HER2過度表現(IHC3+或FISH+)": exists ( [MedicationRequest] MR where MR.intent = 'plan' and exists ( MR.medication.coding Cdg where Cdg in CodeConcept.NHIMedication and Cdg.code in CodeConcept.L01FD01 ) and Reusable."醫令類別為1" ) and "條件1-1=HER2過度表現(IHC3+或FISH+)" //條件1-2:曾接受過一次以上化學治療之轉移性乳癌病人 define "條件1-2-1=病摘應說明曾接受哪種化學治療": exists ( [Claim] C where exists ( C.diagnosis D where exists ( D.type.text T where Matches(T.value, '(?i).*(化學治療).*') ) ) ) define "條件1-2-2=3個月內影像報告": Reusable."HasRecentImageReport"("本次申請起始日期", 90) define "條件1-2-3=癌症分期分數或結果為M>=1": exists ( [Observation] O where exists ( O.code.coding Cdg where Cdg.code = '399390009' and Cdg in CodeConcept.SNOMED ) and O.value is not null and O.value is FHIR.string and Matches((O.value as FHIR.string).value, '.*M[^0].*') ) define "規則1-2-4=有檢查報告": exists ( [DiagnosticReport] O2 where exists ( O2.…
url:
  v: https://nhicore.nhi.gov.tw/cql/Library/BCTrastuzumabRule3
  l: BCTrastuzumabRule3
version:
  v: 1.0.0
name:
  v: BCTrastuzumabRule3
title:
  v: Trastuzumab（轉移性乳癌）給付規定-Trastuzumab Rule3
status:
  v: draft
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-04-12
description:
  v: 此 Library 為乳（癌轉移性乳癌）患者於申請使用 Trastuzumab 之給付檢核條件。
content:
  content type:
    v: text/cql
content:
  content type:
    v: application/elm+xml
content:
  content type:
    v: application/elm+json