OCL self.classCode=vocab::ActClinicalDocument::DOCCLIN OCL self.moodCode=vocab::ActMood::EVN OCL self.recordTarget.patientRole.patient OCL self.recordTarget.patientRole OCL if self.component.structuredBody.oclIsUndefined() then Bag{} else self.component.structuredBody.component.section endif OCL self.code.code = code and self.code.codeSystem = codeSystem and self.code.codeSystemName = codeSystemName OCL self.getSections()->exists(sect : cda::Section | sect.hasTemplateId(templateId)) OCL self.templateId->exists(id : datatypes::II | id.root = templateId) OCL self.structuredBody.oclIsUndefined() xor self.nonXMLBody.oclIsUndefined() OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipHasComponent::COMP OCL not self.contextConductionInd.oclIsUndefined() implies self.contextConductionInd=true OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::DOCBODY OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::DOCBODY OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipHasComponent::COMP OCL not self.contextConductionInd.oclIsUndefined() implies self.contextConductionInd=true OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::DOCSECT OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.entry.act->select(act : cda::Act | not act.oclIsUndefined()) OCL self.entry.encounter->select(enc : cda::Encounter | not enc.oclIsUndefined()) OCL self.entry.observation->select(obs : cda::Observation | not obs.oclIsUndefined()) OCL self.entry.observationMedia->select(media : cda::ObservationMedia | not media.oclIsUndefined()) OCL self.entry.organizer->select(org : cda::Organizer | not org.oclIsUndefined()) OCL self.entry.procedure->select(proc : cda::Procedure | not proc.oclIsUndefined()) OCL self.entry.regionOfInterest->select(reg : cda::RegionOfInterest | not reg.oclIsUndefined()) OCL self.component.section OCL self.entry.substanceAdministration->select(sub : cda::SubstanceAdministration | not sub.oclIsUndefined()) OCL self.entry.supply->select(sup : cda::Supply | not sup.oclIsUndefined()) OCL self.getActs()->exists(act : cda::Act | act.hasTemplateId(templateId)) OCL self.code.code = code and self.code.codeSystem = codeSystem and self.code.codeSystemName = codeSystemName OCL self.getEncounters()->exists(enc : cda::Encounter | enc.hasTemplateId(templateId)) OCL self.getObservationMedia()->exists(media : cda::ObservationMedia | media.hasTemplateId(templateId)) OCL self.getObservations()->exists(obs : cda::Observation | obs.hasTemplateId(templateId)) OCL self.getOrganizers()->exists(org : cda::Organizer | org.hasTemplateId(templateId)) OCL self.getProcedures()->exists(proc : cda::Procedure | proc.hasTemplateId(templateId)) OCL self.getRegionsOfInterest()->exists(reg : cda::RegionOfInterest | reg.hasTemplateId(templateId)) OCL self.getSubstanceAdministrations()->exists(sub : cda::SubstanceAdministration | sub.hasTemplateId(templateId)) OCL self.getSections()->exists(sect : cda::Section | sect.hasTemplateId(templateId)) OCL self.getSupplies()->exists(sup : cda::Supply | sup.hasTemplateId(templateId)) OCL self.templateId->exists(id : datatypes::II | id.root = templateId) OCL Bag{self.act.oclIsUndefined(), self.encounter.oclIsUndefined(), self.observation.oclIsUndefined(), self.observationMedia.oclIsUndefined(), self.organizer.oclIsUndefined(), self.procedure.oclIsUndefined(), self.regionOfInterest.oclIsUndefined(), self.substanceAdministration.oclIsUndefined(), self.supply.oclIsUndefined()}->one(x | x = false) OCL not self.contextConductionInd.oclIsUndefined() implies self.contextConductionInd=true OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipHasComponent::COMP OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::ENC OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::RCT OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClass::PAT OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClass::PSN OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL Bag { self.id } OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::ROIOVL OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::SBADM OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClassSupply::SPLY SPLY OCL self.root='2.16.840.1.113883.1.3' OCL not self.extension.oclIsUndefined() OCL (self.isNullFlavorDefined() or self.isDefined('redefinedRoot') and not(self.isNullFlavorDefined() and self.isDefined('redefinedRoot'))) 2.16.840.1.113883.1.3 OCL self.assignedPerson.oclIsUndefined() or self.assignedAuthoringDevice.oclIsUndefined() OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClassAssignedEntity::ASSIGNED OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClassAssignedEntity::ASSIGNED ASSIGNED OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClassAssignedEntity::ASSIGNED ASSIGNED OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::AUTHEN OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::AUT OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClassDevice::DEV OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipType::AUTH OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClass::BIRTHPL OCL Bag{self.act.oclIsUndefined(), self.encounter.oclIsUndefined(), self.observation.oclIsUndefined(), self.observationMedia.oclIsUndefined(), self.organizer.oclIsUndefined(), self.procedure.oclIsUndefined(), self.regionOfInterest.oclIsUndefined(), self.substanceAdministration.oclIsUndefined(), self.supply.oclIsUndefined()}->one(x | x = false) OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipHasComponent::COMP OCL not self.contextConductionInd.oclIsUndefined() implies self.contextConductionInd=true OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipHasComponent::COMP OCL not self.contextConductionInd.oclIsUndefined() implies self.contextConductionInd=true OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::CONS OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::CSM OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVNCRT OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::CST OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClassOrganization::ORG OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL Bag { self.name } OCL Bag { self.telecom } OCL Bag { self.addr } OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::ENT OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipType::DOC OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL Bag{self.act.oclIsUndefined(), self.encounter.oclIsUndefined(), self.observation.oclIsUndefined(), self.observationMedia.oclIsUndefined(), self.organizer.oclIsUndefined(), self.procedure.oclIsUndefined(), self.regionOfInterest.oclIsUndefined(), self.substanceAdministration.oclIsUndefined(), self.supply.oclIsUndefined()}->one(x | x = false) OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClass::PROC OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL Bag{self.externalAct.oclIsUndefined(), self.externalDocument.oclIsUndefined(), self.externalObservation.oclIsUndefined(), self.externalProcedure.oclIsUndefined()}->one(x | x = false) OCL self.guardianPerson.oclIsUndefined() xor self.guardianOrganization.oclIsUndefined() OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClass::GUARD OCL self.assignedEntity.oclIsUndefined() xor self.relatedEntity.oclIsUndefined() OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::INF OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipFulfills::FLFS OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClassManufacturedMaterial::MMAT OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminerDetermined::KIND OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::LA OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationTargetLocation::LOC OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClass::MNT OCL self.manufacturedLabeledDrug.oclIsUndefined() xor self.manufacturedMaterial.oclIsUndefined() OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClassManufacturedProduct::MANU OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClassManufacturedMaterial::MMAT OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminerDetermined::KIND OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVNCRT OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::RQO OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClassOrganization::ORG OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL self.isClassCodeDefined() implies self.classCode=vocab::ActClinicalDocument::DOCCLIN OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.playingDevice.oclIsUndefined() or self.playingEntity.oclIsUndefined() OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationPhysicalPerformer::PRF OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClass::PSN OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClassPlace::PLC OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL Bag { self.name } OCL Bag { self.addr } OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipType::PRCN OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::PRD OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ActRelationshipType::REFV OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::RESP OCL self.isMoodCodeDefined() implies self.moodCode=vocab::ActMood::EVN OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationType::SPC OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClassSpecimen::SPEC OCL self.isTypeCodeDefined() implies self.typeCode=vocab::ParticipationTargetSubject::SBJ OCL self.isContextControlCodeDefined() implies self.contextControlCode=vocab::ContextControl::OP OCL self.isClassCodeDefined() implies self.classCode=vocab::EntityClass::PSN OCL self.isDeterminerCodeDefined() implies self.determinerCode=vocab::EntityDeterminer::INSTANCE OCL self.isClassCodeDefined() implies self.classCode=vocab::RoleClass::PART OCL self.getActs()->exists(act : cda::Act | act.hasTemplateId(templateId)) OCL self.getEncounters()->exists(enc : cda::Encounter | enc.hasTemplateId(templateId)) OCL self.getObservationMedia()->exists(media : cda::ObservationMedia | media.hasTemplateId(templateId)) OCL self.getObservations()->exists(obs : cda::Observation | obs.hasTemplateId(templateId)) OCL self.getOrganizers()->exists(org : cda::Organizer | org.hasTemplateId(templateId)) OCL self.getProcedures()->exists(proc : cda::Procedure | proc.hasTemplateId(templateId)) OCL self.getRegionsOfInterest()->exists(reg : cda::RegionOfInterest | reg.hasTemplateId(templateId)) OCL self.getSubstanceAdministrations()->exists(sub : cda::SubstanceAdministration | sub.hasTemplateId(templateId)) OCL self.getSupplies()->exists(sup : cda::Supply | sup.hasTemplateId(templateId)) http:///org/eclipse/emf/ecore/util/ExtendedMetaData wildcards='##any' processing='lax'