모든 선별 규칙 세트가 UA 내에서 실행될 수 있도록 선별 인터페이스를 사용해야 합니다. 인터페이스는 아래에 설명되어 있습니다.
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010-2011 Curam Software Ltd. All rights reserved. 이 소프트웨어는 Curam Software, Ltd.가 소유한 기밀 정보입니다("기밀 정보"). 귀하는 이러한 기밀 정보는 누설하지 않아야 하며 귀하가 Curam Software와 체결한 라이센스 계약 조건에 따라서만 사용해야 합니다. --> <RuleSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd" name="TriageInterfaceRuleSet"> <!-- This class must be extended by all rule sets invoked by the Citizen Portal screening results processing. --> <Class name="AbstractTriageResult" abstract="true"> <Attribute name="alertMessage"> <type> <javaclass name="List"> <ruleclass name="AbstractAlertMessage"/> </javaclass> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="services"> <type> <javaclass name="List"> <ruleclass name="AbstractService"/> </javaclass> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="programs"> <type> <javaclass name="List"> <ruleclass name="AbstractProgram"/> </javaclass> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="screenings"> <type> <javaclass name="List"> <ruleclass name="AbstractScreening"/> </javaclass> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="intakeApplications"> <type> <javaclass name="List"> <ruleclass name="AbstractIntakeApplication"/> </javaclass> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="needs"> <type> <javaclass name="List"> <ruleclass name="AbstractNeed"/> </javaclass> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> <!-- Abstract Need --> <Class abstract="true" name="AbstractNeed"> <Attribute name="description"> <type> <javaclass name="curam.creole.value.Message"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="identifier"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="appropriate"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="priority"> <type> <javaclass name="Number"/> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> <!-- Abstract Screening --> <Class abstract="true" name="AbstractScreening"> <Attribute name="description"> <type> <javaclass name="curam.creole.value.Message"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="appropriate"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="identifier"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> <!-- End Abstract Screening --> <!-- AbstractIntakeApplication --> <Class abstract="true" name="AbstractIntakeApplication"> <Attribute name="description"> <type> <javaclass name="curam.creole.value.Message"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="appropriate"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="identifier"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> <!-- End AbstractIntakeApplication --> <Class name="AbstractAlertMessage" abstract="true"> <Attribute name="alertRequired"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="message"> <type> <javaclass name="curam.creole.value.Message"/> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> <!-- Abstract Service --> <Class abstract="true" name="AbstractService"> <Attribute name="description"> <type> <javaclass name="curam.creole.value.Message"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="appropriate"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="identifier"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="groupInd"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="needIdentifier"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> <!-- Abstract program --> <Class abstract="true" name="AbstractProgram"> <Attribute name="description"> <type> <javaclass name="curam.creole.value.Message"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="appropriate"> <type> <javaclass name="Boolean"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="programTypeReference"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> <Attribute name="needIdentifier"> <type> <javaclass name="String"/> </type> <derivation> <abstract/> </derivation> </Attribute> </Class> </RuleSet>
curam.citizenworkspace.triage.ruleset.name 신청 특성에 의해 지정된 규칙 세트에는 일반적으로 "선별"이라는 이름의 규칙 클래스가 포함되어야 하며, 이는 위에서 개괄한 AbstractTriageResult 규칙 세트를 확장합니다.
AbstractTriageResult 규칙 클래스의 이 사용법은 규칙 실행 동안 필수 속성을 사용할 수 있도록 보장합니다.