Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

/********************************************************************************
file-centric-snapshot-mdrs-referenced-module-inactive.sql

Assertion:
Referenced module in the MDRS is inactive
********************************************************************************/

insert into qa_result (runid, assertionuuid, concept_id, details)
select
<RUNID>,
'<ASSERTIONUUID>',
a.referencedcomponentid,
concat('Referenced module ', a.referencedcomponentid, ' in module dependency refset is inactive.')
from curr_moduledependencyrefset_s a
left join curr_concept_s c on a.referencedcomponentid = c.id
where c.active = 0
and a.active = 1;
3 changes: 3 additions & 0 deletions importer/src/main/resources/xml/lists/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -608,5 +608,8 @@
<script uuid="73772817-4654-4abf-b801-e849fbae1ba0" category="component-centric-validation,INT" sqlFile="component-centric-snapshot-mrcm-attribute-range-referencedcomponentId-exist-in-attribute-domain-refset-referencedcomponentid.sql" text="ReferencedComponentId in MRCM ATTRIBUTE RANGE SNAPSHOT exists in the ReferencedComponentId values of MRCM ATTRIBUTE DOMAIN SNAPSHOT"/>

<script uuid="57ae69cd-26f0-4001-ba2f-ae56129e2e28" category="component-centric-validation,INT" sqlFile="component-centric-snapshot-mrcm-module-scope-valid-mrcmrulerefsetid.sql" text="MrcmRuleRefsetId in MRCM MODULE SCOPE SNAPSHOT exists in the RefsetId values of MRCM DOMAIN SNAPSHOT or MRCM ATTRIBUTE DOMAIN SNAPSHOT or MRCM ATTRIBUTE RANGE SNAPSHOT"/>

<!-- file-centric-validation-mdrs -->
<script uuid="4dc13d91-3970-4be4-8ade-b76e66dc5c13" category="file-centric-validation" sqlFile="file-centric-snapshot-mdrs-referenced-module-inactive.sql" text="Referenced module in the MDRS is inactive." />
</useCase>
</manifest>