MCP Server
Active
1
0

Add DRD diagram interchange (DMNDI) to 02-vertesanas-punkti.dmn.xml [scope-3 2/3]

UAPF-specification v2.1.0 (SEM-011): a DMN that defines a DRD MUST
carry <dmndi:DMNDI>. Adds DMNShapes for all DRD nodes and DMNEdges
for every information/knowledge requirement (requirement elements
given ids so edges can reference them). DC/DI namespaces set to the
DMN 1.3 values dmn-js expects (DMN/20180521). Decision logic intact.
This commit is contained in:
2026-05-17 13:11:45 +00:00
parent b5d159cadb
commit 003075f113

View File

@@ -2,7 +2,10 @@
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" <definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/"
id="Definitions_Scoring" id="Definitions_Scoring"
name="Vērtēšanas, punktu un reitinga aprēķins" name="Vērtēšanas, punktu un reitinga aprēķins"
namespace="https://processgit.org/VDAA/mi-sandbox-atlase/dmn/scoring"> namespace="https://processgit.org/VDAA/mi-sandbox-atlase/dmn/scoring"
xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/"
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/">
<!-- === INPUTS: Commission ratings 0-5 for each criterion === --> <!-- === INPUTS: Commission ratings 0-5 for each criterion === -->
<inputData id="In_C1_Innovation" name="innovationRating"/> <inputData id="In_C1_Innovation" name="innovationRating"/>
@@ -24,62 +27,178 @@
<!-- Kr.1: Inovitāte un tirgus nepilnību novēršana (svars 20) --> <!-- Kr.1: Inovitāte un tirgus nepilnību novēršana (svars 20) -->
<decision id="Dec_C1" name="InnovationScore"> <decision id="Dec_C1" name="InnovationScore">
<variable name="innovationScore" typeRef="number"/> <variable name="innovationScore" typeRef="number"/>
<knowledgeRequirement><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement> <knowledgeRequirement id="req_Dec_C1_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement><requiredInput href="#In_C1_Innovation"/></informationRequirement> <informationRequirement id="req_Dec_C1_2"><requiredInput href="#In_C1_Innovation"/></informationRequirement>
<literalExpression><text>weightedScore(20, innovationRating)</text></literalExpression> <literalExpression><text>weightedScore(20, innovationRating)</text></literalExpression>
</decision> </decision>
<!-- Kr.2: Ieguldījums attīstības plānošanas un digitālās transformācijas mērķos (svars 15) --> <!-- Kr.2: Ieguldījums attīstības plānošanas un digitālās transformācijas mērķos (svars 15) -->
<decision id="Dec_C2" name="TransformationScore"> <decision id="Dec_C2" name="TransformationScore">
<variable name="transformationScore" typeRef="number"/> <variable name="transformationScore" typeRef="number"/>
<knowledgeRequirement><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement> <knowledgeRequirement id="req_Dec_C2_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement><requiredInput href="#In_C2_Transformation"/></informationRequirement> <informationRequirement id="req_Dec_C2_2"><requiredInput href="#In_C2_Transformation"/></informationRequirement>
<literalExpression><text>weightedScore(15, transformationRating)</text></literalExpression> <literalExpression><text>weightedScore(15, transformationRating)</text></literalExpression>
</decision> </decision>
<!-- Kr.3: Tehniskā gatavība un resursu nodrošinājums (svars 30) --> <!-- Kr.3: Tehniskā gatavība un resursu nodrošinājums (svars 30) -->
<decision id="Dec_C3" name="ReadinessScore"> <decision id="Dec_C3" name="ReadinessScore">
<variable name="readinessScore" typeRef="number"/> <variable name="readinessScore" typeRef="number"/>
<knowledgeRequirement><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement> <knowledgeRequirement id="req_Dec_C3_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement><requiredInput href="#In_C3_Readiness"/></informationRequirement> <informationRequirement id="req_Dec_C3_2"><requiredInput href="#In_C3_Readiness"/></informationRequirement>
<literalExpression><text>weightedScore(30, readinessRating)</text></literalExpression> <literalExpression><text>weightedScore(30, readinessRating)</text></literalExpression>
</decision> </decision>
<!-- Kr.4: Augsta riska MI sistēmas kvalifikācija (svars 10) --> <!-- Kr.4: Augsta riska MI sistēmas kvalifikācija (svars 10) -->
<decision id="Dec_C4" name="HighRiskScore"> <decision id="Dec_C4" name="HighRiskScore">
<variable name="highRiskScore" typeRef="number"/> <variable name="highRiskScore" typeRef="number"/>
<knowledgeRequirement><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement> <knowledgeRequirement id="req_Dec_C4_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement><requiredInput href="#In_C4_HighRisk"/></informationRequirement> <informationRequirement id="req_Dec_C4_2"><requiredInput href="#In_C4_HighRisk"/></informationRequirement>
<literalExpression><text>weightedScore(10, highRiskRating)</text></literalExpression> <literalExpression><text>weightedScore(10, highRiskRating)</text></literalExpression>
</decision> </decision>
<!-- Kr.5: Regulatīvās vides pamatojums un nepieciešamība (svars 25) --> <!-- Kr.5: Regulatīvās vides pamatojums un nepieciešamība (svars 25) -->
<decision id="Dec_C5" name="RegulatoryNeedScore"> <decision id="Dec_C5" name="RegulatoryNeedScore">
<variable name="regulatoryNeedScore" typeRef="number"/> <variable name="regulatoryNeedScore" typeRef="number"/>
<knowledgeRequirement><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement> <knowledgeRequirement id="req_Dec_C5_1"><requiredKnowledge href="#BKM_WeightedScore"/></knowledgeRequirement>
<informationRequirement><requiredInput href="#In_C5_RegulatoryNeed"/></informationRequirement> <informationRequirement id="req_Dec_C5_2"><requiredInput href="#In_C5_RegulatoryNeed"/></informationRequirement>
<literalExpression><text>weightedScore(25, regulatoryNeedRating)</text></literalExpression> <literalExpression><text>weightedScore(25, regulatoryNeedRating)</text></literalExpression>
</decision> </decision>
<!-- === TOTAL SCORE (max 100) === --> <!-- === TOTAL SCORE (max 100) === -->
<decision id="Dec_Total" name="TotalScore"> <decision id="Dec_Total" name="TotalScore">
<variable name="totalScore" typeRef="number"/> <variable name="totalScore" typeRef="number"/>
<informationRequirement><requiredDecision href="#Dec_C1"/></informationRequirement> <informationRequirement id="req_Dec_Total_1"><requiredDecision href="#Dec_C1"/></informationRequirement>
<informationRequirement><requiredDecision href="#Dec_C2"/></informationRequirement> <informationRequirement id="req_Dec_Total_2"><requiredDecision href="#Dec_C2"/></informationRequirement>
<informationRequirement><requiredDecision href="#Dec_C3"/></informationRequirement> <informationRequirement id="req_Dec_Total_3"><requiredDecision href="#Dec_C3"/></informationRequirement>
<informationRequirement><requiredDecision href="#Dec_C4"/></informationRequirement> <informationRequirement id="req_Dec_Total_4"><requiredDecision href="#Dec_C4"/></informationRequirement>
<informationRequirement><requiredDecision href="#Dec_C5"/></informationRequirement> <informationRequirement id="req_Dec_Total_5"><requiredDecision href="#Dec_C5"/></informationRequirement>
<literalExpression><text>innovationScore + transformationScore + readinessScore + highRiskScore + regulatoryNeedScore</text></literalExpression> <literalExpression><text>innovationScore + transformationScore + readinessScore + highRiskScore + regulatoryNeedScore</text></literalExpression>
</decision> </decision>
<!-- === TIEBREAKER ORDER (Nolikuma 1.pielikums, Neizšķirta gadījumi) === --> <!-- === TIEBREAKER ORDER (Nolikuma 1.pielikums, Neizšķirta gadījumi) === -->
<decision id="Dec_TieBreak" name="TieBreakVector"> <decision id="Dec_TieBreak" name="TieBreakVector">
<variable name="tieBreakVector" typeRef="list"/> <variable name="tieBreakVector" typeRef="list"/>
<informationRequirement><requiredDecision href="#Dec_C3"/></informationRequirement> <informationRequirement id="req_Dec_TieBreak_1"><requiredDecision href="#Dec_C3"/></informationRequirement>
<informationRequirement><requiredDecision href="#Dec_C5"/></informationRequirement> <informationRequirement id="req_Dec_TieBreak_2"><requiredDecision href="#Dec_C5"/></informationRequirement>
<informationRequirement><requiredDecision href="#Dec_C1"/></informationRequirement> <informationRequirement id="req_Dec_TieBreak_3"><requiredDecision href="#Dec_C1"/></informationRequirement>
<literalExpression> <literalExpression>
<text>[readinessScore, regulatoryNeedScore, innovationScore]</text> <text>[readinessScore, regulatoryNeedScore, innovationScore]</text>
</literalExpression> </literalExpression>
</decision> </decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1">
<dmndi:DMNShape id="DMNShape_Dec_Total" dmnElementRef="Dec_Total">
<dc:Bounds x="340" y="60" width="180" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_TieBreak" dmnElementRef="Dec_TieBreak">
<dc:Bounds x="720" y="60" width="180" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C1" dmnElementRef="Dec_C1">
<dc:Bounds x="60" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C2" dmnElementRef="Dec_C2">
<dc:Bounds x="300" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C3" dmnElementRef="Dec_C3">
<dc:Bounds x="540" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C4" dmnElementRef="Dec_C4">
<dc:Bounds x="780" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_Dec_C5" dmnElementRef="Dec_C5">
<dc:Bounds x="1020" y="250" width="170" height="80"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_BKM_WeightedScore" dmnElementRef="BKM_WeightedScore">
<dc:Bounds x="1260" y="260" width="170" height="60"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C1_Innovation" dmnElementRef="In_C1_Innovation">
<dc:Bounds x="60" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C2_Transformation" dmnElementRef="In_C2_Transformation">
<dc:Bounds x="300" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C3_Readiness" dmnElementRef="In_C3_Readiness">
<dc:Bounds x="540" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C4_HighRisk" dmnElementRef="In_C4_HighRisk">
<dc:Bounds x="780" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNShape id="DMNShape_In_C5_RegulatoryNeed" dmnElementRef="In_C5_RegulatoryNeed">
<dc:Bounds x="1020" y="470" width="170" height="45"/>
</dmndi:DMNShape>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C1_1" dmnElementRef="req_Dec_C1_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="230" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C1_2" dmnElementRef="req_Dec_C1_2">
<di:waypoint x="145" y="470"/>
<di:waypoint x="145" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C2_1" dmnElementRef="req_Dec_C2_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="470" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C2_2" dmnElementRef="req_Dec_C2_2">
<di:waypoint x="385" y="470"/>
<di:waypoint x="385" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C3_1" dmnElementRef="req_Dec_C3_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="710" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C3_2" dmnElementRef="req_Dec_C3_2">
<di:waypoint x="625" y="470"/>
<di:waypoint x="625" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C4_1" dmnElementRef="req_Dec_C4_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="950" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C4_2" dmnElementRef="req_Dec_C4_2">
<di:waypoint x="865" y="470"/>
<di:waypoint x="865" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C5_1" dmnElementRef="req_Dec_C5_1">
<di:waypoint x="1260" y="290"/>
<di:waypoint x="1190" y="290"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_C5_2" dmnElementRef="req_Dec_C5_2">
<di:waypoint x="1105" y="470"/>
<di:waypoint x="1105" y="330"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_1" dmnElementRef="req_Dec_Total_1">
<di:waypoint x="230" y="290"/>
<di:waypoint x="340" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_2" dmnElementRef="req_Dec_Total_2">
<di:waypoint x="385" y="250"/>
<di:waypoint x="430" y="140"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_3" dmnElementRef="req_Dec_Total_3">
<di:waypoint x="540" y="290"/>
<di:waypoint x="520" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_4" dmnElementRef="req_Dec_Total_4">
<di:waypoint x="780" y="290"/>
<di:waypoint x="520" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_Total_5" dmnElementRef="req_Dec_Total_5">
<di:waypoint x="1020" y="290"/>
<di:waypoint x="520" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_TieBreak_1" dmnElementRef="req_Dec_TieBreak_1">
<di:waypoint x="625" y="250"/>
<di:waypoint x="810" y="140"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_TieBreak_2" dmnElementRef="req_Dec_TieBreak_2">
<di:waypoint x="1020" y="290"/>
<di:waypoint x="900" y="100"/>
</dmndi:DMNEdge>
<dmndi:DMNEdge id="DMNEdge_req_Dec_TieBreak_3" dmnElementRef="req_Dec_TieBreak_3">
<di:waypoint x="230" y="290"/>
<di:waypoint x="720" y="100"/>
</dmndi:DMNEdge>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions> </definitions>