BCTrastuzumabEmtansineRule1
type: Library
node role: treeRoot
id:
  v: BCTrastuzumabEmtansineRule1
text:
  status:
    v: extensions
  div:
    v: Metadata Title Trastuzumab Emtansine（早期乳癌）給付規定-Trastuzumab Emtansine Rule1 Version 1.0.0 Status Draft Description 此 Library 為乳癌早期乳癌）患者於申請使用 Trastuzumab Emtansine 之給付檢核條件。 Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Parameters Parameter None Library Content CQL Content //早期乳癌_Trastuzumab Emtansine給付規定 library BCTrastuzumabEmtansineRule1 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:使用於具HER2過度表現(IHC 3+或FISH+)之早期乳癌病人 define "1條件1=檢驗檢查-HER2過度表現(IHC3+或FISH+)": Reusable."HasHER2OverexpressionTest" define "1條件1=基因檢測-HER2過度表現(IHC3+或FISH+)": Reusable."HasHER2OverexpressionGene" define "1條件1=使用於具HER2過度表現(IHC 3+或FISH+)之早期乳癌病人": "1條件1=檢驗檢查-HER2過度表現(IHC3+或FISH+)" or "1條件1=基因檢測-HER2過度表現(IHC3+或FISH+)" //1條件2:曾接受過至少6個療程（每3週一療程，至少16週）的化學治療（其中至少3個療程(9週)的taxane藥物） //1條件2-1:每三周療程之非taxane化學治療，合併計算各種化療藥物之療程，至少3個療程且總療程天數至少49天 // 同一起始日視為同一療程；若同一療程內有多筆非taxane藥物，只保留結束日最晚的那筆代表該療程 define "1條件2-1=曾接受過至少3個療程（每3週一療程，至少7週）的非taxane化學治療": // 計算符合條件的代表療程數；每個起始日只保留結束日最晚的一筆 Count( [MedicationRequest] MROrder1 where MROrder1.intent = 'order' and exists ( MROrder1.medication.coding Cdg1 where Cdg1 in CodeConcept.NHIMedication and Cdg1.code in CodeConcept."非taxane化學治療" ) and MROrder1.dosageInstruction[0].timing.repeat.period = 3 and MROrder1.dosageInstruction[0].timing.repeat.periodUnit.value = 'wk' and Reusable."HasValidTiming"(MROrder1) // 若同一起始日有多筆藥物，只保留結束日最晚者作為該療程代表 and FHIRHelpers.ToDateTime( (MROrder1.dosageInstruction[0].timing.repeat.bounds as Period).end ) = Max( [MedicationRequest] MRSameCourse1 where MRSameCourse1.intent = 'order' and exists ( MRSameCourse1.medication.coding SameCdg1 where SameCdg1 in CodeConcept.NHIMedication and SameCdg1.code in CodeConcept."非taxane化…
url:
  v: https://nhicore.nhi.gov.tw/cql/Library/BCTrastuzumabEmtansineRule1
  l: BCTrastuzumabEmtansineRule1
version:
  v: 1.0.0
name:
  v: BCTrastuzumabEmtansineRule1
title:
  v: Trastuzumab Emtansine（早期乳癌）給付規定-Trastuzumab Emtansine Rule1
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 Emtansine 之給付檢核條件。
content:
  content type:
    v: text/cql
content:
  content type:
    v: application/elm+xml
content:
  content type:
    v: application/elm+json