BCTrastuzumabDeruxtecanRule2
type: Library
node role: treeRoot
id:
  v: BCTrastuzumabDeruxtecanRule2
text:
  status:
    v: extensions
  div:
    v: Metadata Title Trastuzumab Deruxtecan（轉移性乳癌）給付規定-Trastuzumab Deruxtecan Rule2 Version 1.0.0 Status Draft Description 此 Library 為乳癌（轉移性乳癌）患者於申請使用 Trastuzumab Deruxtecan 之給付檢核條件。 Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Parameters Parameter None Library Content CQL Content //轉移性乳癌_Trastuzumab Deruxtecan給付規定 library BCTrastuzumabDeruxtecanRule2 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*/ //1條件1:單獨使用於ER、PR皆陰性 define "檢驗檢查-ER陰性": Reusable."HasMarkerNegativeTest"(CodeConcept.MolecularER) define "基因檢測-ER陰性": Reusable."HasMarkerNegativeGene"(CodeConcept.MolecularER) define "ER陰性": "檢驗檢查-ER陰性" or "基因檢測-ER陰性" //條件5-2 define "檢驗檢查-PR陰性": Reusable."HasMarkerNegativeTest"(CodeConcept.MolecularPR) define "基因檢測-PR陰性": Reusable."HasMarkerNegativeGene"(CodeConcept.MolecularPR) define "PR陰性": "檢驗檢查-PR陰性" or "基因檢測-PR陰性" define "基因檢測報告": exists ( [Observation] OBs where exists ( OBs.category C where exists ( C.coding Cdg where Cdg in CodeConcept.NHIPASSupportingInfoType and Cdg.code = 'geneInfo' ) ) and exists ( OBs.code.coding Cdg where Cdg in CodeConcept.LOINC and Cdg.code = '69548-6' ) and exists ( OBs.component Comp where exists ( Comp.code.coding Cdg where Cdg in CodeConcept.LOINC and Cdg.code in {'102116-1', '104295-1'} ) ) ) define "1條件1=單獨使用於ER、PR皆陰性": "ER陰性" and "PR陰性" and "基因檢測報告" //1條件2: HER2弱陽性(IHC 1+或IHC 2+/ISH-)表現 define "檢驗檢查-HER2弱陽性(IHC 1+或IHC 2+/ISH-)表現": Reusable."HasHER2LowExpressionTest" define "基因檢測-HER2弱陽性(IHC 1+或IHC 2+/ISH-)表現": Reusable."HasHER2LowExpressionGene" define "HER2弱陽性(IHC 1+或IHC 2+/ISH-)表現": "檢驗檢查-HER2弱陽性(IHC 1+或IHC 2+/ISH-)表現" or "基因檢測-HER2弱陽性(IHC 1+或IHC 2+/ISH-)表現" define "HER2弱陽性-基因檢測報告": exists ( [Observation] OBs where exi…
url:
  v: https://nhicore.nhi.gov.tw/cql/Library/BCTrastuzumabDeruxtecanRule2
  l: BCTrastuzumabDeruxtecanRule2
version:
  v: 1.0.0
name:
  v: BCTrastuzumabDeruxtecanRule2
title:
  v: Trastuzumab Deruxtecan（轉移性乳癌）給付規定-Trastuzumab Deruxtecan Rule2
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 Deruxtecan 之給付檢核條件。
content:
  content type:
    v: text/cql
content:
  content type:
    v: application/elm+xml
content:
  content type:
    v: application/elm+json