demo-process-models/potentially-promote-to-exam.../signup-process/AgeGroupClassification.dmn

53 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="AgeGroupClassification" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="decision_AgeGroupClassification" name="AgeGroupClassification">
<decisionTable id="decisionTable_1" hitPolicy="FIRST">
<input id="input_1" label="age" biodi:width="192">
<inputExpression id="inputExpression_1" typeRef="number">
<text></text>
</inputExpression>
</input>
<output id="output_1" label="ageCategory" typeRef="string" />
<rule id="DecisionRule_1hr54lu">
<inputEntry id="UnaryTests_1jhpemv">
<text>&lt; 13</text>
</inputEntry>
<outputEntry id="LiteralExpression_1abvq04">
<text>"Teenager"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ppxenf">
<inputEntry id="UnaryTests_0bulvva">
<text>&lt;= 17</text>
</inputEntry>
<outputEntry id="LiteralExpression_109jked">
<text>"Adolescents"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0vny55w">
<inputEntry id="UnaryTests_1b0nrxv">
<text>&lt;= 65</text>
</inputEntry>
<outputEntry id="LiteralExpression_0kejk5q">
<text>"Adults"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_14xbvtq">
<inputEntry id="UnaryTests_1k5t35p">
<text>&lt; 65</text>
</inputEntry>
<outputEntry id="LiteralExpression_0xvq68k">
<text>"Older adults"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_AgeGroupClassification">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>