The observation described by the code 100000539(Cardiac Rehabilitation Referral) SHALL have a value element with type : CD coming from the table of description of the value set : Discharge Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10118) : table number is 6.5.5.19-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000539(Cardiac Rehabilitation Referral) SHALL have a value element with type CD coming from the valueSet 'Yes\\No\\Ineligible Response' (1.3.6.1.4.1.19376.1.4.1.6.5.10086) coming from the table of description of the value set : Discharge Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10118) : table number is 6.5.5.19-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10086', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 184305005(Cause of death) SHALL have a value element with type : CD coming from the table of description of the value set : Discharge Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10118) : table number is 6.5.5.19-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 184305005(Cause of death) SHALL have a value element with type CD coming from the valueSet 'Cause of death' (1.3.6.1.4.1.19376.1.4.1.6.5.10072) coming from the table of description of the value set : Discharge Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10118) : table number is 6.5.5.19-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10072', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000884(Discharge Disposition) SHALL have a value element with type : CD coming from the table of description of the value set : Discharge Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10118) : table number is 6.5.5.19-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000884(Discharge Disposition) SHALL have a value element with type CD coming from the valueSet 'Discharge Disposition' (1.3.6.1.4.1.19376.1.4.1.6.5.10081) coming from the table of description of the value set : Discharge Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10118) : table number is 6.5.5.19-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10081', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000800(Encounter Admission Source) SHALL have a value element with type : CD coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000800(Encounter Admission Source) SHALL have a value element with type CD coming from the valueSet 'Admission Source' (1.3.6.1.4.1.19376.1.4.1.6.5.10080) coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10080', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000852(Encounter Insurance Payor) SHALL have a value element with type : CD coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000852(Encounter Insurance Payor) SHALL have a value element with type CD coming from the valueSet 'Payor Category' (1.3.6.1.4.1.19376.1.4.1.6.5.10096) coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10096', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000885(Encounter Type) SHALL have a value element with type : CD coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000885(Encounter Type) SHALL have a value element with type CD coming from the valueSet 'Encounter Type' (1.3.6.1.4.1.19376.1.4.1.6.5.10082) coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10082', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000801(Patient Health Insurance Claim Number) SHALL have a value element with type : ST coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(ST)) The observation described by the code 100000887(Patient Zip code) SHALL have a value element with type : ST coming from the table of description of the value set : Encounter Administrative(1.3.6.1.4.1.19376.1.4.1.6.5.11531) : table number is 6.5.5.21-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(ST)) The observation described by the code 250908004(LVEF) SHALL have a value element with type : PQ coming from the table of description of the value set : Encounter Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10090) : table number is 6.5.5.22-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 100000869(Location where CABG was performed) SHALL have a value element with type : CD coming from the table of description of the value set : Encounter Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10131) : table number is 6.5.5.24-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000869(Location where CABG was performed) SHALL have a value element with type CD coming from the valueSet 'Location where Procedure was performed' (1.3.6.1.4.1.19376.1.4.1.6.5.11529) coming from the table of description of the value set : Encounter Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10131) : table number is 6.5.5.24-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11529', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 272125009(Procedure Priority) SHALL have a value element with type : CD coming from the table of description of the value set : Encounter Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10131) : table number is 6.5.5.24-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 272125009(Procedure Priority) SHALL have a value element with type CD coming from the valueSet 'Procedure Priority' (1.3.6.1.4.1.19376.1.4.1.6.5.10048) coming from the table of description of the value set : Encounter Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10131) : table number is 6.5.5.24-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10048', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000903(Reason for CABG) SHALL have a value element with type : CD coming from the table of description of the value set : Encounter Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10131) : table number is 6.5.5.24-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000903(Reason for CABG) SHALL have a value element with type CD coming from the valueSet 'Reason for CABG' (1.3.6.1.4.1.19376.1.4.1.6.5.10087) coming from the table of description of the value set : Encounter Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10131) : table number is 6.5.5.24-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10087', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 62914000(Cerebrovascular Disease) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 413839001(Chronic Lung Disease) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 77176002(Current/Recent Smoker (w/in 1 year)) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 105502003(Dependence on renal dialysis) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 73211009(Diabetes Mellitus) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000805(Diabetic Therapy) SHALL have a value element with type : CD coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000805(Diabetic Therapy) SHALL have a value element with type CD coming from the valueSet 'Diabetic Therapy' (1.3.6.1.4.1.19376.1.4.1.6.5.10052) coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10052', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 370992007(Dyslipidemia) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 134439009(Family history of premature coronary heart disease) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 84114007(Heart failure) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 38341003(Hypertension) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 22298006(MI) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 399957001(Peripheral Arterial Disease) SHALL have a value element with type : BL coming from the table of description of the value set : History and Risk Factors Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10094) : table number is 6.5.5.28-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 2157-6(CK) SHALL have a value element with type : BL coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 2157-6(CK) SHALL have a code element with the attribute @code='17621005' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='17621005' ) The observation described by the code 13969-1(CKMB) SHALL have a value element with type : PQ coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 13969-1(CKMB) SHALL have a value element with type PQ and the unit of value SHALL be 'ng/mL' coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='ng/mL' )) The observation described by the code 2160-0(Creatinine) SHALL have a value element with type : PQ coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 2160-0(Creatinine) SHALL have a value element with type PQ and the unit of value SHALL be 'mg/dL' coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='mg/dL' )) The observation described by the code 718-7(HgB) SHALL have a value element with type : PQ coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 718-7(HgB) SHALL have a value element with type PQ and the unit of value SHALL be 'g/dL' coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='g/dL' )) The observation described by the code 10839-9(Troponin I) SHALL have a value element with type : PQ coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 10839-9(Troponin I) SHALL have a value element with type PQ and the unit of value SHALL be 'ng/mL' coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='ng/mL' )) The observation described by the code 6598-7(Troponin T) SHALL have a value element with type : PQ coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 6598-7(Troponin T) SHALL have a value element with type PQ and the unit of value SHALL be 'ng/mL' coming from the table of description of the value set : Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.31-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='ng/mL' )) The observation described by the code 17621005(Normal) SHALL have a value element with type : BL coming from the table of description of the value set : Laboratory Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11537) : table number is 6.5.5.32-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 431558000(FFR Procedure) SHALL have a code element with the attribute @code='371842003' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='371842003' ) The observation described by the code 421327009(Coronary artery stent thrombosis) SHALL have a value element with type : BL coming from the table of description of the value set : Lesion Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10121) : table number is 6.5.5.35-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 371842003(FFR Ratio) SHALL have a value element with type : PQ coming from the table of description of the value set : Lesion Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10121) : table number is 6.5.5.35-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 371842003(FFR Ratio) SHALL have a value element with type PQ and the unit of value SHALL be '%' coming from the table of description of the value set : Lesion Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10121) : table number is 6.5.5.35-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='%' )) The observation described by the code 371893007(Restenotic lesion of coronary artery) SHALL have a value element with type : BL coming from the table of description of the value set : Lesion Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10121) : table number is 6.5.5.35-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000856(Stent Type) SHALL have a value element with type : CD coming from the table of description of the value set : Lesion Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10121) : table number is 6.5.5.35-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000856(Stent Type) SHALL have a value element with type CD coming from the valueSet 'Stent Device Type' (1.3.6.1.4.1.19376.1.4.1.6.5.10050) coming from the table of description of the value set : Lesion Procedure Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10121) : table number is 6.5.5.35-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10050', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 397731000(Ethnicity) SHALL have a value element with type : CD coming from the table of description of the value set : Patient Demographic Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10101) : table number is 6.5.5.42-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 397731000(Ethnicity) SHALL have a value element with type CD coming from the valueSet 'Ethnicity' (1.3.6.1.4.1.19376.1.4.1.6.5.10073) coming from the table of description of the value set : Patient Demographic Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10101) : table number is 6.5.5.42-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10073', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null) ) The observation described by the code 103579009(Race) SHALL have a value element with type : CD coming from the table of description of the value set : Patient Demographic Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10101) : table number is 6.5.5.42-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 103579009(Race) SHALL have a value element with type CD coming from the valueSet 'Person Race' (1.3.6.1.4.1.19376.1.4.1.6.5.10077) coming from the table of description of the value set : Patient Demographic Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10101) : table number is 6.5.5.42-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10077', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 233970002(Coronary artery stenosis) SHALL have a value element with type : PQ coming from the table of description of the value set : Post-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10138) : table number is 6.5.5.46-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 233970002(Coronary artery stenosis) SHALL have a value element with type PQ and the unit of value SHALL be '%' coming from the table of description of the value set : Post-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10138) : table number is 6.5.5.46-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='%' )) The observation described by the code 100000868(Intracoronary Device Deployed) SHALL have a value element with type : BL coming from the table of description of the value set : Post-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10138) : table number is 6.5.5.46-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 371863001(TIMI Flow Finding) SHALL have a value element with type : CD coming from the table of description of the value set : Post-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10138) : table number is 6.5.5.46-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 371863001(TIMI Flow Finding) SHALL have a value element with type CD coming from the valueSet 'TIMI Flow Grade' (1.3.6.1.4.1.19376.1.4.1.6.5.10038) coming from the table of description of the value set : Post-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10138) : table number is 6.5.5.46-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10038', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 371894001(Bifurcation Lesion) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 233970002(Coronary artery stenosis) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 233970002(Coronary artery stenosis) SHALL have a value element with type PQ and the unit of value SHALL be '%' coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='%' )) The observation described by the code 398274000(Coronary artery thrombosis) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000290(Coronary occlusion ) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 371895000(Culprit Lesion) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 251021001(Graft Type) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 251021001(Graft Type) SHALL have a value element with type CD coming from the valueSet 'Graft Type' (1.3.6.1.4.1.19376.1.4.1.6.5.11527) coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11527', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000851(Guidewire Across Lesion) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000866(Lesion Complexity) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000866(Lesion Complexity) SHALL have a value element with type CD coming from the valueSet 'Lesion Complexity Finding' (1.3.6.1.4.1.19376.1.4.1.6.5.10051) coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10051', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 410668003(Lesion Length) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 410668003(Lesion Length) SHALL have a value element with type PQ and the unit of value SHALL be 'mm' coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='mm' )) The observation described by the code 100000862(Location of Lesion in Graft) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000862(Location of Lesion in Graft) SHALL have a value element with type CD coming from the valueSet 'Location of Lesion in Graft' (1.3.6.1.4.1.19376.1.4.1.6.5.11528) coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11528', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 373108000(Previously Treated Lesion) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 371863001(TIMI Flow Finding) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 371863001(TIMI Flow Finding) SHALL have a value element with type CD coming from the valueSet 'TIMI Flow Grade' (1.3.6.1.4.1.19376.1.4.1.6.5.10038) coming from the table of description of the value set : Pre-intervention Lesion Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10135) : table number is 6.5.5.47-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10038', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 42137009(In-Stent Restenosis) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 264579008(In-Stent Thrombosis) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 36969009(Placement of stent in coronary artery) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000856(Stent Type) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000856(Stent Type) SHALL have a value element with type CD coming from the valueSet 'Stent Device Type' (1.3.6.1.4.1.19376.1.4.1.6.5.10050) coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10050', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 7389001(Time frame) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 7389001(Time frame) SHALL have a value element with type CD coming from the valueSet 'Previously Treated Lesion Timeframe' (1.3.6.1.4.1.19376.1.4.1.6.5.10040) coming from the table of description of the value set : Pre-intervention Lesion Observation Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10132) : table number is 6.5.5.48-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10040', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 84114007(Acute heart failure) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 134438001(Canadian Cardiovascular Society classification of angina) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 134438001(Canadian Cardiovascular Society classification of angina) SHALL have a value element with type CD coming from the valueSet 'CCS Classification' (1.3.6.1.4.1.19376.1.4.1.6.5.10028) coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10028', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 410429000(Cardiac arrest w/in 24 hours) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000872(Cardiac Transplant Evaluation) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000873(Cardiac Transplant Evaluation Type) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000873(Cardiac Transplant Evaluation Type) SHALL have a value element with type CD coming from the valueSet 'Cardiac Transplant Evaluation Type' (1.3.6.1.4.1.19376.1.4.1.6.5.10098) coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10098', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 89138009(Cardiogenic shock w/in 24 hours) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000714(Cardiomyopathy or Left Ventricular Systolic Dysfunction) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 53741008(Coronary Artery Disease) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 420816009(New York Heart Association Classification) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 420816009(New York Heart Association Classification) SHALL have a value element with type CD coming from the valueSet 'NYHA Classification' (1.3.6.1.4.1.19376.1.4.1.6.5.10029) coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10029', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 401303003(STEMI or STEMI Equivalent) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication(1.3.6.1.4.1.19376.1.4.1.6.5.10122) : table number is 6.5.5.49-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 401303003(STEMI or STEMI Equivalent) SHALL have a code element with the attribute @code='7389001' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='7389001' ) The observation described by the code 100000876(Effective Time Estimated) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Indication Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10123) : table number is 6.5.5.50-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000501(Presentation) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Indication Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10123) : table number is 6.5.5.50-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000501(Presentation) SHALL have a value element with type CD coming from the valueSet 'CAD Presentation' (1.3.6.1.4.1.19376.1.4.1.6.5.10033) coming from the table of description of the value set : Pre-procedure Indication Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10123) : table number is 6.5.5.50-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10033', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 7389001(Time frame) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Indication Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10123) : table number is 6.5.5.50-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 7389001(Time frame) SHALL have a value element with type CD coming from the valueSet 'STEMI First Noted Timeframe' (1.3.6.1.4.1.19376.1.4.1.6.5.10049) coming from the table of description of the value set : Pre-procedure Indication Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10123) : table number is 6.5.5.50-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10049', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 6398137007(CK) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 6398137007(CK) SHALL have a code element with the attribute @code='17621005' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='17621005' ) The observation described by the code 13969-1(CKMB) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 13969-1(CKMB) SHALL have a value element with type PQ and the unit of value SHALL be 'ng/mL' coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='ng/mL' )) The observation described by the code 2160-0(Creatinine) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 2160-0(Creatinine) SHALL have a value element with type PQ and the unit of value SHALL be 'mg/dL' coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='mg/dL' )) The observation described by the code 718-7(HgB) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 718-7(HgB) SHALL have a value element with type PQ and the unit of value SHALL be 'g/dL' coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='g/dL' )) The observation described by the code 10839-9(Troponin I) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 10839-9(Troponin I) SHALL have a value element with type PQ and the unit of value SHALL be 'ng/mL' coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='ng/mL' )) The observation described by the code 6598-7(Troponin T) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 6598-7(Troponin T) SHALL have a value element with type PQ and the unit of value SHALL be 'ng/mL' coming from the table of description of the value set : Pre-procedure Laboratory Result(1.3.6.1.4.1.19376.1.4.1.6.5.11533) : table number is 6.5.5.51-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='ng/mL' )) The modifier element of the statement described by the code 110466009(Preoperative cardiovascular examination) SHALL have a code element with the attribute @code='100000319' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000319' ) The modifier element of the statement described by the code 307521008(Thrombolytic) SHALL have a code element with the attribute @code='401303003' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='401303003' ) The observation described by the code 100000319(Non-Cardiac Surgery) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-Procedure Procedure Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10105) : table number is 6.5.5.54-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 401303003(STEMI) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-Procedure Procedure Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.10105) : table number is 6.5.5.54-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 59255-0(Cardiac CTA) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 59255-0(Cardiac CTA) SHALL have a code element with the attribute @code='100000874' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000874' ) The observation described by the code 450360000(Coronary Calcium Score) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 450360000(Coronary Calcium Score) SHALL have a code element with the attribute @code='100000647' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000647' ) The observation described by the code 18752-6(Exercise stress test study) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 18752-6(Exercise stress test study) SHALL have a code element with the attribute @code='100000854' or @code='100000855' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000854' or entrr.observation.code.code='100000855' ) The observation described by the code 18107-3(Stress Echocardiogram) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 18107-3(Stress Echocardiogram) SHALL have a code element with the attribute @code='100000854' or @code='100000855' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000854' or entrr.observation.code.code='100000855' ) The observation described by the code 100000653(Stress or Imaging Test) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 58750-1(Stress Testing with CMR) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 58750-1(Stress Testing with CMR) SHALL have a code element with the attribute @code='100000854' or @code='100000855' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000854' or entrr.observation.code.code='100000855' ) The observation described by the code 49569-7(Stress Testing w/Spect MPI) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result(1.3.6.1.4.1.19376.1.4.1.6.5.11534) : table number is 6.5.5.55-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 49569-7(Stress Testing w/Spect MPI) SHALL have a code element with the attribute @code='100000854' or @code='100000855' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000854' or entrr.observation.code.code='100000855' ) The observation described by the code 100000647(Calcium Score) SHALL have a value element with type : PQ coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 100000874(Cardiac CTA Results) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000874(Cardiac CTA Results) SHALL have a value element with type CD coming from the valueSet 'Cardiac CTA Results' (1.3.6.1.4.1.19376.1.4.1.6.5.10058) coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10058', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 17621005(Normal) SHALL have a value element with type : BL coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000855(Risk/Extent of Ischemia) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000855(Risk/Extent of Ischemia) SHALL have a value element with type CD coming from the valueSet 'Risk/Extent of Ischemia' (1.3.6.1.4.1.19376.1.4.1.6.5.10057) coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10057', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000854(Stress Test Result) SHALL have a value element with type : CD coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000854(Stress Test Result) SHALL have a value element with type CD coming from the valueSet 'Stress Test Result' (1.3.6.1.4.1.19376.1.4.1.6.5.10055) coming from the table of description of the value set : Pre-procedure Test Result Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11535) : table number is 6.5.5.56-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10055', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The modifier element of the statement described by the code 44491008(Fluoroscopy Procedure) SHALL have a code element with the attribute @code='446996006' OCL self.entryRelationship->select(entrr: POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.42') )->forAll(entrr: POCDMT000040EntryRelationship | (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='446996006' ) The modifier element of the statement described by the code 399217008(IABP) SHALL have a code element with the attribute @code='7389001' OCL self.entryRelationship->select(entrr: POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.42') )->forAll(entrr: POCDMT000040EntryRelationship | (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='7389001' ) The modifier element of the statement described by the code 232957001(Other Mechanical Ventricular Support) SHALL have a code element with the attribute @code='7389001' OCL self.entryRelationship->select(entrr: POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.42') )->forAll(entrr: POCDMT000040EntryRelationship | (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='7389001' ) The observation described by the code 7389001(Cardio assist device timing) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 7389001(Cardio assist device timing) SHALL have a value element with type CD coming from the valueSet 'Timing of Cardioassist Device' (1.3.6.1.4.1.19376.1.4.1.6.5.10031) coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10031', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 89138009(Cardiogenic shock at start of the PCI) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 446996006(Dosage of radiation exposure ) SHALL have a value element with type : PQ coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 446996006(Dosage of radiation exposure ) SHALL have a value element with type PQ and the unit of value SHALL be 'mGy' coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='mGy' )) The observation described by the code 100000353(Emergency department patient visit) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 404229004(First Device Activation) SHALL have a value element with type : TS coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(TS)) The observation described by the code 4563007(Hospital admission, transfer from other hospital or health care facility) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000886(Lesion) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000880(PCI Indication) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000880(PCI Indication) SHALL have a value element with type CD coming from the valueSet 'Reason PCI is performed' (1.3.6.1.4.1.19376.1.4.1.6.5.10042) coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10042', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 10230-1(Pre-PCI LVEF) SHALL have a value element with type : PQ coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 10230-1(Pre-PCI LVEF) SHALL have a value element with type PQ and the unit of value SHALL be '%' coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='%' )) The observation described by the code 272125009(Procedure Priority) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 272125009(Procedure Priority) SHALL have a value element with type CD coming from the valueSet 'Procedure Priority' (1.3.6.1.4.1.19376.1.4.1.6.5.10048) coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10048', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 373786007(Reasons for treatment delay) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 373786007(Reasons for treatment delay) SHALL have a value element with type CD coming from the valueSet 'Non-system reason for delays for PCI' (1.3.6.1.4.1.19376.1.4.1.6.5.10041) coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10041', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000180(STEMI First Noted) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000180(STEMI First Noted) SHALL have a value element with type CD coming from the valueSet 'STEMI First Noted Timeframe' (1.3.6.1.4.1.19376.1.4.1.6.5.10049) coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10049', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000879(Treatment Recommendation) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000879(Treatment Recommendation) SHALL have a value element with type CD coming from the valueSet 'Diagnostic Catheterization Recommendation' (1.3.6.1.4.1.19376.1.4.1.6.5.10099) coming from the table of description of the value set : Procedure Observation(1.3.6.1.4.1.19376.1.4.1.6.5.10124) : table number is 6.5.5.60-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10099', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 36225005(Acute renal failure due to procedure) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 131148009(Bleeding) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The modifier element of the statement described by the code 131148009(Bleeding) SHALL have a code element with the attribute @code='100000902' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000902' ) The observation described by the code 89138009(Cardiogenic shock) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 230690007(Cerebrovascular accident) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 234010000(Coronary artery perforation) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 84114007(Heart failure) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 213262007(Hematoma) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 213262007(Hematoma) SHALL have a code element with the attribute @code='100000902' or @code='100000007' OCL self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and ( entrr.observation.code.code='100000902' or entrr.observation.code.code='100000007' ) ) The observation described by the code 230706003(Hemorrhagic cerebral infarction ) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 22298006(MI) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 71493000(PRBC Transfusion) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000883(Significant Dissection) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 35304003(Tamponade) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 28104001(Vascular Complication) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Event(1.3.6.1.4.1.19376.1.4.1.6.5.11532) : table number is 6.5.5.62-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 100000007(Hematoma Size) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Session Event Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11538) : table number is 6.5.5.63-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000007(Hematoma Size) SHALL have a value element with type CD coming from the valueSet 'Hematoma Size' (1.3.6.1.4.1.19376.1.4.1.6.5.10027) coming from the table of description of the value set : Procedure Session Event Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11538) : table number is 6.5.5.63-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10027', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 718-7(HgB) SHALL have a value element with type : PQ coming from the table of description of the value set : Procedure Session Event Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11538) : table number is 6.5.5.63-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 718-7(HgB) SHALL have a value element with type PQ and the unit of value SHALL be 'g/dL' coming from the table of description of the value set : Procedure Session Event Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.11538) : table number is 6.5.5.63-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='g/dL' )) The observation described by the code 311788003(Arterial Access Site) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Session Observation (1.3.6.1.4.1.19376.1.4.1.6.5.10117) : table number is 6.5.5.64-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 311788003(Arterial Access Site) SHALL have a value element with type CD coming from the valueSet 'Arterial Access Site' (1.3.6.1.4.1.19376.1.4.1.6.5.10043) coming from the table of description of the value set : Procedure Session Observation (1.3.6.1.4.1.19376.1.4.1.6.5.10117) : table number is 6.5.5.64-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10043', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 233970002(Coronary artery stenosis) SHALL have a value element with type : PQ coming from the table of description of the value set : Procedure Session Observation (1.3.6.1.4.1.19376.1.4.1.6.5.10117) : table number is 6.5.5.64-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 233970002(Coronary artery stenosis) SHALL have a value element with type PQ and the unit of value SHALL be '%' coming from the table of description of the value set : Procedure Session Observation (1.3.6.1.4.1.19376.1.4.1.6.5.10117) : table number is 6.5.5.64-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='%' )) The observation described by the code 253727002(Variant dominance of coronary circulation) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Session Observation (1.3.6.1.4.1.19376.1.4.1.6.5.10117) : table number is 6.5.5.64-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 253727002(Variant dominance of coronary circulation) SHALL have a value element with type CD coming from the valueSet 'Dominance of the coronary anatomy' (1.3.6.1.4.1.19376.1.4.1.6.5.10047) coming from the table of description of the value set : Procedure Session Observation (1.3.6.1.4.1.19376.1.4.1.6.5.10117) : table number is 6.5.5.64-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10047', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000902(Bleeding Location) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Session Event Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.11538) : table number is 6.5.5.65-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000902(Bleeding Location) SHALL have a value element with type CD coming from the valueSet 'Bleeding Location' (1.3.6.1.4.1.19376.1.4.1.6.5.10085) coming from the table of description of the value set : Procedure Session Event Modifier (1.3.6.1.4.1.19376.1.4.1.6.5.11538) : table number is 6.5.5.65-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10085', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 100000888(Coronary Territory) SHALL have a value element with type : CD coming from the table of description of the value set : Procedure Session Observation Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10119) : table number is 6.5.5.65-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 100000888(Coronary Territory) SHALL have a value element with type CD coming from the valueSet 'Coronary Territory' (1.3.6.1.4.1.19376.1.4.1.6.5.10100) coming from the table of description of the value set : Procedure Session Observation Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10119) : table number is 6.5.5.65-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10100', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 17621005(Normal) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Observation Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10119) : table number is 6.5.5.65-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code NA(Not Applicable) SHALL have a value element with type : BL coming from the table of description of the value set : Procedure Session Observation Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10119) : table number is 6.5.5.65-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(BL)) The observation described by the code 432102000(Administration of substance) SHALL have a value element with type : CD coming from the table of description of the value set : Substance Administration Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10126) : table number is 6.5.5.72-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(CD)) The observation described by the code 432102000(Administration of substance) SHALL have a value element with type CD coming from the valueSet 'Medication Administration Response' (2.16.840.1.113883.3.3478.11.10062) coming from the table of description of the value set : Substance Administration Modifier(1.3.6.1.4.1.19376.1.4.1.6.5.10126) : table number is 6.5.5.72-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(CD)) or val.oclAsType(CD).code.oclIsUndefined() or val.oclAsType(CD).matchesValueSet('2.16.840.1.113883.3.3478.11.10062', val.oclAsType(CD).code, val.oclAsType(CD).codeSystem, null, null)) The observation described by the code 8302-2(Height) SHALL have a value element with type : PQ coming from the table of description of the value set : Vital Sign(1.3.6.1.4.1.19376.1.4.1.6.5.11540) : table number is 6.5.5.75-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 8302-2(Height) SHALL have a value element with type PQ and the unit of value SHALL be 'cm' coming from the table of description of the value set : Vital Sign(1.3.6.1.4.1.19376.1.4.1.6.5.11540) : table number is 6.5.5.75-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='cm' )) The observation described by the code 3141-9(Weight) SHALL have a value element with type : PQ coming from the table of description of the value set : Vital Sign(1.3.6.1.4.1.19376.1.4.1.6.5.11540) : table number is 6.5.5.75-1 OCL self.value->forAll(val : ANY | val.oclIsKindOf(PQ)) The observation described by the code 3141-9(Weight) SHALL have a value element with type PQ and the unit of value SHALL be 'kg' coming from the table of description of the value set : Vital Sign(1.3.6.1.4.1.19376.1.4.1.6.5.11540) : table number is 6.5.5.75-1 OCL self.value->forAll(val : ANY | (not val.oclIsKindOf(PQ)) or (not val.nullFlavor.oclIsUndefined()) or ( (not val.oclAsType(PQ).unit.oclIsUndefined()) and val.oclAsType(PQ).unit='kg' )) Contrast Administration Entry SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:RCS-33168). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM Contrast Administration Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33169). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::EVN Contrast Administration Entry SHALL contain exactly one [1..1] @negationInd (CONF:RCS-33181). OCL (not self.negationInd.oclIsUndefined()) Contrast Administration Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33166). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.24')->size() = 1 Contrast Administration Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33166). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.24" (CONF:RCS-33177). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.24') Contrast Administration Entry SHOULD contain one[1..1] doseQuantity (CONF:RCS-33182). OCL (not self.doseQuantity.oclIsUndefined()) Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). OCL (not self.consumable.oclIsUndefined()) Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:RCS-33171). OCL self.consumable.oclIsUndefined() or self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined())) Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] @classCode="MANU" (CONF:RCS-33172). OCL self.consumable.manufacturedProduct.oclIsUndefined() or self.consumable.manufacturedProduct.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.classCode=RoleClassManufacturedProduct::MANU Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-33164). OCL self.consumable.manufacturedProduct.oclIsUndefined() or (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-33164). This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:RCS-33173). OCL self.consumable.oclIsUndefined() or self.consumable.manufacturedProduct.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.classCode = EntityClassManufacturedMaterial::MMAT Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-33164). This manufacturedMaterial SHALL contain exactly one [1..1] @determinerCode="KIND" (CONF:RCS-33174). OCL self.consumable.oclIsUndefined() or self.consumable.manufacturedProduct.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode = EntityDeterminerDetermined::KIND Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-33164). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-33165). OCL self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined() or (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-33164). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-33165). This code SHALL contain exactly one [1..1] @code (ValueSet: Contrast Administration 1.3.6.1.4.1.19376.1.4.1.6.5.10111) (CONF:RCS-33175). OCL self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined() or ( (not self.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10111',self.consumable.manufacturedProduct.manufacturedMaterial.code.code) ) Contrast Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-33162). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-33163). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-33164). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-33165). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33176). OCL self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined() or (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined()) Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] @classCode="DOCBODY" (CONF:RCS-33565). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCBODY Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33566). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] templateId (CONF:RCS-33567). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.3.69')->size() = 1 Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] templateId (CONF:RCS-33567). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.3.69" (CONF:RCS-33568). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.3.69') Registry Content Submission CathPCI V4.4 Body SHALL contain at least one [1..*] component (CONF:RCS-33521). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.2'))->size() > 0 Registry Content Submission CathPCI V4.4 Body SHALL contain at least one [1..*] component (CONF:RCS-33521). Such components SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33576). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.2'))->exists(var : POCDMT000040Component3 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Registry Content Submission CathPCI V4.4 Body SHALL contain at least one [1..*] component (CONF:RCS-33521). Such components SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33577). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.2'))->exists(var : POCDMT000040Component3 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Registry Content Submission CathPCI V4.4 Body SHALL contain at least one [1..*] component (CONF:RCS-33521). Such components SHALL contain exactly one [1..1] Encounter Section (templateId:1.3.6.1.4.1.19376.1.4.1.6.2.2) (CONF:RCS-33522). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.2'))->exists(var : POCDMT000040Component3 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.2')) Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] component (CONF:RCS-33523). OCL self.component->select( aa : POCDMT000040Component3| (not aa.section.oclIsUndefined()) and aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.33' ) )->size() = 1 Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] component (CONF:RCS-33523). This component SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33578). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.33'))->exists(var : POCDMT000040Component3 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] component (CONF:RCS-33523). This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33579). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.33'))->exists(var : POCDMT000040Component3 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Registry Content Submission CathPCI V4.4 Body SHALL contain exactly one [1..1] component (CONF:RCS-33523). This component SHALL contain exactly one [1..1] Patient Demographic Section (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.33) (CONF:RCS-33524). OCL self.component->select( aa : POCDMT000040Component3| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.33'))->exists(var : POCDMT000040Component3 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.33')) Registry Content Submission Document SHALL contain exactly one [1..1] @classCode="DOCCLIN" (CONF:RCS-1). OCL self.classCode.oclIsUndefined() or self.classCode=ActClinicalDocument::DOCCLIN Registry Content Submission Document SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-2). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Registry Content Submission Document SHALL contain exactly one [1..1] templateId (CONF:RCS-4). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.1.1') Registry Content Submission Document SHALL contain exactly one [1..1] templateId (CONF:RCS-4). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.1.1" (CONF:RCS-32265). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.1.1')->size() = 1 Registry Content Submission Document SHALL contain exactly one [1..1] id (CONF:RCS-5). OCL (not self.id.oclIsUndefined()) Registry Content Submission Document SHALL contain exactly one [1..1] id (CONF:RCS-5). This id SHALL contain exactly one [1..1] @root (CONF:RCS-33600). OCL self.id.oclIsUndefined() or ((not self.id.root.oclIsUndefined())) Registry Content Submission Document SHALL contain exactly one [1..1] code (CONF:RCS-6). OCL (not self.code.oclIsUndefined()) Registry Content Submission Document SHALL contain exactly one [1..1] code (CONF:RCS-6). This code SHALL contain exactly one [1..1] @code="LOINC_1" Cath PCI Repository Report (CONF:RCS-32268). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='LOINC_1') Registry Content Submission Document SHALL contain exactly one [1..1] code (CONF:RCS-6). This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CONF:RCS-32505). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1') Registry Content Submission Document SHALL contain exactly one [1..1] title="Registry Content Submission-CathPCI" (CONF:RCS-32678). OCL (not self.title.oclIsUndefined()) and self.title.getListStringValues()->forAll(st: String | st='' or st ='Registry Content Submission-CathPCI') Registry Content Submission Document SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-7). OCL (not self.effectiveTime.oclIsUndefined()) Registry Content Submission Document SHALL contain exactly one [1..1] confidentialityCode="N" Normal (CodeSystem: ConfidentialityCode 2.16.840.1.113883.5.25) (CONF:RCS-32422). OCL (not self.confidentialityCode.oclIsUndefined()) and (not self.confidentialityCode.code.oclIsUndefined()) and self.confidentialityCode.code='N' and (not self.confidentialityCode.codeSystem.oclIsUndefined()) and self.confidentialityCode.codeSystem='2.16.840.1.113883.5.25' Registry Content Submission Document MAY contain zero or one [0..1] languageCode (CONF:RCS-32423). The languageCode, if present, SHALL contain exactly one [1..1] @code="EN" (CONF:RCS-32734). OCL self.languageCode.oclIsUndefined() or ((not self.languageCode.code.oclIsUndefined()) and self.languageCode.code='EN') Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). OCL self.recordTarget->size() = 1 Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] @typeCode="RCT" (CONF:RCS-32162). OCL self.recordTarget->exists(var : POCDMT000040RecordTarget | var.typeCode.oclIsUndefined() or var.typeCode=ParticipationType::RCT) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] @contextControlCode="OP" (CONF:RCS-32561). OCL self.recordTarget->exists(var : POCDMT000040RecordTarget | var.contextControlCode.oclIsUndefined() or var.contextControlCode=NullFlavor::OP) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). OCL self.recordTarget->exists(var : POCDMT000040RecordTarget | (not var.patientRole.oclIsUndefined())) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] @classCode="PAT" (CONF:RCS-32164). OCL self.recordTarget->exists(var : POCDMT000040RecordTarget | (not var.patientRole.oclIsUndefined()) and (var.patientRole.classCode.oclIsUndefined() or var.patientRole.classCode=RoleClass::PAT) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] id (CONF:RCS-32175). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.842" (CONF:RCS-33014). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or var.patientRole.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.842')->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] id (CONF:RCS-32175). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-32178). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or var.patientRole.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.842')->forAll(ii : II | (not ii.extension.oclIsUndefined()) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] id (CONF:RCS-33015). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.1" (CONF:RCS-33017), or a nullFlavor shall be provided (CONF:RCS-33016) OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or var.patientRole.id->select(ii : II | (not ii.nullFlavor.oclIsUndefined()) or ( (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.4.1' ) )->size()>0 ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole MAY contain zero or one [0..1] id (CONF:RCS-33368). The id, if present, SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.843" (CONF:RCS-33370). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or ( var.patientRole.id->size()<4 and var.patientRole.id->forAll(ii : II | ii.root.oclIsUndefined() or ii.root='2.16.840.1.113883.3.3478.4.843' or ii.root='2.16.840.1.113883.4.1' or ii.root='2.16.840.1.113883.3.3478.4.842' ) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole MAY contain zero or one [0..1] id (CONF:RCS-33368). The id, if present, SHALL contain exactly one [1..1] @extension (CONF:RCS-33408). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or var.patientRole.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.843')->forAll(ii : II | (not ii.extension.oclIsUndefined()) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] @classCode="PSN" (CONF:RCS-32355). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and (var.patientRole.patient.classCode.oclIsUndefined() or var.patientRole.patient.classCode=EntityClass::PSN) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:RCS-32356). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and (var.patientRole.patient.determinerCode.oclIsUndefined() or var.patientRole.patient.determinerCode=EntityDeterminer::INSTANCE) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] name (CONF:RCS-32166). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and var.patientRole.patient.name->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] name (CONF:RCS-32166). This name SHOULD contain zero or one [0..1] family (CONF:RCS-32167). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and var.patientRole.patient.name->forAll(pn : PN | pn.family->size()<2) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] name (CONF:RCS-32166). This name SHOULD contain [0..2] given (CONF:RCS-32168). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and var.patientRole.patient.name->forAll(pn : PN | pn.given->size()<3) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] administrativeGenderCode, which SHALL be selected from ValueSet Person Sex 1.3.6.1.4.1.19376.1.4.1.6.5.10078 (CONF:RCS-32170). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and (not var.patientRole.patient.administrativeGenderCode.oclIsUndefined()) and ( (not var.patientRole.patient.administrativeGenderCode.nullFlavor.oclIsUndefined()) or var.patientRole.patient.administrativeGenderCode.matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10078', var.patientRole.patient.administrativeGenderCode.code,var.patientRole.patient.administrativeGenderCode.codeSystem,null,null) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] birthTime (CONF:RCS-32171). OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and (not var.patientRole.patient.birthTime.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). OCL self.author->size() = 1 Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] @typeCode="AUT" (CONF:RCS-32431). OCL self.author->exists(var : POCDMT000040Author | var.typeCode.oclIsUndefined() or var.typeCode=ParticipationType::AUT) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] @contextControlCode="OP" (CONF:RCS-32432). OCL self.author->exists(var : POCDMT000040Author | var.contextControlCode.oclIsUndefined() or var.contextControlCode=NullFlavor::OP) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). OCL self.author->exists(var : POCDMT000040Author | (not var.assignedAuthor.oclIsUndefined())) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:RCS-33372). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ( var.assignedAuthor.classCode.oclIsUndefined() or var.assignedAuthor.classCode=RoleClassAssignedEntity::ASSIGNED ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] id (CONF:RCS-32448). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or var.assignedAuthor.id->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] id (CONF:RCS-32448). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.847" (CONF:RCS-32449). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ( var.assignedAuthor.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.847' )->size()=1 ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] id (CONF:RCS-32448). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-32450). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ( var.assignedAuthor.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.847' )->forAll(ii : II | (not ii.extension.oclIsUndefined()) ) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:RCS-32386). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or (not var.assignedAuthor.representedOrganization.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:RCS-32386). This representedOrganization SHALL contain exactly one [1..1] @classCode="ORG" (CONF:RCS-33393). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ( (not var.assignedAuthor.representedOrganization.oclIsUndefined()) and ( var.assignedAuthor.representedOrganization.classCode.oclIsUndefined() or var.assignedAuthor.representedOrganization.classCode=EntityClassOrganization::ORG ) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:RCS-32386). This representedOrganization SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:RCS-33394). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ( (not var.assignedAuthor.representedOrganization.oclIsUndefined()) and ( var.assignedAuthor.representedOrganization.determinerCode.oclIsUndefined() or var.assignedAuthor.representedOrganization.determinerCode=EntityDeterminer::INSTANCE ) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:RCS-32386). This representedOrganization SHALL contain exactly one [1..1] id (CONF:RCS-32451). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ((not var.assignedAuthor.representedOrganization.oclIsUndefined()) and var.assignedAuthor.representedOrganization.id->size()=1 ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:RCS-32386). This representedOrganization SHALL contain exactly one [1..1] id (CONF:RCS-32451). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.840" (CONF:RCS-32452). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ((not var.assignedAuthor.representedOrganization.oclIsUndefined()) and var.assignedAuthor.representedOrganization.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.840' )->size()=1 ) ) Registry Content Submission Document SHALL contain exactly one [1..1] author (CONF:RCS-32380). This author SHALL contain exactly one [1..1] assignedAuthor (CONF:RCS-32381). This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:RCS-32386). This representedOrganization SHALL contain exactly one [1..1] id (CONF:RCS-32451). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-32453). OCL self.author->exists(var : POCDMT000040Author | var.assignedAuthor.oclIsUndefined() or ((not var.assignedAuthor.representedOrganization.oclIsUndefined()) and var.assignedAuthor.representedOrganization.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.840' )->forAll(ii : II | (not ii.extension.oclIsUndefined()) ) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). OCL (not self.custodian.oclIsUndefined()) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] @typeCode="CST" (CONF:RCS-32562). OCL self.custodian.oclIsUndefined() or ( self.custodian.typeCode.oclIsUndefined() or self.custodian.typeCode=ParticipationType::CST ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined())) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:RCS-32563). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and ( self.custodian.assignedCustodian.classCode.oclIsUndefined() or self.custodian.assignedCustodian.classCode=RoleClassAssignedEntity::ASSIGNED ) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization SHALL contain exactly one [1..1] @classCode="ORG" (CONF:RCS-33373). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and ( self.custodian.assignedCustodian.representedCustodianOrganization.classCode.oclIsUndefined() or self.custodian.assignedCustodian.representedCustodianOrganization.classCode=EntityClassOrganization::ORG ) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:RCS-33374). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and ( self.custodian.assignedCustodian.representedCustodianOrganization.determinerCode.oclIsUndefined() or self.custodian.assignedCustodian.representedCustodianOrganization.determinerCode=EntityDeterminer::INSTANCE ) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization SHALL contain exactly one [1..1] id (CONF:RCS-32391). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and self.custodian.assignedCustodian.representedCustodianOrganization.id->select( ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.836' )->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization SHALL contain exactly one [1..1] id (CONF:RCS-32391). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.836" (CONF:RCS-32676). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and self.custodian.assignedCustodian.representedCustodianOrganization.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.836' )->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization SHALL contain exactly one [1..1] id (CONF:RCS-32391). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-32677). OCL self.custodian.oclIsUndefined() or ( (not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and self.custodian.assignedCustodian.representedCustodianOrganization.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.836' )->forAll(ii : II | (not ii.extension.oclIsUndefined())) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization MAY contain zero or one [0..1] id (CONF:RCS-33378). The id, if present, SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.6" (CONF:RCS-33379). OCL self.custodian.oclIsUndefined() or ( (not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and self.custodian.assignedCustodian.representedCustodianOrganization.id->select(ii : II | (not ii.root.oclIsUndefined()) and (ii.root='2.16.840.1.113883.4.6') )->size()<2 ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization MAY contain zero or one [0..1] id (CONF:RCS-33378). The id, if present, SHALL contain exactly one [1..1] @extension (CONF:RCS-33380). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and self.custodian.assignedCustodian.representedCustodianOrganization.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.4.6' )->forAll(ii : II | (not ii.extension.oclIsUndefined()) ) ) Registry Content Submission Document SHALL contain exactly one [1..1] custodian (CONF:RCS-32388). This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:RCS-32389). This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:RCS-32390). This representedCustodianOrganization SHALL contain exactly one [1..1] name (CONF:RCS-32392). OCL self.custodian.oclIsUndefined() or ((not self.custodian.assignedCustodian.oclIsUndefined()) and (not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and self.custodian.assignedCustodian.representedCustodianOrganization.name->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] informationRecipient (CONF:RCS-32393). OCL self.informationRecipient->size() = 1 Registry Content Submission Document SHALL contain exactly one [1..1] informationRecipient (CONF:RCS-32393). This informationRecipient SHALL contain exactly one [1..1] @typeCode="PRCP" (CONF:RCS-32564). OCL self.informationRecipient->exists(var : POCDMT000040InformationRecipient | (not var.typeCode.oclIsUndefined()) and var.typeCode=XInformationRecipient::PRCP) Registry Content Submission Document SHALL contain exactly one [1..1] informationRecipient (CONF:RCS-32393). This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:RCS-32394). OCL self.informationRecipient->exists(var : POCDMT000040InformationRecipient | (not var.intendedRecipient.oclIsUndefined())) Registry Content Submission Document SHALL contain exactly one [1..1] informationRecipient (CONF:RCS-32393). This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:RCS-32394). This intendedRecipient SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:RCS-32565). OCL self.informationRecipient->exists(var : POCDMT000040InformationRecipient | (not var.intendedRecipient.oclIsUndefined()) and (not var.intendedRecipient.classCode.oclIsUndefined()) and var.intendedRecipient.classCode=XInformationRecipientRole::ASSIGNED ) Registry Content Submission Document SHALL contain exactly one [1..1] informationRecipient (CONF:RCS-32393). This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:RCS-32394). This intendedRecipient SHALL contain exactly one [1..1] id (CONF:RCS-32438). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.841" (CONF:RCS-32439). OCL self.informationRecipient->exists(var : POCDMT000040InformationRecipient | (not var.intendedRecipient.oclIsUndefined()) and var.intendedRecipient.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.841' )->size()=1 ) Registry Content Submission Document SHALL contain exactly one [1..1] informationRecipient (CONF:RCS-32393). This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:RCS-32394). This intendedRecipient SHALL contain exactly one [1..1] id (CONF:RCS-32438). This id SHALL contain exactly one [1..1] @extension="CathPCIV4.4" (CONF:RCS-32440). OCL self.informationRecipient->exists(var : POCDMT000040InformationRecipient | (not var.intendedRecipient.oclIsUndefined()) and var.intendedRecipient.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.841' )->forAll(ii : II | (not ii.extension.oclIsUndefined()) and ii.extension='CathPCIV4.4' ) ) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). OCL self.documentationOf->size() = 1 Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] @typeCode="DOC" (CONF:RCS-32455). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipType::DOC) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:RCS-32456). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | (not var.serviceEvent.oclIsUndefined())) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:RCS-32456). This serviceEvent SHALL contain zero or one [0..1] @classCode="PCPR" (CONF:RCS-32457). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | (not var.serviceEvent.oclIsUndefined()) and (not var.serviceEvent.classCode.oclIsUndefined()) and var.serviceEvent.classCode=ActClassRoot::PCPR ) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:RCS-32456). This serviceEvent SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32458). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | (not var.serviceEvent.oclIsUndefined()) and ( var.serviceEvent.moodCode.oclIsUndefined() or var.serviceEvent.moodCode=ActMood::EVN ) ) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:RCS-32456). This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-32459). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | (not var.serviceEvent.oclIsUndefined()) and (not var.serviceEvent.effectiveTime.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:RCS-32456). This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-32459). This effectiveTime SHALL contain exactly one [1..1] low (CONF:RCS-33021). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | (not var.serviceEvent.oclIsUndefined()) and (not var.serviceEvent.effectiveTime.oclIsUndefined()) and (not var.serviceEvent.effectiveTime.low.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] documentationOf (CONF:RCS-32454). This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:RCS-32456). This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-32459). This effectiveTime SHALL contain exactly one [1..1] high (CONF:RCS-33022). OCL self.documentationOf->exists(var : POCDMT000040DocumentationOf | (not var.serviceEvent.oclIsUndefined()) and (not var.serviceEvent.effectiveTime.oclIsUndefined()) and (not var.serviceEvent.effectiveTime.high.oclIsUndefined()) ) Registry Content Submission Document SHALL contain exactly one [1..1] component (CONF:RCS-31888). OCL (not self.component.oclIsUndefined()) Registry Content Submission Document SHALL contain exactly one [1..1] component (CONF:RCS-31888). This component SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-31889). OCL self.component.oclIsUndefined() or ( self.component.typeCode.oclIsUndefined() or self.component.typeCode=ActRelationshipHasComponent::COMP ) Registry Content Submission Document SHALL contain exactly one [1..1] component (CONF:RCS-31888). This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32433). OCL self.component.oclIsUndefined() or ( self.component.contextConductionInd.oclIsUndefined() or self.component.contextConductionInd=true ) Registry Content Submission Document SHALL contain exactly one [1..1] component (CONF:RCS-31888). This component SHALL contain exactly one [1..1] Structured Body (templateId:1.3.6.1.4.1.19376.1.4.1.6.3.69) (CONF:RCS-33409). OCL self.component.oclIsUndefined() or ((not self.component.structuredBody.oclIsUndefined()) and self.component.structuredBody.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.3.69' ) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] name (CONF:RCS-32166). This name SHOULD contain [0..2] given (CONF:RCS-32168) If given contain a nullFlavor, it shall have the value "NAV" (CONF:RCS-32674) OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and var.patientRole.patient.name->forAll(pn : PN | pn.given->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::NAV)) ) Registry Content Submission Document SHALL contain exactly one [1..1] recordTarget (CONF:RCS-32161). This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:RCS-32163). This patientRole SHALL contain exactly one [1..1] patient (CONF:RCS-32165). This patient SHALL contain exactly one [1..1] administrativeGenderCode, which SHALL be selected from ValueSet Person Sex 1.3.6.1.4.1.19376.1.4.1.6.5.10078 (CONF:RCS-32170). If administrativeGenderCode contain a nullFlavor, it shall have the value "NAV" (CONF:RCS-32674) OCL self.recordTarget->forAll(var : POCDMT000040RecordTarget | var.patientRole.oclIsUndefined() or (not var.patientRole.patient.oclIsUndefined()) and (not var.patientRole.patient.administrativeGenderCode.oclIsUndefined()) and var.patientRole.patient.administrativeGenderCode->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::NAV) ) Discharge Medication Entry SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:RCS-32832). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM Discharge Medication Entry SHALL contain exactly one [1..1] @moodCode="RQO" (CONF:RCS-32833). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::RQO Discharge Medication Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32824). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.49')->size() = 1 Discharge Medication Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32824). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.49" (CONF:RCS-32309). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.49') Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). OCL (not self.consumable.oclIsUndefined()) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:RCS-32835). OCL self.consumable.oclIsUndefined() or self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined())) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] @classCode="MANU" (CONF:RCS-32836). OCL self.consumable.oclIsUndefined() or ( (not self.consumable.manufacturedProduct.oclIsUndefined()) and ( self.consumable.manufacturedProduct.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.classCode=RoleClassManufacturedProduct::MANU ) ) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32822). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) ) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32822). This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:RCS-32837). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and ( self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.classCode=EntityClassManufacturedMaterial::MMAT ) ) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32822). This manufacturedMaterial SHALL contain exactly one [1..1] @determinerCode="KIND" (CONF:RCS-32838). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and ( self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode=EntityDeterminerDetermined::KIND ) ) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32822). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32823). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) ) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32822). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32823). This code SHALL contain exactly one [1..1] @code (ValueSet: Discharge Medication 1.3.6.1.4.1.19376.1.4.1.6.5.10060) (CONF:RCS-32839). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10060',self.consumable.manufacturedProduct.manufacturedMaterial.code.code) ) Discharge Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32820). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32821). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32822). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32823). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32840). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined()) and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10060',self.consumable.manufacturedProduct.manufacturedMaterial.code.code,self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem,null,null) ) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). OCL self.entryRelationship->size() = 1 Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32965). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32966). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32968). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and ( var.observation.classCode.oclIsUndefined() or var.observation.classCode=ActClassObservation::OBS ) ) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32969). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32970). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32970). This code SHALL contain exactly one [1..1] @code=”432102000” (CONF:RCS-32971). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.code='432102000' ) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32970). This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" SNOMED (CONF:RCS-32972). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) and var.observation.code.codeSystem='2.16.840.1.113883.6.96' ) Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] value with @xsi:type=”CD” (CONF:RCS-32973). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->select(val : ANY | val.oclIsKindOf(CD) )->size()=1 )->size()=1 Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] value with @xsi:type=”CD” (CONF:RCS-32973). This value SHALL contain exactly one [1..1] @code which shall be selected from ValueSet Medication Administration Response 1.3.6.1.4.1.19376.1.4.1.6.5.10062 (CONF:RCS-33605). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->select(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10062',val.oclAsType(CD).code) )->size()=1 )->size()=1 Discharge Medication Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32964). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32967). This observation SHALL contain exactly one [1..1] value with @xsi:type=”CD” (CONF:RCS-32973). This value SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33606). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->select(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).codeSystem.oclIsUndefined()) )->size()=1 )->size()=1 Discharge Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32866). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Discharge Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32867). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Discharge Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32861). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.48')->size() = 1 Discharge Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32861). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.48" (CONF:RCS-32868). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.48') Discharge Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32859). OCL (not self.code.oclIsUndefined()) Discharge Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32859). This code SHALL contain exactly one [1..1] @code (ValueSet: Discharge Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10118) (CONF:RCS-32862). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10118', self.code.code)) Discharge Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32859). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32863). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Discharge Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-32860). OCL self.value->size() = 1 Discharge Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:RCS-32679). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT Discharge Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32680). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Discharge Section SHALL contain exactly one [1..1] templateId (CONF:RCS-32681). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.44')->size() = 1 Discharge Section SHALL contain exactly one [1..1] templateId (CONF:RCS-32681). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.2.44" (CONF:RCS-32682). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.44') Discharge Section SHALL contain exactly one [1..1] code (CONF:RCS-33006). OCL (not self.code.oclIsUndefined()) Discharge Section SHALL contain exactly one [1..1] code (CONF:RCS-33006). This code SHALL contain exactly one [1..1] @code="LOINC_44" (CONF:RCS-33007). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='LOINC_44') Discharge Section SHALL contain exactly one [1..1] code (CONF:RCS-33006). This code SHALL contain exactly one [1..1] @codeSystem=“2.16.840.1.113883.6.1” (CONF:RCS-33008). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1') Discharge Section SHALL contain exactly one [1..1] text (CONF:RCS-32683). OCL (not self.text.oclIsUndefined()) Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32855). OCL true Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32855). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32856). OCL self.entry->select( aa : POCDMT000040Entry| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.49'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32855). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32857). OCL self.entry->select( aa : POCDMT000040Entry| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.49'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32855). The entry, if present, SHALL contain exactly one [1..1] Discharge Medication Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.49) (CONF:RCS-32858). OCL self.entry->select( aa : POCDMT000040Entry| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.49'))->forAll(var : POCDMT000040Entry | (not var.substanceAdministration.oclIsUndefined()) and var.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.49')) Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32870). OCL true Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32870). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32871). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.48'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32870). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32872). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.48'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Discharge Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32870). The entry, if present, SHALL contain exactly one [1..1] Discharge Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.48) (CONF:RCS-32873). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.48'))->forAll(var : POCDMT000040Entry | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.48')) Patient Demographic Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32416). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Patient Demographic Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32417). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Patient Demographic Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32418). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.34')->size() = 1 Patient Demographic Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32418). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.34" (CONF:RCS-32568). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.34') Patient Demographic Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32407). OCL (not self.code.oclIsUndefined()) Patient Demographic Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32407). This code SHALL contain exactly one [1..1] @code (ValueSet: Patient Demographic Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10101) (CONF:RCS-32516). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10101', self.code.code)) Patient Demographic Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32407). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32517). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Patient Demographic Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-32408). OCL self.value->size() = 1 Encounter Administrative Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33492). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Encounter Administrative Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33493). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Encounter Administrative Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33491). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.61')->size() = 1 Encounter Administrative Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33491). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.61" (CONF:RCS-33497). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.61') Encounter Administrative Entry SHALL contain exactly one [1..1] code (CONF:RCS-33489). OCL (not self.code.oclIsUndefined()) Encounter Administrative Entry SHALL contain exactly one [1..1] code (CONF:RCS-33489). This code SHALL contain exactly one [1..1] @code (ValueSet: Encounter Administrative 1.3.6.1.4.1.19376.1.4.1.6.5.11531) (CONF:RCS-33494). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11531', self.code.code)) Encounter Administrative Entry SHALL contain exactly one [1..1] code (CONF:RCS-33489). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33495). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Encounter Administrative Entry SHALL contain exactly one [1..1] value (CONF:RCS-33490). OCL self.value->size() = 1 Encounter Entry SHALL contain exactly one [1..1] @classCode="ENC" (CONF:RCS-32119). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::ENC Encounter Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32120). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentEncounterMood::EVN Encounter Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-31867). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.12')->size() = 1 Encounter Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-31867). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.12" (CONF:RCS-31868). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.12') Encounter Entry SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-32424). OCL (not self.effectiveTime.oclIsUndefined()) Encounter Entry SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-32424). This effectiveTime SHALL contain exactly one [1..1] low (CONF:RCS-32425). OCL self.effectiveTime.oclIsUndefined() or ((not self.effectiveTime.low.oclIsUndefined())) Encounter Entry SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-32424). This effectiveTime SHALL contain exactly one [1..1] high (CONF:RCS-32426). OCL self.effectiveTime.oclIsUndefined() or ((not self.effectiveTime.high.oclIsUndefined())) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-31973). OCL true Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-31973). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32152). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.13'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-31973). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32513). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.13'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-31973). The entryRelationship, if present, SHALL contain exactly one [1..1] Encounter Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.13) (CONF:RCS-31974). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.13'))->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.13')) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33044). OCL true Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33044). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33045). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.53'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33044). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33046). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.53'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33044). The entryRelationship, if present, SHALL contain exactly one [1..1] Encounter Procedure Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.53) (CONF:RCS-33047). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.53'))->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and var.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.53')) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33527). OCL true Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33527). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33580). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.61'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33527). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33581). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.61'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33527). The entryRelationship, if present, SHALL contain exactly one [1..1] Encounter Administrative Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.61) (CONF:RCS-33528). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.61'))->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.61')) Encounter Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32001). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Encounter Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32002). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Encounter Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32249). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.13')->size() = 1 Encounter Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32249). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.13" (CONF:RCS-32321). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.13') Encounter Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32003). OCL (not self.code.oclIsUndefined()) Encounter Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32003). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Encounter Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10090 (CONF:RCS-32322). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10090', self.code.code)) Encounter Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32003). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32535). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Encounter Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-32004). OCL self.value->size() = 1 Encounter Procedure Entry SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-33029). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC Encounter Procedure Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33030). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN Encounter Procedure Entry SHALL contain exactly one [1..1] @negationInd (CONF:RCS-33032). OCL (not self.negationInd.oclIsUndefined()) Encounter Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33024). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.53')->size() = 1 Encounter Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33024). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.53" (CONF:RCS-33027). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.53') Encounter Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-33023). OCL (not self.code.oclIsUndefined()) Encounter Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-33023). This code SHALL contain exactly one [1..1] @code (ValueSet: Encounter Procedure 1.3.6.1.4.1.19376.1.4.1.6.5.10130) (CONF:RCS-33025). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10130', self.code.code)) Encounter Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-33023). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33026). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Encounter Procedure Entry SHOULD contain zero or one [0..1] effectiveTime (CONF:RCS-33031). OCL true Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). OCL true Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33034). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33035). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33037). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and ( var.observation.classCode.oclIsUndefined() or var.observation.classCode=ActClassObservation::OBS ) ) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33038). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33039). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33039). This code SHALL contain exactly one [1..1] @code (ValueSet: Encounter Procedure Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10131) (CONF:RCS-33040). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10131', var.observation.code.code) ) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33039). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33041). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Encounter Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33033). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33036). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33042). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size() = 1 ) Encounter Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:RCS-32009). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT Encounter Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32010). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Encounter Section SHALL contain exactly one [1..1] templateId (CONF:RCS-31861). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.2')->size() = 1 Encounter Section SHALL contain exactly one [1..1] templateId (CONF:RCS-31861). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.2.2" (CONF:RCS-31862). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.2') Encounter Section SHALL contain exactly one [1..1] code (CONF:RCS-32182). OCL (not self.code.oclIsUndefined()) Encounter Section SHALL contain exactly one [1..1] code (CONF:RCS-32182). This code SHALL contain exactly one [1..1] @code="46240-8" (CONF:RCS-32273). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='46240-8') Encounter Section SHALL contain exactly one [1..1] code (CONF:RCS-32182). This code SHALL contain exactly one [1..1] @codeSystem (CodeSystem: LOINC 2.16.840.1.113883.6.1) (CONF:RCS-32567). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1') Encounter Section SHALL contain exactly one [1..1] text(CONF:RCS-33361). OCL (not self.text.oclIsUndefined()) Encounter Section SHALL contain exactly one [1..1] entry (CONF:RCS-31865). OCL self.entry->select( aa : POCDMT000040Entry| aa.encounter.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.12'))->size() = 1 Encounter Section SHALL contain exactly one [1..1] entry (CONF:RCS-31865). This entry SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32005). OCL self.entry->select( aa : POCDMT000040Entry| aa.encounter.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.12'))->exists(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) Encounter Section SHALL contain exactly one [1..1] entry (CONF:RCS-31865). This entry SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32506). OCL self.entry->select( aa : POCDMT000040Entry| aa.encounter.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.12'))->exists(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Section SHALL contain exactly one [1..1] entry (CONF:RCS-31865). This entry SHALL contain exactly one [1..1] Encounter Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.12) (CONF:RCS-31914). OCL self.entry->select( aa : POCDMT000040Entry| aa.encounter.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.12'))->exists(var : POCDMT000040Entry | (not var.encounter.oclIsUndefined()) and var.encounter.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.12')) Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32427). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.3'))->exists(var : POCDMT000040Component5 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.3'))->size() = 1 Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32427). This component SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32952). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.3'))->exists(var : POCDMT000040Component5 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32427). This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32441). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.3'))->exists(var : POCDMT000040Component5 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32427). This component SHALL contain exactly one [1..1] History and Risk Factor Section (templateId:1.3.6.1.4.1.19376.1.4.1.6.2.3) (CONF:RCS-32428). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.3'))->exists(var : POCDMT000040Component5 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.3')) Encounter Section SHALL contain at least one [1..*] component (CONF:RCS-32429). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.4'))->exists(var : POCDMT000040Component5 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.4'))->size() > 0 Encounter Section SHALL contain at least one [1..*] component (CONF:RCS-32429). Such components SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32953). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.4'))->exists(var : POCDMT000040Component5 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Encounter Section SHALL contain at least one [1..*] component (CONF:RCS-32429). Such components SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32442). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.4'))->exists(var : POCDMT000040Component5 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Section SHALL contain at least one [1..*] component (CONF:RCS-32429). Such components SHALL contain exactly one [1..1] Procedure Session Section (templateId:1.3.6.1.4.1.19376.1.4.1.6.2.4) (CONF:RCS-32430). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.4'))->exists(var : POCDMT000040Component5 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.4')) Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32684). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.44'))->exists(var : POCDMT000040Component5 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.44'))->size() = 1 Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32684). This component SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32685). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.44'))->exists(var : POCDMT000040Component5 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32684). This component SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32686). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.44'))->exists(var : POCDMT000040Component5 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Encounter Section SHALL contain exactly one [1..1] component (CONF:RCS-32684). This component SHALL contain exactly one [1..1] Discharge Section (templateId:1.3.6.1.4.1.19376.1.4.1.6.2.44) (CONF:RCS-32687). OCL self.component->select( aa : POCDMT000040Component5| aa.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.44'))->exists(var : POCDMT000040Component5 | (not var.section.oclIsUndefined()) and var.section.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.2.44')) History and Risk Factor Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32020). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS History and Risk Factor Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32021). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN History and Risk Factor Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32247). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.14')->size() = 1 History and Risk Factor Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32247). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.14" (CONF:RCS-32254). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.14') History and Risk Factor Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-31989). OCL (not self.code.oclIsUndefined()) History and Risk Factor Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-31989). This code SHALL contain exactly one [1..1] @code (ValueSet: History and Risk Factor Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10094) (CONF:RCS-32304). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10094', self.code.code)) History and Risk Factor Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-31989). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33125). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) History and Risk Factor Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-31991). OCL self.value->size() = 1 History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-32493). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32494). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] @negationInd (CONF:RCS-32498). OCL (not self.negationInd.oclIsUndefined()) History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32492). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.35')->size() = 1 History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32492). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.35" (CONF:RCS-32497). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.35') History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32491). OCL (not self.code.oclIsUndefined()) History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32491). This code SHALL contain exactly one [1..1] @code (ValueSet: History and Risk Factor Procedure 1.3.6.1.4.1.19376.1.4.1.6.5.10095) (CONF:RCS-32495). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10095', self.code.code)) History and Risk Factor Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32491). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32499). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Lesion Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33074). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Lesion Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33075). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Lesion Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33063). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.37')->size() = 1 Lesion Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33063). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.37" (CONF:RCS-33072). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.37') Lesion Entry SHALL contain exactly one [1..1] id (CONF:RCS-33094). OCL self.id->size() = 1 Lesion Entry SHALL contain exactly one [1..1] id (CONF:RCS-33094). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.846" (CONF:RCS-33095). OCL self.id->exists(var : II | (not var.root.oclIsUndefined()) and var.root='2.16.840.1.113883.3.3478.4.846') Lesion Entry SHALL contain exactly one [1..1] id (CONF:RCS-33094). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-33406). OCL self.id->exists(var : II | (not var.extension.oclIsUndefined())) Lesion Entry SHALL contain exactly one [1..1] code (CONF:RCS-33061). OCL (not self.code.oclIsUndefined()) Lesion Entry SHALL contain exactly one [1..1] code (CONF:RCS-33061). This code SHALL contain exactly one [1..1] @code="364636000" (CONF:RCS-33069). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='364636000') Lesion Entry SHALL contain exactly one [1..1] code (CONF:RCS-33061). This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" SNOMED (CONF:RCS-33070). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.96') Lesion Entry SHALL contain at least one [1..*] targetSiteCode (CONF:RCS-33068). OCL self.targetSiteCode->size() > 0 Lesion Entry SHALL contain at least one [1..*] targetSiteCode (CONF:RCS-33068). Such targetSiteCodes SHALL contain exactly one [1..1] @code (ValueSet: Coronary Segment 1.3.6.1.4.1.19376.1.4.1.6.5.10034) (CONF:RCS-33081). OCL self.targetSiteCode->exists(var : CD | (not var.code.oclIsUndefined()) and var.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10034', var.code)) Lesion Entry SHALL contain at least one [1..*] targetSiteCode (CONF:RCS-33068). Such targetSiteCodes SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33082). OCL self.targetSiteCode->exists(var : CD | (not var.codeSystem.oclIsUndefined())) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33064). OCL true Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33064). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33076). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.56'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33064). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33077). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.56'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33064). The entryRelationship, if present, SHALL contain at least one [1..*] Pre-intervention Lesion Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.56) (CONF:RCS-33065). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.56') )->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33183). OCL true Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33183). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33184). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.58'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33183). The entryRelationship, if present, SHALL contain exactly one [1..1] Post-intervention Lesion Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.58) (CONF:RCS-33186). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.58'))->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.58')) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). OCL true Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33337). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-33340). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.classCode.oclIsUndefined() or var.procedure.classCode=ActClass::PROC ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33384). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHALL contain exactly one [1..1] @negationInd (CONF:RCS-33341). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.negationInd.oclIsUndefined()) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33342). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.code.oclIsUndefined()) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33342). This code SHALL contain exactly one [1..1] @code (ValueSet: Lesion Procedure 1.3.6.1.4.1.19376.1.4.1.6.5.10116) (CONF:RCS-33343). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.code.oclIsUndefined()) and (not var.procedure.code.code.oclIsUndefined()) and var.procedure.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10116',var.procedure.code.code) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33342). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33344). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.code.oclIsUndefined()) and (not var.procedure.code.codeSystem.oclIsUndefined()) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). OCL true Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33346). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(entrr2 : POCDMT000040EntryRelationship | (not entrr2.typeCode.oclIsUndefined()) and entrr2.typeCode=XActRelationshipEntryRelationship::COMP ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33347). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33349). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and ( var.observation.classCode.oclIsUndefined() or var.observation.classCode=ActClassObservation::OBS ) ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33350). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33351). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33351). This code SHALL contain exactly one [1..1] @code (ValueSet: Lesion Procedure Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10121) (CONF:RCS-33352). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10121',var.observation.code.code) ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33351). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33353). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) ) Lesion Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33336). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33339). This procedure SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33345). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33348). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33354). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) )->forAll(var : POCDMT000040EntryRelationship | var.procedure.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size() = 1 ) ) Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33308). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33309). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33266). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.58')->size() = 1 Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33266). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.58" (CONF:RCS-33290). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.58') Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-33265). OCL (not self.code.oclIsUndefined()) Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-33265). This code SHALL contain exactly one [1..1] @code (ValueSet: Post-intervention Lesion Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10138) (CONF:RCS-33288). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10138', self.code.code)) Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-33265). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33289). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Post-intervention Lesion Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-33332). OCL self.value->size() = 1 Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33480). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33481). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33469). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.64')->size() = 1 Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33469). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.64" (CONF:RCS-33477). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.64') Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33467). OCL (not self.code.oclIsUndefined()) Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33467). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Post-procedure Laboratory Result 1.3.6.1.4.1.19376.1.4.1.6.5.11533 (CONF:RCS-33474). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11533', self.code.code)) Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33467). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33475). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Post-procedure Laboratory Result Entry SHALL contain exactly one [1..1] value (CONF:RCS-33468). OCL self.value->size() = 1 Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). OCL true Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33482). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33483). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33484). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and ( var.observation.classCode.oclIsUndefined() or var.observation.classCode=ActClassObservation::OBS ) ) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33485). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33472). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33472). This code SHALL contain exactly one [1..1] @code (ValueSet: Laboratory Result Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11537) (CONF:RCS-33486). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11537',var.observation.code.code) ) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33472). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33487). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Post-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33470). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33471). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33473). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33241). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33242). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33199). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.56')->size() = 1 Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33199). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.56" (CONF:RCS-33223). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.56') Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-33198). OCL (not self.code.oclIsUndefined()) Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-33198). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-Intervention Lesion Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10135) (CONF:RCS-33221). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10135', self.code.code)) Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-33198). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33222). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Pre-intervention Lesion Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-33334). OCL self.value->size() = 1 Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). OCL true Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33237). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33238). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33228). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and ( var.observation.classCode.oclIsUndefined() or var.observation.classCode=ActClassObservation::OBS ) ) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33229). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33202). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33202). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-Intervention Lesion Observation Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10132) (CONF:RCS-33225). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10132',var.observation.code.code) ) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33202). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33226). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Pre-intervention Lesion Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33200). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33201). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33203). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Pre-procedure Activity Organizer SHALL contain exactly one [1..1] @classCode="CLUSTER" (CONF:RCS-33552). OCL (not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER Pre-procedure Activity Organizer SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33553). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Pre-procedure Activity Organizer SHALL contain exactly one [1..1] templateId (CONF:RCS-33554). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.67')->size() = 1 Pre-procedure Activity Organizer SHALL contain exactly one [1..1] templateId (CONF:RCS-33554). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.67" (CONF:RCS-33555). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.67') Pre-procedure Activity Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33601). OCL (not self.statusCode.oclIsUndefined()) Pre-procedure Activity Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33601). This statusCode SHALL contain exactly one [1..1] @nullFlavor="NI" (CONF:RCS-33602). OCL self.statusCode.oclIsUndefined() or ((not self.statusCode.nullFlavor.oclIsUndefined()) and self.statusCode.nullFlavor=NullFlavor::NI) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33532). OCL true Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33532). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33582). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.52'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33532). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33583). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.52'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33532). The component, if present, SHALL contain exactly one [1..1] Pre-procedure Indication Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.52) (CONF:RCS-33533). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.52'))->forAll(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.52')) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33534). OCL true Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33534). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33584). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.65'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33534). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33585). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.65'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33534). The component, if present, SHALL contain exactly one [1..1] Pre-procedure Laboratory Result Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.65) (CONF:RCS-33535). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.65'))->forAll(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.65')) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33536). OCL true Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33536). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33586). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.66'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33536). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33587). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.66'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33536). The component, if present, SHALL contain exactly one [1..1] Pre-procedure Test Result Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.66) (CONF:RCS-33537). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.66'))->forAll(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.66')) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33538). OCL true Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33538). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33588). OCL self.component->select( aa : POCDMT000040Component4| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.23'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33538). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33589). OCL self.component->select( aa : POCDMT000040Component4| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.23'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33538). The component, if present, SHALL contain exactly one [1..1] Pre-procedure Medication Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.23) (CONF:RCS-33539). OCL self.component->select( aa : POCDMT000040Component4| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.23'))->forAll(var : POCDMT000040Component4 | (not var.substanceAdministration.oclIsUndefined()) and var.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.23')) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33540). OCL true Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33540). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33590). OCL self.component->select( aa : POCDMT000040Component4| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.36'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33540). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33591). OCL self.component->select( aa : POCDMT000040Component4| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.36'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Activity Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33540). The component, if present, SHALL contain exactly one [1..1] Pre-procedure Procedure Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.36) (CONF:RCS-33541). OCL self.component->select( aa : POCDMT000040Component4| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.36'))->forAll(var : POCDMT000040Component4 | (not var.procedure.oclIsUndefined()) and var.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.36')) Pre-procedure Indication Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32993). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Pre-procedure Indication Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32994). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Pre-procedure Indication Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32982). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.52')->size() = 1 Pre-procedure Indication Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32982). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.52" (CONF:RCS-32990). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.52') Pre-procedure Indication Entry SHALL contain exactly one [1..1] code (CONF:RCS-32980). OCL (not self.code.oclIsUndefined()) Pre-procedure Indication Entry SHALL contain exactly one [1..1] code (CONF:RCS-32980). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-procedure Indication 1.3.6.1.4.1.19376.1.4.1.6.5.10122) (CONF:RCS-32987). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10122', self.code.code)) Pre-procedure Indication Entry SHALL contain exactly one [1..1] code (CONF:RCS-32980). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32988). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Pre-procedure Indication Entry SHOULD contain zero or one [0..1] effectiveTime (CONF:RCS-32992). OCL true Pre-procedure Indication Entry SHALL contain exactly one [1..1] value (CONF:RCS-32981). OCL self.value->size() = 1 Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). OCL true Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32995). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32996). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32997). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32998). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32985). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32985). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-procedure Indication Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10123) (CONF:RCS-32999). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10123',var.observation.code.code) ) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32985). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33000). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Pre-procedure Indication Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32983). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32984). This observation SHALL contain exactly one [1..1] value (CONF:RCS-32986). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33431). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33432). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33412). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.65')->size() = 1 Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33412). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.65" (CONF:RCS-33421). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.65') Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33410). OCL (not self.code.oclIsUndefined()) Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33410). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Laboratory Result 1.3.6.1.4.1.19376.1.4.1.6.5.11533 (CONF:RCS-33418). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11533', self.code.code)) Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33410). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33419). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Pre-procedure Laboratory Result Entry SHALL contain exactly one [1..1] value (CONF:RCS-33411). OCL self.value->size() = 1 Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). OCL true Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33428). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33429). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33426). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33427). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33415). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33415). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Laboratory Result Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11537 (CONF:RCS-33423). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11537',var.observation.code.code) ) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33415). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33424). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Pre-procedure Laboratory Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33413). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33414). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33416). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:RCS-32093). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM Pre-procedure Medication Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32094). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::EVN Pre-procedure Medication Entry SHALL contain exactly one [1..1] @negationInd (CONF:RCS-32534). OCL (not self.negationInd.oclIsUndefined()) Pre-procedure Medication Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32255). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.23')->size() = 1 Pre-procedure Medication Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32255). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.23" (CONF:RCS-32954). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.23') Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). OCL (not self.consumable.oclIsUndefined()) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:RCS-32140). OCL self.consumable.oclIsUndefined() or ( self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined())) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] @classCode="MANU" (CONF:RCS-32142). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and ( self.consumable.manufacturedProduct.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.classCode=RoleClassManufacturedProduct::MANU ) ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32143). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32143). This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:RCS-32144). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and ( self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.classCode=EntityClassManufacturedMaterial::MMAT ) ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32143). This manufacturedMaterial SHALL contain exactly one [1..1] @determinerCode="KIND" (CONF:RCS-32145). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and ( self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode=EntityDeterminerDetermined::KIND ) ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32143). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32146). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32143). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32146). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-procedure Medication 1.3.6.1.4.1.19376.1.4.1.6.5.10103) (CONF:RCS-32310). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10103',self.consumable.manufacturedProduct.manufacturedMaterial.code.code) ) Pre-procedure Medication Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32139). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32141). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32143). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32146). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32504). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined()) ) Pre-procedure Procedure Entry SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-32053). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC Pre-procedure Procedure Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32054). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN Pre-procedure Procedure Entry SHALL contain exactly one [1..1] @negationInd (CONF:RCS-32436). OCL (not self.negationInd.oclIsUndefined()) Pre-procedure Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32256). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.36')->size() = 1 Pre-procedure Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32256). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.36" (CONF:RCS-32314). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.36') Pre-procedure Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32055). OCL (not self.code.oclIsUndefined()) Pre-procedure Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32055). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-procedure Procedure 1.3.6.1.4.1.19376.1.4.1.6.5.10104) (CONF:RCS-32315). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10104', self.code.code)) Pre-procedure Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32055). This code SHALL contain exactly one [1..1] @codeSystem (CodeSystem: SNOMED CT 2.16.840.1.113883.6.96) (CONF:RCS-32500). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.96') Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). OCL true Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32541). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32542). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32704). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32704). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32705). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32704). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32706). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32704). This observation SHALL contain exactly one [1..1] code (ValueSet: Pre-procedure Procedure Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10105) (CONF:RCS-32707). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10105',var.observation.code.code) ) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32704). This observation SHALL contain exactly one [1..1] code (ValueSet: Pre-procedure Procedure Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10105) (CONF:RCS-32707). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32708). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Pre-procedure Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32540). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32704). This observation SHALL contain exactly one [1..1] value (CONF:RCS-32709). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Pre-procedure Test Result Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33454). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Pre-procedure Test Result Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33455). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Pre-procedure Test Result Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33435). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.66')->size() = 1 Pre-procedure Test Result Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33435). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.66" (CONF:RCS-33444). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.66') Pre-procedure Test Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33433). OCL (not self.code.oclIsUndefined()) Pre-procedure Test Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33433). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Pre-procedure Test Result 1.3.6.1.4.1.19376.1.4.1.6.5.11534 (CONF:RCS-33441). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11534', self.code.code)) Pre-procedure Test Result Entry SHALL contain exactly one [1..1] code (CONF:RCS-33433). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33442). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Pre-procedure Test Result Entry SHOULD contain zero or one [0..1] effectiveTime (CONF:RCS-33440). OCL true Pre-procedure Test Result Entry SHALL contain exactly one [1..1] value (CONF:RCS-33434). OCL self.value->size() = 1 Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). OCL true Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33451). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33452). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33449). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33450). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). This observation SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Pre-procedure Test Result Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11535 (CONF:RCS-33438). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) ) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). This observation SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Pre-procedure Test Result Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11535 (CONF:RCS-33438). This code SHALL contain exactly one [1..1] @code (ValueSet: Pre-procedure Test Result Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11535) (CONF:RCS-33446). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11535',var.observation.code.code) ) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). This observation SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Pre-procedure Test Result Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11535 (CONF:RCS-33438). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33447). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Pre-procedure Test Result Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33436). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33437). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33439). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Procedure Device Organizer SHALL contain exactly one [1..1] @classCode="CLUSTER" (CONF:RCS-32790). OCL (not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER Procedure Device Organizer SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32791). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Procedure Device Organizer SHALL contain exactly one [1..1] templateId (CONF:RCS-32977). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.47')->size() = 1 Procedure Device Organizer SHALL contain exactly one [1..1] templateId (CONF:RCS-32977). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.47" (CONF:RCS-32978). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.47') Procedure Device Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33150). OCL (not self.statusCode.oclIsUndefined()) Procedure Device Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33150). This statusCode SHALL contain exactly one [1..1] @nullFlavor="NI" (CONF:RCS-33151). OCL self.statusCode.oclIsUndefined() or ((not self.statusCode.nullFlavor.oclIsUndefined()) and self.statusCode.nullFlavor=NullFlavor::NI) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). OCL self.participant->size() = 1 Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] @typeCode="DEV" (CONF:RCS-32793). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.typeCode.oclIsUndefined()) and var.typeCode=ParticipationType::DEV) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined())) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] @classCode="ROL" (CONF:RCS-33089). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and ( var.participantRole.classCode.oclIsUndefined() or var.participantRole.classCode=RoleClassRoot::ROL ) ) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] playingDevice (CONF:RCS-32795). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and (not var.participantRole.playingDevice.oclIsUndefined()) ) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] playingDevice (CONF:RCS-32795). This playingDevice SHALL contain exactly one [1..1] @classCode="DEV" (CONF:RCS-32796). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and (not var.participantRole.playingDevice.oclIsUndefined()) and (var.participantRole.playingDevice.classCode.oclIsUndefined() or var.participantRole.playingDevice.classCode=EntityClassDevice::DEV ) ) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] playingDevice (CONF:RCS-32795). This playingDevice SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:RCS-32797). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and (not var.participantRole.playingDevice.oclIsUndefined()) and (var.participantRole.playingDevice.determinerCode.oclIsUndefined() or var.participantRole.playingDevice.determinerCode=EntityDeterminer::INSTANCE ) ) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] playingDevice (CONF:RCS-32795). This playingDevice SHALL contain exactly one [1..1] code (CONF:RCS-32798). OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and (not var.participantRole.playingDevice.oclIsUndefined()) and (not var.participantRole.playingDevice.code.oclIsUndefined()) ) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] playingDevice (CONF:RCS-32795). This playingDevice SHALL contain exactly one [1..1] code (CONF:RCS-32798). This code MAY contain zero or one [0..1] @nullFlavor (CONF:RCS-33403). This code SHALL contain exactly one [1..1] @code (CONF:RCS-33387). Use (ValueSet: Intracoronary Device 1.3.6.1.4.1.19376.1.4.1.6.5.11530) if procedure 3510 = PCI. Use (ValueSet: Closure Device 1.3.6.1.4.1.19376.1.4.1.6.5.10044) if procedure = arterial closure. OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and (not var.participantRole.playingDevice.oclIsUndefined()) and (not var.participantRole.playingDevice.code.oclIsUndefined()) and ( (not var.participantRole.playingDevice.code.nullFlavor.oclIsUndefined()) or ( (not var.participantRole.playingDevice.code.code.oclIsUndefined()) and ( var.participantRole.playingDevice.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11530',var.participantRole.playingDevice.code.code) or var.participantRole.playingDevice.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10044',var.participantRole.playingDevice.code.code) ) ) ) ) Procedure Device Organizer SHALL contain exactly one [1..1] participant (CONF:RCS-32792). This participant SHALL contain exactly one [1..1] participantRole (CONF:RCS-32794). This participantRole SHALL contain exactly one [1..1] playingDevice (CONF:RCS-32795). This playingDevice SHALL contain exactly one [1..1] code (CONF:RCS-32798). This playingDevice SHALL contain exactly one [1..1] code (CONF:RCS-32798). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33388). Use @codesystem="2.16.840.1.113883.3.3478.6.2" if procedure = PCI. Use @codesystem="2.16.840.1.113883.3.3478.6.3" if procedure = arterial closure. OCL self.participant->exists(var : POCDMT000040Participant2 | (not var.participantRole.oclIsUndefined()) and (not var.participantRole.playingDevice.oclIsUndefined()) and (not var.participantRole.playingDevice.code.oclIsUndefined()) and ( (not var.participantRole.playingDevice.code.nullFlavor.oclIsUndefined()) or ( (not var.participantRole.playingDevice.code.codeSystem.oclIsUndefined()) and ( var.participantRole.playingDevice.code.codeSystem='2.16.840.1.113883.3.3478.6.2' or var.participantRole.playingDevice.code.codeSystem='2.16.840.1.113883.3.3478.6.3' ) ) ) ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). OCL true Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32800). OCL self.component->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32801). OCL self.component->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32802). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33389). OCL self.component->select(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | var.observation.classCode.oclIsUndefined() or var.observation.classCode=ActClassObservation::OBS ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32802). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33390). OCL self.component->select(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32802). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32803). OCL self.component->select(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.observation.code.oclIsUndefined()) ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32802). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32803). This code SHALL contain exactly one [1..1] @code (ValueSet: Device Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10129) (CONF:RCS-33090). OCL self.component->select(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10129',var.observation.code.code) ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32802). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32803). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33091). OCL self.component->select(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32799). The component, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32802). This observation SHALL contain exactly one [1..1] value (CONF:RCS-32804). OCL self.component->select(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | var.observation.value->size()=1 ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). OCL true Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33092). OCL self.component->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33093). OCL self.component->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] @classCode="ACT" (CONF:RCS-32808). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.act.classCode.oclIsUndefined()) and var.act.classCode=XActClassDocumentEntryAct::ACT ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32809). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.act.moodCode.oclIsUndefined()) and var.act.moodCode=XDocumentActMood::EVN ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] id (CONF:RCS-32810). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | var.act.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.846' )->size()=1 ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] id (CONF:RCS-32810). This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.3478.4.846" (CONF:RCS-32811). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | var.act.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.846' )->size()=1 ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] id (CONF:RCS-32810). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-33407). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | var.act.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.3.3478.4.846' )->forAll(ii : II | (not ii.extension.oclIsUndefined()) ) ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] code (CONF:RCS-33152). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.act.code.oclIsUndefined()) ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] code (CONF:RCS-33152). This code SHALL contain exactly one [1..1] @code="100000886" (CONF:RCS-33357). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.act.code.oclIsUndefined()) and (not var.act.code.code.oclIsUndefined()) and var.act.code.code='100000886' ) Procedure Device Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-32806). The component, if present, SHALL contain exactly one [1..1] act (CONF:RCS-32807). This act SHALL contain exactly one [1..1] code (CONF:RCS-33152). This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.3.3478.6.1" (CONF:RCS-33358). OCL self.component->select(var : POCDMT000040Component4 | (not var.act.oclIsUndefined()) )->forAll(var : POCDMT000040Component4 | (not var.act.code.oclIsUndefined()) and (not var.act.code.codeSystem.oclIsUndefined()) and var.act.code.codeSystem='2.16.840.1.113883.3.3478.6.1' ) Procedure Entry SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-32594). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC Procedure Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32595). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN Procedure Entry SHALL contain exactly one [1..1] @negationInd (CONF:RCS-33009). OCL (not self.negationInd.oclIsUndefined()) Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32593). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.39')->size() = 1 Procedure Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32593). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.39" (CONF:RCS-32598). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.39') Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32592). OCL (not self.code.oclIsUndefined()) Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32592). This code SHALL contain exactly one [1..1] @code (ValueSet: Procedure 1.3.6.1.4.1.19376.1.4.1.6.5.10136) (CONF:RCS-32596). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10136', self.code.code)) Procedure Entry SHALL contain exactly one [1..1] code (CONF:RCS-32592). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32630). OCL self.code.oclIsUndefined() or (not self.code.codeSystem.oclIsUndefined()) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). OCL self.performer->size() < 2 Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] @typeCode="PRF" (CONF:RCS-32131). OCL self.performer->forAll(var : POCDMT000040Performer2 | var.typeCode.oclIsUndefined() or var.typeCode=ParticipationPhysicalPerformer::PRF) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined())) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] @classCode="ASSIGNED" (CONF:RCS-32133). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (var.assignedEntity.classCode.oclIsUndefined() or var.assignedEntity.classCode=RoleClassAssignedEntity::ASSIGNED ) ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] id (CONF:RCS-32134). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and var.assignedEntity.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.4.6')->size()=1 ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] id (CONF:RCS-32134). This id SHALL contain exactly one [1..1] @root (CONF:RCS-32632). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and var.assignedEntity.id->size()=1 and var.assignedEntity.id->forAll(ii : II | (not ii.root.oclIsUndefined())) ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] id (CONF:RCS-32134). This id SHALL contain exactly one [1..1] @extension (CONF:RCS-32633). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and var.assignedEntity.id->size()=1 and var.assignedEntity.id->forAll(ii : II | (not ii.extension.oclIsUndefined())) ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:RCS-32135). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (not var.assignedEntity.assignedPerson.oclIsUndefined()) ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:RCS-32135). This assignedPerson SHALL contain exactly one [1..1] @classCode="PSN" (CONF:RCS-32136). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (not var.assignedEntity.assignedPerson.oclIsUndefined()) and (var.assignedEntity.assignedPerson.classCode.oclIsUndefined() or var.assignedEntity.assignedPerson.classCode=EntityClass::PSN ) ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:RCS-32135). This assignedPerson SHALL contain exactly one [1..1] @determinerCode="INSTANCE" (CONF:RCS-32137). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (not var.assignedEntity.assignedPerson.oclIsUndefined()) and (var.assignedEntity.assignedPerson.determinerCode.oclIsUndefined() or var.assignedEntity.assignedPerson.determinerCode=EntityDeterminer::INSTANCE ) ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:RCS-32135). This assignedPerson SHALL contain exactly one [1..1] name (CONF:RCS-32138). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (not var.assignedEntity.assignedPerson.oclIsUndefined()) and var.assignedEntity.assignedPerson.name->size()=1 ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:RCS-32135). This assignedPerson SHALL contain exactly one [1..1] name (CONF:RCS-32138). This name SHALL contain exactly one [1..1] family (CONF:RCS-32316). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (not var.assignedEntity.assignedPerson.oclIsUndefined()) and var.assignedEntity.assignedPerson.name->size()=1 and var.assignedEntity.assignedPerson.name->first().family->size()=1 ) Procedure Entry SHOULD contain zero or one [0..1] performer (CONF:RCS-32130). The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:RCS-32132). This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:RCS-32135). This assignedPerson SHALL contain exactly one [1..1] name (CONF:RCS-32138). This name SHALL contain at least one and not more than 2 given (CONF:RCS-32317). OCL self.performer->forAll(var : POCDMT000040Performer2 | (not var.assignedEntity.oclIsUndefined()) and (not var.assignedEntity.assignedPerson.oclIsUndefined()) and var.assignedEntity.assignedPerson.name->size()=1 and var.assignedEntity.assignedPerson.name->first().given->size()<3 and var.assignedEntity.assignedPerson.name->first().given->size()>0 ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32730). OCL true Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32730). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32731). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| (not aa.observation.oclIsUndefined()) and aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.42' ) )->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32730). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32732). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.42'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32730). The entryRelationship, if present, SHALL contain exactly one [1..1] Procedure Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.42) (CONF:RCS-32733). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.42'))->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.42')) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32812). OCL true Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32812). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32813). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.37'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32812). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32814). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.37'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32812). The entryRelationship, if present, SHALL contain exactly one [1..1] Lesion Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.37) (CONF:RCS-32815). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.37'))->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.37')) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32816). OCL true Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32816). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32817). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.47'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32816). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33145). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.47'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32816). The entryRelationship, if present, SHALL contain exactly one [1..1] sequenceNumber (CONF:RCS-33397). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.47'))->forAll(var : POCDMT000040EntryRelationship | (not var.sequenceNumber.oclIsUndefined())) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32816). The entryRelationship, if present, SHALL contain exactly one [1..1] Procedure Device Organizer (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.47) (CONF:RCS-32819). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.47'))->forAll(var : POCDMT000040EntryRelationship | (not var.organizer.oclIsUndefined()) and var.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.47')) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33010). OCL true Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33010). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33011). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.45'))->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33010). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33012). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.45'))->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33010). The entryRelationship, if present, SHALL contain exactly one [1..1] Procedure Medication Administration Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.45) (CONF:RCS-33013). OCL self.entryRelationship->select( aa : POCDMT000040EntryRelationship| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.45'))->forAll(var : POCDMT000040EntryRelationship | (not var.substanceAdministration.oclIsUndefined()) and var.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.45')) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). OCL true Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33086). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33087). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33088). This procedure SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-33127). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (var.procedure.classCode.oclIsUndefined() or var.procedure.classCode=ActClass::PROC ) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33088). This procedure SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33128). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33088). This procedure SHALL contain exactly one [1..1] @negationInd (CONF:RCS-33399). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.negationInd.oclIsUndefined()) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33088). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33129). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.code.oclIsUndefined()) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33088). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33129). This code SHALL contain exactly one [1..1] @code (ValueSet: Component Procedure 1.3.6.1.4.1.19376.1.4.1.6.5.10128) (CONF:RCS-33130). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.code.oclIsUndefined()) and (not var.procedure.code.code.oclIsUndefined()) and var.procedure.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10128',var.procedure.code.code) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33085). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33088). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33129). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33131). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::EVN )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.code.oclIsUndefined()) and (not var.procedure.code.codeSystem.oclIsUndefined()) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). OCL true Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33133). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33134). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33135). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined())) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33135). This procedure SHALL contain exactly one [1..1] @classCode="PROC" (CONF:RCS-33136). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33135). This procedure SHALL contain exactly one [1..1] @moodCode="PRP" (CONF:RCS-33137). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33135). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33138). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.code.oclIsUndefined()) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33135). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33138). This code SHALL contain exactly one [1..1] @code (ValueSet: Diagnostic Catheterization Recommendation 1.3.6.1.4.1.19376.1.4.1.6.5.10099) (CONF:RCS-33139). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.code.oclIsUndefined()) and (not var.procedure.code.code.oclIsUndefined()) and var.procedure.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10099',var.procedure.code.code) ) Procedure Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33132). The entryRelationship, if present, SHALL contain exactly one [1..1] procedure (CONF:RCS-33135). This procedure SHALL contain exactly one [1..1] code (CONF:RCS-33138). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33140). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.moodCode.oclIsUndefined()) and var.procedure.moodCode=XDocumentProcedureMood::PRP )->forAll(var : POCDMT000040EntryRelationship | (not var.procedure.oclIsUndefined()) and (not var.procedure.code.oclIsUndefined()) and (not var.procedure.code.codeSystem.oclIsUndefined()) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] @classCode="SBADM" (CONF:RCS-32736). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM Procedure Medication Administration Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32737). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentSubstanceMood::EVN Procedure Medication Administration Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32974). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.45')->size() = 1 Procedure Medication Administration Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32974). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.45" (CONF:RCS-32975). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.45') Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). OCL (not self.consumable.oclIsUndefined()) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] @typeCode="CSM" (CONF:RCS-32743). OCL self.consumable.oclIsUndefined() or ( self.consumable.typeCode.oclIsUndefined() or self.consumable.typeCode=ParticipationType::CSM ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined())) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32745). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32745). This manufacturedMaterial SHALL contain exactly one [1..1] @classCode="MMAT" (CONF:RCS-33391). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (self.consumable.manufacturedProduct.manufacturedMaterial.classCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.classCode=EntityClassManufacturedMaterial::MMAT ) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32745). This manufacturedMaterial SHALL contain exactly one [1..1] @determinerCode="KIND" (CONF:RCS-33392). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode.oclIsUndefined() or self.consumable.manufacturedProduct.manufacturedMaterial.determinerCode=EntityDeterminerDetermined::KIND ) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32745). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32746). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32745). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32746). This code SHALL contain exactly one [1..1] @code (ValueSet: Procedure Medication 1.3.6.1.4.1.19376.1.4.1.6.5.10053) (CONF:RCS-32748). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and self.consumable.manufacturedProduct.manufacturedMaterial.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10053',self.consumable.manufacturedProduct.manufacturedMaterial.code.code) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] consumable (CONF:RCS-32742). This consumable SHALL contain exactly one [1..1] manufacturedProduct (CONF:RCS-32744). This manufacturedProduct SHALL contain exactly one [1..1] manufacturedMaterial (CONF:RCS-32745). This manufacturedMaterial SHALL contain exactly one [1..1] code (CONF:RCS-32746). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32747). OCL self.consumable.oclIsUndefined() or ((not self.consumable.manufacturedProduct.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not self.consumable.manufacturedProduct.manufacturedMaterial.code.codeSystem.oclIsUndefined()) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). OCL self.entryRelationship->size() = 1 Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32750). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32751). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32753). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32754). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32755). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32755). This code SHALL contain exactly one [1..1] @code=”432102000” (CONF:RCS-32756). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.code='432102000' ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32755). This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" SNOMED (CONF:RCS-32757). OCL self.entryRelationship->exists(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) and var.observation.code.codeSystem='2.16.840.1.113883.6.96' ) Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] value with @xsi:type=”CD” (CONF:RCS-32758). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->select(val : ANY | val.oclIsKindOf(CD) )->size()=1 )->size()=1 Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] value with @xsi:type=”CD” (CONF:RCS-32758). This value SHALL contain exactly one [1..1] @code which shall be selected from ValueSet Medication Administration Response 1.3.6.1.4.1.19376.1.4.1.6.5.10062 (CONF:RCS-33607). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->select(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10062',val.oclAsType(CD).code) )->size()=1 )->size()=1 Procedure Medication Administration Entry SHALL contain exactly one [1..1] entryRelationship (CONF:RCS-32749). This entryRelationship SHALL contain exactly one [1..1] observation (CONF:RCS-32752). This observation SHALL contain exactly one [1..1] value with @xsi:type=”CD” (CONF:RCS-32758). This value SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33608). OCL self.entryRelationship->select(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->select(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).codeSystem.oclIsUndefined()) )->size()=1 )->size()=1 Procedure Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32714). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Procedure Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32715). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Procedure Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32713). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.42')->size() = 1 Procedure Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32713). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.42" (CONF:RCS-32719). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.42') Procedure Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32711). OCL (not self.code.oclIsUndefined()) Procedure Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32711). This code SHALL contain exactly one [1..1] @code (ValueSet: Procedure Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10124) (CONF:RCS-32716). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10124', self.code.code)) Procedure Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32711). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32717). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Procedure Observation Entry SHOULD contain zero or one [0..1] effectiveTime (CONF:RCS-33148). OCL true Procedure Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-32712). OCL self.value->size() = 1 Procedure Session Event Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33512). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Procedure Session Event Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33513). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Procedure Session Event Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33501). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.63')->size() = 1 Procedure Session Event Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33501). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.63" (CONF:RCS-33509). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.63') Procedure Session Event Entry SHALL contain exactly one [1..1] code (CONF:RCS-33499). OCL (not self.code.oclIsUndefined()) Procedure Session Event Entry SHALL contain exactly one [1..1] code (CONF:RCS-33499). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Session Event 1.3.6.1.4.1.19376.1.4.1.6.5.11532 (CONF:RCS-33506). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11532', self.code.code)) Procedure Session Event Entry SHALL contain exactly one [1..1] code (CONF:RCS-33499). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33507). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Procedure Session Event Entry SHALL contain exactly one [1..1] value (CONF:RCS-33500). OCL self.value->size() = 1 Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). OCL true Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33514). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33515). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33516). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33517). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33504). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33504). This code SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Procedure Session Event Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.11538 (CONF:RCS-33518). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11538',var.observation.code.code) ) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). This observation SHALL contain exactly one [1..1] code (CONF:RCS-33504). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33519). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Procedure Session Event Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-33502). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-33503). This observation SHALL contain exactly one [1..1] value (CONF:RCS-33505). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Procedure Session Observation Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32880). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Procedure Session Observation Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32881). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Procedure Session Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32876). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.50')->size() = 1 Procedure Session Observation Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-32876). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.50" (CONF:RCS-32882). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.50') Procedure Session Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32874). OCL (not self.code.oclIsUndefined()) Procedure Session Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32874). This code SHALL contain exactly one [1..1] @code (ValueSet: Procedure Session Observation 1.3.6.1.4.1.19376.1.4.1.6.5.10117) (CONF:RCS-32877). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10117', self.code.code)) Procedure Session Observation Entry SHALL contain exactly one [1..1] code (CONF:RCS-32874). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32878). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Procedure Session Observation Entry SHALL contain exactly one [1..1] value (CONF:RCS-32875). OCL self.value->size() = 1 Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). OCL true Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32885). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntryRelationship::COMP) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32886). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined())) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). This observation SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-32888). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.classCode.oclIsUndefined()) and var.observation.classCode=ActClassObservation::OBS ) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). This observation SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32889). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.moodCode.oclIsUndefined()) and var.observation.moodCode=XActMoodDocumentObservation::EVN ) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32890). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) ) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32890). This code SHALL contain exactly one [1..1] @code (ValueSet: Procedure Session Observation Modifier 1.3.6.1.4.1.19376.1.4.1.6.5.10119) (CONF:RCS-32891). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.code.oclIsUndefined()) and var.observation.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.10119',var.observation.code.code) ) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). This observation SHALL contain exactly one [1..1] code (CONF:RCS-32890). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-32892). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and (not var.observation.code.oclIsUndefined()) and (not var.observation.code.codeSystem.oclIsUndefined()) ) Procedure Session Observation Entry SHOULD contain zero or more [0..*] entryRelationship (CONF:RCS-32884). The entryRelationship, if present, SHALL contain exactly one [1..1] observation (CONF:RCS-32887). This observation SHALL contain exactly one [1..1] value (CONF:RCS-32893). OCL self.entryRelationship->forAll(var : POCDMT000040EntryRelationship | (not var.observation.oclIsUndefined()) and var.observation.value->size()=1 ) Procedure Session Organizer SHALL contain exactly one [1..1] @classCode="CLUSTER" (CONF:RCS-33556). OCL (not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER Procedure Session Organizer SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33557). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Procedure Session Organizer SHALL contain exactly one [1..1] templateId (CONF:RCS-33558). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.68')->size() = 1 Procedure Session Organizer SHALL contain exactly one [1..1] templateId (CONF:RCS-33558). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.68" (CONF:RCS-33559). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.68') Procedure Session Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33603). OCL (not self.statusCode.oclIsUndefined()) Procedure Session Organizer SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-33560). OCL (not self.effectiveTime.oclIsUndefined()) Procedure Session Organizer SHALL contain exactly one [1..1] effectiveTime (CONF:RCS-33560). This effectiveTime SHALL contain exactly one [1..1] low (CONF:RCS-33561). OCL self.effectiveTime.oclIsUndefined() or ((not self.effectiveTime.low.oclIsUndefined())) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33542). OCL true Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33542). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33592). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.50'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33542). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33593). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.50'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33542). The component, if present, SHALL contain exactly one [1..1] Procedure Session Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.50) (CONF:RCS-33543). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.50'))->forAll(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.50')) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33544). OCL true Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33544). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33594). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.64'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33544). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33595). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.64'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33544). The component, if present, SHALL contain exactly one [1..1] Post-procedure Laboratory Result Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.64) (CONF:RCS-33545). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.64'))->forAll(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.64')) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33546). OCL true Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33546). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33596). OCL self.component->select( aa : POCDMT000040Component4| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.24'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33546). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33597). OCL self.component->select( aa : POCDMT000040Component4| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.24'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33546). The component, if present, SHALL contain exactly one [1..1] Contrast Administration Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.24) (CONF:RCS-33547). OCL self.component->select( aa : POCDMT000040Component4| aa.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.24'))->forAll(var : POCDMT000040Component4 | (not var.substanceAdministration.oclIsUndefined()) and var.substanceAdministration.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.24')) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33548). OCL true Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33548). The component, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-33598). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.63'))->forAll(var : POCDMT000040Component4 | var.typeCode.oclIsUndefined() or var.typeCode=ActRelationshipHasComponent::COMP) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33548). The component, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-33599). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.63'))->forAll(var : POCDMT000040Component4 | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Organizer SHOULD contain zero or more [0..*] component (CONF:RCS-33548). The component, if present, SHALL contain exactly one [1..1] Procedure Session Event Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.63) (CONF:RCS-33549). OCL self.component->select( aa : POCDMT000040Component4| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.63'))->forAll(var : POCDMT000040Component4 | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.63')) Procedure Session Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33603). OCL (not self.statusCode.oclIsUndefined()) Procedure Session Organizer SHALL contain exactly one [1..1] statusCode (CONF:RCS-33603). This statusCode SHALL contain exactly one [1..1] @nullFlavor="NI" (CONF:RCS-33604). OCL self.statusCode.oclIsUndefined() or ((not self.statusCode.nullFlavor.oclIsUndefined()) and self.statusCode.nullFlavor=NullFlavor::NI) Procedure Session Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:RCS-32022). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT Procedure Session Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32023). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Procedure Session Section SHALL contain exactly one [1..1] templateId (CONF:RCS-31878). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.4')->size() = 1 Procedure Session Section SHALL contain exactly one [1..1] templateId (CONF:RCS-31878). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.2.4" (CONF:RCS-31879). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.4') Procedure Session Section SHALL contain exactly one [1..1] code (CONF:RCS-32185). OCL (not self.code.oclIsUndefined()) Procedure Session Section SHALL contain exactly one [1..1] code (CONF:RCS-32185). This code SHALL contain exactly one [1..1] @code="LOINC_4" (CONF:RCS-32282). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='LOINC_4') Procedure Session Section SHALL contain exactly one [1..1] code (CONF:RCS-32185). This code SHALL contain exactly one [1..1] @codeSystem (CodeSystem: LOINC 2.16.840.1.113883.6.1) (CONF:RCS-32668). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1') Procedure Session Section SHALL contain exactly one [1..1] text (CONF:RCS-33363). OCL (not self.text.oclIsUndefined()) Procedure Session Section SHOULD contain zero or one [0..1] entry (CONF:RCS-32895). OCL self.entry->select( aa : POCDMT000040Entry| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.68'))->size() < 2 Procedure Session Section SHOULD contain zero or one [0..1] entry (CONF:RCS-32895). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32896). OCL self.entry->select( aa : POCDMT000040Entry| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.68'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) Procedure Session Section SHOULD contain zero or one [0..1] entry (CONF:RCS-32895). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32897). OCL self.entry->select( aa : POCDMT000040Entry| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.68'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Section SHOULD contain zero or one [0..1] entry (CONF:RCS-32895). The entry, if present, SHALL contain exactly one [1..1] Procedure Session Organizer (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.68) (CONF:RCS-33529). OCL self.entry->select( aa : POCDMT000040Entry| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.68'))->forAll(var : POCDMT000040Entry | (not var.organizer.oclIsUndefined()) and var.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.68')) Procedure Session Section SHOULD contain zero or more [0..*] entry (CONF:RCS-33530). OCL true Procedure Session Section SHOULD contain zero or more [0..*] entry (CONF:RCS-33530). The entry, if present, SHALL contain exactly one [1..1] Pre-procedure Activity Organizer (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.67) (CONF:RCS-33531). OCL self.entry->select( aa : POCDMT000040Entry| aa.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.67'))->forAll(var : POCDMT000040Entry | (not var.organizer.oclIsUndefined()) and var.organizer.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.67')) Procedure Session Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32921). OCL true Procedure Session Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32921). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32922). OCL self.entry->select( aa : POCDMT000040Entry| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.39'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) Procedure Session Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32921). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32923). OCL self.entry->select( aa : POCDMT000040Entry| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.39'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Procedure Session Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32921). The entry, if present, SHALL contain exactly one [1..1] Procedure Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.39) (CONF:RCS-33048). OCL self.entry->select( aa : POCDMT000040Entry| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.39'))->forAll(var : POCDMT000040Entry | (not var.procedure.oclIsUndefined()) and var.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.39')) History and Risk Factor Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:RCS-32011). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT History and Risk Factor Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32012). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN History and Risk Factor Section SHALL contain exactly one [1..1] templateId (CONF:RCS-39). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.3')->size() = 1 History and Risk Factor Section SHALL contain exactly one [1..1] templateId (CONF:RCS-39). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.2.3" (CONF:RCS-40). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.3') History and Risk Factor Section SHALL contain exactly one [1..1] code (CONF:RCS-32183). OCL (not self.code.oclIsUndefined()) History and Risk Factor Section SHALL contain exactly one [1..1] code (CONF:RCS-32183). This code SHALL contain exactly one [1..1] @code="11348-0" (CONF:RCS-32277). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='11348-0') History and Risk Factor Section SHALL contain exactly one [1..1] code (CONF:RCS-32183). This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CONF:RCS-32667). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1') History and Risk Factor Section SHALL contain exactly one [1..1] text (CONF:RCS-33365). OCL (not self.text.oclIsUndefined()) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32203). OCL true History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32203). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32360). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.14'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32203). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32443). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.14'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32203). The entry, if present, SHALL contain exactly one [1..1] History and Risk Factor Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.14) (CONF:RCS-32204). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.14'))->forAll(var : POCDMT000040Entry | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.14')) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-33550). OCL true History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-33550). The entry, if present, SHALL contain exactly one [1..1] Vital Sign Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.62) (CONF:RCS-33551). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.62'))->forAll(var : POCDMT000040Entry | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.62')) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32508). OCL true History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32508). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32509). OCL self.entry->select( aa : POCDMT000040Entry| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.35'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32508). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32510). OCL self.entry->select( aa : POCDMT000040Entry| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.35'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) History and Risk Factor Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32508). The entry, if present, SHALL contain exactly one [1..1] History and Risk Factor Procedure Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.35) (CONF:RCS-32511). OCL self.entry->select( aa : POCDMT000040Entry| aa.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.35'))->forAll(var : POCDMT000040Entry | (not var.procedure.oclIsUndefined()) and var.procedure.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.35')) Patient Demographic Section SHALL contain exactly one [1..1] @classCode="DOCSECT" (CONF:RCS-32413). OCL self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT Patient Demographic Section SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-32414). OCL self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN Patient Demographic Section SHALL contain exactly one [1..1] templateId (CONF:RCS-32415). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.33')->size() = 1 Patient Demographic Section SHALL contain exactly one [1..1] templateId (CONF:RCS-32415). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.2.33" (CONF:RCS-32536). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.2.33') Patient Demographic Section SHALL contain exactly one [1..1] code (CONF:RCS-32404). OCL (not self.code.oclIsUndefined()) Patient Demographic Section SHALL contain exactly one [1..1] code (CONF:RCS-32404). This code SHALL contain exactly one [1..1] @code="LOINC_33" (CONF:RCS-32607). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.code='LOINC_33') Patient Demographic Section SHALL contain exactly one [1..1] code (CONF:RCS-32404). This code SHALL contain exactly one [1..1] @codeSystem (CodeSystem: LOINC 2.16.840.1.113883.6.1) (CONF:RCS-32608). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1') Patient Demographic Section SHALL contain exactly one [1..1] text (CONF:RCS-33364). OCL (not self.text.oclIsUndefined()) Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32409). OCL true Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32409). The entry, if present, SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:RCS-32469). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.34'))->forAll(var : POCDMT000040Entry | (not var.typeCode.oclIsUndefined()) and var.typeCode=XActRelationshipEntry::COMP) Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32409). The entry, if present, SHALL contain exactly one [1..1] @contextConductionInd="true" (CONF:RCS-32470). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.34'))->forAll(var : POCDMT000040Entry | var.contextConductionInd.oclIsUndefined() or var.contextConductionInd=true) Patient Demographic Section SHOULD contain zero or more [0..*] entry (CONF:RCS-32409). The entry, if present, SHALL contain exactly one [1..1] Patient Demographic Observation Entry (templateId:1.3.6.1.4.1.19376.1.4.1.6.4.34) (CONF:RCS-32471). OCL self.entry->select( aa : POCDMT000040Entry| aa.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.34'))->forAll(var : POCDMT000040Entry | (not var.observation.oclIsUndefined()) and var.observation.templateId->exists(ii2 : II | (not ii2.root.oclIsUndefined()) and ii2.root='1.3.6.1.4.1.19376.1.4.1.6.4.34')) Vital Sign Entry SHALL contain exactly one [1..1] @classCode="OBS" (CONF:RCS-33463). OCL self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS Vital Sign Entry SHALL contain exactly one [1..1] @moodCode="EVN" (CONF:RCS-33464). OCL (not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN Vital Sign Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33458). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.62')->size() = 1 Vital Sign Entry SHALL contain exactly one [1..1] templateId (CONF:RCS-33458). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.4.62" (CONF:RCS-33465). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.4.62') Vital Sign Entry SHALL contain exactly one [1..1] code (CONF:RCS-33456). OCL (not self.code.oclIsUndefined()) Vital Sign Entry SHALL contain exactly one [1..1] code (CONF:RCS-33456). This code SHALL contain exactly one [1..1] @code (ValueSet: Vital Sign 1.3.6.1.4.1.19376.1.4.1.6.5.11540) (CONF:RCS-33459). OCL self.code.oclIsUndefined() or ((not self.code.code.oclIsUndefined()) and self.code.matchesCodeToValueSet('1.3.6.1.4.1.19376.1.4.1.6.5.11540', self.code.code)) Vital Sign Entry SHALL contain exactly one [1..1] code (CONF:RCS-33456). This code SHALL contain exactly one [1..1] @codeSystem (CONF:RCS-33460). OCL self.code.oclIsUndefined() or ((not self.code.codeSystem.oclIsUndefined())) Vital Sign Entry SHALL contain exactly one [1..1] value (CONF:RCS-33457). OCL self.value->size() = 1 if value of Heart Failure w/in 2 Weeks is valued to true, NYHA Class w/in 2 Weeks SHALL be provided (Table 6.5.5.1-2, seq no 5045) OCL not ( self.value->exists(val : ANY | val.oclIsKindOf(BL) and (not val.oclAsType(BL).value.oclIsUndefined()) and val.oclAsType(BL).value=true ) ) or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined() ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='420816009' ) if Thrombolytic is present and negationInd set to false, the effective Time shall be present (Thrombolytic Therapy Date and Thrombolytic Therapy Time) (Table 6.5.5.1-2, Seq No 5015 and 5016) OCL not ( self.negationInd.oclIsUndefined() or self.negationInd=false ) or (not self.effectiveTime.oclIsUndefined()) if Standard Exercise Stress Test valued to true, Stress Test Results shall be present (Table 6.5.5.1-2, Seq No 5201) OCL not ( self.value->exists(val : ANY | val.oclIsKindOf(BL) and (not val.oclAsType(BL).value.oclIsUndefined()) and val.oclAsType(BL).value=true ) ) or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000854' ) if Standard Exercise Stress Test valued to true and Stress Test Results valued to Positive, then Risk/Extent of Ischemia SHALL be specified (Table 6.5.5.1-2, Seq No 5201) OCL not ( self.value->exists(val : ANY | val.oclIsKindOf(BL) and (not val.oclAsType(BL).value.oclIsUndefined()) and val.oclAsType(BL).value=true ) and self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000854' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='394424008' ) ) ) or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000855' ) for Dx Cath, we shall have Diagnostic Cath Operator Last Name (Table 6.5.5.1-2, Seq No 6000) OCL self.entry->select(entr : POCDMT000040Entry | (not entr.procedure.oclIsUndefined()) and entr.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.39' ) and (not entr.procedure.code.oclIsUndefined()) and (not entr.procedure.code.code.oclIsUndefined()) and entr.procedure.code.code='41976001' )->forAll(entr: POCDMT000040Entry | entr.procedure.performer->exists(pr : POCDMT000040Performer2 | (not pr.assignedEntity.oclIsUndefined()) and (not pr.assignedEntity.assignedPerson.oclIsUndefined()) and pr.assignedEntity.assignedPerson.name->exists(nm : PN | nm.family->size()>0) ) ) for PCI procedures, when IABP is valued to true, IABP Timing shall be present (Table 6.5.5.1-2, Seq No 5335) OCL self.entry->select(entr : POCDMT000040Entry | (not entr.procedure.oclIsUndefined()) and entr.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.39' ) and (not entr.procedure.code.oclIsUndefined()) and (not entr.procedure.code.code.oclIsUndefined()) and entr.procedure.code.code='399217008' and ( entr.procedure.negationInd.oclIsUndefined() or entr.procedure.negationInd=false ) )->forAll(entr : POCDMT000040Entry | entr.procedure.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='7389001' ) ) for PCI procedures, when Other Mechanical Ventricular Support valued to true then Other Mechanical Ventricular Support Timing shall be provided (Table 6.5.5.1-2, Seq No 5345) OCL self.entry->select(entr : POCDMT000040Entry | (not entr.procedure.oclIsUndefined()) and entr.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.39' ) and (not entr.procedure.code.oclIsUndefined()) and (not entr.procedure.code.code.oclIsUndefined()) and entr.procedure.code.code='232957001' and ( entr.procedure.negationInd.oclIsUndefined() or entr.procedure.negationInd=false ) )->forAll(entr : POCDMT000040Entry | entr.procedure.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='7389001' ) ) if SSN N/A (id/@nullFlavor) is not provided then SSN (id/@extension) SHALL be provided (RCSC-P1) (Table 6.5.5.1-2, Seq. No 2030) OCL self.recordTarget->forAll(rt : POCDMT000040RecordTarget | rt.patientRole.oclIsUndefined() or rt.patientRole.id->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.4.1' )->forAll(ii : II | (not ii.nullFlavor.oclIsUndefined()) or (not ii.extension.oclIsUndefined()) ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - Private Health Insurance[@code='100000852'] (value[@code='100000806']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3020) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that Private Health Insurance exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000806' ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - Medicare[@code='100000852'] (value[@code='100000807']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3021) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that Medicare exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000807' ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - Medicaid[@code='100000852'] (value[@code='100000808']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3022) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that Medicaid exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000808' ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - Military Health Care[@code='100000852'] (value[@code='100000809']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3023) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that Military Health Care exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000809' ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - State-Specific Plan[@code='100000852'] (value[@code='100000810']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3024) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that State-Specific Plan exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000810' ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - Indian Health Service[@code='100000852'] (value[@code='100000811']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3025) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that Indian Health Service exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000811' ) ) If Insurance Payors - None [@code'100000852'] (value[@code='100000813']) is not provided then Insurance Payors - Non-US Insurance[@code='100000852'] (value[@code='100000812']) SHALL be provided (RCSC-P4) (Table 6.5.5.1-2, Seq. No 3026) OCL -- we verify that the None is checked self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000813' ) and ( entrr.observation.negationInd.oclIsUndefined() or entrr.observation.negationInd=false ) ) -- or we verify that Non-US Insurance exists or self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.61' ) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000852' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='100000812' ) ) if Prior PCI[@code='415070008'] present, and has @negationInd=false, then effectiveTime shall be present (table 6.5.5.1-2, SeqNo 4040) OCL not ( (not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined()) and self.code.code='415070008' and ( self.negationInd.oclIsUndefined() or self.negationInd=false ) ) or (not self.effectiveTime.oclIsUndefined()) if Prior PCI[@code='415070008'] present, and has @negationInd=false, then effectiveTime shall be present (table 6.5.5.1-2, SeqNo 4050) OCL not ( (not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined()) and self.code.code='415070008' and ( self.negationInd.oclIsUndefined() or self.negationInd=false ) ) or (not self.effectiveTime.oclIsUndefined()) if CAD Presentation present and valued to STEMI, a pre procedure procedure shall be present whith the code Thrombolytic(307521008) (Table 6.5.5.1-2, Seq No 5010) OCL self.component->select(comp : POCDMT000040Component4 | (not comp.observation.oclIsUndefined()) and comp.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.52' ) and (not comp.observation.code.oclIsUndefined()) and (not comp.observation.code.code.oclIsUndefined()) and comp.observation.code.code='53741008' and comp.observation.entryRelationship->exists(entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000501' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and val.oclAsType(CD).code='401303003' ) ) )->size()=0 or self.component->exists(comp : POCDMT000040Component4 | (not comp.procedure.oclIsUndefined()) and comp.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.36' ) and (not comp.procedure.code.oclIsUndefined()) and (not comp.procedure.code.code.oclIsUndefined()) and comp.procedure.code.code='307521008' )->size()>0 if Anti-Anginal Medication w/in 2 Weeks[@code='100000652'] valued to yes, the Beta Blockers[@code='33252009'] shall be provided (Table 6.5.5.1-2, Seq No 5026) OCL -- test : Anti-Anginal Medication w/in 2 Weeks[@code100000652] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='100000652' and ( comp.substanceAdministration.negationInd.oclIsUndefined() or comp.substanceAdministration.negationInd=false ) )->size()=0 or -- test the Beta Blockers[@code=33252009] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='33252009' )->size()>0 if Anti-Anginal Medication w/in 2 Weeks[@code='100000652'] valued to yes, the Calcium Channel Blockers[@code='48698004']shall be provided (Table 6.5.5.1-2, Seq No 5027) OCL -- test : Anti-Anginal Medication w/in 2 Weeks[@code100000652] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='100000652' and ( comp.substanceAdministration.negationInd.oclIsUndefined() or comp.substanceAdministration.negationInd=false ) )->size()=0 or -- test the Calcium Channel Blockers[@code=48698004] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='48698004' )->size()>0 if Anti-Anginal Medication w/in 2 Weeks[@code='100000652'] valued to yes, the Long Acting Nitrates[@code='31970009'] shall be provided (Table 6.5.5.1-2, Seq No 5028) OCL -- test : Anti-Anginal Medication w/in 2 Weeks[@code100000652] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='100000652' and ( comp.substanceAdministration.negationInd.oclIsUndefined() or comp.substanceAdministration.negationInd=false ) )->size()=0 or -- test the Long Acting Nitrates[@code='31970009'] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='31970009' )->size()>0 if Anti-Anginal Medication w/in 2 Weeks[@code='100000652'] valued to yes, the Ranolazine[@code='35829'] shall be provided (Table 6.5.5.1-2, Seq No 5029) OCL -- test : Anti-Anginal Medication w/in 2 Weeks[@code100000652] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='100000652' and ( comp.substanceAdministration.negationInd.oclIsUndefined() or comp.substanceAdministration.negationInd=false ) )->size()=0 or -- test the Ranolazine[@code='35829'] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='35829' )->size()>0 if Anti-Anginal Medication w/in 2 Weeks[@code='100000652'] valued to yes, the Other Anti-Anginal Agent[@code='100000621'] shall be provided (Table 6.5.5.1-2, Seq No 5030) OCL -- test : Anti-Anginal Medication w/in 2 Weeks[@code100000652] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='100000652' and ( comp.substanceAdministration.negationInd.oclIsUndefined() or comp.substanceAdministration.negationInd=false ) )->size()=0 or -- test the Other Anti-Anginal Agent[@code='100000621'] self.component->select(comp : POCDMT000040Component4 | (not comp.substanceAdministration.oclIsUndefined()) and comp.substanceAdministration.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.23' ) and (not comp.substanceAdministration.consumable.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.oclIsUndefined()) and (not comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code.oclIsUndefined()) and comp.substanceAdministration.consumable.manufacturedProduct.manufacturedMaterial.code.code='100000621' )->size()>0 if Stress or Imaging Studies valued to true, the Standard Exercise Stress Test SHALL be present (Table 6.5.5.1-2, Seq No 5200) OCL not ( self.component->exists(comp: POCDMT000040Component4 | (not comp.observation.oclIsUndefined()) and (not comp.observation.code.oclIsUndefined()) and (not comp.observation.code.code.oclIsUndefined()) and comp.observation.code.code='100000653' and comp.observation.value->exists(val : ANY | val.oclIsKindOf(BL) and (not val.oclAsType(BL).value.oclIsUndefined()) and val.oclAsType(BL).value=true ) ) ) or ( self.component->exists(comp: POCDMT000040Component4 | (not comp.observation.oclIsUndefined()) and (not comp.observation.code.oclIsUndefined()) and (not comp.observation.code.code.oclIsUndefined()) and comp.observation.code.code='18752-6' ) ) if CAD Presentation has a value equals to Non-STEMI or STEMI, Symptom Onset Date shall be provided (Table 6.5.5.1-2, Seq No 5005) OCL not ( (not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined()) and self.code.code='53741008' and self.entryRelationship->exists(entrr: POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000501' and entrr.observation.value->exists(val : ANY | val.oclIsKindOf(CD) and (not val.oclAsType(CD).code.oclIsUndefined()) and ( val.oclAsType(CD).code='401303003' or val.oclAsType(CD).code='401314000' ) ) ) ) or (not self.effectiveTime.oclIsUndefined()) if Symptom Onset Time Not Available is evaluated to False, the Symptom Onset Time Estimated observation(code=100000876) shall be present (Table 6.5.5.1-2, Seq No 5007) OCL not ( (not self.effectiveTime.oclIsUndefined()) and (not self.effectiveTime.nullFlavor.oclIsUndefined()) and self.effectiveTime.nullFlavor=NullFlavor::NAV and (not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined()) and self.code.code='53741008' ) or self.entryRelationship->exists( entrr : POCDMT000040EntryRelationship | (not entrr.observation.oclIsUndefined()) and (not entrr.observation.code.oclIsUndefined()) and (not entrr.observation.code.code.oclIsUndefined()) and entrr.observation.code.code='100000876' ) The effectiveTime/low shall contain reference to the date and the time (Table 6.5.5.1-2, Seq No 5301) OCL self.effectiveTime.oclIsUndefined() or self.effectiveTime.low.oclIsUndefined() or self.effectiveTime.low.value.oclIsUndefined() or self.effectiveTime.low.matches(self.effectiveTime.low.value, '.{9}.*') for PCI procedures, when IABP is valued to true, IABP Timing shall be present OCL not ( self.entry->exists(entr : POCDMT000040Entry | (not entr.procedure.oclIsUndefined()) and entr.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.39' ) and (not entr.procedure.code.oclIsUndefined()) and (not entr.procedure.code.code.oclIsUndefined()) and entr.procedure.code.code='415070008' and ( entr.procedure.negationInd.oclIsUndefined() or entr.procedure.negationInd=false ) ) ) if Diabetes Mellitus[@code='73211009'] has a boolean value set to true, an observation which describe Diabetes Therapy[@code='100000805] shall be present and have a value element (Table 6.5.5.1-2, Seq No 4090) OCL -- we verify that the Diabetes Mellitus is not true self.entry->select(entr : POCDMT000040Entry | (not entr.observation.oclIsUndefined()) and entr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.14' ) and (not entr.observation.code.oclIsUndefined()) and (not entr.observation.code.code.oclIsUndefined()) and entr.observation.code.code='73211009' and entr.observation.value->exists(val : ANY | val.oclIsKindOf(BL) and (not val.oclAsType(BL).value.oclIsUndefined()) and val.oclAsType(BL).value=true ) )->size()=0 -- or we verify that Diabetes Therapy exists or self.entry->exists(entr : POCDMT000040Entry | (not entr.observation.oclIsUndefined()) and entr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.4.1.6.4.14' ) and (not entr.observation.code.oclIsUndefined()) and (not entr.observation.code.code.oclIsUndefined()) and entr.observation.code.code='100000805' and entr.observation.value->size()>0 ) Registry Content Submission Document SHALL contain exactly one [1..1] templateId (CONF:RCS-4). This templateId SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.4.1.6.1.1" (CONF:RCS-32265). OCL self.templateId->exists(var : II | (not var.root.oclIsUndefined()) and var.root='1.3.6.1.4.1.19376.1.4.1.6.1.1' ) 1.3.6.1.4.1.19376.1.4.1.6.3.69 is related to the element structuredBody (p 6.5.4.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.3.69\u0027] satisfies name($i/..)=\u0027structuredBody\u0027') 1.3.6.1.4.1.19376.1.4.1.6.2.33 is related to the element section (p 6.5.4.2.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.2.33\u0027] satisfies name($i/..)=\u0027section\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.34 is related to the element observation (p 6.5.4.2.1.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.34\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.2.2 is related to the element section (p 6.5.4.2.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.2.2\u0027] satisfies name($i/..)=\u0027section\u0027') 1.3.6.1.4.1.19376.1.4.1.6.2.3 is related to the element section (p 6.5.4.2.2.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.2.3\u0027] satisfies name($i/..)=\u0027section\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.14 is related to the element observation (p 6.5.4.2.2.1.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.14\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.35 is related to the element procedure (p 6.5.4.2.2.1.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.35\u0027] satisfies name($i/..)=\u0027procedure\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.62 is related to the element observation (p 6.5.4.2.2.1.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.62\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.12 is related to the element encounter (p 6.5.4.2.2.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.12\u0027] satisfies name($i/..)=\u0027encounter\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.13 is related to the element observation (p 6.5.4.2.2.2.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.13\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.53 is related to the element procedure (p 6.5.4.2.2.2.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.53\u0027] satisfies name($i/..)=\u0027procedure\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.61 is related to the element observation (p 6.5.4.2.2.2.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.61\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.2.4 is related to the element section (p 6.5.4.2.2.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.2.4\u0027] satisfies name($i/..)=\u0027section\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.67 is related to the element organizer (p 6.5.4.2.2.3.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.67\u0027] satisfies name($i/..)=\u0027organizer\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.52 is related to the element observation (p 6.5.4.2.2.3.1.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.52\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.36 is related to the element procedure (p 6.5.4.2.2.3.1.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.36\u0027] satisfies name($i/..)=\u0027procedure\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.65 is related to the element observation (p 6.5.4.2.2.3.1.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.65\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.66 is related to the element observation (p 6.5.4.2.2.3.1.4) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.66\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.23 is related to the element substanceAdministration (p 6.5.4.2.2.3.1.5) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.23\u0027] satisfies name($i/..)=\u0027substanceAdministration\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.39 is related to the element procedure (p 6.5.4.2.2.3.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.39\u0027] satisfies name($i/..)=\u0027procedure\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.37 is related to the element observation (p 6.5.4.2.2.3.2.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.37\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.56 is related to the element observation (p 6.5.4.2.2.3.2.1.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.56\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.58 is related to the element observation (p 6.5.4.2.2.3.2.1.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.58\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.42 is related to the element observation (p 6.5.4.2.2.3.2.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.42\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.45 is related to the element substanceAdministration (p 6.5.4.2.2.3.2.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.45\u0027] satisfies name($i/..)=\u0027substanceAdministration\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.47 is related to the element organizer (p 6.5.4.2.2.3.2.4) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.47\u0027] satisfies name($i/..)=\u0027organizer\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.68 is related to the element organizer (p 6.5.4.2.2.3.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.68\u0027] satisfies name($i/..)=\u0027organizer\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.50 is related to the element observation (p 6.5.4.2.2.3.3.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.50\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.64 is related to the element observation (p 6.5.4.2.2.3.3.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.64\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.24 is related to the element substanceAdministration (p 6.5.4.2.2.3.3.3) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.24\u0027] satisfies name($i/..)=\u0027substanceAdministration\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.63 is related to the element observation (p 6.5.4.2.2.3.3.4) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.63\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.2.44 is related to the element section (p 6.5.4.2.2.3.4) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.2.44\u0027] satisfies name($i/..)=\u0027section\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.48 is related to the element observation (p 6.5.4.2.2.3.4.1) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.48\u0027] satisfies name($i/..)=\u0027observation\u0027') 1.3.6.1.4.1.19376.1.4.1.6.4.49 is related to the element substanceAdministration (p 6.5.4.2.2.3.4.2) OCL self.validateByXPATHV2('every $i in //cda:templateId[@root=\u00271.3.6.1.4.1.19376.1.4.1.6.4.49\u0027] satisfies name($i/..)=\u0027substanceAdministration\u0027')