rsqihe RSQIHEConstraints ConstraintsSpec RSQIHEConstraints query-AdhocQueryRequestType constraintReturnType the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and (self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS) ERROR constraintQueryID QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' or self.adhocQuery.id='urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4' or self.adhocQuery.id='urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4' or self.adhocQuery.id='urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155' or self.adhocQuery.id='urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a' or self.adhocQuery.id='urn:uuid:51224314-5390-4169-9b91-b1980040715a' or self.adhocQuery.id='urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83' or self.adhocQuery.id='urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7' or self.adhocQuery.id='urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578' or self.adhocQuery.id='urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6' ) ERROR FindDocuments TemplateSpec FindDocuments urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d rim-AdhocQueryType constraintITI18_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notMultiple $XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on the TF 2a, 3.18.4.1.2.3.7.1 self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR FindSubmissionSets TemplateSpec FindSubmissionSets urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9 rim-AdhocQueryType constraintITI18_XDSSubmissionSetSourceId_notSupportAND $XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSourceId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND $XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple $XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND $XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple $XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND $XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->size()<2 ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple $XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetContentType_notSupportAND $XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetContentType' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notSupportAND $XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notMultiple $XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetPatientId_required $XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintFindSubmissionSets_allowedSlot allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetSourceId' or sl.name='$XDSSubmissionSetSubmissionTimeFrom' or sl.name='$XDSSubmissionSetSubmissionTimeTo' or sl.name='$XDSSubmissionSetAuthorPerson' or sl.name='$XDSSubmissionSetContentType' or sl.name='$XDSSubmissionSetPatientId' or sl.name='$XDSSubmissionSetStatus') ) ERROR GetSubmissionSetAndContents TemplateSpec GetSubmissionSetAndContents urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND $XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->size()<2 ERROR constraintITI18_XDSSubmissionSetEntryUUID_notMultiple $XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetUniqueId_notSupportAND $XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetUniqueId_notMultiple $XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetSubmissionSetAndContents_allowedSlot allowed metadata on GetSubmissionSetAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId') ) ERROR constraintGetSubmissionSetAndContents_requiredField Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId' ) )->size()>0 ERROR GetFolders TemplateSpec GetFolders urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFolders_allowedSlot allowed metadata on GetFolders are those on the table (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolders_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR GetAll TemplateSpec GetAll urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintITI18_patientId_notSupportAND $patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()<2 ERROR constraintITI18_patientId_notMultiple $patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_patientId_required $patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()>0 ERROR constraintGetAll_allowedSlot allowed metadata on GetAll are those on the table (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSSubmissionSetStatus' or sl.name='$XDSFolderStatus' or sl.name='$patientId' ) ) ERROR GetDocuments TemplateSpec GetDocuments urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocuments_allowedSlot allowed metadata on GetDocuments are those on the table (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetDocumentsAndAssociations TemplateSpec GetDocumentsAndAssociations urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocumentsAndAssociations_allowedSlot allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId') ) ERROR constraintGetDocumentsAndAssociations_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetFoldersForDocument TemplateSpec GetFoldersForDocument urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetFoldersForDocument_allowedSlot allowed Metadata on GetFoldersForDocument are those on the table (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetFoldersForDocument_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetSubmissionSets TemplateSpec GetSubmissionSets urn:uuid:51224314-5390-4169-9b91-b1980040715a rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetSubmissionSets_allowedSlot allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid' ) ) ERROR GetAssociations TemplateSpec GetAssociations urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetAssociations_allowedSlot allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid') ) ERROR GetFoldersAndContents TemplateSpec GetFoldersAndContents urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFoldersAndContents_allowedSlot allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolderAndContents_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR FindFolders TemplateSpec FindFolders urn:uuid:958f3006-baad-4929-a4de-ff1114824431 rim-AdhocQueryType constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI18_XDSFolderPatientId_notMultiple $XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_required $XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR GetRelatedDocuments TemplateSpec GetRelatedDocuments urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_AssociationTypes_notSupportAND $AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()<2 ERROR constraintITI18_AssociationTypes_required $AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()>0 ERROR constraintGetRelatedDocuments_allowedSlot aloowed metadata on GetRelatedDocuments are those on the tab self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' or sl.name='$AssociationTypes' ) ) ERROR constraintGetRelatedDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR CSDiscReq CSDiscReqSpec ConstraintsSpec CSDiscReqSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.6.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayRetrieveError RegistryResponseSpec6 ConstraintsSpec RegistryResponseSpec6 rs-RegistryResponseType constraintRegistryResponseStatus_CrossGatewayRetrieve accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec6 ConstraintsSpec RegistryErrorSpec6 rs-RegistryErrorType constraintRegistryError_allowedCode_CrossGatewayRetrieve allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR RegistryStoredQueryError RegistryResponseSpec3 ConstraintsSpec RegistryResponseSpec3 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec3 ConstraintsSpec RegistryErrorSpec3 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR DSDiscardResp DSDiscRespSpec ConstraintsSpec DSDiscRespSpec rs-RegistryResponseType constraint_status_required status required not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR DSDiscRESpec ConstraintsSpec DSDiscRESpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 2201 (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSPutReq CSExtrSpec TemplateSpec CSExtrSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1) (not self.mimeType.oclIsUndefined() ) and self.mimeType='text/xml' ERROR constraint_status status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57016-8' ) ERROR constraint_formatCode formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:iti:bppc-sd:2007' or cl.nodeRepresentation='urn:ihe:iti:bppc:2007' ) ) ERROR constraint_allowed_slot allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='languageCode' or sl.name='sourcePatientId') WARNING constraint_allowed_classification allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4' ) WARNING constraint_allowed_externalIdentifier allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1') WARNING constraint_eventCodeList the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1' or cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2' ) ) ERROR CSSubmitSpec ConstraintsSpec CSSubmitSpec lcm-SubmitObjectsRequestType constraint_registryObjectList_required registryObjectList_required (WP34_D342_V2.2 3.6.1.1) not self.registryObjectList.oclIsUndefined() ERROR constraint_ExtrinsicObject_single a single ExtrinsicObject element must be set on registryObjectList self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1) ERROR dds xcf XCFQueryRequest TemplateSpec XCFQueryRequest urn:uuid:f2072993-9478-41df-a603-8f016706efe8 query-AdhocQueryRequestType constraint_returnType returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR XCFAdhocQuery TemplateSpec XCFAdhocQuery urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_classCode1 $XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()>0 ERROR constraint_classCode2 $XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraint_typeCode $XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationTimeFrom1 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTimeFrom2 $XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTimeTo1 $XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_creationTimeTo2 $XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeFrom1 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTimeFrom2 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeTo1 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_startTimeTo2 $XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeFrom1 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTimeFrom2 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeTo1 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_stopTimeTo2 $XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_healthCareFacilityTypeCode $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_authorPerson $XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_formatCode $XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraint_homeCommunityId homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) (not self.home.oclIsUndefined()) and (self.home<>'') ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' ) ) ERROR XCFAdhocQuerySpec ConstraintsSpec XCFAdhocQuerySpec rim-AdhocQueryType constraint_xcf_id XCF shall have the AdhocQuery id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.id.oclIsUndefined()) and self.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR RegisterDocumentSetError RegistryResponseSpec2 ConstraintsSpec RegistryResponseSpec2 rs-RegistryResponseType constraintRegistryResponseStatus_RegisterDocumentSet accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec2 ConstraintsSpec RegistryErrorSpec2 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryDocumentSet allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') ) ERROR epsos rs RegistryErrorListType RegistryErrorList_._type registryError 1 -1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 highestSeverity 0 1 rim-ReferenceURI Attribute highestSeverity RegistryErrorType RegistryError_._type value 0 1 UMLPrimitiveTypes-String Simple value codeContext 1 1 UMLPrimitiveTypes-String Attribute codeContext errorCode 1 1 UMLPrimitiveTypes-String Attribute errorCode location 0 1 UMLPrimitiveTypes-String Attribute location severity 0 1 rim-ReferenceURI Attribute severity RegistryRequestType RegistryRequestType requestSlotList 0 1 rim-SlotListType Element RequestSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 comment 0 1 UMLPrimitiveTypes-String Attribute comment id 0 1 UMLPrimitiveTypes-String Attribute id RegistryResponseType RegistryResponseType responseSlotList 0 1 rim-SlotListType Element ResponseSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 requestId 0 1 UMLPrimitiveTypes-String Attribute requestId status 1 1 rim-ReferenceURI Attribute status DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation registryError 0 1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryRequest 0 1 rs-RegistryRequestType Element RegistryRequest urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryResponse 0 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 PSListResp AdhocRespSpec ConstraintsSpec AdhocRespSpec query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec TemplateSpec DocumentSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.3.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.3.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value='Patient Summary') ERROR constraint_VersionInfo_required VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1.1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60591-5' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) WARNING constraint_formatCode_required formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.3.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.3.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1102' and self.codeContext='No Data') or (self.errorCode='4201' and self.codeContext='Unsupported Feature') or (self.errorCode='4202' and self.codeContext='Unknown Signifier') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4204' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR PSListReq PatientServiceListSpec ConstraintsSpec PatientServiceListSpec query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec TemplateSpec QuerySpec urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryPatientId'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->size()=1 ERROR constraint_typeCode_required typeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='typeCode'))->size()=1 ERROR constraint_contentTypeCode_required contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='contentTypeCode'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '60591-5^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryTypeCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR lcm AcceptObjectsRequestType AcceptObjectsRequest_._type rs-RegistryRequestType correlationId 1 1 UMLPrimitiveTypes-String Attribute correlationId ApproveObjectsRequestType ApproveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DeprecateObjectsRequestType DeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation acceptObjectsRequest 0 1 lcm-AcceptObjectsRequestType Element AcceptObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 approveObjectsRequest 0 1 lcm-ApproveObjectsRequestType Element ApproveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 deprecateObjectsRequest 0 1 lcm-DeprecateObjectsRequestType Element DeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 relocateObjectsRequest 0 1 lcm-RelocateObjectsRequestType Element RelocateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 removeObjectsRequest 0 1 lcm-RemoveObjectsRequestType Element RemoveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 submitObjectsRequest 0 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 undeprecateObjectsRequest 0 1 lcm-UndeprecateObjectsRequestType Element UndeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 updateObjectsRequest 0 1 lcm-UpdateObjectsRequestType Element UpdateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RelocateObjectsRequestType RelocateObjectsRequest_._type rs-RegistryRequestType adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 sourceRegistry 1 1 rim-ObjectRefType Element SourceRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 destinationRegistry 1 1 rim-ObjectRefType Element DestinationRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtSource 1 1 rim-ObjectRefType Element OwnerAtSource urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtDestination 1 1 rim-ObjectRefType Element OwnerAtDestination urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RemoveObjectsRequestType RemoveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 deletionScope 0 1 rim-ReferenceURI Attribute deletionScope SubmitObjectsRequestType SubmitObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UndeprecateObjectsRequestType UndeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UpdateObjectsRequestType UpdateObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 mpq FindDocumentsForMultiplePatients TemplateSpec FindDocumentsForMultiplePatients urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f rim-AdhocQueryType constraintITI51_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI51_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR constraint_requiredSlot At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' ) )->size()>0 ERROR FindFoldersForMultiplePatients TemplateSpec FindFoldersForMultiplePatients urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df rim-AdhocQueryType constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI51_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI51_XDSFolderStatus_required $XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR constraint_codeList CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderCodeList' )->size()>0 ERROR AdhocMPQSpec ConstraintsSpec AdhocMPQSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f' or self.id='urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df' ) ERROR rimihe Author_XDSDocumentEntry TemplateSpec Author_XDSDocumentEntry urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorPerson')->size()=1 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorPerson authorPerson is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorInstitution_XON AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structureif present (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson') )->forAll(sl : SlotType1 | sl.valueList.value->forAll(val : String | sl.isXCN(val) ) ) ERROR PatientId_XDSDocumentEntry TemplateSpec PatientId_XDSDocumentEntry urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 rim-ExternalIdentifierType constraintPatientId_value_notNull the value of patientId must no be null (not self.value.oclIsUndefined() ) and (not (self.value='')) ERROR constraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR XDSDocumentEntry TemplateSpec XDSDocumentEntry urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintAvailabilityStatus If status declared, XDSDocumentEntry must have the status Approved or Deprecated (urn:oasis:names:tc:ebxml-regrep:StatusType:Approved or urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated) (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.status.oclIsUndefined() or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated') ERROR constraintAuthorRequired Author is required on XDSDocumentEntry if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0 WARNING constraintClassCodeRequired classCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()>0 ERROR constraintConfidentialityCodeRequired confidentialityCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0 ERROR constraintCreationTime_unique creationTime is required and must be unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->size() = 1) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ) ERROR constraintEntryUUID_required entryUUID required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.id.oclIsUndefined() ) and (not (self.id='')) ERROR constraint_FormatCode_unique_and_required the formatCode is required and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 ERROR constraintHash_singleValue If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->size()<2) ERROR constraint_HealthCareFacilityTypeCode_unique_and_required healthCareFacilityTypeCode is required and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraintLanguageCode languageCode is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->size() = 1 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintLegalAuthenticator_unique if present on XDSDocumentEntry, legalAuthenticator shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()<2) ERROR constraintMimeType_required mimeType is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR constraintPatientId_required PatientId is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'))->size()=1 ERROR constraintRepositoryUniqueId repositoryUniqueId have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime serviceStartTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime_requiredIfKnown serviceStartTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() > 0) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0)) WARNING constraintServiceStopTime serviceStopTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStopTime_requiredIfKnown serviceStopTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() >0) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0))) WARNING constraintSize If present, size shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintSourcePatientId sourcePatientId is required, and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() = 1) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintSourcePatientInfo sourcePatientInfo shall have a single value, a single sourcePatientInfo may be present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->size() < 2) and self.slot->select(sl : SlotType1 | sl.name = 'sourcePatientInfo')->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintTitle if present, the title shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.name.oclIsUndefined() or (self.name.localizedString->size() = 1) ERROR constraintTypeCode_required typeCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'))->size()=1 ERROR constraintUniqueId uniqueId is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'))->size()=1 ERROR constraintURI URI shall have a single value if present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) ) ERROR constraintAllowedSlot allowed slot on XDSDocumentEntry are creationTime,hash, languageCode, legalAuthenticator,repositoryUniqueId, serviceStartTime, serviceStopTime, size, sourcePatientId, sourcePatientInfo, URI self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name='creationTime') or (sl.name='hash') or (sl.name='languageCode') or (sl.name='legalAuthenticator') or (sl.name='repositoryUniqueId') or (sl.name='serviceStartTime') or (sl.name='serviceStopTime') or (sl.name='size') or (sl.name='sourcePatientId') or (sl.name='sourcePatientInfo') or (sl.name='URI') ) ) ERROR constraintCreationTime_DTM creationTime must have DTM structure if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.isDTM(sl.valueList.value->first()) ) ERROR constraintHASH_SHA1 hash metadata must have SHA1 structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isSHA1(val)) ) ERROR constraintHomeCommunityId_OID homeCommunityId must have an OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.home.oclIsUndefined() or self.isOID(self.home) ERROR constraintLegalAuthenticator_XCN legalAuthenticator must have the structure XCN if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->forAll(val : String | sl.isXCN(val))) ) ERROR constraintServiceStartTime_DTM serviceStartTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintServiceStopTime_DTM serviceStopTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintSize_Integer size metadata must be an integer (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.matches(val, '[0-9]*')) ) ERROR constraintSourcePatientId_CX sourcePatientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isCX_XDS(val)) ) ERROR ClassCode_XDSDocumentEntry TemplateSpec ClassCode_XDSDocumentEntry urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a rim-ClassificationType constraintClassCodeDisplayName The classCode displayName is required, and must have a single value for the current classCode not self.name.oclIsUndefined() and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR ConfidentialityCode_XDSDocumentEntry TemplateSpec ConfidentialityCode_XDSDocumentEntry urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f rim-ClassificationType constraintConfidentialityCodeMultivalued confidentialityCode shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size()>0) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()>0) ) ERROR constraintCheckSlot slot of confidentialityCode must be codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme') ERROR EventCodeList_XDSDocumentEntry TemplateSpec EventCodeList_XDSDocumentEntry urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4 rim-ClassificationType constraintEventCodeList_multiplevalue eventCodeList if present, shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size() > 0) and ( self.slot->select( (not valueList.oclIsUndefined()) and (not valueList.value->isEmpty()))->size()>0 ) ERROR constraintEventCodeList_diplayName EventCodeList display name shall have a single value corresponding to each value in eventCodeList (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() > 0) ERROR constraintEventCodeList_structure EventCodeList structure : name of slot : codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'codingScheme')) ERROR FormatCode_XDSDocumentEntry TemplateSpec FormatCode_XDSDocumentEntry urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d rim-ClassificationType constraintFormatCode_nameNotNull The name is not null (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->select(ls : LocalizedStringType | (not ls.value.oclIsUndefined()) and (not (ls.value='')))->size()>0) ERROR constraintFormatCode_unique FormatCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.slot->isEmpty()) and (self.slot->size() = 1) and (self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintFormatCode_displayNameRequired The displayName of formatCode is required, shall have a single value (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR HealthCareFacilityTypeCode_XDSDocumentEntry TemplateSpec HealthCareFacilityTypeCode_XDSDocumentEntry urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 rim-ClassificationType constraintHealthCareFacilityTypeCode_Unique healthCareFacilityTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraintHealthCareFacilityTypeCode_displayName DisplayName of HealthCareFacilityTypeCode is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR PracticeSettingCode_XDSDocumentEntry TemplateSpec PracticeSettingCode_XDSDocumentEntry urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead rim-ClassificationType constraintPracticeSettingCode_unique PracticeSettingCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and (self.slot->forAll(sl :SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintPracticeSettingCode_displayName the displayName of PracticeSettingCode is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first().value='')) ERROR TypeCode_XDSDocumentEntry TemplateSpec TypeCode_XDSDocumentEntry urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 rim-ClassificationType constraintTypeCode_singleValue TypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraint_typeCode_displayName typeCode displayName is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR UniqueId_XDSDocumentEntry TemplateSpec UniqueId_XDSDocumentEntry urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab rim-ExternalIdentifierType constraintUniqueId if present, URI shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR Author_SubmissionSet TemplateSpec Author_SubmissionSet urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()<2 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->size()>0 WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole'))->size()>0 WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpecialty'))->size()>0 WARNING constraintAuthorInstitution_XON authorInstitution must have XON structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXON(val)) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXCN(val)) ) ERROR XDSSubmissionSetConstraints ConstraintsSpec XDSSubmissionSetConstraints rim-RegistryObjectListType constraintAvailabilityStatus status of a SubmissionSet shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintAuthorSubmissionSet_required_ifKnown The author is required on SubmissionSet if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d') )->size() > 0 ) WARNING constraintContentTypeCode_required contentTypeCode required and unique on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'))->size() = 1 ) ERROR constraintEntryUUID_required entryUUID is required on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintIntendedRecipient intendedRecipient shall have one or more values if present on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | sl.name='intendedRecipient')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) )) ERROR constraintPatientId patientId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))->size() = 1 ) ERROR constraintSourceId sourceId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionTime submissionTime is required and shall have a singleValue on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->size() = 1) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) )) ) ERROR constraintUniqueId uniqueId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionSet_allowed_slot allowed slot on submissionSet are only submissionTime, others are extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->size() = 1) and (rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))) ) WARNING constraintSubmissionSet_allowed_classification allowed classification on submissionSet are only author and contentTypeCode (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d' or cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500') ) ERROR constraintSubmissionSet_allowed_externalIdentifier allowed externalIdentifier on submissionSet are only patientId, sourceId, and uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ( ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446' or ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832' or ext.identificationScheme='urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8' ) ) ) ERROR constraintSubmissionTime_DTM submissionTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR constraintHomeCommunity_id homeCommunityId shoud have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR ContentTypeCode_XDSSubmissionSet TemplateSpec ContentTypeCode_XDSSubmissionSet urn:uuid:aa543740-bdda-424e-8c96-df4873be8500 rim-ClassificationType constraintContentTypeCode_singleValue ContentTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()=1 and self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) ERROR constraintContentTypeCode_displayName ContentTypeCode displayName is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FTTable 4.1-6) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() =1) and (not (self.name.localizedString->first()='')) ERROR PatientId_SubmissionSet TemplateSpec PatientId_SubmissionSet urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446 rim-ExternalIdentifierType constraintPatientId_SubmissionSet_singleValue XDSSubmissionSet.patientId shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR nconstraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR SourceId_SubmissionSet TemplateSpec SourceId_SubmissionSet urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 rim-ExternalIdentifierType constraintSourceId_SubmissionSet_singleValue XDSSubmissionSet.sourceId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintSourceId_OID sourceId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR UniqueId_SubmissionSet TemplateSpec UniqueId_SubmissionSet urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 rim-ExternalIdentifierType constraintUniqueId_SubmissionSet XDSSubmissionSet.uniqueId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR XDSFolderConstraints ConstraintsSpec XDSFolderConstraints rim-RegistryObjectListType constraintXDSFolder_status status of XDSFolder shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintXDSFolder_codeList_required codeList of XDSFolder is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5')->size()>0 ) ERROR constraintXDSFolder_entryUUID EntryUUID is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintXDSFolder_lastUpdateTime if XDSFolder present, lastUpdateTime shall have a single value if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->size()=1) ) WARNING constraintXDSFolder_patientId_required_and_unique the patientId of an XDSFolder is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'))->size() = 1 ) ERROR constraintXDSFolder_uniqueId_required_and_unique the uniqueId of XDSFolder is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'))->size()=1 ) ERROR constraintXDSFolder_allowed_slot allowed Slot on XDSFolder is only lastUpdateTime, otherwise it's an extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->size()=1 and rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='lastUpdateTime') ) WARNING constraintXDSFolder_allowed_Classification Allowed Classification on XDSFolder is only CodeList (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | (cl.classificationScheme.oclIsUndefined()) or cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5') ) ERROR constraintXDSFolder_allowed_ExternalIdentifier Allowed Classification on XDSFolder are only XDSFolder.patientId and XDSFolder.uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a' or ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')) ) ERROR constraintHomeComunityId_OID homeCommunityId must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR constraintLastUpdateTime_DTM lastUpdateTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR CodeList_XDSFolder TemplateSpec CodeList_XDSFolder urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5 rim-ClassificationType constraintCodeList_multipleValue codeList of XDSFolder shall have on or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) ERROR constraintCodeList_displayName_required the displayName of CodeList is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) ERROR PatientId_XDSFolder TemplateSpec PatientId_XDSFolder urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a rim-ExternalIdentifierType constraintPatientId_singleValue PatientId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintPatientId_CX patientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR UniqueId_XDSFolder TemplateSpec UniqueId_XDSFolder urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a rim-ExternalIdentifierType constraintUniqueId_singleValue UniqueId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isOID(self.value) ERROR StringMatcher StringMatcher isDTM Boolean value UMLPrimitiveTypes-String CSPutResp CSPutRespSpec ConstraintsSpec CSPutRespSpec rs-RegistryResponseType constraint_allowed_status status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR constraint_warning_vs_success if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5) self.status.oclIsUndefined() or (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ERROR CSPutRegSpec ConstraintsSpec CSPutRegSpec rs-RegistryErrorType constraint_severity severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.severity.oclIsUndefined()) and ( (self.errorCode='2201' and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ) ERROR constraint_allowed_errorCode errorCodes allowed are those defined on IHE, and 4705, 4702, 4706, 4701 (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4705' and self.codeContext='Policy Violation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4706' and self.codeContext='Unknown policy') or (self.errorCode='4701' and self.codeContext='No consent') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSDiscResp CSDiscRespSpec ConstraintsSpec CSDiscRespSpec rs-RegistryResponseType constraint_status_required status required (WP34_D342_V2.2 3.6.2.5) not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5) self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR CSDiscRegErrSpec ConstraintsSpec CSDiscRegErrSpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5) (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='4109' and self.codeContext='Deprecation rejected') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR constraint_failure_location A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5) self.location.oclIsUndefined() ERROR rim ActionType ActionType AdhocQueryType AdhocQueryType rim-RegistryObjectType queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObjectType RegistryObjectType rim-IdentifiableType name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 versionInfo 0 1 rim-VersionInfoType Element VersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 lid 0 1 UMLPrimitiveTypes-String Attribute lid objectType 0 1 rim-ReferenceURI Attribute objectType status 0 1 rim-ReferenceURI Attribute status IdentifiableType IdentifiableType common-StringMatcher slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 home 0 1 UMLPrimitiveTypes-String Attribute home id 1 1 UMLPrimitiveTypes-String Attribute id SlotType1 SlotType1 common-StringMatcher valueList 1 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 1 1 UMLPrimitiveTypes-String Attribute name slotType 0 1 UMLPrimitiveTypes-String Attribute slotType ValueListType ValueListType value 0 -1 UMLPrimitiveTypes-String Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 InternationalStringType InternationalStringType localizedString 0 -1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 LocalizedStringType LocalizedStringType charset 0 1 UMLPrimitiveTypes-String Attribute charset lang 0 1 UMLPrimitiveTypes-String Attribute lang http://www.w3.org/XML/1998/namespace value 1 1 UMLPrimitiveTypes-String Attribute value VersionInfoType VersionInfoType comment 0 1 UMLPrimitiveTypes-String Attribute comment versionName 0 1 rim-String16 Attribute versionName ClassificationType ClassificationType rim-RegistryObjectType classificationNode 0 1 UMLPrimitiveTypes-String Attribute classificationNode classificationScheme 0 1 UMLPrimitiveTypes-String Attribute classificationScheme classifiedObject 1 1 UMLPrimitiveTypes-String Attribute classifiedObject nodeRepresentation 0 1 UMLPrimitiveTypes-String Attribute nodeRepresentation ExternalIdentifierType ExternalIdentifierType rim-RegistryObjectType identificationScheme 1 1 rim-ReferenceURI Attribute identificationScheme registryObject 1 1 rim-ReferenceURI Attribute registryObject value 1 1 UMLPrimitiveTypes-String Attribute value QueryExpressionType QueryExpressionType mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed any 0 1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard any queryLanguage 1 1 rim-ReferenceURI Attribute queryLanguage AssociationType1 AssociationType1 rim-RegistryObjectType constraintAssociation_allowed_types allowed types on Associations are HasMember, urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember, urn:ihe:iti:2007:AssociationType:RPLC, urn:ihe:iti:2007:AssociationType:XFRM, urn:ihe:iti:2007:AssociationType:APND, urn:ihe:iti:2007:AssociationType:XFRM_RPLC, and urn:ihe:iti:2007:AssociationType:signs (not self.associationType.oclIsUndefined()) and ( (self.associationType = 'urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:APND') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM_RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:signs') or (self.associationType = 'HasMember') ) ERROR associationType 1 1 UMLPrimitiveTypes-String Attribute associationType sourceObject 1 1 UMLPrimitiveTypes-String Attribute sourceObject targetObject 1 1 UMLPrimitiveTypes-String Attribute targetObject AuditableEventType AuditableEventType rim-RegistryObjectType affectedObjects 1 1 rim-ObjectRefListType Element affectedObjects urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 eventType 1 1 rim-ReferenceURI Attribute eventType requestId 1 1 rim-ReferenceURI Attribute requestId timestamp 1 1 UMLPrimitiveTypes-String Attribute timestamp user 1 1 rim-ReferenceURI Attribute user ObjectRefListType ObjectRefListType group 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group group objectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRefType ObjectRefType rim-IdentifiableType createReplica 0 1 UMLPrimitiveTypes-Boolean Attribute createReplica ClassificationNodeType ClassificationNodeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 code 0 1 rim-LongName Attribute code parent 0 1 rim-ReferenceURI Attribute parent path 0 1 UMLPrimitiveTypes-String Attribute path ClassificationSchemeType ClassificationSchemeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isInternal 1 1 UMLPrimitiveTypes-Boolean Attribute isInternal nodeType 1 1 UMLPrimitiveTypes-String Attribute nodeType EmailAddressType EmailAddressType address 1 1 rim-ShortName Attribute address type 0 1 rim-String32 Attribute type ExternalLinkType ExternalLinkType rim-RegistryObjectType externalURI 1 1 UMLPrimitiveTypes-String Attribute externalURI ExtrinsicObjectType ExtrinsicObjectType rim-RegistryObjectType contentVersionInfo 0 1 rim-VersionInfoType Element ContentVersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isOpaque 0 1 UMLPrimitiveTypes-Boolean Attribute isOpaque mimeType 0 1 UMLPrimitiveTypes-String Attribute mimeType Document 0 1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 FederationType FederationType rim-RegistryObjectType replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency NotificationType NotificationType rim-RegistryObjectType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 1 1 rim-ReferenceURI Attribute subscription RegistryObjectListType RegistryObjectListType identifiableGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group identifiableGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 -1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Association 0 -1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 AuditableEvent 0 -1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationScheme 0 -1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalLink 0 -1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExtrinsicObject 0 -1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Federation 0 -1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Organization 0 -1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Person 0 -1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Registry 0 -1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObject 0 -1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackage 0 -1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Service 0 -1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ServiceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SpecificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Subscription 0 -1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 User 0 -1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 NotifyActionType NotifyActionType rim-ActionType endPoint 1 1 UMLPrimitiveTypes-String Attribute endPoint notificationOption 0 1 rim-ReferenceURI Attribute notificationOption OrganizationType OrganizationType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 parent 0 1 rim-ReferenceURI Attribute parent primaryContact 0 1 rim-ReferenceURI Attribute primaryContact PostalAddressType PostalAddressType city 0 1 rim-ShortName Attribute city country 0 1 rim-ShortName Attribute country postalCode 0 1 rim-ShortName Attribute postalCode stateOrProvince 0 1 rim-ShortName Attribute stateOrProvince street 0 1 rim-ShortName Attribute street streetNumber 0 1 rim-String32 Attribute streetNumber TelephoneNumberType TelephoneNumberType areaCode 0 1 rim-String8 Attribute areaCode countryCode 0 1 rim-String8 Attribute countryCode extension 0 1 rim-String8 Attribute extension number 0 1 rim-String16 Attribute number phoneType 0 1 rim-String32 Attribute phoneType PersonNameType PersonNameType firstName 0 1 rim-ShortName Attribute firstName lastName 0 1 rim-ShortName Attribute lastName middleName 0 1 rim-ShortName Attribute middleName PersonType PersonType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackageType RegistryPackageType rim-RegistryObjectType registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryType RegistryType rim-RegistryObjectType catalogingLatency 0 1 UMLPrimitiveTypes-String Attribute catalogingLatency conformanceProfile 0 1 rim-ConformanceProfileType Attribute conformanceProfile operator 1 1 rim-ReferenceURI Attribute operator replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency specificationVersion 1 1 UMLPrimitiveTypes-String Attribute specificationVersion ServiceBindingType ServiceBindingType rim-RegistryObjectType specificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 accessURI 0 1 UMLPrimitiveTypes-String Attribute accessURI service 1 1 rim-ReferenceURI Attribute service targetBinding 0 1 rim-ReferenceURI Attribute targetBinding SpecificationLinkType SpecificationLinkType rim-RegistryObjectType usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 -1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 1 1 rim-ReferenceURI Attribute serviceBinding specificationObject 1 1 rim-ReferenceURI Attribute specificationObject ServiceType ServiceType rim-RegistryObjectType serviceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SlotListType SlotListType slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SubscriptionType SubscriptionType rim-RegistryObjectType actionGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group actionGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 action 0 -1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 endTime 0 1 UMLPrimitiveTypes-String Attribute endTime notificationInterval 0 1 UMLPrimitiveTypes-String Attribute notificationInterval selector 1 1 rim-ReferenceURI Attribute selector startTime 0 1 UMLPrimitiveTypes-String Attribute startTime TelephoneNumberListType TelephoneNumberListType telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UserType UserType rim-PersonType DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation action 0 1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 address 0 1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObject 0 1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 association 0 1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 auditableEvent 0 1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationNode 0 1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationScheme 0 1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalLink 0 1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 extrinsicObject 0 1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federation 0 1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 internationalString 0 1 rim-InternationalStringType Element InternationalString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 localizedString 0 1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notification 0 1 rim-NotificationType Element Notification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notifyAction 0 1 rim-NotifyActionType Element NotifyAction urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRef 0 1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 organization 0 1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 person 0 1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 postalAddress 0 1 rim-PostalAddressType Element PostalAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registry 0 1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryPackage 0 1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 service 0 1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 0 1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slot 0 1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slotList 0 1 rim-SlotListType Element SlotList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 specificationLink 0 1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 0 1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 user 0 1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 value 0 1 rim-LongName Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 valueList 0 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ConformanceProfileType ConformanceProfileType registryFull registryFull registryLite registryLite rsqihe RSQIHEConstraints ConstraintsSpec RSQIHEConstraints query-AdhocQueryRequestType constraintReturnType the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and (self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS) ERROR constraintQueryID QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' or self.adhocQuery.id='urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4' or self.adhocQuery.id='urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4' or self.adhocQuery.id='urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155' or self.adhocQuery.id='urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a' or self.adhocQuery.id='urn:uuid:51224314-5390-4169-9b91-b1980040715a' or self.adhocQuery.id='urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83' or self.adhocQuery.id='urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7' or self.adhocQuery.id='urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578' or self.adhocQuery.id='urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6' ) ERROR FindDocuments TemplateSpec FindDocuments urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d rim-AdhocQueryType constraintITI18_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notMultiple $XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on the TF 2a, 3.18.4.1.2.3.7.1 self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR FindSubmissionSets TemplateSpec FindSubmissionSets urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9 rim-AdhocQueryType constraintITI18_XDSSubmissionSetSourceId_notSupportAND $XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSourceId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND $XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple $XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND $XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple $XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND $XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->size()<2 ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple $XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetContentType_notSupportAND $XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetContentType' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notSupportAND $XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notMultiple $XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetPatientId_required $XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintFindSubmissionSets_allowedSlot allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetSourceId' or sl.name='$XDSSubmissionSetSubmissionTimeFrom' or sl.name='$XDSSubmissionSetSubmissionTimeTo' or sl.name='$XDSSubmissionSetAuthorPerson' or sl.name='$XDSSubmissionSetContentType' or sl.name='$XDSSubmissionSetPatientId' or sl.name='$XDSSubmissionSetStatus') ) ERROR GetSubmissionSetAndContents TemplateSpec GetSubmissionSetAndContents urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND $XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->size()<2 ERROR constraintITI18_XDSSubmissionSetEntryUUID_notMultiple $XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetUniqueId_notSupportAND $XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetUniqueId_notMultiple $XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetSubmissionSetAndContents_allowedSlot allowed metadata on GetSubmissionSetAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId') ) ERROR constraintGetSubmissionSetAndContents_requiredField Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId' ) )->size()>0 ERROR GetFolders TemplateSpec GetFolders urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFolders_allowedSlot allowed metadata on GetFolders are those on the table (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolders_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR GetAll TemplateSpec GetAll urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintITI18_patientId_notSupportAND $patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()<2 ERROR constraintITI18_patientId_notMultiple $patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_patientId_required $patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()>0 ERROR constraintGetAll_allowedSlot allowed metadata on GetAll are those on the table (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSSubmissionSetStatus' or sl.name='$XDSFolderStatus' or sl.name='$patientId' ) ) ERROR GetDocuments TemplateSpec GetDocuments urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocuments_allowedSlot allowed metadata on GetDocuments are those on the table (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetDocumentsAndAssociations TemplateSpec GetDocumentsAndAssociations urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocumentsAndAssociations_allowedSlot allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId') ) ERROR constraintGetDocumentsAndAssociations_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetFoldersForDocument TemplateSpec GetFoldersForDocument urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetFoldersForDocument_allowedSlot allowed Metadata on GetFoldersForDocument are those on the table (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetFoldersForDocument_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetSubmissionSets TemplateSpec GetSubmissionSets urn:uuid:51224314-5390-4169-9b91-b1980040715a rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetSubmissionSets_allowedSlot allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid' ) ) ERROR GetAssociations TemplateSpec GetAssociations urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetAssociations_allowedSlot allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid') ) ERROR GetFoldersAndContents TemplateSpec GetFoldersAndContents urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFoldersAndContents_allowedSlot allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolderAndContents_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR FindFolders TemplateSpec FindFolders urn:uuid:958f3006-baad-4929-a4de-ff1114824431 rim-AdhocQueryType constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI18_XDSFolderPatientId_notMultiple $XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_required $XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR GetRelatedDocuments TemplateSpec GetRelatedDocuments urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_AssociationTypes_notSupportAND $AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()<2 ERROR constraintITI18_AssociationTypes_required $AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()>0 ERROR constraintGetRelatedDocuments_allowedSlot aloowed metadata on GetRelatedDocuments are those on the tab self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' or sl.name='$AssociationTypes' ) ) ERROR constraintGetRelatedDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR CSDiscReq CSDiscReqSpec ConstraintsSpec CSDiscReqSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.6.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayRetrieveError RegistryResponseSpec6 ConstraintsSpec RegistryResponseSpec6 rs-RegistryResponseType constraintRegistryResponseStatus_CrossGatewayRetrieve accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec6 ConstraintsSpec RegistryErrorSpec6 rs-RegistryErrorType constraintRegistryError_allowedCode_CrossGatewayRetrieve allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR RegistryStoredQueryError RegistryResponseSpec3 ConstraintsSpec RegistryResponseSpec3 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec3 ConstraintsSpec RegistryErrorSpec3 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR DSDiscardResp DSDiscRespSpec ConstraintsSpec DSDiscRespSpec rs-RegistryResponseType constraint_status_required status required not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR DSDiscRESpec ConstraintsSpec DSDiscRESpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 2201 (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSPutReq CSExtrSpec TemplateSpec CSExtrSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1) (not self.mimeType.oclIsUndefined() ) and self.mimeType='text/xml' ERROR constraint_status status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57016-8' ) ERROR constraint_formatCode formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:iti:bppc-sd:2007' or cl.nodeRepresentation='urn:ihe:iti:bppc:2007' ) ) ERROR constraint_allowed_slot allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='languageCode' or sl.name='sourcePatientId') WARNING constraint_allowed_classification allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4' ) WARNING constraint_allowed_externalIdentifier allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1') WARNING constraint_eventCodeList the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1' or cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2' ) ) ERROR CSSubmitSpec ConstraintsSpec CSSubmitSpec lcm-SubmitObjectsRequestType constraint_registryObjectList_required registryObjectList_required (WP34_D342_V2.2 3.6.1.1) not self.registryObjectList.oclIsUndefined() ERROR constraint_ExtrinsicObject_single a single ExtrinsicObject element must be set on registryObjectList self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1) ERROR dds xcf XCFQueryRequest TemplateSpec XCFQueryRequest urn:uuid:f2072993-9478-41df-a603-8f016706efe8 query-AdhocQueryRequestType constraint_returnType returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR XCFAdhocQuery TemplateSpec XCFAdhocQuery urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_classCode1 $XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()>0 ERROR constraint_classCode2 $XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraint_typeCode $XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationTimeFrom1 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTimeFrom2 $XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTimeTo1 $XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_creationTimeTo2 $XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeFrom1 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTimeFrom2 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeTo1 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_startTimeTo2 $XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeFrom1 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTimeFrom2 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeTo1 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_stopTimeTo2 $XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_healthCareFacilityTypeCode $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_authorPerson $XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_formatCode $XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraint_homeCommunityId homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) (not self.home.oclIsUndefined()) and (self.home<>'') ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' ) ) ERROR XCFAdhocQuerySpec ConstraintsSpec XCFAdhocQuerySpec rim-AdhocQueryType constraint_xcf_id XCF shall have the AdhocQuery id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.id.oclIsUndefined()) and self.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR RegisterDocumentSetError RegistryResponseSpec2 ConstraintsSpec RegistryResponseSpec2 rs-RegistryResponseType constraintRegistryResponseStatus_RegisterDocumentSet accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec2 ConstraintsSpec RegistryErrorSpec2 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryDocumentSet allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') ) ERROR epsos rs RegistryErrorListType RegistryErrorList_._type registryError 1 -1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 highestSeverity 0 1 rim-ReferenceURI Attribute highestSeverity RegistryErrorType RegistryError_._type value 0 1 UMLPrimitiveTypes-String Simple value codeContext 1 1 UMLPrimitiveTypes-String Attribute codeContext errorCode 1 1 UMLPrimitiveTypes-String Attribute errorCode location 0 1 UMLPrimitiveTypes-String Attribute location severity 0 1 rim-ReferenceURI Attribute severity RegistryRequestType RegistryRequestType requestSlotList 0 1 rim-SlotListType Element RequestSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 comment 0 1 UMLPrimitiveTypes-String Attribute comment id 0 1 UMLPrimitiveTypes-String Attribute id RegistryResponseType RegistryResponseType responseSlotList 0 1 rim-SlotListType Element ResponseSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 requestId 0 1 UMLPrimitiveTypes-String Attribute requestId status 1 1 rim-ReferenceURI Attribute status DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation registryError 0 1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryRequest 0 1 rs-RegistryRequestType Element RegistryRequest urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryResponse 0 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 PSListResp AdhocRespSpec ConstraintsSpec AdhocRespSpec query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec TemplateSpec DocumentSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.3.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.3.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value='Patient Summary') ERROR constraint_VersionInfo_required VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1.1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60591-5' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) WARNING constraint_formatCode_required formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.3.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.3.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1102' and self.codeContext='No Data') or (self.errorCode='4201' and self.codeContext='Unsupported Feature') or (self.errorCode='4202' and self.codeContext='Unknown Signifier') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4204' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR PSListReq PatientServiceListSpec ConstraintsSpec PatientServiceListSpec query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec TemplateSpec QuerySpec urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryPatientId'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->size()=1 ERROR constraint_typeCode_required typeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='typeCode'))->size()=1 ERROR constraint_contentTypeCode_required contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='contentTypeCode'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '60591-5^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryTypeCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR lcm AcceptObjectsRequestType AcceptObjectsRequest_._type rs-RegistryRequestType correlationId 1 1 UMLPrimitiveTypes-String Attribute correlationId ApproveObjectsRequestType ApproveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DeprecateObjectsRequestType DeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation acceptObjectsRequest 0 1 lcm-AcceptObjectsRequestType Element AcceptObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 approveObjectsRequest 0 1 lcm-ApproveObjectsRequestType Element ApproveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 deprecateObjectsRequest 0 1 lcm-DeprecateObjectsRequestType Element DeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 relocateObjectsRequest 0 1 lcm-RelocateObjectsRequestType Element RelocateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 removeObjectsRequest 0 1 lcm-RemoveObjectsRequestType Element RemoveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 submitObjectsRequest 0 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 undeprecateObjectsRequest 0 1 lcm-UndeprecateObjectsRequestType Element UndeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 updateObjectsRequest 0 1 lcm-UpdateObjectsRequestType Element UpdateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RelocateObjectsRequestType RelocateObjectsRequest_._type rs-RegistryRequestType adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 sourceRegistry 1 1 rim-ObjectRefType Element SourceRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 destinationRegistry 1 1 rim-ObjectRefType Element DestinationRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtSource 1 1 rim-ObjectRefType Element OwnerAtSource urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtDestination 1 1 rim-ObjectRefType Element OwnerAtDestination urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RemoveObjectsRequestType RemoveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 deletionScope 0 1 rim-ReferenceURI Attribute deletionScope SubmitObjectsRequestType SubmitObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UndeprecateObjectsRequestType UndeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UpdateObjectsRequestType UpdateObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 mpq FindDocumentsForMultiplePatients TemplateSpec FindDocumentsForMultiplePatients urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f rim-AdhocQueryType constraintITI51_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI51_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR constraint_requiredSlot At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' ) )->size()>0 ERROR FindFoldersForMultiplePatients TemplateSpec FindFoldersForMultiplePatients urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df rim-AdhocQueryType constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI51_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI51_XDSFolderStatus_required $XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR constraint_codeList CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderCodeList' )->size()>0 ERROR AdhocMPQSpec ConstraintsSpec AdhocMPQSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f' or self.id='urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df' ) ERROR rimihe Author_XDSDocumentEntry TemplateSpec Author_XDSDocumentEntry urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorPerson')->size()=1 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorPerson authorPerson is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorInstitution_XON AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structureif present (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson') )->forAll(sl : SlotType1 | sl.valueList.value->forAll(val : String | sl.isXCN(val) ) ) ERROR PatientId_XDSDocumentEntry TemplateSpec PatientId_XDSDocumentEntry urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 rim-ExternalIdentifierType constraintPatientId_value_notNull the value of patientId must no be null (not self.value.oclIsUndefined() ) and (not (self.value='')) ERROR constraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR XDSDocumentEntry TemplateSpec XDSDocumentEntry urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintAvailabilityStatus If status declared, XDSDocumentEntry must have the status Approved or Deprecated (urn:oasis:names:tc:ebxml-regrep:StatusType:Approved or urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated) (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.status.oclIsUndefined() or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated') ERROR constraintAuthorRequired Author is required on XDSDocumentEntry if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0 WARNING constraintClassCodeRequired classCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()>0 ERROR constraintConfidentialityCodeRequired confidentialityCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0 ERROR constraintCreationTime_unique creationTime is required and must be unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->size() = 1) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ) ERROR constraintEntryUUID_required entryUUID required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.id.oclIsUndefined() ) and (not (self.id='')) ERROR constraint_FormatCode_unique_and_required the formatCode is required and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 ERROR constraintHash_singleValue If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->size()<2) ERROR constraint_HealthCareFacilityTypeCode_unique_and_required healthCareFacilityTypeCode is required and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraintLanguageCode languageCode is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->size() = 1 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintLegalAuthenticator_unique if present on XDSDocumentEntry, legalAuthenticator shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()<2) ERROR constraintMimeType_required mimeType is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR constraintPatientId_required PatientId is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'))->size()=1 ERROR constraintRepositoryUniqueId repositoryUniqueId have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime serviceStartTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime_requiredIfKnown serviceStartTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() > 0) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0)) WARNING constraintServiceStopTime serviceStopTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStopTime_requiredIfKnown serviceStopTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() >0) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0))) WARNING constraintSize If present, size shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintSourcePatientId sourcePatientId is required, and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() = 1) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintSourcePatientInfo sourcePatientInfo shall have a single value, a single sourcePatientInfo may be present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->size() < 2) and self.slot->select(sl : SlotType1 | sl.name = 'sourcePatientInfo')->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintTitle if present, the title shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.name.oclIsUndefined() or (self.name.localizedString->size() = 1) ERROR constraintTypeCode_required typeCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'))->size()=1 ERROR constraintUniqueId uniqueId is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'))->size()=1 ERROR constraintURI URI shall have a single value if present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) ) ERROR constraintAllowedSlot allowed slot on XDSDocumentEntry are creationTime,hash, languageCode, legalAuthenticator,repositoryUniqueId, serviceStartTime, serviceStopTime, size, sourcePatientId, sourcePatientInfo, URI self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name='creationTime') or (sl.name='hash') or (sl.name='languageCode') or (sl.name='legalAuthenticator') or (sl.name='repositoryUniqueId') or (sl.name='serviceStartTime') or (sl.name='serviceStopTime') or (sl.name='size') or (sl.name='sourcePatientId') or (sl.name='sourcePatientInfo') or (sl.name='URI') ) ) ERROR constraintCreationTime_DTM creationTime must have DTM structure if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.isDTM(sl.valueList.value->first()) ) ERROR constraintHASH_SHA1 hash metadata must have SHA1 structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isSHA1(val)) ) ERROR constraintHomeCommunityId_OID homeCommunityId must have an OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.home.oclIsUndefined() or self.isOID(self.home) ERROR constraintLegalAuthenticator_XCN legalAuthenticator must have the structure XCN if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->forAll(val : String | sl.isXCN(val))) ) ERROR constraintServiceStartTime_DTM serviceStartTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintServiceStopTime_DTM serviceStopTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintSize_Integer size metadata must be an integer (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.matches(val, '[0-9]*')) ) ERROR constraintSourcePatientId_CX sourcePatientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isCX_XDS(val)) ) ERROR ClassCode_XDSDocumentEntry TemplateSpec ClassCode_XDSDocumentEntry urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a rim-ClassificationType constraintClassCodeDisplayName The classCode displayName is required, and must have a single value for the current classCode not self.name.oclIsUndefined() and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR ConfidentialityCode_XDSDocumentEntry TemplateSpec ConfidentialityCode_XDSDocumentEntry urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f rim-ClassificationType constraintConfidentialityCodeMultivalued confidentialityCode shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size()>0) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()>0) ) ERROR constraintCheckSlot slot of confidentialityCode must be codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme') ERROR EventCodeList_XDSDocumentEntry TemplateSpec EventCodeList_XDSDocumentEntry urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4 rim-ClassificationType constraintEventCodeList_multiplevalue eventCodeList if present, shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size() > 0) and ( self.slot->select( (not valueList.oclIsUndefined()) and (not valueList.value->isEmpty()))->size()>0 ) ERROR constraintEventCodeList_diplayName EventCodeList display name shall have a single value corresponding to each value in eventCodeList (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() > 0) ERROR constraintEventCodeList_structure EventCodeList structure : name of slot : codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'codingScheme')) ERROR FormatCode_XDSDocumentEntry TemplateSpec FormatCode_XDSDocumentEntry urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d rim-ClassificationType constraintFormatCode_nameNotNull The name is not null (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->select(ls : LocalizedStringType | (not ls.value.oclIsUndefined()) and (not (ls.value='')))->size()>0) ERROR constraintFormatCode_unique FormatCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.slot->isEmpty()) and (self.slot->size() = 1) and (self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintFormatCode_displayNameRequired The displayName of formatCode is required, shall have a single value (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR HealthCareFacilityTypeCode_XDSDocumentEntry TemplateSpec HealthCareFacilityTypeCode_XDSDocumentEntry urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 rim-ClassificationType constraintHealthCareFacilityTypeCode_Unique healthCareFacilityTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraintHealthCareFacilityTypeCode_displayName DisplayName of HealthCareFacilityTypeCode is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR PracticeSettingCode_XDSDocumentEntry TemplateSpec PracticeSettingCode_XDSDocumentEntry urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead rim-ClassificationType constraintPracticeSettingCode_unique PracticeSettingCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and (self.slot->forAll(sl :SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintPracticeSettingCode_displayName the displayName of PracticeSettingCode is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first().value='')) ERROR TypeCode_XDSDocumentEntry TemplateSpec TypeCode_XDSDocumentEntry urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 rim-ClassificationType constraintTypeCode_singleValue TypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraint_typeCode_displayName typeCode displayName is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR UniqueId_XDSDocumentEntry TemplateSpec UniqueId_XDSDocumentEntry urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab rim-ExternalIdentifierType constraintUniqueId if present, URI shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR Author_SubmissionSet TemplateSpec Author_SubmissionSet urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()<2 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->size()>0 WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole'))->size()>0 WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpecialty'))->size()>0 WARNING constraintAuthorInstitution_XON authorInstitution must have XON structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXON(val)) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXCN(val)) ) ERROR XDSSubmissionSetConstraints ConstraintsSpec XDSSubmissionSetConstraints rim-RegistryObjectListType constraintAvailabilityStatus status of a SubmissionSet shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintAuthorSubmissionSet_required_ifKnown The author is required on SubmissionSet if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d') )->size() > 0 ) WARNING constraintContentTypeCode_required contentTypeCode required and unique on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'))->size() = 1 ) ERROR constraintEntryUUID_required entryUUID is required on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintIntendedRecipient intendedRecipient shall have one or more values if present on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | sl.name='intendedRecipient')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) )) ERROR constraintPatientId patientId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))->size() = 1 ) ERROR constraintSourceId sourceId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionTime submissionTime is required and shall have a singleValue on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->size() = 1) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) )) ) ERROR constraintUniqueId uniqueId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionSet_allowed_slot allowed slot on submissionSet are only submissionTime, others are extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->size() = 1) and (rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))) ) WARNING constraintSubmissionSet_allowed_classification allowed classification on submissionSet are only author and contentTypeCode (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d' or cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500') ) ERROR constraintSubmissionSet_allowed_externalIdentifier allowed externalIdentifier on submissionSet are only patientId, sourceId, and uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ( ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446' or ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832' or ext.identificationScheme='urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8' ) ) ) ERROR constraintSubmissionTime_DTM submissionTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR constraintHomeCommunity_id homeCommunityId shoud have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR ContentTypeCode_XDSSubmissionSet TemplateSpec ContentTypeCode_XDSSubmissionSet urn:uuid:aa543740-bdda-424e-8c96-df4873be8500 rim-ClassificationType constraintContentTypeCode_singleValue ContentTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()=1 and self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) ERROR constraintContentTypeCode_displayName ContentTypeCode displayName is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FTTable 4.1-6) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() =1) and (not (self.name.localizedString->first()='')) ERROR PatientId_SubmissionSet TemplateSpec PatientId_SubmissionSet urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446 rim-ExternalIdentifierType constraintPatientId_SubmissionSet_singleValue XDSSubmissionSet.patientId shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR nconstraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR SourceId_SubmissionSet TemplateSpec SourceId_SubmissionSet urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 rim-ExternalIdentifierType constraintSourceId_SubmissionSet_singleValue XDSSubmissionSet.sourceId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintSourceId_OID sourceId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR UniqueId_SubmissionSet TemplateSpec UniqueId_SubmissionSet urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 rim-ExternalIdentifierType constraintUniqueId_SubmissionSet XDSSubmissionSet.uniqueId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR XDSFolderConstraints ConstraintsSpec XDSFolderConstraints rim-RegistryObjectListType constraintXDSFolder_status status of XDSFolder shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintXDSFolder_codeList_required codeList of XDSFolder is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5')->size()>0 ) ERROR constraintXDSFolder_entryUUID EntryUUID is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintXDSFolder_lastUpdateTime if XDSFolder present, lastUpdateTime shall have a single value if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->size()=1) ) WARNING constraintXDSFolder_patientId_required_and_unique the patientId of an XDSFolder is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'))->size() = 1 ) ERROR constraintXDSFolder_uniqueId_required_and_unique the uniqueId of XDSFolder is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'))->size()=1 ) ERROR constraintXDSFolder_allowed_slot allowed Slot on XDSFolder is only lastUpdateTime, otherwise it's an extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->size()=1 and rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='lastUpdateTime') ) WARNING constraintXDSFolder_allowed_Classification Allowed Classification on XDSFolder is only CodeList (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | (cl.classificationScheme.oclIsUndefined()) or cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5') ) ERROR constraintXDSFolder_allowed_ExternalIdentifier Allowed Classification on XDSFolder are only XDSFolder.patientId and XDSFolder.uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a' or ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')) ) ERROR constraintHomeComunityId_OID homeCommunityId must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR constraintLastUpdateTime_DTM lastUpdateTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR CodeList_XDSFolder TemplateSpec CodeList_XDSFolder urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5 rim-ClassificationType constraintCodeList_multipleValue codeList of XDSFolder shall have on or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) ERROR constraintCodeList_displayName_required the displayName of CodeList is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) ERROR PatientId_XDSFolder TemplateSpec PatientId_XDSFolder urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a rim-ExternalIdentifierType constraintPatientId_singleValue PatientId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintPatientId_CX patientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR UniqueId_XDSFolder TemplateSpec UniqueId_XDSFolder urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a rim-ExternalIdentifierType constraintUniqueId_singleValue UniqueId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isOID(self.value) ERROR StringMatcher StringMatcher isDTM Boolean value UMLPrimitiveTypes-String CSPutResp CSPutRespSpec ConstraintsSpec CSPutRespSpec rs-RegistryResponseType constraint_allowed_status status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR constraint_warning_vs_success if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5) self.status.oclIsUndefined() or (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ERROR CSPutRegSpec ConstraintsSpec CSPutRegSpec rs-RegistryErrorType constraint_severity severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.severity.oclIsUndefined()) and ( (self.errorCode='2201' and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ) ERROR constraint_allowed_errorCode errorCodes allowed are those defined on IHE, and 4705, 4702, 4706, 4701 (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4705' and self.codeContext='Policy Violation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4706' and self.codeContext='Unknown policy') or (self.errorCode='4701' and self.codeContext='No consent') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSDiscResp CSDiscRespSpec ConstraintsSpec CSDiscRespSpec rs-RegistryResponseType constraint_status_required status required (WP34_D342_V2.2 3.6.2.5) not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5) self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR CSDiscRegErrSpec ConstraintsSpec CSDiscRegErrSpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5) (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='4109' and self.codeContext='Deprecation rejected') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR constraint_failure_location A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5) self.location.oclIsUndefined() ERROR rim ActionType ActionType AdhocQueryType AdhocQueryType rim-RegistryObjectType queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObjectType RegistryObjectType rim-IdentifiableType name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 versionInfo 0 1 rim-VersionInfoType Element VersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 lid 0 1 UMLPrimitiveTypes-String Attribute lid objectType 0 1 rim-ReferenceURI Attribute objectType status 0 1 rim-ReferenceURI Attribute status IdentifiableType IdentifiableType common-StringMatcher slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 home 0 1 UMLPrimitiveTypes-String Attribute home id 1 1 UMLPrimitiveTypes-String Attribute id SlotType1 SlotType1 common-StringMatcher valueList 1 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 1 1 UMLPrimitiveTypes-String Attribute name slotType 0 1 UMLPrimitiveTypes-String Attribute slotType ValueListType ValueListType value 0 -1 UMLPrimitiveTypes-String Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 InternationalStringType InternationalStringType localizedString 0 -1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 LocalizedStringType LocalizedStringType charset 0 1 UMLPrimitiveTypes-String Attribute charset lang 0 1 UMLPrimitiveTypes-String Attribute lang http://www.w3.org/XML/1998/namespace value 1 1 UMLPrimitiveTypes-String Attribute value VersionInfoType VersionInfoType comment 0 1 UMLPrimitiveTypes-String Attribute comment versionName 0 1 rim-String16 Attribute versionName ClassificationType ClassificationType rim-RegistryObjectType classificationNode 0 1 UMLPrimitiveTypes-String Attribute classificationNode classificationScheme 0 1 UMLPrimitiveTypes-String Attribute classificationScheme classifiedObject 1 1 UMLPrimitiveTypes-String Attribute classifiedObject nodeRepresentation 0 1 UMLPrimitiveTypes-String Attribute nodeRepresentation ExternalIdentifierType ExternalIdentifierType rim-RegistryObjectType identificationScheme 1 1 rim-ReferenceURI Attribute identificationScheme registryObject 1 1 rim-ReferenceURI Attribute registryObject value 1 1 UMLPrimitiveTypes-String Attribute value QueryExpressionType QueryExpressionType mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed any 0 1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard any queryLanguage 1 1 rim-ReferenceURI Attribute queryLanguage AssociationType1 AssociationType1 rim-RegistryObjectType constraintAssociation_allowed_types allowed types on Associations are HasMember, urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember, urn:ihe:iti:2007:AssociationType:RPLC, urn:ihe:iti:2007:AssociationType:XFRM, urn:ihe:iti:2007:AssociationType:APND, urn:ihe:iti:2007:AssociationType:XFRM_RPLC, and urn:ihe:iti:2007:AssociationType:signs (not self.associationType.oclIsUndefined()) and ( (self.associationType = 'urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:APND') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM_RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:signs') or (self.associationType = 'HasMember') ) ERROR associationType 1 1 UMLPrimitiveTypes-String Attribute associationType sourceObject 1 1 UMLPrimitiveTypes-String Attribute sourceObject targetObject 1 1 UMLPrimitiveTypes-String Attribute targetObject AuditableEventType AuditableEventType rim-RegistryObjectType affectedObjects 1 1 rim-ObjectRefListType Element affectedObjects urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 eventType 1 1 rim-ReferenceURI Attribute eventType requestId 1 1 rim-ReferenceURI Attribute requestId timestamp 1 1 UMLPrimitiveTypes-String Attribute timestamp user 1 1 rim-ReferenceURI Attribute user ObjectRefListType ObjectRefListType group 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group group objectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRefType ObjectRefType rim-IdentifiableType createReplica 0 1 UMLPrimitiveTypes-Boolean Attribute createReplica ClassificationNodeType ClassificationNodeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 code 0 1 rim-LongName Attribute code parent 0 1 rim-ReferenceURI Attribute parent path 0 1 UMLPrimitiveTypes-String Attribute path ClassificationSchemeType ClassificationSchemeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isInternal 1 1 UMLPrimitiveTypes-Boolean Attribute isInternal nodeType 1 1 UMLPrimitiveTypes-String Attribute nodeType EmailAddressType EmailAddressType address 1 1 rim-ShortName Attribute address type 0 1 rim-String32 Attribute type ExternalLinkType ExternalLinkType rim-RegistryObjectType externalURI 1 1 UMLPrimitiveTypes-String Attribute externalURI ExtrinsicObjectType ExtrinsicObjectType rim-RegistryObjectType contentVersionInfo 0 1 rim-VersionInfoType Element ContentVersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isOpaque 0 1 UMLPrimitiveTypes-Boolean Attribute isOpaque mimeType 0 1 UMLPrimitiveTypes-String Attribute mimeType Document 0 1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 FederationType FederationType rim-RegistryObjectType replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency NotificationType NotificationType rim-RegistryObjectType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 1 1 rim-ReferenceURI Attribute subscription RegistryObjectListType RegistryObjectListType identifiableGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group identifiableGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 -1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Association 0 -1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 AuditableEvent 0 -1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationScheme 0 -1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalLink 0 -1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExtrinsicObject 0 -1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Federation 0 -1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Organization 0 -1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Person 0 -1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Registry 0 -1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObject 0 -1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackage 0 -1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Service 0 -1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ServiceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SpecificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Subscription 0 -1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 User 0 -1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 NotifyActionType NotifyActionType rim-ActionType endPoint 1 1 UMLPrimitiveTypes-String Attribute endPoint notificationOption 0 1 rim-ReferenceURI Attribute notificationOption OrganizationType OrganizationType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 parent 0 1 rim-ReferenceURI Attribute parent primaryContact 0 1 rim-ReferenceURI Attribute primaryContact PostalAddressType PostalAddressType city 0 1 rim-ShortName Attribute city country 0 1 rim-ShortName Attribute country postalCode 0 1 rim-ShortName Attribute postalCode stateOrProvince 0 1 rim-ShortName Attribute stateOrProvince street 0 1 rim-ShortName Attribute street streetNumber 0 1 rim-String32 Attribute streetNumber TelephoneNumberType TelephoneNumberType areaCode 0 1 rim-String8 Attribute areaCode countryCode 0 1 rim-String8 Attribute countryCode extension 0 1 rim-String8 Attribute extension number 0 1 rim-String16 Attribute number phoneType 0 1 rim-String32 Attribute phoneType PersonNameType PersonNameType firstName 0 1 rim-ShortName Attribute firstName lastName 0 1 rim-ShortName Attribute lastName middleName 0 1 rim-ShortName Attribute middleName PersonType PersonType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackageType RegistryPackageType rim-RegistryObjectType registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryType RegistryType rim-RegistryObjectType catalogingLatency 0 1 UMLPrimitiveTypes-String Attribute catalogingLatency conformanceProfile 0 1 rim-ConformanceProfileType Attribute conformanceProfile operator 1 1 rim-ReferenceURI Attribute operator replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency specificationVersion 1 1 UMLPrimitiveTypes-String Attribute specificationVersion ServiceBindingType ServiceBindingType rim-RegistryObjectType specificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 accessURI 0 1 UMLPrimitiveTypes-String Attribute accessURI service 1 1 rim-ReferenceURI Attribute service targetBinding 0 1 rim-ReferenceURI Attribute targetBinding SpecificationLinkType SpecificationLinkType rim-RegistryObjectType usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 -1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 1 1 rim-ReferenceURI Attribute serviceBinding specificationObject 1 1 rim-ReferenceURI Attribute specificationObject ServiceType ServiceType rim-RegistryObjectType serviceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SlotListType SlotListType slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SubscriptionType SubscriptionType rim-RegistryObjectType actionGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group actionGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 action 0 -1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 endTime 0 1 UMLPrimitiveTypes-String Attribute endTime notificationInterval 0 1 UMLPrimitiveTypes-String Attribute notificationInterval selector 1 1 rim-ReferenceURI Attribute selector startTime 0 1 UMLPrimitiveTypes-String Attribute startTime TelephoneNumberListType TelephoneNumberListType telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UserType UserType rim-PersonType DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation action 0 1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 address 0 1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObject 0 1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 association 0 1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 auditableEvent 0 1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationNode 0 1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationScheme 0 1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalLink 0 1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 extrinsicObject 0 1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federation 0 1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 internationalString 0 1 rim-InternationalStringType Element InternationalString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 localizedString 0 1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notification 0 1 rim-NotificationType Element Notification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notifyAction 0 1 rim-NotifyActionType Element NotifyAction urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRef 0 1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 organization 0 1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 person 0 1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 postalAddress 0 1 rim-PostalAddressType Element PostalAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registry 0 1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryPackage 0 1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 service 0 1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 0 1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slot 0 1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slotList 0 1 rim-SlotListType Element SlotList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 specificationLink 0 1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 0 1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 user 0 1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 value 0 1 rim-LongName Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 valueList 0 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ConformanceProfileType ConformanceProfileType registryFull registryFull registryLite registryLite rsqihe RSQIHEConstraints ConstraintsSpec RSQIHEConstraints query-AdhocQueryRequestType constraintReturnType the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and (self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS) ERROR constraintQueryID QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' or self.adhocQuery.id='urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4' or self.adhocQuery.id='urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4' or self.adhocQuery.id='urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155' or self.adhocQuery.id='urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a' or self.adhocQuery.id='urn:uuid:51224314-5390-4169-9b91-b1980040715a' or self.adhocQuery.id='urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83' or self.adhocQuery.id='urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7' or self.adhocQuery.id='urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578' or self.adhocQuery.id='urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6' ) ERROR FindDocuments TemplateSpec FindDocuments urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d rim-AdhocQueryType constraintITI18_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notMultiple $XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on the TF 2a, 3.18.4.1.2.3.7.1 self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR FindSubmissionSets TemplateSpec FindSubmissionSets urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9 rim-AdhocQueryType constraintITI18_XDSSubmissionSetSourceId_notSupportAND $XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSourceId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND $XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple $XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND $XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple $XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND $XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->size()<2 ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple $XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetContentType_notSupportAND $XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetContentType' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notSupportAND $XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notMultiple $XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetPatientId_required $XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintFindSubmissionSets_allowedSlot allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetSourceId' or sl.name='$XDSSubmissionSetSubmissionTimeFrom' or sl.name='$XDSSubmissionSetSubmissionTimeTo' or sl.name='$XDSSubmissionSetAuthorPerson' or sl.name='$XDSSubmissionSetContentType' or sl.name='$XDSSubmissionSetPatientId' or sl.name='$XDSSubmissionSetStatus') ) ERROR GetSubmissionSetAndContents TemplateSpec GetSubmissionSetAndContents urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND $XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->size()<2 ERROR constraintITI18_XDSSubmissionSetEntryUUID_notMultiple $XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetUniqueId_notSupportAND $XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetUniqueId_notMultiple $XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetSubmissionSetAndContents_allowedSlot allowed metadata on GetSubmissionSetAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId') ) ERROR constraintGetSubmissionSetAndContents_requiredField Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId' ) )->size()>0 ERROR GetFolders TemplateSpec GetFolders urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFolders_allowedSlot allowed metadata on GetFolders are those on the table (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolders_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR GetAll TemplateSpec GetAll urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintITI18_patientId_notSupportAND $patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()<2 ERROR constraintITI18_patientId_notMultiple $patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_patientId_required $patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()>0 ERROR constraintGetAll_allowedSlot allowed metadata on GetAll are those on the table (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSSubmissionSetStatus' or sl.name='$XDSFolderStatus' or sl.name='$patientId' ) ) ERROR GetDocuments TemplateSpec GetDocuments urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocuments_allowedSlot allowed metadata on GetDocuments are those on the table (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetDocumentsAndAssociations TemplateSpec GetDocumentsAndAssociations urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocumentsAndAssociations_allowedSlot allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId') ) ERROR constraintGetDocumentsAndAssociations_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetFoldersForDocument TemplateSpec GetFoldersForDocument urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetFoldersForDocument_allowedSlot allowed Metadata on GetFoldersForDocument are those on the table (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetFoldersForDocument_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetSubmissionSets TemplateSpec GetSubmissionSets urn:uuid:51224314-5390-4169-9b91-b1980040715a rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetSubmissionSets_allowedSlot allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid' ) ) ERROR GetAssociations TemplateSpec GetAssociations urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetAssociations_allowedSlot allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid') ) ERROR GetFoldersAndContents TemplateSpec GetFoldersAndContents urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFoldersAndContents_allowedSlot allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolderAndContents_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR FindFolders TemplateSpec FindFolders urn:uuid:958f3006-baad-4929-a4de-ff1114824431 rim-AdhocQueryType constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI18_XDSFolderPatientId_notMultiple $XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_required $XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR GetRelatedDocuments TemplateSpec GetRelatedDocuments urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_AssociationTypes_notSupportAND $AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()<2 ERROR constraintITI18_AssociationTypes_required $AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()>0 ERROR constraintGetRelatedDocuments_allowedSlot aloowed metadata on GetRelatedDocuments are those on the tab self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' or sl.name='$AssociationTypes' ) ) ERROR constraintGetRelatedDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR CSDiscReq CSDiscReqSpec ConstraintsSpec CSDiscReqSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.6.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayRetrieveError RegistryResponseSpec6 ConstraintsSpec RegistryResponseSpec6 rs-RegistryResponseType constraintRegistryResponseStatus_CrossGatewayRetrieve accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec6 ConstraintsSpec RegistryErrorSpec6 rs-RegistryErrorType constraintRegistryError_allowedCode_CrossGatewayRetrieve allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR RegistryStoredQueryError RegistryResponseSpec3 ConstraintsSpec RegistryResponseSpec3 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec3 ConstraintsSpec RegistryErrorSpec3 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR DSDiscardResp DSDiscRespSpec ConstraintsSpec DSDiscRespSpec rs-RegistryResponseType constraint_status_required status required not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR DSDiscRESpec ConstraintsSpec DSDiscRESpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 2201 (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSPutReq CSExtrSpec TemplateSpec CSExtrSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1) (not self.mimeType.oclIsUndefined() ) and self.mimeType='text/xml' ERROR constraint_status status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57016-8' ) ERROR constraint_formatCode formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:iti:bppc-sd:2007' or cl.nodeRepresentation='urn:ihe:iti:bppc:2007' ) ) ERROR constraint_allowed_slot allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='languageCode' or sl.name='sourcePatientId') WARNING constraint_allowed_classification allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4' ) WARNING constraint_allowed_externalIdentifier allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1') WARNING constraint_eventCodeList the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1' or cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2' ) ) ERROR CSSubmitSpec ConstraintsSpec CSSubmitSpec lcm-SubmitObjectsRequestType constraint_registryObjectList_required registryObjectList_required (WP34_D342_V2.2 3.6.1.1) not self.registryObjectList.oclIsUndefined() ERROR constraint_ExtrinsicObject_single a single ExtrinsicObject element must be set on registryObjectList self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1) ERROR dds xcf XCFQueryRequest TemplateSpec XCFQueryRequest urn:uuid:f2072993-9478-41df-a603-8f016706efe8 query-AdhocQueryRequestType constraint_returnType returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR XCFAdhocQuery TemplateSpec XCFAdhocQuery urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_classCode1 $XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()>0 ERROR constraint_classCode2 $XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraint_typeCode $XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationTimeFrom1 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTimeFrom2 $XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTimeTo1 $XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_creationTimeTo2 $XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeFrom1 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTimeFrom2 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeTo1 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_startTimeTo2 $XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeFrom1 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTimeFrom2 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeTo1 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_stopTimeTo2 $XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_healthCareFacilityTypeCode $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_authorPerson $XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_formatCode $XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraint_homeCommunityId homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) (not self.home.oclIsUndefined()) and (self.home<>'') ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' ) ) ERROR XCFAdhocQuerySpec ConstraintsSpec XCFAdhocQuerySpec rim-AdhocQueryType constraint_xcf_id XCF shall have the AdhocQuery id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.id.oclIsUndefined()) and self.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR RegisterDocumentSetError RegistryResponseSpec2 ConstraintsSpec RegistryResponseSpec2 rs-RegistryResponseType constraintRegistryResponseStatus_RegisterDocumentSet accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec2 ConstraintsSpec RegistryErrorSpec2 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryDocumentSet allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') ) ERROR epsos rs RegistryErrorListType RegistryErrorList_._type registryError 1 -1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 highestSeverity 0 1 rim-ReferenceURI Attribute highestSeverity RegistryErrorType RegistryError_._type value 0 1 UMLPrimitiveTypes-String Simple value codeContext 1 1 UMLPrimitiveTypes-String Attribute codeContext errorCode 1 1 UMLPrimitiveTypes-String Attribute errorCode location 0 1 UMLPrimitiveTypes-String Attribute location severity 0 1 rim-ReferenceURI Attribute severity RegistryRequestType RegistryRequestType requestSlotList 0 1 rim-SlotListType Element RequestSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 comment 0 1 UMLPrimitiveTypes-String Attribute comment id 0 1 UMLPrimitiveTypes-String Attribute id RegistryResponseType RegistryResponseType responseSlotList 0 1 rim-SlotListType Element ResponseSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 requestId 0 1 UMLPrimitiveTypes-String Attribute requestId status 1 1 rim-ReferenceURI Attribute status DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation registryError 0 1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryRequest 0 1 rs-RegistryRequestType Element RegistryRequest urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryResponse 0 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 PSListResp AdhocRespSpec ConstraintsSpec AdhocRespSpec query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec TemplateSpec DocumentSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.3.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.3.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value='Patient Summary') ERROR constraint_VersionInfo_required VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1.1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60591-5' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) WARNING constraint_formatCode_required formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.3.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.3.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1102' and self.codeContext='No Data') or (self.errorCode='4201' and self.codeContext='Unsupported Feature') or (self.errorCode='4202' and self.codeContext='Unknown Signifier') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4204' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR PSListReq PatientServiceListSpec ConstraintsSpec PatientServiceListSpec query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec TemplateSpec QuerySpec urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryPatientId'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->size()=1 ERROR constraint_typeCode_required typeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='typeCode'))->size()=1 ERROR constraint_contentTypeCode_required contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='contentTypeCode'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '60591-5^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryTypeCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR lcm AcceptObjectsRequestType AcceptObjectsRequest_._type rs-RegistryRequestType correlationId 1 1 UMLPrimitiveTypes-String Attribute correlationId ApproveObjectsRequestType ApproveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DeprecateObjectsRequestType DeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation acceptObjectsRequest 0 1 lcm-AcceptObjectsRequestType Element AcceptObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 approveObjectsRequest 0 1 lcm-ApproveObjectsRequestType Element ApproveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 deprecateObjectsRequest 0 1 lcm-DeprecateObjectsRequestType Element DeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 relocateObjectsRequest 0 1 lcm-RelocateObjectsRequestType Element RelocateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 removeObjectsRequest 0 1 lcm-RemoveObjectsRequestType Element RemoveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 submitObjectsRequest 0 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 undeprecateObjectsRequest 0 1 lcm-UndeprecateObjectsRequestType Element UndeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 updateObjectsRequest 0 1 lcm-UpdateObjectsRequestType Element UpdateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RelocateObjectsRequestType RelocateObjectsRequest_._type rs-RegistryRequestType adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 sourceRegistry 1 1 rim-ObjectRefType Element SourceRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 destinationRegistry 1 1 rim-ObjectRefType Element DestinationRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtSource 1 1 rim-ObjectRefType Element OwnerAtSource urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtDestination 1 1 rim-ObjectRefType Element OwnerAtDestination urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RemoveObjectsRequestType RemoveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 deletionScope 0 1 rim-ReferenceURI Attribute deletionScope SubmitObjectsRequestType SubmitObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UndeprecateObjectsRequestType UndeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UpdateObjectsRequestType UpdateObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 mpq FindDocumentsForMultiplePatients TemplateSpec FindDocumentsForMultiplePatients urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f rim-AdhocQueryType constraintITI51_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI51_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR constraint_requiredSlot At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' ) )->size()>0 ERROR FindFoldersForMultiplePatients TemplateSpec FindFoldersForMultiplePatients urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df rim-AdhocQueryType constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI51_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI51_XDSFolderStatus_required $XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR constraint_codeList CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderCodeList' )->size()>0 ERROR AdhocMPQSpec ConstraintsSpec AdhocMPQSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f' or self.id='urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df' ) ERROR rimihe Author_XDSDocumentEntry TemplateSpec Author_XDSDocumentEntry urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorPerson')->size()=1 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorPerson authorPerson is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorInstitution_XON AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structureif present (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson') )->forAll(sl : SlotType1 | sl.valueList.value->forAll(val : String | sl.isXCN(val) ) ) ERROR PatientId_XDSDocumentEntry TemplateSpec PatientId_XDSDocumentEntry urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 rim-ExternalIdentifierType constraintPatientId_value_notNull the value of patientId must no be null (not self.value.oclIsUndefined() ) and (not (self.value='')) ERROR constraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR XDSDocumentEntry TemplateSpec XDSDocumentEntry urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintAvailabilityStatus If status declared, XDSDocumentEntry must have the status Approved or Deprecated (urn:oasis:names:tc:ebxml-regrep:StatusType:Approved or urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated) (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.status.oclIsUndefined() or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated') ERROR constraintAuthorRequired Author is required on XDSDocumentEntry if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0 WARNING constraintClassCodeRequired classCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()>0 ERROR constraintConfidentialityCodeRequired confidentialityCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0 ERROR constraintCreationTime_unique creationTime is required and must be unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->size() = 1) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ) ERROR constraintEntryUUID_required entryUUID required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.id.oclIsUndefined() ) and (not (self.id='')) ERROR constraint_FormatCode_unique_and_required the formatCode is required and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 ERROR constraintHash_singleValue If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->size()<2) ERROR constraint_HealthCareFacilityTypeCode_unique_and_required healthCareFacilityTypeCode is required and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraintLanguageCode languageCode is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->size() = 1 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintLegalAuthenticator_unique if present on XDSDocumentEntry, legalAuthenticator shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()<2) ERROR constraintMimeType_required mimeType is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR constraintPatientId_required PatientId is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'))->size()=1 ERROR constraintRepositoryUniqueId repositoryUniqueId have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime serviceStartTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime_requiredIfKnown serviceStartTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() > 0) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0)) WARNING constraintServiceStopTime serviceStopTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStopTime_requiredIfKnown serviceStopTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() >0) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0))) WARNING constraintSize If present, size shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintSourcePatientId sourcePatientId is required, and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() = 1) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintSourcePatientInfo sourcePatientInfo shall have a single value, a single sourcePatientInfo may be present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->size() < 2) and self.slot->select(sl : SlotType1 | sl.name = 'sourcePatientInfo')->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintTitle if present, the title shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.name.oclIsUndefined() or (self.name.localizedString->size() = 1) ERROR constraintTypeCode_required typeCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'))->size()=1 ERROR constraintUniqueId uniqueId is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'))->size()=1 ERROR constraintURI URI shall have a single value if present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) ) ERROR constraintAllowedSlot allowed slot on XDSDocumentEntry are creationTime,hash, languageCode, legalAuthenticator,repositoryUniqueId, serviceStartTime, serviceStopTime, size, sourcePatientId, sourcePatientInfo, URI self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name='creationTime') or (sl.name='hash') or (sl.name='languageCode') or (sl.name='legalAuthenticator') or (sl.name='repositoryUniqueId') or (sl.name='serviceStartTime') or (sl.name='serviceStopTime') or (sl.name='size') or (sl.name='sourcePatientId') or (sl.name='sourcePatientInfo') or (sl.name='URI') ) ) ERROR constraintCreationTime_DTM creationTime must have DTM structure if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.isDTM(sl.valueList.value->first()) ) ERROR constraintHASH_SHA1 hash metadata must have SHA1 structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isSHA1(val)) ) ERROR constraintHomeCommunityId_OID homeCommunityId must have an OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.home.oclIsUndefined() or self.isOID(self.home) ERROR constraintLegalAuthenticator_XCN legalAuthenticator must have the structure XCN if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->forAll(val : String | sl.isXCN(val))) ) ERROR constraintServiceStartTime_DTM serviceStartTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintServiceStopTime_DTM serviceStopTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintSize_Integer size metadata must be an integer (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.matches(val, '[0-9]*')) ) ERROR constraintSourcePatientId_CX sourcePatientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isCX_XDS(val)) ) ERROR ClassCode_XDSDocumentEntry TemplateSpec ClassCode_XDSDocumentEntry urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a rim-ClassificationType constraintClassCodeDisplayName The classCode displayName is required, and must have a single value for the current classCode not self.name.oclIsUndefined() and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR ConfidentialityCode_XDSDocumentEntry TemplateSpec ConfidentialityCode_XDSDocumentEntry urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f rim-ClassificationType constraintConfidentialityCodeMultivalued confidentialityCode shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size()>0) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()>0) ) ERROR constraintCheckSlot slot of confidentialityCode must be codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme') ERROR EventCodeList_XDSDocumentEntry TemplateSpec EventCodeList_XDSDocumentEntry urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4 rim-ClassificationType constraintEventCodeList_multiplevalue eventCodeList if present, shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size() > 0) and ( self.slot->select( (not valueList.oclIsUndefined()) and (not valueList.value->isEmpty()))->size()>0 ) ERROR constraintEventCodeList_diplayName EventCodeList display name shall have a single value corresponding to each value in eventCodeList (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() > 0) ERROR constraintEventCodeList_structure EventCodeList structure : name of slot : codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'codingScheme')) ERROR FormatCode_XDSDocumentEntry TemplateSpec FormatCode_XDSDocumentEntry urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d rim-ClassificationType constraintFormatCode_nameNotNull The name is not null (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->select(ls : LocalizedStringType | (not ls.value.oclIsUndefined()) and (not (ls.value='')))->size()>0) ERROR constraintFormatCode_unique FormatCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.slot->isEmpty()) and (self.slot->size() = 1) and (self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintFormatCode_displayNameRequired The displayName of formatCode is required, shall have a single value (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR HealthCareFacilityTypeCode_XDSDocumentEntry TemplateSpec HealthCareFacilityTypeCode_XDSDocumentEntry urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 rim-ClassificationType constraintHealthCareFacilityTypeCode_Unique healthCareFacilityTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraintHealthCareFacilityTypeCode_displayName DisplayName of HealthCareFacilityTypeCode is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR PracticeSettingCode_XDSDocumentEntry TemplateSpec PracticeSettingCode_XDSDocumentEntry urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead rim-ClassificationType constraintPracticeSettingCode_unique PracticeSettingCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and (self.slot->forAll(sl :SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintPracticeSettingCode_displayName the displayName of PracticeSettingCode is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first().value='')) ERROR TypeCode_XDSDocumentEntry TemplateSpec TypeCode_XDSDocumentEntry urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 rim-ClassificationType constraintTypeCode_singleValue TypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraint_typeCode_displayName typeCode displayName is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR UniqueId_XDSDocumentEntry TemplateSpec UniqueId_XDSDocumentEntry urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab rim-ExternalIdentifierType constraintUniqueId if present, URI shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR Author_SubmissionSet TemplateSpec Author_SubmissionSet urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()<2 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->size()>0 WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole'))->size()>0 WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpecialty'))->size()>0 WARNING constraintAuthorInstitution_XON authorInstitution must have XON structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXON(val)) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXCN(val)) ) ERROR XDSSubmissionSetConstraints ConstraintsSpec XDSSubmissionSetConstraints rim-RegistryObjectListType constraintAvailabilityStatus status of a SubmissionSet shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintAuthorSubmissionSet_required_ifKnown The author is required on SubmissionSet if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d') )->size() > 0 ) WARNING constraintContentTypeCode_required contentTypeCode required and unique on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'))->size() = 1 ) ERROR constraintEntryUUID_required entryUUID is required on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintIntendedRecipient intendedRecipient shall have one or more values if present on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | sl.name='intendedRecipient')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) )) ERROR constraintPatientId patientId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))->size() = 1 ) ERROR constraintSourceId sourceId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionTime submissionTime is required and shall have a singleValue on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->size() = 1) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) )) ) ERROR constraintUniqueId uniqueId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionSet_allowed_slot allowed slot on submissionSet are only submissionTime, others are extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->size() = 1) and (rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))) ) WARNING constraintSubmissionSet_allowed_classification allowed classification on submissionSet are only author and contentTypeCode (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d' or cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500') ) ERROR constraintSubmissionSet_allowed_externalIdentifier allowed externalIdentifier on submissionSet are only patientId, sourceId, and uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ( ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446' or ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832' or ext.identificationScheme='urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8' ) ) ) ERROR constraintSubmissionTime_DTM submissionTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR constraintHomeCommunity_id homeCommunityId shoud have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR ContentTypeCode_XDSSubmissionSet TemplateSpec ContentTypeCode_XDSSubmissionSet urn:uuid:aa543740-bdda-424e-8c96-df4873be8500 rim-ClassificationType constraintContentTypeCode_singleValue ContentTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()=1 and self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) ERROR constraintContentTypeCode_displayName ContentTypeCode displayName is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FTTable 4.1-6) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() =1) and (not (self.name.localizedString->first()='')) ERROR PatientId_SubmissionSet TemplateSpec PatientId_SubmissionSet urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446 rim-ExternalIdentifierType constraintPatientId_SubmissionSet_singleValue XDSSubmissionSet.patientId shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR nconstraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR SourceId_SubmissionSet TemplateSpec SourceId_SubmissionSet urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 rim-ExternalIdentifierType constraintSourceId_SubmissionSet_singleValue XDSSubmissionSet.sourceId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintSourceId_OID sourceId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR UniqueId_SubmissionSet TemplateSpec UniqueId_SubmissionSet urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 rim-ExternalIdentifierType constraintUniqueId_SubmissionSet XDSSubmissionSet.uniqueId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR XDSFolderConstraints ConstraintsSpec XDSFolderConstraints rim-RegistryObjectListType constraintXDSFolder_status status of XDSFolder shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintXDSFolder_codeList_required codeList of XDSFolder is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5')->size()>0 ) ERROR constraintXDSFolder_entryUUID EntryUUID is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintXDSFolder_lastUpdateTime if XDSFolder present, lastUpdateTime shall have a single value if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->size()=1) ) WARNING constraintXDSFolder_patientId_required_and_unique the patientId of an XDSFolder is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'))->size() = 1 ) ERROR constraintXDSFolder_uniqueId_required_and_unique the uniqueId of XDSFolder is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'))->size()=1 ) ERROR constraintXDSFolder_allowed_slot allowed Slot on XDSFolder is only lastUpdateTime, otherwise it's an extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->size()=1 and rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='lastUpdateTime') ) WARNING constraintXDSFolder_allowed_Classification Allowed Classification on XDSFolder is only CodeList (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | (cl.classificationScheme.oclIsUndefined()) or cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5') ) ERROR constraintXDSFolder_allowed_ExternalIdentifier Allowed Classification on XDSFolder are only XDSFolder.patientId and XDSFolder.uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a' or ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')) ) ERROR constraintHomeComunityId_OID homeCommunityId must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR constraintLastUpdateTime_DTM lastUpdateTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR CodeList_XDSFolder TemplateSpec CodeList_XDSFolder urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5 rim-ClassificationType constraintCodeList_multipleValue codeList of XDSFolder shall have on or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) ERROR constraintCodeList_displayName_required the displayName of CodeList is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) ERROR PatientId_XDSFolder TemplateSpec PatientId_XDSFolder urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a rim-ExternalIdentifierType constraintPatientId_singleValue PatientId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintPatientId_CX patientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR UniqueId_XDSFolder TemplateSpec UniqueId_XDSFolder urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a rim-ExternalIdentifierType constraintUniqueId_singleValue UniqueId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isOID(self.value) ERROR StringMatcher StringMatcher isDTM Boolean value UMLPrimitiveTypes-String CSPutResp CSPutRespSpec ConstraintsSpec CSPutRespSpec rs-RegistryResponseType constraint_allowed_status status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR constraint_warning_vs_success if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5) self.status.oclIsUndefined() or (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ERROR CSPutRegSpec ConstraintsSpec CSPutRegSpec rs-RegistryErrorType constraint_severity severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.severity.oclIsUndefined()) and ( (self.errorCode='2201' and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ) ERROR constraint_allowed_errorCode errorCodes allowed are those defined on IHE, and 4705, 4702, 4706, 4701 (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4705' and self.codeContext='Policy Violation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4706' and self.codeContext='Unknown policy') or (self.errorCode='4701' and self.codeContext='No consent') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSDiscResp CSDiscRespSpec ConstraintsSpec CSDiscRespSpec rs-RegistryResponseType constraint_status_required status required (WP34_D342_V2.2 3.6.2.5) not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5) self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR CSDiscRegErrSpec ConstraintsSpec CSDiscRegErrSpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5) (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='4109' and self.codeContext='Deprecation rejected') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR constraint_failure_location A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5) self.location.oclIsUndefined() ERROR rim ActionType ActionType AdhocQueryType AdhocQueryType rim-RegistryObjectType queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObjectType RegistryObjectType rim-IdentifiableType name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 versionInfo 0 1 rim-VersionInfoType Element VersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 lid 0 1 UMLPrimitiveTypes-String Attribute lid objectType 0 1 rim-ReferenceURI Attribute objectType status 0 1 rim-ReferenceURI Attribute status IdentifiableType IdentifiableType common-StringMatcher slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 home 0 1 UMLPrimitiveTypes-String Attribute home id 1 1 UMLPrimitiveTypes-String Attribute id SlotType1 SlotType1 common-StringMatcher valueList 1 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 1 1 UMLPrimitiveTypes-String Attribute name slotType 0 1 UMLPrimitiveTypes-String Attribute slotType ValueListType ValueListType value 0 -1 UMLPrimitiveTypes-String Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 InternationalStringType InternationalStringType localizedString 0 -1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 LocalizedStringType LocalizedStringType charset 0 1 UMLPrimitiveTypes-String Attribute charset lang 0 1 UMLPrimitiveTypes-String Attribute lang http://www.w3.org/XML/1998/namespace value 1 1 UMLPrimitiveTypes-String Attribute value VersionInfoType VersionInfoType comment 0 1 UMLPrimitiveTypes-String Attribute comment versionName 0 1 rim-String16 Attribute versionName ClassificationType ClassificationType rim-RegistryObjectType classificationNode 0 1 UMLPrimitiveTypes-String Attribute classificationNode classificationScheme 0 1 UMLPrimitiveTypes-String Attribute classificationScheme classifiedObject 1 1 UMLPrimitiveTypes-String Attribute classifiedObject nodeRepresentation 0 1 UMLPrimitiveTypes-String Attribute nodeRepresentation ExternalIdentifierType ExternalIdentifierType rim-RegistryObjectType identificationScheme 1 1 rim-ReferenceURI Attribute identificationScheme registryObject 1 1 rim-ReferenceURI Attribute registryObject value 1 1 UMLPrimitiveTypes-String Attribute value QueryExpressionType QueryExpressionType mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed any 0 1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard any queryLanguage 1 1 rim-ReferenceURI Attribute queryLanguage AssociationType1 AssociationType1 rim-RegistryObjectType constraintAssociation_allowed_types allowed types on Associations are HasMember, urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember, urn:ihe:iti:2007:AssociationType:RPLC, urn:ihe:iti:2007:AssociationType:XFRM, urn:ihe:iti:2007:AssociationType:APND, urn:ihe:iti:2007:AssociationType:XFRM_RPLC, and urn:ihe:iti:2007:AssociationType:signs (not self.associationType.oclIsUndefined()) and ( (self.associationType = 'urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:APND') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM_RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:signs') or (self.associationType = 'HasMember') ) ERROR associationType 1 1 UMLPrimitiveTypes-String Attribute associationType sourceObject 1 1 UMLPrimitiveTypes-String Attribute sourceObject targetObject 1 1 UMLPrimitiveTypes-String Attribute targetObject AuditableEventType AuditableEventType rim-RegistryObjectType affectedObjects 1 1 rim-ObjectRefListType Element affectedObjects urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 eventType 1 1 rim-ReferenceURI Attribute eventType requestId 1 1 rim-ReferenceURI Attribute requestId timestamp 1 1 UMLPrimitiveTypes-String Attribute timestamp user 1 1 rim-ReferenceURI Attribute user ObjectRefListType ObjectRefListType group 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group group objectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRefType ObjectRefType rim-IdentifiableType createReplica 0 1 UMLPrimitiveTypes-Boolean Attribute createReplica ClassificationNodeType ClassificationNodeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 code 0 1 rim-LongName Attribute code parent 0 1 rim-ReferenceURI Attribute parent path 0 1 UMLPrimitiveTypes-String Attribute path ClassificationSchemeType ClassificationSchemeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isInternal 1 1 UMLPrimitiveTypes-Boolean Attribute isInternal nodeType 1 1 UMLPrimitiveTypes-String Attribute nodeType EmailAddressType EmailAddressType address 1 1 rim-ShortName Attribute address type 0 1 rim-String32 Attribute type ExternalLinkType ExternalLinkType rim-RegistryObjectType externalURI 1 1 UMLPrimitiveTypes-String Attribute externalURI ExtrinsicObjectType ExtrinsicObjectType rim-RegistryObjectType contentVersionInfo 0 1 rim-VersionInfoType Element ContentVersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isOpaque 0 1 UMLPrimitiveTypes-Boolean Attribute isOpaque mimeType 0 1 UMLPrimitiveTypes-String Attribute mimeType Document 0 1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 FederationType FederationType rim-RegistryObjectType replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency NotificationType NotificationType rim-RegistryObjectType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 1 1 rim-ReferenceURI Attribute subscription RegistryObjectListType RegistryObjectListType identifiableGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group identifiableGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 -1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Association 0 -1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 AuditableEvent 0 -1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationScheme 0 -1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalLink 0 -1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExtrinsicObject 0 -1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Federation 0 -1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Organization 0 -1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Person 0 -1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Registry 0 -1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObject 0 -1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackage 0 -1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Service 0 -1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ServiceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SpecificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Subscription 0 -1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 User 0 -1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 NotifyActionType NotifyActionType rim-ActionType endPoint 1 1 UMLPrimitiveTypes-String Attribute endPoint notificationOption 0 1 rim-ReferenceURI Attribute notificationOption OrganizationType OrganizationType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 parent 0 1 rim-ReferenceURI Attribute parent primaryContact 0 1 rim-ReferenceURI Attribute primaryContact PostalAddressType PostalAddressType city 0 1 rim-ShortName Attribute city country 0 1 rim-ShortName Attribute country postalCode 0 1 rim-ShortName Attribute postalCode stateOrProvince 0 1 rim-ShortName Attribute stateOrProvince street 0 1 rim-ShortName Attribute street streetNumber 0 1 rim-String32 Attribute streetNumber TelephoneNumberType TelephoneNumberType areaCode 0 1 rim-String8 Attribute areaCode countryCode 0 1 rim-String8 Attribute countryCode extension 0 1 rim-String8 Attribute extension number 0 1 rim-String16 Attribute number phoneType 0 1 rim-String32 Attribute phoneType PersonNameType PersonNameType firstName 0 1 rim-ShortName Attribute firstName lastName 0 1 rim-ShortName Attribute lastName middleName 0 1 rim-ShortName Attribute middleName PersonType PersonType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackageType RegistryPackageType rim-RegistryObjectType registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryType RegistryType rim-RegistryObjectType catalogingLatency 0 1 UMLPrimitiveTypes-String Attribute catalogingLatency conformanceProfile 0 1 rim-ConformanceProfileType Attribute conformanceProfile operator 1 1 rim-ReferenceURI Attribute operator replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency specificationVersion 1 1 UMLPrimitiveTypes-String Attribute specificationVersion ServiceBindingType ServiceBindingType rim-RegistryObjectType specificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 accessURI 0 1 UMLPrimitiveTypes-String Attribute accessURI service 1 1 rim-ReferenceURI Attribute service targetBinding 0 1 rim-ReferenceURI Attribute targetBinding SpecificationLinkType SpecificationLinkType rim-RegistryObjectType usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 -1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 1 1 rim-ReferenceURI Attribute serviceBinding specificationObject 1 1 rim-ReferenceURI Attribute specificationObject ServiceType ServiceType rim-RegistryObjectType serviceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SlotListType SlotListType slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SubscriptionType SubscriptionType rim-RegistryObjectType actionGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group actionGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 action 0 -1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 endTime 0 1 UMLPrimitiveTypes-String Attribute endTime notificationInterval 0 1 UMLPrimitiveTypes-String Attribute notificationInterval selector 1 1 rim-ReferenceURI Attribute selector startTime 0 1 UMLPrimitiveTypes-String Attribute startTime TelephoneNumberListType TelephoneNumberListType telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UserType UserType rim-PersonType DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation action 0 1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 address 0 1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObject 0 1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 association 0 1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 auditableEvent 0 1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationNode 0 1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationScheme 0 1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalLink 0 1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 extrinsicObject 0 1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federation 0 1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 internationalString 0 1 rim-InternationalStringType Element InternationalString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 localizedString 0 1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notification 0 1 rim-NotificationType Element Notification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notifyAction 0 1 rim-NotifyActionType Element NotifyAction urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRef 0 1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 organization 0 1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 person 0 1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 postalAddress 0 1 rim-PostalAddressType Element PostalAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registry 0 1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryPackage 0 1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 service 0 1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 0 1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slot 0 1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slotList 0 1 rim-SlotListType Element SlotList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 specificationLink 0 1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 0 1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 user 0 1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 value 0 1 rim-LongName Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 valueList 0 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ConformanceProfileType ConformanceProfileType registryFull registryFull registryLite registryLite rsqihe RSQIHEConstraints ConstraintsSpec RSQIHEConstraints query-AdhocQueryRequestType constraintReturnType the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and (self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS) ERROR constraintQueryID QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' or self.adhocQuery.id='urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4' or self.adhocQuery.id='urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4' or self.adhocQuery.id='urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155' or self.adhocQuery.id='urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a' or self.adhocQuery.id='urn:uuid:51224314-5390-4169-9b91-b1980040715a' or self.adhocQuery.id='urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83' or self.adhocQuery.id='urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7' or self.adhocQuery.id='urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578' or self.adhocQuery.id='urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6' ) ERROR FindDocuments TemplateSpec FindDocuments urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d rim-AdhocQueryType constraintITI18_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notMultiple $XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on the TF 2a, 3.18.4.1.2.3.7.1 self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR FindSubmissionSets TemplateSpec FindSubmissionSets urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9 rim-AdhocQueryType constraintITI18_XDSSubmissionSetSourceId_notSupportAND $XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSourceId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND $XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple $XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND $XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple $XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND $XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->size()<2 ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple $XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetContentType_notSupportAND $XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetContentType' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notSupportAND $XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notMultiple $XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetPatientId_required $XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintFindSubmissionSets_allowedSlot allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetSourceId' or sl.name='$XDSSubmissionSetSubmissionTimeFrom' or sl.name='$XDSSubmissionSetSubmissionTimeTo' or sl.name='$XDSSubmissionSetAuthorPerson' or sl.name='$XDSSubmissionSetContentType' or sl.name='$XDSSubmissionSetPatientId' or sl.name='$XDSSubmissionSetStatus') ) ERROR GetSubmissionSetAndContents TemplateSpec GetSubmissionSetAndContents urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND $XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->size()<2 ERROR constraintITI18_XDSSubmissionSetEntryUUID_notMultiple $XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetUniqueId_notSupportAND $XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetUniqueId_notMultiple $XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetSubmissionSetAndContents_allowedSlot allowed metadata on GetSubmissionSetAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId') ) ERROR constraintGetSubmissionSetAndContents_requiredField Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId' ) )->size()>0 ERROR GetFolders TemplateSpec GetFolders urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFolders_allowedSlot allowed metadata on GetFolders are those on the table (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolders_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR GetAll TemplateSpec GetAll urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintITI18_patientId_notSupportAND $patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()<2 ERROR constraintITI18_patientId_notMultiple $patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_patientId_required $patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()>0 ERROR constraintGetAll_allowedSlot allowed metadata on GetAll are those on the table (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSSubmissionSetStatus' or sl.name='$XDSFolderStatus' or sl.name='$patientId' ) ) ERROR GetDocuments TemplateSpec GetDocuments urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocuments_allowedSlot allowed metadata on GetDocuments are those on the table (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetDocumentsAndAssociations TemplateSpec GetDocumentsAndAssociations urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocumentsAndAssociations_allowedSlot allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId') ) ERROR constraintGetDocumentsAndAssociations_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetFoldersForDocument TemplateSpec GetFoldersForDocument urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetFoldersForDocument_allowedSlot allowed Metadata on GetFoldersForDocument are those on the table (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetFoldersForDocument_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetSubmissionSets TemplateSpec GetSubmissionSets urn:uuid:51224314-5390-4169-9b91-b1980040715a rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetSubmissionSets_allowedSlot allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid' ) ) ERROR GetAssociations TemplateSpec GetAssociations urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetAssociations_allowedSlot allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid') ) ERROR GetFoldersAndContents TemplateSpec GetFoldersAndContents urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFoldersAndContents_allowedSlot allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolderAndContents_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR FindFolders TemplateSpec FindFolders urn:uuid:958f3006-baad-4929-a4de-ff1114824431 rim-AdhocQueryType constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI18_XDSFolderPatientId_notMultiple $XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_required $XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR GetRelatedDocuments TemplateSpec GetRelatedDocuments urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_AssociationTypes_notSupportAND $AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()<2 ERROR constraintITI18_AssociationTypes_required $AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()>0 ERROR constraintGetRelatedDocuments_allowedSlot aloowed metadata on GetRelatedDocuments are those on the tab self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' or sl.name='$AssociationTypes' ) ) ERROR constraintGetRelatedDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR CSDiscReq CSDiscReqSpec ConstraintsSpec CSDiscReqSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.6.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayRetrieveError RegistryResponseSpec6 ConstraintsSpec RegistryResponseSpec6 rs-RegistryResponseType constraintRegistryResponseStatus_CrossGatewayRetrieve accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec6 ConstraintsSpec RegistryErrorSpec6 rs-RegistryErrorType constraintRegistryError_allowedCode_CrossGatewayRetrieve allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR RegistryStoredQueryError RegistryResponseSpec3 ConstraintsSpec RegistryResponseSpec3 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec3 ConstraintsSpec RegistryErrorSpec3 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR DSDiscardResp DSDiscRespSpec ConstraintsSpec DSDiscRespSpec rs-RegistryResponseType constraint_status_required status required not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR DSDiscRESpec ConstraintsSpec DSDiscRESpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 2201 (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSPutReq CSExtrSpec TemplateSpec CSExtrSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1) (not self.mimeType.oclIsUndefined() ) and self.mimeType='text/xml' ERROR constraint_status status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57016-8' ) ERROR constraint_formatCode formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:iti:bppc-sd:2007' or cl.nodeRepresentation='urn:ihe:iti:bppc:2007' ) ) ERROR constraint_allowed_slot allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='languageCode' or sl.name='sourcePatientId') WARNING constraint_allowed_classification allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4' ) WARNING constraint_allowed_externalIdentifier allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1') WARNING constraint_eventCodeList the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1' or cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2' ) ) ERROR CSSubmitSpec ConstraintsSpec CSSubmitSpec lcm-SubmitObjectsRequestType constraint_registryObjectList_required registryObjectList_required (WP34_D342_V2.2 3.6.1.1) not self.registryObjectList.oclIsUndefined() ERROR constraint_ExtrinsicObject_single a single ExtrinsicObject element must be set on registryObjectList self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1) ERROR dds xcf XCFQueryRequest TemplateSpec XCFQueryRequest urn:uuid:f2072993-9478-41df-a603-8f016706efe8 query-AdhocQueryRequestType constraint_returnType returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR XCFAdhocQuery TemplateSpec XCFAdhocQuery urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_classCode1 $XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()>0 ERROR constraint_classCode2 $XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraint_typeCode $XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationTimeFrom1 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTimeFrom2 $XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTimeTo1 $XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_creationTimeTo2 $XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeFrom1 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTimeFrom2 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeTo1 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_startTimeTo2 $XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeFrom1 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTimeFrom2 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeTo1 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_stopTimeTo2 $XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_healthCareFacilityTypeCode $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_authorPerson $XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_formatCode $XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraint_homeCommunityId homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) (not self.home.oclIsUndefined()) and (self.home<>'') ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' ) ) ERROR XCFAdhocQuerySpec ConstraintsSpec XCFAdhocQuerySpec rim-AdhocQueryType constraint_xcf_id XCF shall have the AdhocQuery id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.id.oclIsUndefined()) and self.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR RegisterDocumentSetError RegistryResponseSpec2 ConstraintsSpec RegistryResponseSpec2 rs-RegistryResponseType constraintRegistryResponseStatus_RegisterDocumentSet accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec2 ConstraintsSpec RegistryErrorSpec2 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryDocumentSet allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') ) ERROR epsos rs RegistryErrorListType RegistryErrorList_._type registryError 1 -1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 highestSeverity 0 1 rim-ReferenceURI Attribute highestSeverity RegistryErrorType RegistryError_._type value 0 1 UMLPrimitiveTypes-String Simple value codeContext 1 1 UMLPrimitiveTypes-String Attribute codeContext errorCode 1 1 UMLPrimitiveTypes-String Attribute errorCode location 0 1 UMLPrimitiveTypes-String Attribute location severity 0 1 rim-ReferenceURI Attribute severity RegistryRequestType RegistryRequestType requestSlotList 0 1 rim-SlotListType Element RequestSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 comment 0 1 UMLPrimitiveTypes-String Attribute comment id 0 1 UMLPrimitiveTypes-String Attribute id RegistryResponseType RegistryResponseType responseSlotList 0 1 rim-SlotListType Element ResponseSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 requestId 0 1 UMLPrimitiveTypes-String Attribute requestId status 1 1 rim-ReferenceURI Attribute status DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation registryError 0 1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryRequest 0 1 rs-RegistryRequestType Element RegistryRequest urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryResponse 0 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 PSListResp AdhocRespSpec ConstraintsSpec AdhocRespSpec query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec TemplateSpec DocumentSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.3.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.3.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value='Patient Summary') ERROR constraint_VersionInfo_required VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1.1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60591-5' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) WARNING constraint_formatCode_required formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.3.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.3.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1102' and self.codeContext='No Data') or (self.errorCode='4201' and self.codeContext='Unsupported Feature') or (self.errorCode='4202' and self.codeContext='Unknown Signifier') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4204' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR PSListReq PatientServiceListSpec ConstraintsSpec PatientServiceListSpec query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec TemplateSpec QuerySpec urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryPatientId'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->size()=1 ERROR constraint_typeCode_required typeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='typeCode'))->size()=1 ERROR constraint_contentTypeCode_required contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='contentTypeCode'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '60591-5^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryTypeCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR lcm AcceptObjectsRequestType AcceptObjectsRequest_._type rs-RegistryRequestType correlationId 1 1 UMLPrimitiveTypes-String Attribute correlationId ApproveObjectsRequestType ApproveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DeprecateObjectsRequestType DeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation acceptObjectsRequest 0 1 lcm-AcceptObjectsRequestType Element AcceptObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 approveObjectsRequest 0 1 lcm-ApproveObjectsRequestType Element ApproveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 deprecateObjectsRequest 0 1 lcm-DeprecateObjectsRequestType Element DeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 relocateObjectsRequest 0 1 lcm-RelocateObjectsRequestType Element RelocateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 removeObjectsRequest 0 1 lcm-RemoveObjectsRequestType Element RemoveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 submitObjectsRequest 0 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 undeprecateObjectsRequest 0 1 lcm-UndeprecateObjectsRequestType Element UndeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 updateObjectsRequest 0 1 lcm-UpdateObjectsRequestType Element UpdateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RelocateObjectsRequestType RelocateObjectsRequest_._type rs-RegistryRequestType adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 sourceRegistry 1 1 rim-ObjectRefType Element SourceRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 destinationRegistry 1 1 rim-ObjectRefType Element DestinationRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtSource 1 1 rim-ObjectRefType Element OwnerAtSource urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtDestination 1 1 rim-ObjectRefType Element OwnerAtDestination urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RemoveObjectsRequestType RemoveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 deletionScope 0 1 rim-ReferenceURI Attribute deletionScope SubmitObjectsRequestType SubmitObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UndeprecateObjectsRequestType UndeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UpdateObjectsRequestType UpdateObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 mpq FindDocumentsForMultiplePatients TemplateSpec FindDocumentsForMultiplePatients urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f rim-AdhocQueryType constraintITI51_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI51_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR constraint_requiredSlot At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' ) )->size()>0 ERROR FindFoldersForMultiplePatients TemplateSpec FindFoldersForMultiplePatients urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df rim-AdhocQueryType constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI51_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI51_XDSFolderStatus_required $XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR constraint_codeList CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderCodeList' )->size()>0 ERROR AdhocMPQSpec ConstraintsSpec AdhocMPQSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f' or self.id='urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df' ) ERROR rimihe Author_XDSDocumentEntry TemplateSpec Author_XDSDocumentEntry urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorPerson')->size()=1 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorPerson authorPerson is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorInstitution_XON AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structureif present (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson') )->forAll(sl : SlotType1 | sl.valueList.value->forAll(val : String | sl.isXCN(val) ) ) ERROR PatientId_XDSDocumentEntry TemplateSpec PatientId_XDSDocumentEntry urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 rim-ExternalIdentifierType constraintPatientId_value_notNull the value of patientId must no be null (not self.value.oclIsUndefined() ) and (not (self.value='')) ERROR constraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR XDSDocumentEntry TemplateSpec XDSDocumentEntry urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintAvailabilityStatus If status declared, XDSDocumentEntry must have the status Approved or Deprecated (urn:oasis:names:tc:ebxml-regrep:StatusType:Approved or urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated) (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.status.oclIsUndefined() or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated') ERROR constraintAuthorRequired Author is required on XDSDocumentEntry if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0 WARNING constraintClassCodeRequired classCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()>0 ERROR constraintConfidentialityCodeRequired confidentialityCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0 ERROR constraintCreationTime_unique creationTime is required and must be unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->size() = 1) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ) ERROR constraintEntryUUID_required entryUUID required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.id.oclIsUndefined() ) and (not (self.id='')) ERROR constraint_FormatCode_unique_and_required the formatCode is required and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 ERROR constraintHash_singleValue If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->size()<2) ERROR constraint_HealthCareFacilityTypeCode_unique_and_required healthCareFacilityTypeCode is required and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraintLanguageCode languageCode is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->size() = 1 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintLegalAuthenticator_unique if present on XDSDocumentEntry, legalAuthenticator shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()<2) ERROR constraintMimeType_required mimeType is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR constraintPatientId_required PatientId is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'))->size()=1 ERROR constraintRepositoryUniqueId repositoryUniqueId have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime serviceStartTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime_requiredIfKnown serviceStartTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() > 0) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0)) WARNING constraintServiceStopTime serviceStopTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStopTime_requiredIfKnown serviceStopTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() >0) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0))) WARNING constraintSize If present, size shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintSourcePatientId sourcePatientId is required, and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() = 1) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintSourcePatientInfo sourcePatientInfo shall have a single value, a single sourcePatientInfo may be present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->size() < 2) and self.slot->select(sl : SlotType1 | sl.name = 'sourcePatientInfo')->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintTitle if present, the title shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.name.oclIsUndefined() or (self.name.localizedString->size() = 1) ERROR constraintTypeCode_required typeCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'))->size()=1 ERROR constraintUniqueId uniqueId is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'))->size()=1 ERROR constraintURI URI shall have a single value if present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) ) ERROR constraintAllowedSlot allowed slot on XDSDocumentEntry are creationTime,hash, languageCode, legalAuthenticator,repositoryUniqueId, serviceStartTime, serviceStopTime, size, sourcePatientId, sourcePatientInfo, URI self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name='creationTime') or (sl.name='hash') or (sl.name='languageCode') or (sl.name='legalAuthenticator') or (sl.name='repositoryUniqueId') or (sl.name='serviceStartTime') or (sl.name='serviceStopTime') or (sl.name='size') or (sl.name='sourcePatientId') or (sl.name='sourcePatientInfo') or (sl.name='URI') ) ) ERROR constraintCreationTime_DTM creationTime must have DTM structure if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.isDTM(sl.valueList.value->first()) ) ERROR constraintHASH_SHA1 hash metadata must have SHA1 structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isSHA1(val)) ) ERROR constraintHomeCommunityId_OID homeCommunityId must have an OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.home.oclIsUndefined() or self.isOID(self.home) ERROR constraintLegalAuthenticator_XCN legalAuthenticator must have the structure XCN if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->forAll(val : String | sl.isXCN(val))) ) ERROR constraintServiceStartTime_DTM serviceStartTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintServiceStopTime_DTM serviceStopTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintSize_Integer size metadata must be an integer (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.matches(val, '[0-9]*')) ) ERROR constraintSourcePatientId_CX sourcePatientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isCX_XDS(val)) ) ERROR ClassCode_XDSDocumentEntry TemplateSpec ClassCode_XDSDocumentEntry urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a rim-ClassificationType constraintClassCodeDisplayName The classCode displayName is required, and must have a single value for the current classCode not self.name.oclIsUndefined() and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR ConfidentialityCode_XDSDocumentEntry TemplateSpec ConfidentialityCode_XDSDocumentEntry urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f rim-ClassificationType constraintConfidentialityCodeMultivalued confidentialityCode shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size()>0) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()>0) ) ERROR constraintCheckSlot slot of confidentialityCode must be codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme') ERROR EventCodeList_XDSDocumentEntry TemplateSpec EventCodeList_XDSDocumentEntry urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4 rim-ClassificationType constraintEventCodeList_multiplevalue eventCodeList if present, shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size() > 0) and ( self.slot->select( (not valueList.oclIsUndefined()) and (not valueList.value->isEmpty()))->size()>0 ) ERROR constraintEventCodeList_diplayName EventCodeList display name shall have a single value corresponding to each value in eventCodeList (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() > 0) ERROR constraintEventCodeList_structure EventCodeList structure : name of slot : codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'codingScheme')) ERROR FormatCode_XDSDocumentEntry TemplateSpec FormatCode_XDSDocumentEntry urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d rim-ClassificationType constraintFormatCode_nameNotNull The name is not null (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->select(ls : LocalizedStringType | (not ls.value.oclIsUndefined()) and (not (ls.value='')))->size()>0) ERROR constraintFormatCode_unique FormatCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.slot->isEmpty()) and (self.slot->size() = 1) and (self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintFormatCode_displayNameRequired The displayName of formatCode is required, shall have a single value (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR HealthCareFacilityTypeCode_XDSDocumentEntry TemplateSpec HealthCareFacilityTypeCode_XDSDocumentEntry urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 rim-ClassificationType constraintHealthCareFacilityTypeCode_Unique healthCareFacilityTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraintHealthCareFacilityTypeCode_displayName DisplayName of HealthCareFacilityTypeCode is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR PracticeSettingCode_XDSDocumentEntry TemplateSpec PracticeSettingCode_XDSDocumentEntry urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead rim-ClassificationType constraintPracticeSettingCode_unique PracticeSettingCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and (self.slot->forAll(sl :SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintPracticeSettingCode_displayName the displayName of PracticeSettingCode is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first().value='')) ERROR TypeCode_XDSDocumentEntry TemplateSpec TypeCode_XDSDocumentEntry urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 rim-ClassificationType constraintTypeCode_singleValue TypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraint_typeCode_displayName typeCode displayName is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR UniqueId_XDSDocumentEntry TemplateSpec UniqueId_XDSDocumentEntry urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab rim-ExternalIdentifierType constraintUniqueId if present, URI shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR Author_SubmissionSet TemplateSpec Author_SubmissionSet urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()<2 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->size()>0 WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole'))->size()>0 WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpecialty'))->size()>0 WARNING constraintAuthorInstitution_XON authorInstitution must have XON structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXON(val)) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXCN(val)) ) ERROR XDSSubmissionSetConstraints ConstraintsSpec XDSSubmissionSetConstraints rim-RegistryObjectListType constraintAvailabilityStatus status of a SubmissionSet shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintAuthorSubmissionSet_required_ifKnown The author is required on SubmissionSet if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d') )->size() > 0 ) WARNING constraintContentTypeCode_required contentTypeCode required and unique on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'))->size() = 1 ) ERROR constraintEntryUUID_required entryUUID is required on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintIntendedRecipient intendedRecipient shall have one or more values if present on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | sl.name='intendedRecipient')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) )) ERROR constraintPatientId patientId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))->size() = 1 ) ERROR constraintSourceId sourceId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionTime submissionTime is required and shall have a singleValue on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->size() = 1) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) )) ) ERROR constraintUniqueId uniqueId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionSet_allowed_slot allowed slot on submissionSet are only submissionTime, others are extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->size() = 1) and (rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))) ) WARNING constraintSubmissionSet_allowed_classification allowed classification on submissionSet are only author and contentTypeCode (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d' or cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500') ) ERROR constraintSubmissionSet_allowed_externalIdentifier allowed externalIdentifier on submissionSet are only patientId, sourceId, and uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ( ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446' or ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832' or ext.identificationScheme='urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8' ) ) ) ERROR constraintSubmissionTime_DTM submissionTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR constraintHomeCommunity_id homeCommunityId shoud have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR ContentTypeCode_XDSSubmissionSet TemplateSpec ContentTypeCode_XDSSubmissionSet urn:uuid:aa543740-bdda-424e-8c96-df4873be8500 rim-ClassificationType constraintContentTypeCode_singleValue ContentTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()=1 and self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) ERROR constraintContentTypeCode_displayName ContentTypeCode displayName is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FTTable 4.1-6) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() =1) and (not (self.name.localizedString->first()='')) ERROR PatientId_SubmissionSet TemplateSpec PatientId_SubmissionSet urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446 rim-ExternalIdentifierType constraintPatientId_SubmissionSet_singleValue XDSSubmissionSet.patientId shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR nconstraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR SourceId_SubmissionSet TemplateSpec SourceId_SubmissionSet urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 rim-ExternalIdentifierType constraintSourceId_SubmissionSet_singleValue XDSSubmissionSet.sourceId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintSourceId_OID sourceId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR UniqueId_SubmissionSet TemplateSpec UniqueId_SubmissionSet urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 rim-ExternalIdentifierType constraintUniqueId_SubmissionSet XDSSubmissionSet.uniqueId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR XDSFolderConstraints ConstraintsSpec XDSFolderConstraints rim-RegistryObjectListType constraintXDSFolder_status status of XDSFolder shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintXDSFolder_codeList_required codeList of XDSFolder is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5')->size()>0 ) ERROR constraintXDSFolder_entryUUID EntryUUID is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintXDSFolder_lastUpdateTime if XDSFolder present, lastUpdateTime shall have a single value if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->size()=1) ) WARNING constraintXDSFolder_patientId_required_and_unique the patientId of an XDSFolder is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'))->size() = 1 ) ERROR constraintXDSFolder_uniqueId_required_and_unique the uniqueId of XDSFolder is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'))->size()=1 ) ERROR constraintXDSFolder_allowed_slot allowed Slot on XDSFolder is only lastUpdateTime, otherwise it's an extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->size()=1 and rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='lastUpdateTime') ) WARNING constraintXDSFolder_allowed_Classification Allowed Classification on XDSFolder is only CodeList (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | (cl.classificationScheme.oclIsUndefined()) or cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5') ) ERROR constraintXDSFolder_allowed_ExternalIdentifier Allowed Classification on XDSFolder are only XDSFolder.patientId and XDSFolder.uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a' or ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')) ) ERROR constraintHomeComunityId_OID homeCommunityId must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR constraintLastUpdateTime_DTM lastUpdateTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR CodeList_XDSFolder TemplateSpec CodeList_XDSFolder urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5 rim-ClassificationType constraintCodeList_multipleValue codeList of XDSFolder shall have on or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) ERROR constraintCodeList_displayName_required the displayName of CodeList is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) ERROR PatientId_XDSFolder TemplateSpec PatientId_XDSFolder urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a rim-ExternalIdentifierType constraintPatientId_singleValue PatientId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintPatientId_CX patientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR UniqueId_XDSFolder TemplateSpec UniqueId_XDSFolder urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a rim-ExternalIdentifierType constraintUniqueId_singleValue UniqueId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isOID(self.value) ERROR StringMatcher StringMatcher isDTM Boolean value UMLPrimitiveTypes-String CSPutResp CSPutRespSpec ConstraintsSpec CSPutRespSpec rs-RegistryResponseType constraint_allowed_status status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR constraint_warning_vs_success if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5) self.status.oclIsUndefined() or (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ERROR CSPutRegSpec ConstraintsSpec CSPutRegSpec rs-RegistryErrorType constraint_severity severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.severity.oclIsUndefined()) and ( (self.errorCode='2201' and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ) ERROR constraint_allowed_errorCode errorCodes allowed are those defined on IHE, and 4705, 4702, 4706, 4701 (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4705' and self.codeContext='Policy Violation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4706' and self.codeContext='Unknown policy') or (self.errorCode='4701' and self.codeContext='No consent') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSDiscResp CSDiscRespSpec ConstraintsSpec CSDiscRespSpec rs-RegistryResponseType constraint_status_required status required (WP34_D342_V2.2 3.6.2.5) not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5) self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR CSDiscRegErrSpec ConstraintsSpec CSDiscRegErrSpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5) (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='4109' and self.codeContext='Deprecation rejected') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR constraint_failure_location A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5) self.location.oclIsUndefined() ERROR rim ActionType ActionType AdhocQueryType AdhocQueryType rim-RegistryObjectType queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObjectType RegistryObjectType rim-IdentifiableType name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 versionInfo 0 1 rim-VersionInfoType Element VersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 lid 0 1 UMLPrimitiveTypes-String Attribute lid objectType 0 1 rim-ReferenceURI Attribute objectType status 0 1 rim-ReferenceURI Attribute status IdentifiableType IdentifiableType common-StringMatcher slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 home 0 1 UMLPrimitiveTypes-String Attribute home id 1 1 UMLPrimitiveTypes-String Attribute id SlotType1 SlotType1 common-StringMatcher valueList 1 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 1 1 UMLPrimitiveTypes-String Attribute name slotType 0 1 UMLPrimitiveTypes-String Attribute slotType ValueListType ValueListType value 0 -1 UMLPrimitiveTypes-String Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 InternationalStringType InternationalStringType localizedString 0 -1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 LocalizedStringType LocalizedStringType charset 0 1 UMLPrimitiveTypes-String Attribute charset lang 0 1 UMLPrimitiveTypes-String Attribute lang http://www.w3.org/XML/1998/namespace value 1 1 UMLPrimitiveTypes-String Attribute value VersionInfoType VersionInfoType comment 0 1 UMLPrimitiveTypes-String Attribute comment versionName 0 1 rim-String16 Attribute versionName ClassificationType ClassificationType rim-RegistryObjectType classificationNode 0 1 UMLPrimitiveTypes-String Attribute classificationNode classificationScheme 0 1 UMLPrimitiveTypes-String Attribute classificationScheme classifiedObject 1 1 UMLPrimitiveTypes-String Attribute classifiedObject nodeRepresentation 0 1 UMLPrimitiveTypes-String Attribute nodeRepresentation ExternalIdentifierType ExternalIdentifierType rim-RegistryObjectType identificationScheme 1 1 rim-ReferenceURI Attribute identificationScheme registryObject 1 1 rim-ReferenceURI Attribute registryObject value 1 1 UMLPrimitiveTypes-String Attribute value QueryExpressionType QueryExpressionType mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed any 0 1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard any queryLanguage 1 1 rim-ReferenceURI Attribute queryLanguage AssociationType1 AssociationType1 rim-RegistryObjectType constraintAssociation_allowed_types allowed types on Associations are HasMember, urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember, urn:ihe:iti:2007:AssociationType:RPLC, urn:ihe:iti:2007:AssociationType:XFRM, urn:ihe:iti:2007:AssociationType:APND, urn:ihe:iti:2007:AssociationType:XFRM_RPLC, and urn:ihe:iti:2007:AssociationType:signs (not self.associationType.oclIsUndefined()) and ( (self.associationType = 'urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:APND') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM_RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:signs') or (self.associationType = 'HasMember') ) ERROR associationType 1 1 UMLPrimitiveTypes-String Attribute associationType sourceObject 1 1 UMLPrimitiveTypes-String Attribute sourceObject targetObject 1 1 UMLPrimitiveTypes-String Attribute targetObject AuditableEventType AuditableEventType rim-RegistryObjectType affectedObjects 1 1 rim-ObjectRefListType Element affectedObjects urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 eventType 1 1 rim-ReferenceURI Attribute eventType requestId 1 1 rim-ReferenceURI Attribute requestId timestamp 1 1 UMLPrimitiveTypes-String Attribute timestamp user 1 1 rim-ReferenceURI Attribute user ObjectRefListType ObjectRefListType group 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group group objectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRefType ObjectRefType rim-IdentifiableType createReplica 0 1 UMLPrimitiveTypes-Boolean Attribute createReplica ClassificationNodeType ClassificationNodeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 code 0 1 rim-LongName Attribute code parent 0 1 rim-ReferenceURI Attribute parent path 0 1 UMLPrimitiveTypes-String Attribute path ClassificationSchemeType ClassificationSchemeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isInternal 1 1 UMLPrimitiveTypes-Boolean Attribute isInternal nodeType 1 1 UMLPrimitiveTypes-String Attribute nodeType EmailAddressType EmailAddressType address 1 1 rim-ShortName Attribute address type 0 1 rim-String32 Attribute type ExternalLinkType ExternalLinkType rim-RegistryObjectType externalURI 1 1 UMLPrimitiveTypes-String Attribute externalURI ExtrinsicObjectType ExtrinsicObjectType rim-RegistryObjectType contentVersionInfo 0 1 rim-VersionInfoType Element ContentVersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isOpaque 0 1 UMLPrimitiveTypes-Boolean Attribute isOpaque mimeType 0 1 UMLPrimitiveTypes-String Attribute mimeType Document 0 1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 FederationType FederationType rim-RegistryObjectType replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency NotificationType NotificationType rim-RegistryObjectType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 1 1 rim-ReferenceURI Attribute subscription RegistryObjectListType RegistryObjectListType identifiableGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group identifiableGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 -1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Association 0 -1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 AuditableEvent 0 -1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationScheme 0 -1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalLink 0 -1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExtrinsicObject 0 -1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Federation 0 -1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Organization 0 -1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Person 0 -1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Registry 0 -1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObject 0 -1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackage 0 -1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Service 0 -1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ServiceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SpecificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Subscription 0 -1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 User 0 -1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 NotifyActionType NotifyActionType rim-ActionType endPoint 1 1 UMLPrimitiveTypes-String Attribute endPoint notificationOption 0 1 rim-ReferenceURI Attribute notificationOption OrganizationType OrganizationType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 parent 0 1 rim-ReferenceURI Attribute parent primaryContact 0 1 rim-ReferenceURI Attribute primaryContact PostalAddressType PostalAddressType city 0 1 rim-ShortName Attribute city country 0 1 rim-ShortName Attribute country postalCode 0 1 rim-ShortName Attribute postalCode stateOrProvince 0 1 rim-ShortName Attribute stateOrProvince street 0 1 rim-ShortName Attribute street streetNumber 0 1 rim-String32 Attribute streetNumber TelephoneNumberType TelephoneNumberType areaCode 0 1 rim-String8 Attribute areaCode countryCode 0 1 rim-String8 Attribute countryCode extension 0 1 rim-String8 Attribute extension number 0 1 rim-String16 Attribute number phoneType 0 1 rim-String32 Attribute phoneType PersonNameType PersonNameType firstName 0 1 rim-ShortName Attribute firstName lastName 0 1 rim-ShortName Attribute lastName middleName 0 1 rim-ShortName Attribute middleName PersonType PersonType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackageType RegistryPackageType rim-RegistryObjectType registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryType RegistryType rim-RegistryObjectType catalogingLatency 0 1 UMLPrimitiveTypes-String Attribute catalogingLatency conformanceProfile 0 1 rim-ConformanceProfileType Attribute conformanceProfile operator 1 1 rim-ReferenceURI Attribute operator replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency specificationVersion 1 1 UMLPrimitiveTypes-String Attribute specificationVersion ServiceBindingType ServiceBindingType rim-RegistryObjectType specificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 accessURI 0 1 UMLPrimitiveTypes-String Attribute accessURI service 1 1 rim-ReferenceURI Attribute service targetBinding 0 1 rim-ReferenceURI Attribute targetBinding SpecificationLinkType SpecificationLinkType rim-RegistryObjectType usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 -1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 1 1 rim-ReferenceURI Attribute serviceBinding specificationObject 1 1 rim-ReferenceURI Attribute specificationObject ServiceType ServiceType rim-RegistryObjectType serviceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SlotListType SlotListType slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SubscriptionType SubscriptionType rim-RegistryObjectType actionGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group actionGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 action 0 -1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 endTime 0 1 UMLPrimitiveTypes-String Attribute endTime notificationInterval 0 1 UMLPrimitiveTypes-String Attribute notificationInterval selector 1 1 rim-ReferenceURI Attribute selector startTime 0 1 UMLPrimitiveTypes-String Attribute startTime TelephoneNumberListType TelephoneNumberListType telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UserType UserType rim-PersonType DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation action 0 1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 address 0 1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObject 0 1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 association 0 1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 auditableEvent 0 1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationNode 0 1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationScheme 0 1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalLink 0 1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 extrinsicObject 0 1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federation 0 1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 internationalString 0 1 rim-InternationalStringType Element InternationalString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 localizedString 0 1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notification 0 1 rim-NotificationType Element Notification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notifyAction 0 1 rim-NotifyActionType Element NotifyAction urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRef 0 1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 organization 0 1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 person 0 1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 postalAddress 0 1 rim-PostalAddressType Element PostalAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registry 0 1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryPackage 0 1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 service 0 1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 0 1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slot 0 1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slotList 0 1 rim-SlotListType Element SlotList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 specificationLink 0 1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 0 1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 user 0 1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 value 0 1 rim-LongName Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 valueList 0 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ConformanceProfileType ConformanceProfileType registryFull registryFull registryLite registryLite rsqihe RSQIHEConstraints ConstraintsSpec RSQIHEConstraints query-AdhocQueryRequestType constraintReturnType the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and (self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS) ERROR constraintQueryID QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' or self.adhocQuery.id='urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4' or self.adhocQuery.id='urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4' or self.adhocQuery.id='urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155' or self.adhocQuery.id='urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a' or self.adhocQuery.id='urn:uuid:51224314-5390-4169-9b91-b1980040715a' or self.adhocQuery.id='urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83' or self.adhocQuery.id='urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7' or self.adhocQuery.id='urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578' or self.adhocQuery.id='urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6' ) ERROR FindDocuments TemplateSpec FindDocuments urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d rim-AdhocQueryType constraintITI18_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notMultiple $XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on the TF 2a, 3.18.4.1.2.3.7.1 self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR FindSubmissionSets TemplateSpec FindSubmissionSets urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9 rim-AdhocQueryType constraintITI18_XDSSubmissionSetSourceId_notSupportAND $XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSourceId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND $XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple $XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND $XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple $XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND $XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->size()<2 ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple $XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetContentType_notSupportAND $XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetContentType' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notSupportAND $XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notMultiple $XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetPatientId_required $XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintFindSubmissionSets_allowedSlot allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetSourceId' or sl.name='$XDSSubmissionSetSubmissionTimeFrom' or sl.name='$XDSSubmissionSetSubmissionTimeTo' or sl.name='$XDSSubmissionSetAuthorPerson' or sl.name='$XDSSubmissionSetContentType' or sl.name='$XDSSubmissionSetPatientId' or sl.name='$XDSSubmissionSetStatus') ) ERROR GetSubmissionSetAndContents TemplateSpec GetSubmissionSetAndContents urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND $XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->size()<2 ERROR constraintITI18_XDSSubmissionSetEntryUUID_notMultiple $XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetUniqueId_notSupportAND $XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetUniqueId_notMultiple $XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetSubmissionSetAndContents_allowedSlot allowed metadata on GetSubmissionSetAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId') ) ERROR constraintGetSubmissionSetAndContents_requiredField Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId' ) )->size()>0 ERROR GetFolders TemplateSpec GetFolders urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFolders_allowedSlot allowed metadata on GetFolders are those on the table (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolders_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR GetAll TemplateSpec GetAll urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintITI18_patientId_notSupportAND $patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()<2 ERROR constraintITI18_patientId_notMultiple $patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_patientId_required $patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()>0 ERROR constraintGetAll_allowedSlot allowed metadata on GetAll are those on the table (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSSubmissionSetStatus' or sl.name='$XDSFolderStatus' or sl.name='$patientId' ) ) ERROR GetDocuments TemplateSpec GetDocuments urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocuments_allowedSlot allowed metadata on GetDocuments are those on the table (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetDocumentsAndAssociations TemplateSpec GetDocumentsAndAssociations urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocumentsAndAssociations_allowedSlot allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId') ) ERROR constraintGetDocumentsAndAssociations_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetFoldersForDocument TemplateSpec GetFoldersForDocument urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetFoldersForDocument_allowedSlot allowed Metadata on GetFoldersForDocument are those on the table (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetFoldersForDocument_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetSubmissionSets TemplateSpec GetSubmissionSets urn:uuid:51224314-5390-4169-9b91-b1980040715a rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetSubmissionSets_allowedSlot allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid' ) ) ERROR GetAssociations TemplateSpec GetAssociations urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetAssociations_allowedSlot allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid') ) ERROR GetFoldersAndContents TemplateSpec GetFoldersAndContents urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFoldersAndContents_allowedSlot allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolderAndContents_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR FindFolders TemplateSpec FindFolders urn:uuid:958f3006-baad-4929-a4de-ff1114824431 rim-AdhocQueryType constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI18_XDSFolderPatientId_notMultiple $XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_required $XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR GetRelatedDocuments TemplateSpec GetRelatedDocuments urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_AssociationTypes_notSupportAND $AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()<2 ERROR constraintITI18_AssociationTypes_required $AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()>0 ERROR constraintGetRelatedDocuments_allowedSlot aloowed metadata on GetRelatedDocuments are those on the tab self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' or sl.name='$AssociationTypes' ) ) ERROR constraintGetRelatedDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR CSDiscReq CSDiscReqSpec ConstraintsSpec CSDiscReqSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.6.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayRetrieveError RegistryResponseSpec6 ConstraintsSpec RegistryResponseSpec6 rs-RegistryResponseType constraintRegistryResponseStatus_CrossGatewayRetrieve accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec6 ConstraintsSpec RegistryErrorSpec6 rs-RegistryErrorType constraintRegistryError_allowedCode_CrossGatewayRetrieve allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR RegistryStoredQueryError RegistryResponseSpec3 ConstraintsSpec RegistryResponseSpec3 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec3 ConstraintsSpec RegistryErrorSpec3 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR DSDiscardResp DSDiscRespSpec ConstraintsSpec DSDiscRespSpec rs-RegistryResponseType constraint_status_required status required not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR DSDiscRESpec ConstraintsSpec DSDiscRESpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 2201 (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSPutReq CSExtrSpec TemplateSpec CSExtrSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1) (not self.mimeType.oclIsUndefined() ) and self.mimeType='text/xml' ERROR constraint_status status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57016-8' ) ERROR constraint_formatCode formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:iti:bppc-sd:2007' or cl.nodeRepresentation='urn:ihe:iti:bppc:2007' ) ) ERROR constraint_allowed_slot allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='languageCode' or sl.name='sourcePatientId') WARNING constraint_allowed_classification allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4' ) WARNING constraint_allowed_externalIdentifier allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1') WARNING constraint_eventCodeList the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1' or cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2' ) ) ERROR CSSubmitSpec ConstraintsSpec CSSubmitSpec lcm-SubmitObjectsRequestType constraint_registryObjectList_required registryObjectList_required (WP34_D342_V2.2 3.6.1.1) not self.registryObjectList.oclIsUndefined() ERROR constraint_ExtrinsicObject_single a single ExtrinsicObject element must be set on registryObjectList self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1) ERROR dds xcf XCFQueryRequest TemplateSpec XCFQueryRequest urn:uuid:f2072993-9478-41df-a603-8f016706efe8 query-AdhocQueryRequestType constraint_returnType returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR XCFAdhocQuery TemplateSpec XCFAdhocQuery urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_classCode1 $XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()>0 ERROR constraint_classCode2 $XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraint_typeCode $XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationTimeFrom1 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTimeFrom2 $XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTimeTo1 $XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_creationTimeTo2 $XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeFrom1 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTimeFrom2 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeTo1 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_startTimeTo2 $XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeFrom1 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTimeFrom2 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeTo1 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_stopTimeTo2 $XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_healthCareFacilityTypeCode $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_authorPerson $XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_formatCode $XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraint_homeCommunityId homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) (not self.home.oclIsUndefined()) and (self.home<>'') ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' ) ) ERROR XCFAdhocQuerySpec ConstraintsSpec XCFAdhocQuerySpec rim-AdhocQueryType constraint_xcf_id XCF shall have the AdhocQuery id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.id.oclIsUndefined()) and self.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR RegisterDocumentSetError RegistryResponseSpec2 ConstraintsSpec RegistryResponseSpec2 rs-RegistryResponseType constraintRegistryResponseStatus_RegisterDocumentSet accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec2 ConstraintsSpec RegistryErrorSpec2 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryDocumentSet allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') ) ERROR epsos rs RegistryErrorListType RegistryErrorList_._type registryError 1 -1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 highestSeverity 0 1 rim-ReferenceURI Attribute highestSeverity RegistryErrorType RegistryError_._type value 0 1 UMLPrimitiveTypes-String Simple value codeContext 1 1 UMLPrimitiveTypes-String Attribute codeContext errorCode 1 1 UMLPrimitiveTypes-String Attribute errorCode location 0 1 UMLPrimitiveTypes-String Attribute location severity 0 1 rim-ReferenceURI Attribute severity RegistryRequestType RegistryRequestType requestSlotList 0 1 rim-SlotListType Element RequestSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 comment 0 1 UMLPrimitiveTypes-String Attribute comment id 0 1 UMLPrimitiveTypes-String Attribute id RegistryResponseType RegistryResponseType responseSlotList 0 1 rim-SlotListType Element ResponseSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 requestId 0 1 UMLPrimitiveTypes-String Attribute requestId status 1 1 rim-ReferenceURI Attribute status DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation registryError 0 1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryRequest 0 1 rs-RegistryRequestType Element RegistryRequest urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryResponse 0 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 PSListResp AdhocRespSpec ConstraintsSpec AdhocRespSpec query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec TemplateSpec DocumentSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.3.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.3.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value='Patient Summary') ERROR constraint_VersionInfo_required VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1.1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60591-5' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) WARNING constraint_formatCode_required formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.3.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.3.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1102' and self.codeContext='No Data') or (self.errorCode='4201' and self.codeContext='Unsupported Feature') or (self.errorCode='4202' and self.codeContext='Unknown Signifier') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4204' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR PSListReq PatientServiceListSpec ConstraintsSpec PatientServiceListSpec query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec TemplateSpec QuerySpec urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryPatientId'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->size()=1 ERROR constraint_typeCode_required typeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='typeCode'))->size()=1 ERROR constraint_contentTypeCode_required contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='contentTypeCode'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '60591-5^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryTypeCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR lcm AcceptObjectsRequestType AcceptObjectsRequest_._type rs-RegistryRequestType correlationId 1 1 UMLPrimitiveTypes-String Attribute correlationId ApproveObjectsRequestType ApproveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DeprecateObjectsRequestType DeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation acceptObjectsRequest 0 1 lcm-AcceptObjectsRequestType Element AcceptObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 approveObjectsRequest 0 1 lcm-ApproveObjectsRequestType Element ApproveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 deprecateObjectsRequest 0 1 lcm-DeprecateObjectsRequestType Element DeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 relocateObjectsRequest 0 1 lcm-RelocateObjectsRequestType Element RelocateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 removeObjectsRequest 0 1 lcm-RemoveObjectsRequestType Element RemoveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 submitObjectsRequest 0 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 undeprecateObjectsRequest 0 1 lcm-UndeprecateObjectsRequestType Element UndeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 updateObjectsRequest 0 1 lcm-UpdateObjectsRequestType Element UpdateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RelocateObjectsRequestType RelocateObjectsRequest_._type rs-RegistryRequestType adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 sourceRegistry 1 1 rim-ObjectRefType Element SourceRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 destinationRegistry 1 1 rim-ObjectRefType Element DestinationRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtSource 1 1 rim-ObjectRefType Element OwnerAtSource urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtDestination 1 1 rim-ObjectRefType Element OwnerAtDestination urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RemoveObjectsRequestType RemoveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 deletionScope 0 1 rim-ReferenceURI Attribute deletionScope SubmitObjectsRequestType SubmitObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UndeprecateObjectsRequestType UndeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UpdateObjectsRequestType UpdateObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 mpq FindDocumentsForMultiplePatients TemplateSpec FindDocumentsForMultiplePatients urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f rim-AdhocQueryType constraintITI51_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI51_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR constraint_requiredSlot At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' ) )->size()>0 ERROR FindFoldersForMultiplePatients TemplateSpec FindFoldersForMultiplePatients urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df rim-AdhocQueryType constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI51_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI51_XDSFolderStatus_required $XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR constraint_codeList CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderCodeList' )->size()>0 ERROR AdhocMPQSpec ConstraintsSpec AdhocMPQSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f' or self.id='urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df' ) ERROR rimihe Author_XDSDocumentEntry TemplateSpec Author_XDSDocumentEntry urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorPerson')->size()=1 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorPerson authorPerson is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorInstitution_XON AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structureif present (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson') )->forAll(sl : SlotType1 | sl.valueList.value->forAll(val : String | sl.isXCN(val) ) ) ERROR PatientId_XDSDocumentEntry TemplateSpec PatientId_XDSDocumentEntry urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 rim-ExternalIdentifierType constraintPatientId_value_notNull the value of patientId must no be null (not self.value.oclIsUndefined() ) and (not (self.value='')) ERROR constraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR XDSDocumentEntry TemplateSpec XDSDocumentEntry urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintAvailabilityStatus If status declared, XDSDocumentEntry must have the status Approved or Deprecated (urn:oasis:names:tc:ebxml-regrep:StatusType:Approved or urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated) (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.status.oclIsUndefined() or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated') ERROR constraintAuthorRequired Author is required on XDSDocumentEntry if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0 WARNING constraintClassCodeRequired classCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()>0 ERROR constraintConfidentialityCodeRequired confidentialityCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0 ERROR constraintCreationTime_unique creationTime is required and must be unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->size() = 1) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ) ERROR constraintEntryUUID_required entryUUID required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.id.oclIsUndefined() ) and (not (self.id='')) ERROR constraint_FormatCode_unique_and_required the formatCode is required and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 ERROR constraintHash_singleValue If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->size()<2) ERROR constraint_HealthCareFacilityTypeCode_unique_and_required healthCareFacilityTypeCode is required and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraintLanguageCode languageCode is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->size() = 1 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintLegalAuthenticator_unique if present on XDSDocumentEntry, legalAuthenticator shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()<2) ERROR constraintMimeType_required mimeType is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR constraintPatientId_required PatientId is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'))->size()=1 ERROR constraintRepositoryUniqueId repositoryUniqueId have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime serviceStartTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime_requiredIfKnown serviceStartTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() > 0) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0)) WARNING constraintServiceStopTime serviceStopTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStopTime_requiredIfKnown serviceStopTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() >0) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0))) WARNING constraintSize If present, size shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintSourcePatientId sourcePatientId is required, and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() = 1) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintSourcePatientInfo sourcePatientInfo shall have a single value, a single sourcePatientInfo may be present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->size() < 2) and self.slot->select(sl : SlotType1 | sl.name = 'sourcePatientInfo')->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintTitle if present, the title shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.name.oclIsUndefined() or (self.name.localizedString->size() = 1) ERROR constraintTypeCode_required typeCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'))->size()=1 ERROR constraintUniqueId uniqueId is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'))->size()=1 ERROR constraintURI URI shall have a single value if present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) ) ERROR constraintAllowedSlot allowed slot on XDSDocumentEntry are creationTime,hash, languageCode, legalAuthenticator,repositoryUniqueId, serviceStartTime, serviceStopTime, size, sourcePatientId, sourcePatientInfo, URI self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name='creationTime') or (sl.name='hash') or (sl.name='languageCode') or (sl.name='legalAuthenticator') or (sl.name='repositoryUniqueId') or (sl.name='serviceStartTime') or (sl.name='serviceStopTime') or (sl.name='size') or (sl.name='sourcePatientId') or (sl.name='sourcePatientInfo') or (sl.name='URI') ) ) ERROR constraintCreationTime_DTM creationTime must have DTM structure if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.isDTM(sl.valueList.value->first()) ) ERROR constraintHASH_SHA1 hash metadata must have SHA1 structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isSHA1(val)) ) ERROR constraintHomeCommunityId_OID homeCommunityId must have an OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.home.oclIsUndefined() or self.isOID(self.home) ERROR constraintLegalAuthenticator_XCN legalAuthenticator must have the structure XCN if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->forAll(val : String | sl.isXCN(val))) ) ERROR constraintServiceStartTime_DTM serviceStartTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintServiceStopTime_DTM serviceStopTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintSize_Integer size metadata must be an integer (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.matches(val, '[0-9]*')) ) ERROR constraintSourcePatientId_CX sourcePatientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isCX_XDS(val)) ) ERROR ClassCode_XDSDocumentEntry TemplateSpec ClassCode_XDSDocumentEntry urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a rim-ClassificationType constraintClassCodeDisplayName The classCode displayName is required, and must have a single value for the current classCode not self.name.oclIsUndefined() and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR ConfidentialityCode_XDSDocumentEntry TemplateSpec ConfidentialityCode_XDSDocumentEntry urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f rim-ClassificationType constraintConfidentialityCodeMultivalued confidentialityCode shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size()>0) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()>0) ) ERROR constraintCheckSlot slot of confidentialityCode must be codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme') ERROR EventCodeList_XDSDocumentEntry TemplateSpec EventCodeList_XDSDocumentEntry urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4 rim-ClassificationType constraintEventCodeList_multiplevalue eventCodeList if present, shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size() > 0) and ( self.slot->select( (not valueList.oclIsUndefined()) and (not valueList.value->isEmpty()))->size()>0 ) ERROR constraintEventCodeList_diplayName EventCodeList display name shall have a single value corresponding to each value in eventCodeList (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() > 0) ERROR constraintEventCodeList_structure EventCodeList structure : name of slot : codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'codingScheme')) ERROR FormatCode_XDSDocumentEntry TemplateSpec FormatCode_XDSDocumentEntry urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d rim-ClassificationType constraintFormatCode_nameNotNull The name is not null (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->select(ls : LocalizedStringType | (not ls.value.oclIsUndefined()) and (not (ls.value='')))->size()>0) ERROR constraintFormatCode_unique FormatCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.slot->isEmpty()) and (self.slot->size() = 1) and (self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintFormatCode_displayNameRequired The displayName of formatCode is required, shall have a single value (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR HealthCareFacilityTypeCode_XDSDocumentEntry TemplateSpec HealthCareFacilityTypeCode_XDSDocumentEntry urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 rim-ClassificationType constraintHealthCareFacilityTypeCode_Unique healthCareFacilityTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraintHealthCareFacilityTypeCode_displayName DisplayName of HealthCareFacilityTypeCode is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR PracticeSettingCode_XDSDocumentEntry TemplateSpec PracticeSettingCode_XDSDocumentEntry urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead rim-ClassificationType constraintPracticeSettingCode_unique PracticeSettingCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and (self.slot->forAll(sl :SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintPracticeSettingCode_displayName the displayName of PracticeSettingCode is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first().value='')) ERROR TypeCode_XDSDocumentEntry TemplateSpec TypeCode_XDSDocumentEntry urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 rim-ClassificationType constraintTypeCode_singleValue TypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraint_typeCode_displayName typeCode displayName is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR UniqueId_XDSDocumentEntry TemplateSpec UniqueId_XDSDocumentEntry urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab rim-ExternalIdentifierType constraintUniqueId if present, URI shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR Author_SubmissionSet TemplateSpec Author_SubmissionSet urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()<2 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->size()>0 WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole'))->size()>0 WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpecialty'))->size()>0 WARNING constraintAuthorInstitution_XON authorInstitution must have XON structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXON(val)) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXCN(val)) ) ERROR XDSSubmissionSetConstraints ConstraintsSpec XDSSubmissionSetConstraints rim-RegistryObjectListType constraintAvailabilityStatus status of a SubmissionSet shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintAuthorSubmissionSet_required_ifKnown The author is required on SubmissionSet if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d') )->size() > 0 ) WARNING constraintContentTypeCode_required contentTypeCode required and unique on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'))->size() = 1 ) ERROR constraintEntryUUID_required entryUUID is required on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintIntendedRecipient intendedRecipient shall have one or more values if present on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | sl.name='intendedRecipient')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) )) ERROR constraintPatientId patientId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))->size() = 1 ) ERROR constraintSourceId sourceId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionTime submissionTime is required and shall have a singleValue on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->size() = 1) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) )) ) ERROR constraintUniqueId uniqueId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionSet_allowed_slot allowed slot on submissionSet are only submissionTime, others are extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->size() = 1) and (rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))) ) WARNING constraintSubmissionSet_allowed_classification allowed classification on submissionSet are only author and contentTypeCode (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d' or cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500') ) ERROR constraintSubmissionSet_allowed_externalIdentifier allowed externalIdentifier on submissionSet are only patientId, sourceId, and uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ( ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446' or ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832' or ext.identificationScheme='urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8' ) ) ) ERROR constraintSubmissionTime_DTM submissionTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR constraintHomeCommunity_id homeCommunityId shoud have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR ContentTypeCode_XDSSubmissionSet TemplateSpec ContentTypeCode_XDSSubmissionSet urn:uuid:aa543740-bdda-424e-8c96-df4873be8500 rim-ClassificationType constraintContentTypeCode_singleValue ContentTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()=1 and self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) ERROR constraintContentTypeCode_displayName ContentTypeCode displayName is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FTTable 4.1-6) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() =1) and (not (self.name.localizedString->first()='')) ERROR PatientId_SubmissionSet TemplateSpec PatientId_SubmissionSet urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446 rim-ExternalIdentifierType constraintPatientId_SubmissionSet_singleValue XDSSubmissionSet.patientId shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR nconstraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR SourceId_SubmissionSet TemplateSpec SourceId_SubmissionSet urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 rim-ExternalIdentifierType constraintSourceId_SubmissionSet_singleValue XDSSubmissionSet.sourceId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintSourceId_OID sourceId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR UniqueId_SubmissionSet TemplateSpec UniqueId_SubmissionSet urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 rim-ExternalIdentifierType constraintUniqueId_SubmissionSet XDSSubmissionSet.uniqueId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR XDSFolderConstraints ConstraintsSpec XDSFolderConstraints rim-RegistryObjectListType constraintXDSFolder_status status of XDSFolder shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintXDSFolder_codeList_required codeList of XDSFolder is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5')->size()>0 ) ERROR constraintXDSFolder_entryUUID EntryUUID is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintXDSFolder_lastUpdateTime if XDSFolder present, lastUpdateTime shall have a single value if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->size()=1) ) WARNING constraintXDSFolder_patientId_required_and_unique the patientId of an XDSFolder is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'))->size() = 1 ) ERROR constraintXDSFolder_uniqueId_required_and_unique the uniqueId of XDSFolder is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'))->size()=1 ) ERROR constraintXDSFolder_allowed_slot allowed Slot on XDSFolder is only lastUpdateTime, otherwise it's an extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->size()=1 and rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='lastUpdateTime') ) WARNING constraintXDSFolder_allowed_Classification Allowed Classification on XDSFolder is only CodeList (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | (cl.classificationScheme.oclIsUndefined()) or cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5') ) ERROR constraintXDSFolder_allowed_ExternalIdentifier Allowed Classification on XDSFolder are only XDSFolder.patientId and XDSFolder.uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a' or ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')) ) ERROR constraintHomeComunityId_OID homeCommunityId must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR constraintLastUpdateTime_DTM lastUpdateTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR CodeList_XDSFolder TemplateSpec CodeList_XDSFolder urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5 rim-ClassificationType constraintCodeList_multipleValue codeList of XDSFolder shall have on or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) ERROR constraintCodeList_displayName_required the displayName of CodeList is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) ERROR PatientId_XDSFolder TemplateSpec PatientId_XDSFolder urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a rim-ExternalIdentifierType constraintPatientId_singleValue PatientId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintPatientId_CX patientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR UniqueId_XDSFolder TemplateSpec UniqueId_XDSFolder urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a rim-ExternalIdentifierType constraintUniqueId_singleValue UniqueId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isOID(self.value) ERROR StringMatcher StringMatcher isDTM Boolean value UMLPrimitiveTypes-String CSPutResp CSPutRespSpec ConstraintsSpec CSPutRespSpec rs-RegistryResponseType constraint_allowed_status status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR constraint_warning_vs_success if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5) self.status.oclIsUndefined() or (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ERROR CSPutRegSpec ConstraintsSpec CSPutRegSpec rs-RegistryErrorType constraint_severity severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.severity.oclIsUndefined()) and ( (self.errorCode='2201' and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ) ERROR constraint_allowed_errorCode errorCodes allowed are those defined on IHE, and 4705, 4702, 4706, 4701 (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4705' and self.codeContext='Policy Violation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4706' and self.codeContext='Unknown policy') or (self.errorCode='4701' and self.codeContext='No consent') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSDiscResp CSDiscRespSpec ConstraintsSpec CSDiscRespSpec rs-RegistryResponseType constraint_status_required status required (WP34_D342_V2.2 3.6.2.5) not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5) self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR CSDiscRegErrSpec ConstraintsSpec CSDiscRegErrSpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5) (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='4109' and self.codeContext='Deprecation rejected') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR constraint_failure_location A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5) self.location.oclIsUndefined() ERROR rim ActionType ActionType AdhocQueryType AdhocQueryType rim-RegistryObjectType queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObjectType RegistryObjectType rim-IdentifiableType name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 versionInfo 0 1 rim-VersionInfoType Element VersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 lid 0 1 UMLPrimitiveTypes-String Attribute lid objectType 0 1 rim-ReferenceURI Attribute objectType status 0 1 rim-ReferenceURI Attribute status IdentifiableType IdentifiableType common-StringMatcher slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 home 0 1 UMLPrimitiveTypes-String Attribute home id 1 1 UMLPrimitiveTypes-String Attribute id SlotType1 SlotType1 common-StringMatcher valueList 1 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 1 1 UMLPrimitiveTypes-String Attribute name slotType 0 1 UMLPrimitiveTypes-String Attribute slotType ValueListType ValueListType value 0 -1 UMLPrimitiveTypes-String Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 InternationalStringType InternationalStringType localizedString 0 -1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 LocalizedStringType LocalizedStringType charset 0 1 UMLPrimitiveTypes-String Attribute charset lang 0 1 UMLPrimitiveTypes-String Attribute lang http://www.w3.org/XML/1998/namespace value 1 1 UMLPrimitiveTypes-String Attribute value VersionInfoType VersionInfoType comment 0 1 UMLPrimitiveTypes-String Attribute comment versionName 0 1 rim-String16 Attribute versionName ClassificationType ClassificationType rim-RegistryObjectType classificationNode 0 1 UMLPrimitiveTypes-String Attribute classificationNode classificationScheme 0 1 UMLPrimitiveTypes-String Attribute classificationScheme classifiedObject 1 1 UMLPrimitiveTypes-String Attribute classifiedObject nodeRepresentation 0 1 UMLPrimitiveTypes-String Attribute nodeRepresentation ExternalIdentifierType ExternalIdentifierType rim-RegistryObjectType identificationScheme 1 1 rim-ReferenceURI Attribute identificationScheme registryObject 1 1 rim-ReferenceURI Attribute registryObject value 1 1 UMLPrimitiveTypes-String Attribute value QueryExpressionType QueryExpressionType mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed any 0 1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard any queryLanguage 1 1 rim-ReferenceURI Attribute queryLanguage AssociationType1 AssociationType1 rim-RegistryObjectType constraintAssociation_allowed_types allowed types on Associations are HasMember, urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember, urn:ihe:iti:2007:AssociationType:RPLC, urn:ihe:iti:2007:AssociationType:XFRM, urn:ihe:iti:2007:AssociationType:APND, urn:ihe:iti:2007:AssociationType:XFRM_RPLC, and urn:ihe:iti:2007:AssociationType:signs (not self.associationType.oclIsUndefined()) and ( (self.associationType = 'urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:APND') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM_RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:signs') or (self.associationType = 'HasMember') ) ERROR associationType 1 1 UMLPrimitiveTypes-String Attribute associationType sourceObject 1 1 UMLPrimitiveTypes-String Attribute sourceObject targetObject 1 1 UMLPrimitiveTypes-String Attribute targetObject AuditableEventType AuditableEventType rim-RegistryObjectType affectedObjects 1 1 rim-ObjectRefListType Element affectedObjects urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 eventType 1 1 rim-ReferenceURI Attribute eventType requestId 1 1 rim-ReferenceURI Attribute requestId timestamp 1 1 UMLPrimitiveTypes-String Attribute timestamp user 1 1 rim-ReferenceURI Attribute user ObjectRefListType ObjectRefListType group 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group group objectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRefType ObjectRefType rim-IdentifiableType createReplica 0 1 UMLPrimitiveTypes-Boolean Attribute createReplica ClassificationNodeType ClassificationNodeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 code 0 1 rim-LongName Attribute code parent 0 1 rim-ReferenceURI Attribute parent path 0 1 UMLPrimitiveTypes-String Attribute path ClassificationSchemeType ClassificationSchemeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isInternal 1 1 UMLPrimitiveTypes-Boolean Attribute isInternal nodeType 1 1 UMLPrimitiveTypes-String Attribute nodeType EmailAddressType EmailAddressType address 1 1 rim-ShortName Attribute address type 0 1 rim-String32 Attribute type ExternalLinkType ExternalLinkType rim-RegistryObjectType externalURI 1 1 UMLPrimitiveTypes-String Attribute externalURI ExtrinsicObjectType ExtrinsicObjectType rim-RegistryObjectType contentVersionInfo 0 1 rim-VersionInfoType Element ContentVersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isOpaque 0 1 UMLPrimitiveTypes-Boolean Attribute isOpaque mimeType 0 1 UMLPrimitiveTypes-String Attribute mimeType Document 0 1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 FederationType FederationType rim-RegistryObjectType replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency NotificationType NotificationType rim-RegistryObjectType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 1 1 rim-ReferenceURI Attribute subscription RegistryObjectListType RegistryObjectListType identifiableGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group identifiableGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 -1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Association 0 -1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 AuditableEvent 0 -1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationScheme 0 -1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalLink 0 -1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExtrinsicObject 0 -1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Federation 0 -1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Organization 0 -1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Person 0 -1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Registry 0 -1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObject 0 -1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackage 0 -1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Service 0 -1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ServiceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SpecificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Subscription 0 -1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 User 0 -1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 NotifyActionType NotifyActionType rim-ActionType endPoint 1 1 UMLPrimitiveTypes-String Attribute endPoint notificationOption 0 1 rim-ReferenceURI Attribute notificationOption OrganizationType OrganizationType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 parent 0 1 rim-ReferenceURI Attribute parent primaryContact 0 1 rim-ReferenceURI Attribute primaryContact PostalAddressType PostalAddressType city 0 1 rim-ShortName Attribute city country 0 1 rim-ShortName Attribute country postalCode 0 1 rim-ShortName Attribute postalCode stateOrProvince 0 1 rim-ShortName Attribute stateOrProvince street 0 1 rim-ShortName Attribute street streetNumber 0 1 rim-String32 Attribute streetNumber TelephoneNumberType TelephoneNumberType areaCode 0 1 rim-String8 Attribute areaCode countryCode 0 1 rim-String8 Attribute countryCode extension 0 1 rim-String8 Attribute extension number 0 1 rim-String16 Attribute number phoneType 0 1 rim-String32 Attribute phoneType PersonNameType PersonNameType firstName 0 1 rim-ShortName Attribute firstName lastName 0 1 rim-ShortName Attribute lastName middleName 0 1 rim-ShortName Attribute middleName PersonType PersonType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackageType RegistryPackageType rim-RegistryObjectType registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryType RegistryType rim-RegistryObjectType catalogingLatency 0 1 UMLPrimitiveTypes-String Attribute catalogingLatency conformanceProfile 0 1 rim-ConformanceProfileType Attribute conformanceProfile operator 1 1 rim-ReferenceURI Attribute operator replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency specificationVersion 1 1 UMLPrimitiveTypes-String Attribute specificationVersion ServiceBindingType ServiceBindingType rim-RegistryObjectType specificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 accessURI 0 1 UMLPrimitiveTypes-String Attribute accessURI service 1 1 rim-ReferenceURI Attribute service targetBinding 0 1 rim-ReferenceURI Attribute targetBinding SpecificationLinkType SpecificationLinkType rim-RegistryObjectType usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 -1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 1 1 rim-ReferenceURI Attribute serviceBinding specificationObject 1 1 rim-ReferenceURI Attribute specificationObject ServiceType ServiceType rim-RegistryObjectType serviceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SlotListType SlotListType slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SubscriptionType SubscriptionType rim-RegistryObjectType actionGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group actionGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 action 0 -1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 endTime 0 1 UMLPrimitiveTypes-String Attribute endTime notificationInterval 0 1 UMLPrimitiveTypes-String Attribute notificationInterval selector 1 1 rim-ReferenceURI Attribute selector startTime 0 1 UMLPrimitiveTypes-String Attribute startTime TelephoneNumberListType TelephoneNumberListType telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UserType UserType rim-PersonType DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation action 0 1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 address 0 1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObject 0 1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 association 0 1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 auditableEvent 0 1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationNode 0 1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationScheme 0 1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalLink 0 1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 extrinsicObject 0 1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federation 0 1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 internationalString 0 1 rim-InternationalStringType Element InternationalString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 localizedString 0 1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notification 0 1 rim-NotificationType Element Notification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notifyAction 0 1 rim-NotifyActionType Element NotifyAction urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRef 0 1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 organization 0 1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 person 0 1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 postalAddress 0 1 rim-PostalAddressType Element PostalAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registry 0 1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryPackage 0 1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 service 0 1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 0 1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slot 0 1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slotList 0 1 rim-SlotListType Element SlotList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 specificationLink 0 1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 0 1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 user 0 1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 value 0 1 rim-LongName Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 valueList 0 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ConformanceProfileType ConformanceProfileType registryFull registryFull registryLite registryLite rsqihe RSQIHEConstraints ConstraintsSpec RSQIHEConstraints query-AdhocQueryRequestType constraintReturnType the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and (self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS) ERROR constraintQueryID QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' or self.adhocQuery.id='urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4' or self.adhocQuery.id='urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4' or self.adhocQuery.id='urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155' or self.adhocQuery.id='urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a' or self.adhocQuery.id='urn:uuid:51224314-5390-4169-9b91-b1980040715a' or self.adhocQuery.id='urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83' or self.adhocQuery.id='urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7' or self.adhocQuery.id='urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578' or self.adhocQuery.id='urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6' ) ERROR FindDocuments TemplateSpec FindDocuments urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d rim-AdhocQueryType constraintITI18_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI18_XDSDocumentEntryPatientId_notMultiple $XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on the TF 2a, 3.18.4.1.2.3.7.1 self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR FindSubmissionSets TemplateSpec FindSubmissionSets urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9 rim-AdhocQueryType constraintITI18_XDSSubmissionSetSourceId_notSupportAND $XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSourceId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND $XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple $XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND $XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->size()<2 ERROR constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple $XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetSubmissionTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND $XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->size()<2 ERROR constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple $XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetAuthorPerson' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetContentType_notSupportAND $XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetContentType' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notSupportAND $XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetPatientId_notMultiple $XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetPatientId_required $XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetPatientId' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintFindSubmissionSets_allowedSlot allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetSourceId' or sl.name='$XDSSubmissionSetSubmissionTimeFrom' or sl.name='$XDSSubmissionSetSubmissionTimeTo' or sl.name='$XDSSubmissionSetAuthorPerson' or sl.name='$XDSSubmissionSetContentType' or sl.name='$XDSSubmissionSetPatientId' or sl.name='$XDSSubmissionSetStatus') ) ERROR GetSubmissionSetAndContents TemplateSpec GetSubmissionSetAndContents urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND $XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->size()<2 ERROR constraintITI18_XDSSubmissionSetEntryUUID_notMultiple $XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetEntryUUID' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSSubmissionSetUniqueId_notSupportAND $XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->size()<2 ERROR constraintITI18_XDSSubmissionSetUniqueId_notMultiple $XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetUniqueId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetSubmissionSetAndContents_allowedSlot allowed metadata on GetSubmissionSetAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.10)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId') ) ERROR constraintGetSubmissionSetAndContents_requiredField Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSSubmissionSetEntryUUID' or sl.name='$XDSSubmissionSetUniqueId' ) )->size()>0 ERROR GetFolders TemplateSpec GetFolders urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFolders_allowedSlot allowed metadata on GetFolders are those on the table (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolders_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR GetAll TemplateSpec GetAll urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI18_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintITI18_XDSSubmissionSetStatus_notSupportAND $XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()<2 ERROR constraintITI18_XDSSubmissionSetStatus_required $XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSSubmissionSetStatus' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintITI18_patientId_notSupportAND $patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()<2 ERROR constraintITI18_patientId_notMultiple $patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_patientId_required $patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$patientId' )->size()>0 ERROR constraintGetAll_allowedSlot allowed metadata on GetAll are those on the table (ITI TF-2a 3.18.4.1.2.3.7.4)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSSubmissionSetStatus' or sl.name='$XDSFolderStatus' or sl.name='$patientId' ) ) ERROR GetDocuments TemplateSpec GetDocuments urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocuments_allowedSlot allowed metadata on GetDocuments are those on the table (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetDocumentsAndAssociations TemplateSpec GetDocumentsAndAssociations urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetDocumentsAndAssociations_allowedSlot allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId') ) ERROR constraintGetDocumentsAndAssociations_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetFoldersForDocument TemplateSpec GetFoldersForDocument urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintGetFoldersForDocument_allowedSlot allowed Metadata on GetFoldersForDocument are those on the table (ITI TF-2a 3.18.4.1.2.3.7.12)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' ) ) ERROR constraintGetFoldersForDocument_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR GetSubmissionSets TemplateSpec GetSubmissionSets urn:uuid:51224314-5390-4169-9b91-b1980040715a rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetSubmissionSets_allowedSlot allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid' ) ) ERROR GetAssociations TemplateSpec GetAssociations urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155 rim-AdhocQueryType constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_uuid_notSupportAND $uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()<2 ERROR constraintITI18_uuid_required $uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$uuid' )->size()>0 ERROR constraintGetAssociations_allowedSlot allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$homeCommunityId' or sl.name='$uuid') ) ERROR GetFoldersAndContents TemplateSpec GetFoldersAndContents urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7 rim-AdhocQueryType constraintITI18_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderEntryUUID_notSupportAND $XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderEntryUUID' )->size()<2 ERROR constraintITI18_XDSFolderUniqueId_notSupportAND $XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderUniqueId' )->size()<2 ERROR constraintGetFoldersAndContents_allowedSlot allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11)) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$homeCommunityId' or sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) ) ERROR constraintGetFolderAndContents_requiredField Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderEntryUUID' or sl.name='$XDSFolderUniqueId' ) )->size()>0 ERROR FindFolders TemplateSpec FindFolders urn:uuid:958f3006-baad-4929-a4de-ff1114824431 rim-AdhocQueryType constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI18_XDSFolderPatientId_notMultiple $XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_XDSFolderPatientId_required $XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()>0 ERROR constraintITI18_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI18_XDSFolderStatus_required $XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR GetRelatedDocuments TemplateSpec GetRelatedDocuments urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6 rim-AdhocQueryType constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND $XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraintITI18_XDSDocumentEntryUniqueId_notSupportAND $XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraintITI18_homeCommunityId_notSupportAND $homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->size()<2 ERROR constraintITI18_homeCommunityId_notMultiple $homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$homeCommunityId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI18_AssociationTypes_notSupportAND $AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()<2 ERROR constraintITI18_AssociationTypes_required $AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13)) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$AssociationTypes' )->size()>0 ERROR constraintGetRelatedDocuments_allowedSlot aloowed metadata on GetRelatedDocuments are those on the tab self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' or sl.name='$homeCommunityId' or sl.name='$AssociationTypes' ) ) ERROR constraintGetRelatedDocuments_requiredField Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()>0 ERROR CSDiscReq CSDiscReqSpec ConstraintsSpec CSDiscReqSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.6.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayRetrieveError RegistryResponseSpec6 ConstraintsSpec RegistryResponseSpec6 rs-RegistryResponseType constraintRegistryResponseStatus_CrossGatewayRetrieve accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec6 ConstraintsSpec RegistryErrorSpec6 rs-RegistryErrorType constraintRegistryError_allowedCode_CrossGatewayRetrieve allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR RegistryStoredQueryError RegistryResponseSpec3 ConstraintsSpec RegistryResponseSpec3 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec3 ConstraintsSpec RegistryErrorSpec3 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR DSDiscardResp DSDiscRespSpec ConstraintsSpec DSDiscRespSpec rs-RegistryResponseType constraint_status_required status required not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR DSDiscRESpec ConstraintsSpec DSDiscRESpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 2201 (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSPutReq CSExtrSpec TemplateSpec CSExtrSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1) (not self.mimeType.oclIsUndefined() ) and self.mimeType='text/xml' ERROR constraint_status status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57016-8' ) ERROR constraint_formatCode formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:iti:bppc-sd:2007' or cl.nodeRepresentation='urn:ihe:iti:bppc:2007' ) ) ERROR constraint_allowed_slot allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='languageCode' or sl.name='sourcePatientId') WARNING constraint_allowed_classification allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4' ) WARNING constraint_allowed_externalIdentifier allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1') WARNING constraint_eventCodeList the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1' or cl.nodeRepresentation='1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2' ) ) ERROR CSSubmitSpec ConstraintsSpec CSSubmitSpec lcm-SubmitObjectsRequestType constraint_registryObjectList_required registryObjectList_required (WP34_D342_V2.2 3.6.1.1) not self.registryObjectList.oclIsUndefined() ERROR constraint_ExtrinsicObject_single a single ExtrinsicObject element must be set on registryObjectList self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1) ERROR dds xcf XCFQueryRequest TemplateSpec XCFQueryRequest urn:uuid:f2072993-9478-41df-a603-8f016706efe8 query-AdhocQueryRequestType constraint_returnType returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR XCFAdhocQuery TemplateSpec XCFAdhocQuery urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_classCode1 $XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()>0 ERROR constraint_classCode2 $XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraint_typeCode $XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationTimeFrom1 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTimeFrom2 $XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTimeTo1 $XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_creationTimeTo2 $XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeFrom1 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTimeFrom2 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startTimeTo1 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_startTimeTo2 $XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeFrom1 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTimeFrom2 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTimeTo1 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_stopTimeTo2 $XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_healthCareFacilityTypeCode $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_authorPerson $XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_formatCode $XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraint_homeCommunityId homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1) (not self.home.oclIsUndefined()) and (self.home<>'') ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' ) ) ERROR XCFAdhocQuerySpec ConstraintsSpec XCFAdhocQuerySpec rim-AdhocQueryType constraint_xcf_id XCF shall have the AdhocQuery id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2) (not self.id.oclIsUndefined()) and self.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR RegisterDocumentSetError RegistryResponseSpec2 ConstraintsSpec RegistryResponseSpec2 rs-RegistryResponseType constraintRegistryResponseStatus_RegisterDocumentSet accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec2 ConstraintsSpec RegistryErrorSpec2 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryDocumentSet allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') ) ERROR epsos rs RegistryErrorListType RegistryErrorList_._type registryError 1 -1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 highestSeverity 0 1 rim-ReferenceURI Attribute highestSeverity RegistryErrorType RegistryError_._type value 0 1 UMLPrimitiveTypes-String Simple value codeContext 1 1 UMLPrimitiveTypes-String Attribute codeContext errorCode 1 1 UMLPrimitiveTypes-String Attribute errorCode location 0 1 UMLPrimitiveTypes-String Attribute location severity 0 1 rim-ReferenceURI Attribute severity RegistryRequestType RegistryRequestType requestSlotList 0 1 rim-SlotListType Element RequestSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 comment 0 1 UMLPrimitiveTypes-String Attribute comment id 0 1 UMLPrimitiveTypes-String Attribute id RegistryResponseType RegistryResponseType responseSlotList 0 1 rim-SlotListType Element ResponseSlotList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 requestId 0 1 UMLPrimitiveTypes-String Attribute requestId status 1 1 rim-ReferenceURI Attribute status DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation registryError 0 1 rs-RegistryErrorType Element RegistryError urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryErrorList 0 1 rs-RegistryErrorListType Element RegistryErrorList urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryRequest 0 1 rs-RegistryRequestType Element RegistryRequest urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 registryResponse 0 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 PSListResp AdhocRespSpec ConstraintsSpec AdhocRespSpec query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec TemplateSpec DocumentSpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.3.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.3.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value='Patient Summary') ERROR constraint_VersionInfo_required VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1.1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60591-5' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) WARNING constraint_formatCode_required formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.3.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.3.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.3.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.3.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1102' and self.codeContext='No Data') or (self.errorCode='4201' and self.codeContext='Unsupported Feature') or (self.errorCode='4202' and self.codeContext='Unknown Signifier') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4204' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR PSListReq PatientServiceListSpec ConstraintsSpec PatientServiceListSpec query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec TemplateSpec QuerySpec urn:uuid:f2072993-9478-41df-a603-8f016706efe8 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryPatientId'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->size()=1 ERROR constraint_typeCode_required typeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='typeCode'))->size()=1 ERROR constraint_contentTypeCode_required contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='contentTypeCode'))->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryStatus'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '60591-5^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryTypeCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR lcm AcceptObjectsRequestType AcceptObjectsRequest_._type rs-RegistryRequestType correlationId 1 1 UMLPrimitiveTypes-String Attribute correlationId ApproveObjectsRequestType ApproveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DeprecateObjectsRequestType DeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation acceptObjectsRequest 0 1 lcm-AcceptObjectsRequestType Element AcceptObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 approveObjectsRequest 0 1 lcm-ApproveObjectsRequestType Element ApproveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 deprecateObjectsRequest 0 1 lcm-DeprecateObjectsRequestType Element DeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 relocateObjectsRequest 0 1 lcm-RelocateObjectsRequestType Element RelocateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 removeObjectsRequest 0 1 lcm-RemoveObjectsRequestType Element RemoveObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 submitObjectsRequest 0 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 undeprecateObjectsRequest 0 1 lcm-UndeprecateObjectsRequestType Element UndeprecateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 updateObjectsRequest 0 1 lcm-UpdateObjectsRequestType Element UpdateObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RelocateObjectsRequestType RelocateObjectsRequest_._type rs-RegistryRequestType adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 sourceRegistry 1 1 rim-ObjectRefType Element SourceRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 destinationRegistry 1 1 rim-ObjectRefType Element DestinationRegistry urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtSource 1 1 rim-ObjectRefType Element OwnerAtSource urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 ownerAtDestination 1 1 rim-ObjectRefType Element OwnerAtDestination urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 RemoveObjectsRequestType RemoveObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 deletionScope 0 1 rim-ReferenceURI Attribute deletionScope SubmitObjectsRequestType SubmitObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UndeprecateObjectsRequestType UndeprecateObjectsRequest_._type rs-RegistryRequestType adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UpdateObjectsRequestType UpdateObjectsRequest_._type rs-RegistryRequestType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 mpq FindDocumentsForMultiplePatients TemplateSpec FindDocumentsForMultiplePatients urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f rim-AdhocQueryType constraintITI51_XDSDocumentEntryClassCode_notSupportAND $XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryTypeCode_notSupportAND $XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple $XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple $XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND $XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraintITI51_XDSDocumentEntryFormatCode_notSupportAND $XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryFormatCode' )->size()<2 ERROR constraintITI51_XDSDocumentEntryPatientId_notSupportAND $XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_notSupportAND $XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraintITI51_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraintFindDocuments_allowedSlot allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryTypeCode' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryFormatCode' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryStatus' ) ) ERROR constraint_requiredSlot At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryClassCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' ) )->size()>0 ERROR FindFoldersForMultiplePatients TemplateSpec FindFoldersForMultiplePatients urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df rim-AdhocQueryType constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND $XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple $XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND $XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->size()<2 ERROR constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple $XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderLastUpdateTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraintITI51_XDSFolderPatientId_notSupportAND $XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderPatientId' )->size()<2 ERROR constraintITI51_XDSFolderStatus_notSupportAND $XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()<2 ERROR constraintITI51_XDSFolderStatus_required $XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderStatus' )->size()>0 ERROR constraintFindFolders_allowedSlot allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='$XDSFolderLastUpdateTimeFrom' or sl.name='$XDSFolderLastUpdateTimeTo' or sl.name='$XDSFolderCodeList' or sl.name='$XDSFolderPatientId' or sl.name='$XDSFolderStatus' ) ) ERROR constraint_codeList CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSFolderCodeList' )->size()>0 ERROR AdhocMPQSpec ConstraintsSpec AdhocMPQSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f' or self.id='urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df' ) ERROR rimihe Author_XDSDocumentEntry TemplateSpec Author_XDSDocumentEntry urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorPerson')->size()=1 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorPerson authorPerson is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->size()>0 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpeciality'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) WARNING constraintAuthorInstitution_XON AuthorInstitution must have XON structure is specified (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isXON(val) ) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structureif present (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson') )->forAll(sl : SlotType1 | sl.valueList.value->forAll(val : String | sl.isXCN(val) ) ) ERROR PatientId_XDSDocumentEntry TemplateSpec PatientId_XDSDocumentEntry urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427 rim-ExternalIdentifierType constraintPatientId_value_notNull the value of patientId must no be null (not self.value.oclIsUndefined() ) and (not (self.value='')) ERROR constraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR XDSDocumentEntry TemplateSpec XDSDocumentEntry urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintAvailabilityStatus If status declared, XDSDocumentEntry must have the status Approved or Deprecated (urn:oasis:names:tc:ebxml-regrep:StatusType:Approved or urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated) (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.status.oclIsUndefined() or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (self.status = 'urn:oasis:names:tc:ebxml-regrep:StatusType:Deprecated') ERROR constraintAuthorRequired Author is required on XDSDocumentEntry if known (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0 WARNING constraintClassCodeRequired classCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()>0 ERROR constraintConfidentialityCodeRequired confidentialityCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0 ERROR constraintCreationTime_unique creationTime is required and must be unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->size() = 1) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ) ERROR constraintEntryUUID_required entryUUID required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.id.oclIsUndefined() ) and (not (self.id='')) ERROR constraint_FormatCode_unique_and_required the formatCode is required and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 ERROR constraintHash_singleValue If present on XDSDocumentEntry, hash shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash') )->size()<2) ERROR constraint_HealthCareFacilityTypeCode_unique_and_required healthCareFacilityTypeCode is required and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraintLanguageCode languageCode is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->size() = 1 and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'languageCode'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintLegalAuthenticator_unique if present on XDSDocumentEntry, legalAuthenticator shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()<2) ERROR constraintMimeType_required mimeType is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR constraintPatientId_required PatientId is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'))->size()=1 ERROR constraintRepositoryUniqueId repositoryUniqueId have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'repositoryUniqueId'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime serviceStartTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStartTime_requiredIfKnown serviceStartTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->size() > 0) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0)) WARNING constraintServiceStopTime serviceStopTime have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintServiceStopTime_requiredIfKnown serviceStopTime required if known on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->size() >0) and (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0))) WARNING constraintSize If present, size shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) ) ERROR constraintSourcePatientId sourcePatientId is required, and unique on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size() = 1) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintSourcePatientInfo sourcePatientInfo shall have a single value, a single sourcePatientInfo may be present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->size() < 2) and self.slot->select(sl : SlotType1 | sl.name = 'sourcePatientInfo')->forAll(sl : SlotType1 | not sl.valueList.oclIsUndefined() ) ERROR constraintTitle if present, the title shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.name.oclIsUndefined() or (self.name.localizedString->size() = 1) ERROR constraintTypeCode_required typeCode is required on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'))->size()=1 ERROR constraintUniqueId uniqueId is required, and shall have a single value on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'))->size()=1 ERROR constraintURI URI shall have a single value if present on XDSDocumentEntry (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->size() < 2) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) ) ERROR constraintAllowedSlot allowed slot on XDSDocumentEntry are creationTime,hash, languageCode, legalAuthenticator,repositoryUniqueId, serviceStartTime, serviceStopTime, size, sourcePatientId, sourcePatientInfo, URI self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name='creationTime') or (sl.name='hash') or (sl.name='languageCode') or (sl.name='legalAuthenticator') or (sl.name='repositoryUniqueId') or (sl.name='serviceStartTime') or (sl.name='serviceStopTime') or (sl.name='size') or (sl.name='sourcePatientId') or (sl.name='sourcePatientInfo') or (sl.name='URI') ) ) ERROR constraintCreationTime_DTM creationTime must have DTM structure if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'creationTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.isDTM(sl.valueList.value->first()) ) ERROR constraintHASH_SHA1 hash metadata must have SHA1 structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'hash'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->forAll(val : String | sl.isSHA1(val)) ) ERROR constraintHomeCommunityId_OID homeCommunityId must have an OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.home.oclIsUndefined() or self.isOID(self.home) ERROR constraintLegalAuthenticator_XCN legalAuthenticator must have the structure XCN if present (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->forAll(val : String | sl.isXCN(val))) ) ERROR constraintServiceStartTime_DTM serviceStartTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStartTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintServiceStopTime_DTM serviceStopTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'serviceStopTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isDTM(val)) ) ERROR constraintSize_Integer size metadata must be an integer (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'size'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.matches(val, '[0-9]*')) ) ERROR constraintSourcePatientId_CX sourcePatientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isCX_XDS(val)) ) ERROR ClassCode_XDSDocumentEntry TemplateSpec ClassCode_XDSDocumentEntry urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a rim-ClassificationType constraintClassCodeDisplayName The classCode displayName is required, and must have a single value for the current classCode not self.name.oclIsUndefined() and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR ConfidentialityCode_XDSDocumentEntry TemplateSpec ConfidentialityCode_XDSDocumentEntry urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f rim-ClassificationType constraintConfidentialityCodeMultivalued confidentialityCode shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size()>0) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()>0) ) ERROR constraintCheckSlot slot of confidentialityCode must be codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme') ERROR EventCodeList_XDSDocumentEntry TemplateSpec EventCodeList_XDSDocumentEntry urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4 rim-ClassificationType constraintEventCodeList_multiplevalue eventCodeList if present, shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (self.slot->size() > 0) and ( self.slot->select( (not valueList.oclIsUndefined()) and (not valueList.value->isEmpty()))->size()>0 ) ERROR constraintEventCodeList_diplayName EventCodeList display name shall have a single value corresponding to each value in eventCodeList (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() > 0) ERROR constraintEventCodeList_structure EventCodeList structure : name of slot : codingScheme self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'codingScheme')) ERROR FormatCode_XDSDocumentEntry TemplateSpec FormatCode_XDSDocumentEntry urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d rim-ClassificationType constraintFormatCode_nameNotNull The name is not null (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->select(ls : LocalizedStringType | (not ls.value.oclIsUndefined()) and (not (ls.value='')))->size()>0) ERROR constraintFormatCode_unique FormatCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.slot->isEmpty()) and (self.slot->size() = 1) and (self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintFormatCode_displayNameRequired The displayName of formatCode is required, shall have a single value (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) and (self.name.localizedString->size() = 1) and (not (self.name.localizedString->first().value='')) ERROR HealthCareFacilityTypeCode_XDSDocumentEntry TemplateSpec HealthCareFacilityTypeCode_XDSDocumentEntry urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1 rim-ClassificationType constraintHealthCareFacilityTypeCode_Unique healthCareFacilityTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraintHealthCareFacilityTypeCode_displayName DisplayName of HealthCareFacilityTypeCode is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR PracticeSettingCode_XDSDocumentEntry TemplateSpec PracticeSettingCode_XDSDocumentEntry urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead rim-ClassificationType constraintPracticeSettingCode_unique PracticeSettingCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and (self.slot->forAll(sl :SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) )) ERROR constraintPracticeSettingCode_displayName the displayName of PracticeSettingCode is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first().value='')) ERROR TypeCode_XDSDocumentEntry TemplateSpec TypeCode_XDSDocumentEntry urn:uuid:f0306f51-975f-434e-a61c-c59651d33983 rim-ClassificationType constraintTypeCode_singleValue TypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (self.slot->size()=1) and self.slot->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined() ) and (sl.valueList.value->size()=1) ) ERROR constraint_typeCode_displayName typeCode displayName is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-5) (not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not (self.name.localizedString->first()='')) ERROR UniqueId_XDSDocumentEntry TemplateSpec UniqueId_XDSDocumentEntry urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab rim-ExternalIdentifierType constraintUniqueId if present, URI shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-5) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR Author_SubmissionSet TemplateSpec Author_SubmissionSet urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d rim-ClassificationType constraintListSubAttributes List of sub-attributes must be : authorInstitution, authorPerson, authorRole, and authorSpecialty (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( (sl.name = 'authorInstitution') or (sl.name = 'authorPerson') or (sl.name = 'authorRole') or (sl.name = 'authorSpecialty') ) ) ERROR constraintNumberSubAttribute If present, the author attribute shall have one or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()>0 ERROR constraintAuthorPersonAllowed One instance of the authorPerson sub-attribute is allowed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->size()<2 ERROR constraintAuthorInstitution authorInstitution is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->size()>0 WARNING constraintAuthorRole authorRole is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorRole'))->size()>0 WARNING constraintAuthorSpecialty authorSpecialty is required if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorSpecialty'))->size()>0 WARNING constraintAuthorInstitution_XON authorInstitution must have XON structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorInstitution'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXON(val)) ) ERROR constraintAuthorPerson_XCN authorPerson must have XCN structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'authorPerson'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or sl.valueList.value->forAll(val : String | sl.isXCN(val)) ) ERROR XDSSubmissionSetConstraints ConstraintsSpec XDSSubmissionSetConstraints rim-RegistryObjectListType constraintAvailabilityStatus status of a SubmissionSet shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintAuthorSubmissionSet_required_ifKnown The author is required on SubmissionSet if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d') )->size() > 0 ) WARNING constraintContentTypeCode_required contentTypeCode required and unique on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'))->size() = 1 ) ERROR constraintEntryUUID_required entryUUID is required on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintIntendedRecipient intendedRecipient shall have one or more values if present on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | sl.name='intendedRecipient')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) )) ERROR constraintPatientId patientId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))->size() = 1 ) ERROR constraintSourceId sourceId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionTime submissionTime is required and shall have a singleValue on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->size() = 1) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) )) ) ERROR constraintUniqueId uniqueId is required and shall have a single value on SubmissionSet (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'))->size() = 1) ERROR constraintSubmissionSet_allowed_slot allowed slot on submissionSet are only submissionTime, others are extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.slot->size() = 1) and (rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))) ) WARNING constraintSubmissionSet_allowed_classification allowed classification on submissionSet are only author and contentTypeCode (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d' or cl.classificationScheme='urn:uuid:aa543740-bdda-424e-8c96-df4873be8500') ) ERROR constraintSubmissionSet_allowed_externalIdentifier allowed externalIdentifier on submissionSet are only patientId, sourceId, and uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ( ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446' or ext.identificationScheme='urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832' or ext.identificationScheme='urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8' ) ) ) ERROR constraintSubmissionTime_DTM submissionTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='submissionTime'))->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR constraintHomeCommunity_id homeCommunityId shoud have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR ContentTypeCode_XDSSubmissionSet TemplateSpec ContentTypeCode_XDSSubmissionSet urn:uuid:aa543740-bdda-424e-8c96-df4873be8500 rim-ClassificationType constraintContentTypeCode_singleValue ContentTypeCode shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-6) self.slot->size()=1 and self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) ERROR constraintContentTypeCode_displayName ContentTypeCode displayName is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FTTable 4.1-6) (not self.name.oclIsUndefined()) and (self.name.localizedString->size() =1) and (not (self.name.localizedString->first()='')) ERROR PatientId_SubmissionSet TemplateSpec PatientId_SubmissionSet urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446 rim-ExternalIdentifierType constraintPatientId_SubmissionSet_singleValue XDSSubmissionSet.patientId shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR nconstraintPatientId_CX patientId must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR SourceId_SubmissionSet TemplateSpec SourceId_SubmissionSet urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 rim-ExternalIdentifierType constraintSourceId_SubmissionSet_singleValue XDSSubmissionSet.sourceId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintSourceId_OID sourceId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR UniqueId_SubmissionSet TemplateSpec UniqueId_SubmissionSet urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 rim-ExternalIdentifierType constraintUniqueId_SubmissionSet XDSSubmissionSet.uniqueId required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT_2011-08-19.pdf Table 4.1-6) self.value.oclIsUndefined() or self.isOID(self.value) ERROR XDSFolderConstraints ConstraintsSpec XDSFolderConstraints rim-RegistryObjectListType constraintXDSFolder_status status of XDSFolder shall be Approved or Submitted (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (rp.status.oclIsUndefined()) or ( (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved') or (rp.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Submitted') ) ) ERROR constraintXDSFolder_codeList_required codeList of XDSFolder is required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5')->size()>0 ) ERROR constraintXDSFolder_entryUUID EntryUUID is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | (not rp.id.oclIsUndefined()) and (not (rp.id='')) ) ERROR constraintXDSFolder_lastUpdateTime if XDSFolder present, lastUpdateTime shall have a single value if known (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size() = 1) ) and (rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->size()=1) ) WARNING constraintXDSFolder_patientId_required_and_unique the patientId of an XDSFolder is required and shall have a single value (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'))->size() = 1 ) ERROR constraintXDSFolder_uniqueId_required_and_unique the uniqueId of XDSFolder is required and unique (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'))->size()=1 ) ERROR constraintXDSFolder_allowed_slot allowed Slot on XDSFolder is only lastUpdateTime, otherwise it's an extraMetadata (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->size()=1 and rp.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='lastUpdateTime') ) WARNING constraintXDSFolder_allowed_Classification Allowed Classification on XDSFolder is only CodeList (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.classification->forAll(cl : ClassificationType | (cl.classificationScheme.oclIsUndefined()) or cl.classificationScheme='urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5') ) ERROR constraintXDSFolder_allowed_ExternalIdentifier Allowed Classification on XDSFolder are only XDSFolder.patientId and XDSFolder.uniqueId (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.externalIdentifier->forAll(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and (ext.identificationScheme='urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a' or ext.identificationScheme='urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')) ) ERROR constraintHomeComunityId_OID homeCommunityId must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.home.oclIsUndefined() or rp.isOID(rp.home) ) ERROR constraintLastUpdateTime_DTM lastUpdateTime metadata must have DTM structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.RegistryPackage->select( rp : RegistryPackageType | ( rp.classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0) or ( self.Classification->select( cl : ClassificationType | (not cl.classificationNode.oclIsUndefined()) and (cl.classificationNode='urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2') and (not cl.classifiedObject.oclIsUndefined()) and (cl.classifiedObject=rp.id) )->size()>0 ) )->forAll(rp : RegistryPackageType | rp.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='lastUpdateTime'))->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->forAll(val : String | sl.isDTM(val))) ) ) ERROR CodeList_XDSFolder TemplateSpec CodeList_XDSFolder urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5 rim-ClassificationType constraintCodeList_multipleValue codeList of XDSFolder shall have on or more values (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name='codingScheme') and (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()>0) ) ERROR constraintCodeList_displayName_required the displayName of CodeList is required on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.name.oclIsUndefined()) and (not self.name.localizedString->isEmpty()) ERROR PatientId_XDSFolder TemplateSpec PatientId_XDSFolder urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a rim-ExternalIdentifierType constraintPatientId_singleValue PatientId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintPatientId_CX patientId metadata must have CX structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isCX_XDS(self.value) ERROR UniqueId_XDSFolder TemplateSpec UniqueId_XDSFolder urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a rim-ExternalIdentifierType constraintUniqueId_singleValue UniqueId required and shall have a single value on XDSFolder (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) (not self.value.oclIsUndefined()) and (not (self.value='')) ERROR constraintUniqueId_OID uniqueId metadata must have OID structure (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-7) self.value.oclIsUndefined() or self.isOID(self.value) ERROR StringMatcher StringMatcher isDTM Boolean value UMLPrimitiveTypes-String CSPutResp CSPutRespSpec ConstraintsSpec CSPutRespSpec rs-RegistryResponseType constraint_allowed_status status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR constraint_warning_vs_success if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5) self.status.oclIsUndefined() or (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ERROR CSPutRegSpec ConstraintsSpec CSPutRegSpec rs-RegistryErrorType constraint_severity severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.severity.oclIsUndefined()) and ( (self.errorCode='2201' and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ) ERROR constraint_allowed_errorCode errorCodes allowed are those defined on IHE, and 4705, 4702, 4706, 4701 (WP34_D342_V2.2 3.6.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4705' and self.codeContext='Policy Violation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4706' and self.codeContext='Unknown policy') or (self.errorCode='4701' and self.codeContext='No consent') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR CSDiscResp CSDiscRespSpec ConstraintsSpec CSDiscRespSpec rs-RegistryResponseType constraint_status_required status required (WP34_D342_V2.2 3.6.2.5) not self.status.oclIsUndefined() ERROR constraint_status_values status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5) self.status.oclIsUndefined() or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ERROR constraint_failure if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (self.registryErrorList.registryError->size()>0) ) ) ERROR CSDiscRegErrSpec ConstraintsSpec CSDiscRegErrSpec rs-RegistryErrorType constraint_severity severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5) (not self.severity.oclIsUndefined()) and self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error' ERROR constraint_accepted_errorCodes accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4703' and self.codeContext='Insufficient rights') or (self.errorCode='4109' and self.codeContext='Deprecation rejected') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR constraint_failure_location A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5) self.location.oclIsUndefined() ERROR rim ActionType ActionType AdhocQueryType AdhocQueryType rim-RegistryObjectType queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObjectType RegistryObjectType rim-IdentifiableType name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 versionInfo 0 1 rim-VersionInfoType Element VersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 lid 0 1 UMLPrimitiveTypes-String Attribute lid objectType 0 1 rim-ReferenceURI Attribute objectType status 0 1 rim-ReferenceURI Attribute status IdentifiableType IdentifiableType common-StringMatcher slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 home 0 1 UMLPrimitiveTypes-String Attribute home id 1 1 UMLPrimitiveTypes-String Attribute id SlotType1 SlotType1 common-StringMatcher valueList 1 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 1 1 UMLPrimitiveTypes-String Attribute name slotType 0 1 UMLPrimitiveTypes-String Attribute slotType ValueListType ValueListType value 0 -1 UMLPrimitiveTypes-String Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 InternationalStringType InternationalStringType localizedString 0 -1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 LocalizedStringType LocalizedStringType charset 0 1 UMLPrimitiveTypes-String Attribute charset lang 0 1 UMLPrimitiveTypes-String Attribute lang http://www.w3.org/XML/1998/namespace value 1 1 UMLPrimitiveTypes-String Attribute value VersionInfoType VersionInfoType comment 0 1 UMLPrimitiveTypes-String Attribute comment versionName 0 1 rim-String16 Attribute versionName ClassificationType ClassificationType rim-RegistryObjectType classificationNode 0 1 UMLPrimitiveTypes-String Attribute classificationNode classificationScheme 0 1 UMLPrimitiveTypes-String Attribute classificationScheme classifiedObject 1 1 UMLPrimitiveTypes-String Attribute classifiedObject nodeRepresentation 0 1 UMLPrimitiveTypes-String Attribute nodeRepresentation ExternalIdentifierType ExternalIdentifierType rim-RegistryObjectType identificationScheme 1 1 rim-ReferenceURI Attribute identificationScheme registryObject 1 1 rim-ReferenceURI Attribute registryObject value 1 1 UMLPrimitiveTypes-String Attribute value QueryExpressionType QueryExpressionType mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed any 0 1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard any queryLanguage 1 1 rim-ReferenceURI Attribute queryLanguage AssociationType1 AssociationType1 rim-RegistryObjectType constraintAssociation_allowed_types allowed types on Associations are HasMember, urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember, urn:ihe:iti:2007:AssociationType:RPLC, urn:ihe:iti:2007:AssociationType:XFRM, urn:ihe:iti:2007:AssociationType:APND, urn:ihe:iti:2007:AssociationType:XFRM_RPLC, and urn:ihe:iti:2007:AssociationType:signs (not self.associationType.oclIsUndefined()) and ( (self.associationType = 'urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:APND') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:XFRM_RPLC') or (self.associationType = 'urn:ihe:iti:2007:AssociationType:signs') or (self.associationType = 'HasMember') ) ERROR associationType 1 1 UMLPrimitiveTypes-String Attribute associationType sourceObject 1 1 UMLPrimitiveTypes-String Attribute sourceObject targetObject 1 1 UMLPrimitiveTypes-String Attribute targetObject AuditableEventType AuditableEventType rim-RegistryObjectType affectedObjects 1 1 rim-ObjectRefListType Element affectedObjects urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 eventType 1 1 rim-ReferenceURI Attribute eventType requestId 1 1 rim-ReferenceURI Attribute requestId timestamp 1 1 UMLPrimitiveTypes-String Attribute timestamp user 1 1 rim-ReferenceURI Attribute user ObjectRefListType ObjectRefListType group 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group group objectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRefType ObjectRefType rim-IdentifiableType createReplica 0 1 UMLPrimitiveTypes-Boolean Attribute createReplica ClassificationNodeType ClassificationNodeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 code 0 1 rim-LongName Attribute code parent 0 1 rim-ReferenceURI Attribute parent path 0 1 UMLPrimitiveTypes-String Attribute path ClassificationSchemeType ClassificationSchemeType rim-RegistryObjectType classificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isInternal 1 1 UMLPrimitiveTypes-Boolean Attribute isInternal nodeType 1 1 UMLPrimitiveTypes-String Attribute nodeType EmailAddressType EmailAddressType address 1 1 rim-ShortName Attribute address type 0 1 rim-String32 Attribute type ExternalLinkType ExternalLinkType rim-RegistryObjectType externalURI 1 1 UMLPrimitiveTypes-String Attribute externalURI ExtrinsicObjectType ExtrinsicObjectType rim-RegistryObjectType contentVersionInfo 0 1 rim-VersionInfoType Element ContentVersionInfo urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 isOpaque 0 1 UMLPrimitiveTypes-Boolean Attribute isOpaque mimeType 0 1 UMLPrimitiveTypes-String Attribute mimeType Document 0 1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 FederationType FederationType rim-RegistryObjectType replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency NotificationType NotificationType rim-RegistryObjectType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 1 1 rim-ReferenceURI Attribute subscription RegistryObjectListType RegistryObjectListType identifiableGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group identifiableGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 -1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Association 0 -1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 AuditableEvent 0 -1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Classification 0 -1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationNode 0 -1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ClassificationScheme 0 -1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalIdentifier 0 -1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExternalLink 0 -1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ExtrinsicObject 0 -1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Federation 0 -1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ObjectRef 0 -1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Organization 0 -1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Person 0 -1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Registry 0 -1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryObject 0 -1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackage 0 -1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Service 0 -1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ServiceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SpecificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 Subscription 0 -1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 User 0 -1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 NotifyActionType NotifyActionType rim-ActionType endPoint 1 1 UMLPrimitiveTypes-String Attribute endPoint notificationOption 0 1 rim-ReferenceURI Attribute notificationOption OrganizationType OrganizationType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 parent 0 1 rim-ReferenceURI Attribute parent primaryContact 0 1 rim-ReferenceURI Attribute primaryContact PostalAddressType PostalAddressType city 0 1 rim-ShortName Attribute city country 0 1 rim-ShortName Attribute country postalCode 0 1 rim-ShortName Attribute postalCode stateOrProvince 0 1 rim-ShortName Attribute stateOrProvince street 0 1 rim-ShortName Attribute street streetNumber 0 1 rim-String32 Attribute streetNumber TelephoneNumberType TelephoneNumberType areaCode 0 1 rim-String8 Attribute areaCode countryCode 0 1 rim-String8 Attribute countryCode extension 0 1 rim-String8 Attribute extension number 0 1 rim-String16 Attribute number phoneType 0 1 rim-String32 Attribute phoneType PersonNameType PersonNameType firstName 0 1 rim-ShortName Attribute firstName lastName 0 1 rim-ShortName Attribute lastName middleName 0 1 rim-ShortName Attribute middleName PersonType PersonType rim-RegistryObjectType address 0 -1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 -1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryPackageType RegistryPackageType rim-RegistryObjectType registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 RegistryType RegistryType rim-RegistryObjectType catalogingLatency 0 1 UMLPrimitiveTypes-String Attribute catalogingLatency conformanceProfile 0 1 rim-ConformanceProfileType Attribute conformanceProfile operator 1 1 rim-ReferenceURI Attribute operator replicationSyncLatency 0 1 UMLPrimitiveTypes-String Attribute replicationSyncLatency specificationVersion 1 1 UMLPrimitiveTypes-String Attribute specificationVersion ServiceBindingType ServiceBindingType rim-RegistryObjectType specificationLink 0 -1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 accessURI 0 1 UMLPrimitiveTypes-String Attribute accessURI service 1 1 rim-ReferenceURI Attribute service targetBinding 0 1 rim-ReferenceURI Attribute targetBinding SpecificationLinkType SpecificationLinkType rim-RegistryObjectType usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 -1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 1 1 rim-ReferenceURI Attribute serviceBinding specificationObject 1 1 rim-ReferenceURI Attribute specificationObject ServiceType ServiceType rim-RegistryObjectType serviceBinding 0 -1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SlotListType SlotListType slot 0 -1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 SubscriptionType SubscriptionType rim-RegistryObjectType actionGroup 0 -1 EcorePrimitiveTypes-EFeatureMapEntry Group actionGroup urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 action 0 -1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 endTime 0 1 UMLPrimitiveTypes-String Attribute endTime notificationInterval 0 1 UMLPrimitiveTypes-String Attribute notificationInterval selector 1 1 rim-ReferenceURI Attribute selector startTime 0 1 UMLPrimitiveTypes-String Attribute startTime TelephoneNumberListType TelephoneNumberListType telephoneNumber 0 -1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 UserType UserType rim-PersonType DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation action 0 1 rim-ActionType Element Action urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 address 0 1 rim-PostalAddressType Element Address urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 adhocQuery 0 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObject 0 1 rim-RegistryObjectType Element RegistryObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 identifiable 0 1 rim-IdentifiableType Element Identifiable urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 association 0 1 rim-AssociationType1 Element Association urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 auditableEvent 0 1 rim-AuditableEventType Element AuditableEvent urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classification 0 1 rim-ClassificationType Element Classification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationNode 0 1 rim-ClassificationNodeType Element ClassificationNode urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 classificationScheme 0 1 rim-ClassificationSchemeType Element ClassificationScheme urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 description 0 1 rim-InternationalStringType Element Description urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 emailAddress 0 1 rim-EmailAddressType Element EmailAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalIdentifier 0 1 rim-ExternalIdentifierType Element ExternalIdentifier urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 externalLink 0 1 rim-ExternalLinkType Element ExternalLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 extrinsicObject 0 1 rim-ExtrinsicObjectType Element ExtrinsicObject urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federation 0 1 rim-FederationType Element Federation urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 internationalString 0 1 rim-InternationalStringType Element InternationalString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 localizedString 0 1 rim-LocalizedStringType Element LocalizedString urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 name 0 1 rim-InternationalStringType Element Name urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notification 0 1 rim-NotificationType Element Notification urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 notifyAction 0 1 rim-NotifyActionType Element NotifyAction urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRef 0 1 rim-ObjectRefType Element ObjectRef urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 objectRefList 0 1 rim-ObjectRefListType Element ObjectRefList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 organization 0 1 rim-OrganizationType Element Organization urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 person 0 1 rim-PersonType Element Person urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 personName 0 1 rim-PersonNameType Element PersonName urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 postalAddress 0 1 rim-PostalAddressType Element PostalAddress urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 queryExpression 0 1 rim-QueryExpressionType Element QueryExpression urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registry 0 1 rim-RegistryType Element Registry urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryObjectList 0 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 registryPackage 0 1 rim-RegistryPackageType Element RegistryPackage urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 service 0 1 rim-ServiceType Element Service urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 serviceBinding 0 1 rim-ServiceBindingType Element ServiceBinding urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slot 0 1 rim-SlotType1 Element Slot urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 slotList 0 1 rim-SlotListType Element SlotList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 specificationLink 0 1 rim-SpecificationLinkType Element SpecificationLink urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 subscription 0 1 rim-SubscriptionType Element Subscription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 telephoneNumber 0 1 rim-TelephoneNumberType Element TelephoneNumber urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageDescription 0 1 rim-InternationalStringType Element UsageDescription urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 usageParameter 0 1 rim-FreeFormText Element usageParameter urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 user 0 1 rim-UserType Element User urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 value 0 1 rim-LongName Element value urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 valueList 0 1 rim-ValueListType Element ValueList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 ConformanceProfileType ConformanceProfileType registryFull registryFull registryLite registryLite PnRError RegistryErrorSpec1 ConstraintsSpec RegistryErrorSpec1 rs-RegistryErrorType constraintRegistryError_codes_Pnr allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') ) ERROR RegistryResponseSpec1 ConstraintsSpec RegistryResponseSpec1 rs-RegistryResponseType constraintRegistryResponseStatus_PnR accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR OSListReq PatientServiceListSpec2 ConstraintsSpec PatientServiceListSpec2 query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1 (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec2 ConstraintsSpec QuerySpec2 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId')->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '57833-6^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.41.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR abstrsq DSDiscardReq DSDiscardSpec ConstraintsSpec DSDiscardSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.5.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayQueryError RegistryResponseSpec4 ConstraintsSpec RegistryResponseSpec4 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec4 ConstraintsSpec RegistryErrorSpec4 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR xds DocumentRequestType DocumentRequest_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 DocumentResponseType DocumentResponse_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 newRepositoryUniqueId 0 1 rim-LongName Element newRepositoryUniqueId urn:ihe:iti:xds-b:2007 newDocumentUniqueId 0 1 rim-LongName Element newDocumentUniqueId urn:ihe:iti:xds-b:2007 mimeType 1 1 rim-LongName Element mimeType urn:ihe:iti:xds-b:2007 document 1 1 UMLPrimitiveTypes-String Element document urn:ihe:iti:xds-b:2007 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation provideAndRegisterDocumentSetRequest 0 1 xds-ProvideAndRegisterDocumentSetRequestType Element ProvideAndRegisterDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetRequest 0 1 xds-RetrieveDocumentSetRequestType Element RetrieveDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetResponse 0 1 xds-RetrieveDocumentSetResponseType Element RetrieveDocumentSetResponse urn:ihe:iti:xds-b:2007 ProvideAndRegisterDocumentSetRequestType ProvideAndRegisterDocumentSetRequestType submitObjectsRequest 1 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 document 0 -1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 DocumentType Document_._type id 1 1 UMLPrimitiveTypes-String Attribute id Include 0 1 xop-Include Element Include http://www.w3.org/2004/08/xop/include mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed RetrieveDocumentSetRequestType RetrieveDocumentSetRequestType documentRequest 1 -1 xds-DocumentRequestType Element DocumentRequest urn:ihe:iti:xds-b:2007 RetrieveDocumentSetResponseType RetrieveDocumentSetResponseType registryResponse 1 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 documentResponse 0 -1 xds-DocumentResponseType Element DocumentResponse urn:ihe:iti:xds-b:2007 OSListResp AdhocRespSpec2 ConstraintsSpec AdhocRespSpec2 query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec2 TemplateSpec DocumentSpec2 urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.4.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.4.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and MAY be empty (WP34_D342_V2.2 3.4.1.4) (not self.name.oclIsUndefined()) ERROR constraint_VersionInfo_required VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57833-6' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_formatCode_required formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.4.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.4.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING OSListRegistryErrorSpec ConstraintsSpec OSListRegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='4102' and self.codeContext='Collection incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='2104' and self.codeContext='Dependencies not checked') or (self.errorCode='2105' and self.codeContext='No reimbursement') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1101' and self.codeContext='No Data') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4103' and self.codeContext='Registry Failure') or (self.errorCode='4104' and self.codeContext='Data Access Failure') or (self.errorCode='4202' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR XCFRespError RegistryObjectSpec ConstraintsSpec RegistryObjectSpec rim-RegistryObjectListType constraint_associations The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->forAll(ass : AssociationType1 | ( ass.sourceObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject) ) and ( ass.targetObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject) ) ) ERROR constraint_associations2 XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and ( ass.associationType='urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember' or ass.associationType='HasMember' ) )->size()=0 ERROR constraint_documents XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) (self.RegistryPackage->size()=0) and (self.Classification->size()=0) ERROR constraint_docEntry XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) ERROR RegistryErrorXCFSpec ConstraintsSpec RegistryErrorXCFSpec rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='TranscodingError') ) ERROR xop Include Include href 1 1 UMLPrimitiveTypes-String Attribute href cmpd FindPrescriptionsForValidation TemplateSpec FindPrescriptionsForValidation urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR FindPrescriptionsForDispense TemplateSpec FindPrescriptionsForDispense urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR AdhocSpec ConstraintsSpec AdhocSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 or urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.2) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8' or self.id='urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8' ) ERROR xgqihe CrossGatewayQuerySpec ConstraintsSpec CrossGatewayQuerySpec query-AdhocQueryRequestType constraintXGQ_homeCommunityId Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( ((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='')) ) or self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' ) ERROR IHEXDSError RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraintRegistryError_required_attributes on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) ERROR constraintRegistryError_severity_values severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.severity.oclIsUndefined()) and ( (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ERROR constraintRegistryError_body_empty the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) self.value.oclIsUndefined() or self.value='' ERROR constraintRegistryError_errorCode_allowedValue allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') or (self.errorCode='TranscodingError') ) ERROR RegistryResponseSpec ConstraintsSpec RegistryResponseSpec rs-RegistryResponseType constraintStatus accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR abstrdsihe ddsresp DDSRespSpec ConstraintsSpec DDSRespSpec rs-RegistryResponseType constraint_errors The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2) self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and ( re.errorCode='ReferencesExistException' or re.errorCode='UnresolvedReferenceException' ) ) ERROR ddsreq DDSReqSpec ConstraintsSpec DDSReqSpec lcm-RemoveObjectsRequestType constraint_aq The AdhocQuery parameter shall not be specified (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.adhocQuery.oclIsUndefined() ERROR constraint_objreflist ObjectRefList SHALL be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) (not self.objectRefList.oclIsUndefined()) ERROR constraint_deletionScope deletionScope SHALL not be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.deletionScope.oclIsUndefined() ERROR DSInitReq DSDocEntrySpec TemplateSpec DSDocEntrySpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype must be text/xml (WP34_D342_V2.2 3.5.1.1) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraint_status status must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.5.1.1) (not self.status.oclIsUndefined() ) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.5.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 60593-1 (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60593-1' ) ERROR constraint_formatCode formatCode must be as defined in table 1C of [epSOS D3.5.2C] (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:epSOS:ep:dis:2010' or cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008' ) ) ERROR CMPDRespError DocSpec ConstraintsSpec DocSpec rim-RegistryObjectListType constraint_formatCode Allowed formatCode are : urn:ihe:pharm:pre:2010, urn:ihe:pharm:padv:2010, urn:ihe:pharm:dis:2010 (IHE PHARM Suppl CMPD, 3.1.4.1.2.1.1.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()>0 and ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:pharm:pre:2010' or cl.nodeRepresentation='urn:ihe:pharm:padv:2010' or cl.nodeRepresentation='urn:ihe:pharm:dis:2010' ) ) ) ERROR DSInitResp DSInitRegRespSpec ConstraintsSpec DSInitRegRespSpec rs-RegistryResponseType constraint_status allowed status are Success, partial success or failure (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess' ) ERROR constraint_waring_vs_success if the response has a success status, allowed error severity are only warning (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ) ERROR constraint_allowedError_ifSuccess if the status of the response is success, the only allowed error is 2201 (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and re.errorCode='2201') ) ERROR constraint_ifFailure if failure or partial failure, the response MUST contain a RegistryErrorList element that indicates the failure condition (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (not (self.registryErrorList.registryError->size()=0)) ) ) ERROR constraint_severity if the response is not success, all RegistryError must have the severety error (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and not self.registryErrorList.registryError->forAll(re : RegistryErrorType | re.severity.oclIsUndefined() or re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ) ERROR DSInitRegErrorSpec ConstraintsSpec DSInitRegErrorSpec rs-RegistryErrorType constraint_allowed_errors allowed errors are those defined by IHE and 2201, 4105, 4106, 4702, 4704, 4107, 4108 (WP34_D342_V2.2 3.5.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4106' and self.codeContext='Invalid Dispensation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4704' and self.codeContext='No Signature') or (self.errorCode='4107' and self.codeContext='Original data missing') or (self.errorCode='4108' and self.codeContext='Pivot data missing') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR query AdhocQueryQueryType AdhocQueryQueryType query-RegistryObjectQueryType queryExpressionBranch 0 1 query-QueryExpressionBranchType Element QueryExpressionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryObjectQueryType RegistryObjectQueryType query-FilterQueryType slotBranch 0 -1 query-SlotBranchType Element SlotBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nameBranch 0 1 query-InternationalStringBranchType Element NameBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 descriptionBranch 0 1 query-InternationalStringBranchType Element DescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 versionInfoFilter 0 1 query-FilterType Element VersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 -1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 -1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 objectTypeQuery 0 1 query-ClassificationNodeQueryType Element ObjectTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 statusQuery 0 1 query-ClassificationNodeQueryType Element StatusQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceAssociationQuery 0 -1 query-AssociationQueryType Element SourceAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetAssociationQuery 0 -1 query-AssociationQueryType Element TargetAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterQueryType FilterQueryType primaryFilter 0 1 query-FilterType Element PrimaryFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterType FilterType negate 0 1 UMLPrimitiveTypes-Boolean Attribute negate SlotBranchType SlotBranchType query-BranchType BranchType BranchType query-FilterQueryType InternationalStringBranchType InternationalStringBranchType query-BranchType localizedStringFilter 0 -1 query-FilterType Element LocalizedStringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationQueryType ClassificationQueryType query-RegistryObjectQueryType classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classifiedObjectQuery 0 1 query-RegistryObjectQueryType Element ClassifiedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationSchemeQueryType ClassificationSchemeQueryType query-RegistryObjectQueryType childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nodeTypeQuery 0 1 query-ClassificationNodeQueryType Element NodeTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationNodeQueryType ClassificationNodeQueryType query-RegistryObjectQueryType parentQuery 0 1 query-RegistryObjectQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalIdentifierQueryType ExternalIdentifierQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 identificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element IdentificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AssociationQueryType AssociationQueryType query-RegistryObjectQueryType associationTypeQuery 0 1 query-ClassificationNodeQueryType Element AssociationTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceObjectQuery 0 1 query-RegistryObjectQueryType Element SourceObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetObjectQuery 0 1 query-RegistryObjectQueryType Element TargetObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 QueryExpressionBranchType QueryExpressionBranchType query-BranchType queryLanguageQuery 0 1 query-ClassificationNodeQueryType Element QueryLanguageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AdhocQueryRequestType AdhocQueryRequest_._type rs-RegistryRequestType responseOption 1 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federated 0 1 UMLPrimitiveTypes-Boolean Attribute federated federation 0 1 UMLPrimitiveTypes-String Attribute federation maxResults 0 1 UMLPrimitiveTypes-Integer Attribute maxResults startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex ResponseOptionType ResponseOptionType returnComposedObjects 0 1 UMLPrimitiveTypes-Boolean Attribute returnComposedObjects returnType 0 1 query-ReturnTypeType Attribute returnType AdhocQueryResponseType AdhocQueryResponse_._type rs-RegistryResponseType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex totalResultCount 0 1 UMLPrimitiveTypes-Integer Attribute totalResultCount AuditableEventQueryType AuditableEventQueryType query-RegistryObjectQueryType affectedObjectQuery 0 -1 query-RegistryObjectQueryType Element AffectedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 eventTypeQuery 0 1 query-ClassificationNodeQueryType Element EventTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 UserQueryType UserQueryType query-PersonQueryType PersonQueryType PersonQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personNameFilter 0 1 query-FilterType Element PersonNameFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 BooleanFilterType BooleanFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Boolean Attribute value SimpleFilterType SimpleFilterType query-FilterType comparator 1 1 query-ComparatorType Attribute comparator domainAttribute 1 1 UMLPrimitiveTypes-String Attribute domainAttribute CompoundFilterType CompoundFilterType query-FilterType leftFilter 1 1 query-FilterType Element LeftFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 rightFilter 1 1 query-FilterType Element RightFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 logicalOperator 1 1 query-LogicalOperatorType Attribute logicalOperator DateTimeFilterType DateTimeFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation adhocQueryQuery 0 1 query-AdhocQueryQueryType Element AdhocQueryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryRequest 0 1 query-AdhocQueryRequestType Element AdhocQueryRequest urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryResponse 0 1 query-AdhocQueryResponseType Element AdhocQueryResponse urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 associationQuery 0 1 query-AssociationQueryType Element AssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 auditableEventQuery 0 1 query-AuditableEventQueryType Element AuditableEventQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 booleanFilter 0 1 query-BooleanFilterType Element BooleanFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 compoundFilter 0 1 query-CompoundFilterType Element CompoundFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 dateTimeFilter 0 1 query-DateTimeFilterType Element DateTimeFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalLinkQuery 0 1 query-ExternalLinkQueryType Element ExternalLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 extrinsicObjectQuery 0 1 query-ExtrinsicObjectQueryType Element ExtrinsicObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 federationQuery 0 1 query-FederationQueryType Element FederationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 filter 0 1 query-FilterType Element Filter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 floatFilter 0 1 query-FloatFilterType Element FloatFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 integerFilter 0 1 query-IntegerFilterType Element IntegerFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 notificationQuery 0 1 query-NotificationQueryType Element NotificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 organizationQuery 0 1 query-OrganizationQueryType Element OrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personQuery 0 1 query-PersonQueryType Element PersonQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryPackageQuery 0 1 query-RegistryPackageQueryType Element RegistryPackageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryQuery 0 1 query-RegistryQueryType Element RegistryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 responseOption 0 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 stringFilter 0 1 query-StringFilterType Element StringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 subscriptionQuery 0 1 query-SubscriptionQueryType Element SubscriptionQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalLinkQueryType ExternalLinkQueryType query-RegistryObjectQueryType ExtrinsicObjectQueryType ExtrinsicObjectQueryType query-RegistryObjectQueryType contentVersionInfoFilter 0 1 query-FilterType Element ContentVersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FederationQueryType FederationQueryType query-RegistryObjectQueryType FloatFilterType FloatFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value IntegerFilterType IntegerFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Integer Attribute value NotificationQueryType NotificationQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 OrganizationQueryType OrganizationQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 parentQuery 0 1 query-OrganizationQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childOrganizationQuery 0 -1 query-OrganizationQueryType Element ChildOrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 primaryContactQuery 0 1 query-PersonQueryType Element PrimaryContactQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryPackageQueryType RegistryPackageQueryType query-RegistryObjectQueryType RegistryQueryType RegistryQueryType query-RegistryObjectQueryType operatorQuery 0 1 query-OrganizationQueryType Element OperatorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceBindingQueryType ServiceBindingQueryType query-RegistryObjectQueryType serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 -1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetBindingQuery 0 1 query-ServiceBindingQueryType Element TargetBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceQueryType ServiceQueryType query-RegistryObjectQueryType serviceBindingQuery 0 -1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 SpecificationLinkQueryType SpecificationLinkQueryType query-RegistryObjectQueryType usageDescriptionBranch 0 1 query-InternationalStringBranchType Element UsageDescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationObjectQuery 0 1 query-RegistryObjectQueryType Element SpecificationObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 StringFilterType StringFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value SubscriptionQueryType SubscriptionQueryType query-RegistryObjectQueryType selectorQuery 0 1 query-AdhocQueryQueryType Element SelectorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ReturnTypeType ReturnTypeType OBJECTREF ObjectRef REGISTRY_OBJECT RegistryObject LEAFCLASS LeafClass LEAFCLASSWITHREPOSITORYITEM LeafClassWithRepositoryItem ComparatorType ComparatorType LE LE LT LT GE GE GT GT EQ EQ NE NE Like Like NotLike NotLike LogicalOperatorType LogicalOperatorType AND AND OR OR xgrihe XGRRequestSpec ConstraintsSpec XGRRequestSpec xds-DocumentRequestType constraint_homeCommunityId_required homeCommunityId is required (ITI TF-2b 3.39.1) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) ERROR RetrieveDocumentSetError RegistryResponseSpec5 ConstraintsSpec RegistryResponseSpec5 rs-RegistryResponseType constraintRegistryResponseStatus_RetrieveDocumentSet accepted status on Retrieve Document Set Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-16) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR constraint_ResponseSlotList_notUsed the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.responseSlotList.oclIsUndefined() ERROR constraint_requestId_notUsed requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.requestId.oclIsUndefined() ERROR RegistryErrorSpec5 ConstraintsSpec RegistryErrorSpec5 rs-RegistryErrorType constraintRegistryError_allowedCode_RetrieveDocumentSet allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR rdsihe DocumentRequestSpec ConstraintsSpec DocumentRequestSpec xds-DocumentRequestType constraintRepositoryUniqueId_required repositoryUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='') ) ERROR constraint_documentUniqueId_required documentUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.documentUniqueId.oclIsUndefined() ) and (not (self.documentUniqueId='')) ERROR constraint_homeCommunityId The homeCommunityId element shall be specified if the XDSDocumentEntry containing the uniqueId of the document contains the homeCommunityId attribute (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) WARNING DocumentResponseSpec ConstraintsSpec DocumentResponseSpec xds-DocumentResponseType constraint_repositoryUniqueId_required repositoryUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='')) ERROR constraint_documentUniqueId_required documentUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.documentUniqueId.oclIsUndefined()) and (not (self.documentUniqueId='')) ERROR constraint_document_required document is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) not self.document.oclIsUndefined() ERROR constraint_mimetype_required mimetype required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR XDSResponse PnRError RegistryErrorSpec1 ConstraintsSpec RegistryErrorSpec1 rs-RegistryErrorType constraintRegistryError_codes_Pnr allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') ) ERROR RegistryResponseSpec1 ConstraintsSpec RegistryResponseSpec1 rs-RegistryResponseType constraintRegistryResponseStatus_PnR accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR OSListReq PatientServiceListSpec2 ConstraintsSpec PatientServiceListSpec2 query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1 (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec2 ConstraintsSpec QuerySpec2 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId')->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '57833-6^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.41.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR abstrsq DSDiscardReq DSDiscardSpec ConstraintsSpec DSDiscardSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.5.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayQueryError RegistryResponseSpec4 ConstraintsSpec RegistryResponseSpec4 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec4 ConstraintsSpec RegistryErrorSpec4 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR xds DocumentRequestType DocumentRequest_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 DocumentResponseType DocumentResponse_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 newRepositoryUniqueId 0 1 rim-LongName Element newRepositoryUniqueId urn:ihe:iti:xds-b:2007 newDocumentUniqueId 0 1 rim-LongName Element newDocumentUniqueId urn:ihe:iti:xds-b:2007 mimeType 1 1 rim-LongName Element mimeType urn:ihe:iti:xds-b:2007 document 1 1 UMLPrimitiveTypes-String Element document urn:ihe:iti:xds-b:2007 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation provideAndRegisterDocumentSetRequest 0 1 xds-ProvideAndRegisterDocumentSetRequestType Element ProvideAndRegisterDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetRequest 0 1 xds-RetrieveDocumentSetRequestType Element RetrieveDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetResponse 0 1 xds-RetrieveDocumentSetResponseType Element RetrieveDocumentSetResponse urn:ihe:iti:xds-b:2007 ProvideAndRegisterDocumentSetRequestType ProvideAndRegisterDocumentSetRequestType submitObjectsRequest 1 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 document 0 -1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 DocumentType Document_._type id 1 1 UMLPrimitiveTypes-String Attribute id Include 0 1 xop-Include Element Include http://www.w3.org/2004/08/xop/include mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed RetrieveDocumentSetRequestType RetrieveDocumentSetRequestType documentRequest 1 -1 xds-DocumentRequestType Element DocumentRequest urn:ihe:iti:xds-b:2007 RetrieveDocumentSetResponseType RetrieveDocumentSetResponseType registryResponse 1 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 documentResponse 0 -1 xds-DocumentResponseType Element DocumentResponse urn:ihe:iti:xds-b:2007 OSListResp AdhocRespSpec2 ConstraintsSpec AdhocRespSpec2 query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec2 TemplateSpec DocumentSpec2 urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.4.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.4.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and MAY be empty (WP34_D342_V2.2 3.4.1.4) (not self.name.oclIsUndefined()) ERROR constraint_VersionInfo_required VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57833-6' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_formatCode_required formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.4.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.4.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING OSListRegistryErrorSpec ConstraintsSpec OSListRegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='4102' and self.codeContext='Collection incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='2104' and self.codeContext='Dependencies not checked') or (self.errorCode='2105' and self.codeContext='No reimbursement') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1101' and self.codeContext='No Data') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4103' and self.codeContext='Registry Failure') or (self.errorCode='4104' and self.codeContext='Data Access Failure') or (self.errorCode='4202' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR XCFRespError RegistryObjectSpec ConstraintsSpec RegistryObjectSpec rim-RegistryObjectListType constraint_associations The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->forAll(ass : AssociationType1 | ( ass.sourceObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject) ) and ( ass.targetObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject) ) ) ERROR constraint_associations2 XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and ( ass.associationType='urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember' or ass.associationType='HasMember' ) )->size()=0 ERROR constraint_documents XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) (self.RegistryPackage->size()=0) and (self.Classification->size()=0) ERROR constraint_docEntry XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) ERROR RegistryErrorXCFSpec ConstraintsSpec RegistryErrorXCFSpec rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='TranscodingError') ) ERROR xop Include Include href 1 1 UMLPrimitiveTypes-String Attribute href cmpd FindPrescriptionsForValidation TemplateSpec FindPrescriptionsForValidation urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR FindPrescriptionsForDispense TemplateSpec FindPrescriptionsForDispense urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR AdhocSpec ConstraintsSpec AdhocSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 or urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.2) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8' or self.id='urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8' ) ERROR xgqihe CrossGatewayQuerySpec ConstraintsSpec CrossGatewayQuerySpec query-AdhocQueryRequestType constraintXGQ_homeCommunityId Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( ((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='')) ) or self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' ) ERROR IHEXDSError RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraintRegistryError_required_attributes on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) ERROR constraintRegistryError_severity_values severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.severity.oclIsUndefined()) and ( (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ERROR constraintRegistryError_body_empty the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) self.value.oclIsUndefined() or self.value='' ERROR constraintRegistryError_errorCode_allowedValue allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') or (self.errorCode='TranscodingError') ) ERROR RegistryResponseSpec ConstraintsSpec RegistryResponseSpec rs-RegistryResponseType constraintStatus accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR abstrdsihe ddsresp DDSRespSpec ConstraintsSpec DDSRespSpec rs-RegistryResponseType constraint_errors The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2) self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and ( re.errorCode='ReferencesExistException' or re.errorCode='UnresolvedReferenceException' ) ) ERROR ddsreq DDSReqSpec ConstraintsSpec DDSReqSpec lcm-RemoveObjectsRequestType constraint_aq The AdhocQuery parameter shall not be specified (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.adhocQuery.oclIsUndefined() ERROR constraint_objreflist ObjectRefList SHALL be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) (not self.objectRefList.oclIsUndefined()) ERROR constraint_deletionScope deletionScope SHALL not be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.deletionScope.oclIsUndefined() ERROR DSInitReq DSDocEntrySpec TemplateSpec DSDocEntrySpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype must be text/xml (WP34_D342_V2.2 3.5.1.1) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraint_status status must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.5.1.1) (not self.status.oclIsUndefined() ) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.5.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 60593-1 (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60593-1' ) ERROR constraint_formatCode formatCode must be as defined in table 1C of [epSOS D3.5.2C] (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:epSOS:ep:dis:2010' or cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008' ) ) ERROR CMPDRespError DocSpec ConstraintsSpec DocSpec rim-RegistryObjectListType constraint_formatCode Allowed formatCode are : urn:ihe:pharm:pre:2010, urn:ihe:pharm:padv:2010, urn:ihe:pharm:dis:2010 (IHE PHARM Suppl CMPD, 3.1.4.1.2.1.1.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()>0 and ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:pharm:pre:2010' or cl.nodeRepresentation='urn:ihe:pharm:padv:2010' or cl.nodeRepresentation='urn:ihe:pharm:dis:2010' ) ) ) ERROR DSInitResp DSInitRegRespSpec ConstraintsSpec DSInitRegRespSpec rs-RegistryResponseType constraint_status allowed status are Success, partial success or failure (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess' ) ERROR constraint_waring_vs_success if the response has a success status, allowed error severity are only warning (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ) ERROR constraint_allowedError_ifSuccess if the status of the response is success, the only allowed error is 2201 (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and re.errorCode='2201') ) ERROR constraint_ifFailure if failure or partial failure, the response MUST contain a RegistryErrorList element that indicates the failure condition (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (not (self.registryErrorList.registryError->size()=0)) ) ) ERROR constraint_severity if the response is not success, all RegistryError must have the severety error (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and not self.registryErrorList.registryError->forAll(re : RegistryErrorType | re.severity.oclIsUndefined() or re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ) ERROR DSInitRegErrorSpec ConstraintsSpec DSInitRegErrorSpec rs-RegistryErrorType constraint_allowed_errors allowed errors are those defined by IHE and 2201, 4105, 4106, 4702, 4704, 4107, 4108 (WP34_D342_V2.2 3.5.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4106' and self.codeContext='Invalid Dispensation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4704' and self.codeContext='No Signature') or (self.errorCode='4107' and self.codeContext='Original data missing') or (self.errorCode='4108' and self.codeContext='Pivot data missing') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR query AdhocQueryQueryType AdhocQueryQueryType query-RegistryObjectQueryType queryExpressionBranch 0 1 query-QueryExpressionBranchType Element QueryExpressionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryObjectQueryType RegistryObjectQueryType query-FilterQueryType slotBranch 0 -1 query-SlotBranchType Element SlotBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nameBranch 0 1 query-InternationalStringBranchType Element NameBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 descriptionBranch 0 1 query-InternationalStringBranchType Element DescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 versionInfoFilter 0 1 query-FilterType Element VersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 -1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 -1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 objectTypeQuery 0 1 query-ClassificationNodeQueryType Element ObjectTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 statusQuery 0 1 query-ClassificationNodeQueryType Element StatusQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceAssociationQuery 0 -1 query-AssociationQueryType Element SourceAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetAssociationQuery 0 -1 query-AssociationQueryType Element TargetAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterQueryType FilterQueryType primaryFilter 0 1 query-FilterType Element PrimaryFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterType FilterType negate 0 1 UMLPrimitiveTypes-Boolean Attribute negate SlotBranchType SlotBranchType query-BranchType BranchType BranchType query-FilterQueryType InternationalStringBranchType InternationalStringBranchType query-BranchType localizedStringFilter 0 -1 query-FilterType Element LocalizedStringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationQueryType ClassificationQueryType query-RegistryObjectQueryType classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classifiedObjectQuery 0 1 query-RegistryObjectQueryType Element ClassifiedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationSchemeQueryType ClassificationSchemeQueryType query-RegistryObjectQueryType childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nodeTypeQuery 0 1 query-ClassificationNodeQueryType Element NodeTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationNodeQueryType ClassificationNodeQueryType query-RegistryObjectQueryType parentQuery 0 1 query-RegistryObjectQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalIdentifierQueryType ExternalIdentifierQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 identificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element IdentificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AssociationQueryType AssociationQueryType query-RegistryObjectQueryType associationTypeQuery 0 1 query-ClassificationNodeQueryType Element AssociationTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceObjectQuery 0 1 query-RegistryObjectQueryType Element SourceObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetObjectQuery 0 1 query-RegistryObjectQueryType Element TargetObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 QueryExpressionBranchType QueryExpressionBranchType query-BranchType queryLanguageQuery 0 1 query-ClassificationNodeQueryType Element QueryLanguageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AdhocQueryRequestType AdhocQueryRequest_._type rs-RegistryRequestType responseOption 1 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federated 0 1 UMLPrimitiveTypes-Boolean Attribute federated federation 0 1 UMLPrimitiveTypes-String Attribute federation maxResults 0 1 UMLPrimitiveTypes-Integer Attribute maxResults startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex ResponseOptionType ResponseOptionType returnComposedObjects 0 1 UMLPrimitiveTypes-Boolean Attribute returnComposedObjects returnType 0 1 query-ReturnTypeType Attribute returnType AdhocQueryResponseType AdhocQueryResponse_._type rs-RegistryResponseType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex totalResultCount 0 1 UMLPrimitiveTypes-Integer Attribute totalResultCount AuditableEventQueryType AuditableEventQueryType query-RegistryObjectQueryType affectedObjectQuery 0 -1 query-RegistryObjectQueryType Element AffectedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 eventTypeQuery 0 1 query-ClassificationNodeQueryType Element EventTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 UserQueryType UserQueryType query-PersonQueryType PersonQueryType PersonQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personNameFilter 0 1 query-FilterType Element PersonNameFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 BooleanFilterType BooleanFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Boolean Attribute value SimpleFilterType SimpleFilterType query-FilterType comparator 1 1 query-ComparatorType Attribute comparator domainAttribute 1 1 UMLPrimitiveTypes-String Attribute domainAttribute CompoundFilterType CompoundFilterType query-FilterType leftFilter 1 1 query-FilterType Element LeftFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 rightFilter 1 1 query-FilterType Element RightFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 logicalOperator 1 1 query-LogicalOperatorType Attribute logicalOperator DateTimeFilterType DateTimeFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation adhocQueryQuery 0 1 query-AdhocQueryQueryType Element AdhocQueryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryRequest 0 1 query-AdhocQueryRequestType Element AdhocQueryRequest urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryResponse 0 1 query-AdhocQueryResponseType Element AdhocQueryResponse urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 associationQuery 0 1 query-AssociationQueryType Element AssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 auditableEventQuery 0 1 query-AuditableEventQueryType Element AuditableEventQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 booleanFilter 0 1 query-BooleanFilterType Element BooleanFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 compoundFilter 0 1 query-CompoundFilterType Element CompoundFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 dateTimeFilter 0 1 query-DateTimeFilterType Element DateTimeFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalLinkQuery 0 1 query-ExternalLinkQueryType Element ExternalLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 extrinsicObjectQuery 0 1 query-ExtrinsicObjectQueryType Element ExtrinsicObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 federationQuery 0 1 query-FederationQueryType Element FederationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 filter 0 1 query-FilterType Element Filter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 floatFilter 0 1 query-FloatFilterType Element FloatFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 integerFilter 0 1 query-IntegerFilterType Element IntegerFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 notificationQuery 0 1 query-NotificationQueryType Element NotificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 organizationQuery 0 1 query-OrganizationQueryType Element OrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personQuery 0 1 query-PersonQueryType Element PersonQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryPackageQuery 0 1 query-RegistryPackageQueryType Element RegistryPackageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryQuery 0 1 query-RegistryQueryType Element RegistryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 responseOption 0 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 stringFilter 0 1 query-StringFilterType Element StringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 subscriptionQuery 0 1 query-SubscriptionQueryType Element SubscriptionQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalLinkQueryType ExternalLinkQueryType query-RegistryObjectQueryType ExtrinsicObjectQueryType ExtrinsicObjectQueryType query-RegistryObjectQueryType contentVersionInfoFilter 0 1 query-FilterType Element ContentVersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FederationQueryType FederationQueryType query-RegistryObjectQueryType FloatFilterType FloatFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value IntegerFilterType IntegerFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Integer Attribute value NotificationQueryType NotificationQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 OrganizationQueryType OrganizationQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 parentQuery 0 1 query-OrganizationQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childOrganizationQuery 0 -1 query-OrganizationQueryType Element ChildOrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 primaryContactQuery 0 1 query-PersonQueryType Element PrimaryContactQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryPackageQueryType RegistryPackageQueryType query-RegistryObjectQueryType RegistryQueryType RegistryQueryType query-RegistryObjectQueryType operatorQuery 0 1 query-OrganizationQueryType Element OperatorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceBindingQueryType ServiceBindingQueryType query-RegistryObjectQueryType serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 -1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetBindingQuery 0 1 query-ServiceBindingQueryType Element TargetBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceQueryType ServiceQueryType query-RegistryObjectQueryType serviceBindingQuery 0 -1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 SpecificationLinkQueryType SpecificationLinkQueryType query-RegistryObjectQueryType usageDescriptionBranch 0 1 query-InternationalStringBranchType Element UsageDescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationObjectQuery 0 1 query-RegistryObjectQueryType Element SpecificationObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 StringFilterType StringFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value SubscriptionQueryType SubscriptionQueryType query-RegistryObjectQueryType selectorQuery 0 1 query-AdhocQueryQueryType Element SelectorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ReturnTypeType ReturnTypeType OBJECTREF ObjectRef REGISTRY_OBJECT RegistryObject LEAFCLASS LeafClass LEAFCLASSWITHREPOSITORYITEM LeafClassWithRepositoryItem ComparatorType ComparatorType LE LE LT LT GE GE GT GT EQ EQ NE NE Like Like NotLike NotLike LogicalOperatorType LogicalOperatorType AND AND OR OR xgrihe XGRRequestSpec ConstraintsSpec XGRRequestSpec xds-DocumentRequestType constraint_homeCommunityId_required homeCommunityId is required (ITI TF-2b 3.39.1) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) ERROR RetrieveDocumentSetError RegistryResponseSpec5 ConstraintsSpec RegistryResponseSpec5 rs-RegistryResponseType constraintRegistryResponseStatus_RetrieveDocumentSet accepted status on Retrieve Document Set Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-16) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR constraint_ResponseSlotList_notUsed the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.responseSlotList.oclIsUndefined() ERROR constraint_requestId_notUsed requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.requestId.oclIsUndefined() ERROR RegistryErrorSpec5 ConstraintsSpec RegistryErrorSpec5 rs-RegistryErrorType constraintRegistryError_allowedCode_RetrieveDocumentSet allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR rdsihe DocumentRequestSpec ConstraintsSpec DocumentRequestSpec xds-DocumentRequestType constraintRepositoryUniqueId_required repositoryUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='') ) ERROR constraint_documentUniqueId_required documentUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.documentUniqueId.oclIsUndefined() ) and (not (self.documentUniqueId='')) ERROR constraint_homeCommunityId The homeCommunityId element shall be specified if the XDSDocumentEntry containing the uniqueId of the document contains the homeCommunityId attribute (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) WARNING DocumentResponseSpec ConstraintsSpec DocumentResponseSpec xds-DocumentResponseType constraint_repositoryUniqueId_required repositoryUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='')) ERROR constraint_documentUniqueId_required documentUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.documentUniqueId.oclIsUndefined()) and (not (self.documentUniqueId='')) ERROR constraint_document_required document is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) not self.document.oclIsUndefined() ERROR constraint_mimetype_required mimetype required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR XDSResponse PnRError RegistryErrorSpec1 ConstraintsSpec RegistryErrorSpec1 rs-RegistryErrorType constraintRegistryError_codes_Pnr allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') ) ERROR RegistryResponseSpec1 ConstraintsSpec RegistryResponseSpec1 rs-RegistryResponseType constraintRegistryResponseStatus_PnR accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR OSListReq PatientServiceListSpec2 ConstraintsSpec PatientServiceListSpec2 query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1 (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec2 ConstraintsSpec QuerySpec2 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId')->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '57833-6^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.41.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR abstrsq DSDiscardReq DSDiscardSpec ConstraintsSpec DSDiscardSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.5.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayQueryError RegistryResponseSpec4 ConstraintsSpec RegistryResponseSpec4 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec4 ConstraintsSpec RegistryErrorSpec4 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR xds DocumentRequestType DocumentRequest_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 DocumentResponseType DocumentResponse_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 newRepositoryUniqueId 0 1 rim-LongName Element newRepositoryUniqueId urn:ihe:iti:xds-b:2007 newDocumentUniqueId 0 1 rim-LongName Element newDocumentUniqueId urn:ihe:iti:xds-b:2007 mimeType 1 1 rim-LongName Element mimeType urn:ihe:iti:xds-b:2007 document 1 1 UMLPrimitiveTypes-String Element document urn:ihe:iti:xds-b:2007 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation provideAndRegisterDocumentSetRequest 0 1 xds-ProvideAndRegisterDocumentSetRequestType Element ProvideAndRegisterDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetRequest 0 1 xds-RetrieveDocumentSetRequestType Element RetrieveDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetResponse 0 1 xds-RetrieveDocumentSetResponseType Element RetrieveDocumentSetResponse urn:ihe:iti:xds-b:2007 ProvideAndRegisterDocumentSetRequestType ProvideAndRegisterDocumentSetRequestType submitObjectsRequest 1 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 document 0 -1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 DocumentType Document_._type id 1 1 UMLPrimitiveTypes-String Attribute id Include 0 1 xop-Include Element Include http://www.w3.org/2004/08/xop/include mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed RetrieveDocumentSetRequestType RetrieveDocumentSetRequestType documentRequest 1 -1 xds-DocumentRequestType Element DocumentRequest urn:ihe:iti:xds-b:2007 RetrieveDocumentSetResponseType RetrieveDocumentSetResponseType registryResponse 1 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 documentResponse 0 -1 xds-DocumentResponseType Element DocumentResponse urn:ihe:iti:xds-b:2007 OSListResp AdhocRespSpec2 ConstraintsSpec AdhocRespSpec2 query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec2 TemplateSpec DocumentSpec2 urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.4.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.4.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and MAY be empty (WP34_D342_V2.2 3.4.1.4) (not self.name.oclIsUndefined()) ERROR constraint_VersionInfo_required VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57833-6' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_formatCode_required formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.4.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.4.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING OSListRegistryErrorSpec ConstraintsSpec OSListRegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='4102' and self.codeContext='Collection incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='2104' and self.codeContext='Dependencies not checked') or (self.errorCode='2105' and self.codeContext='No reimbursement') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1101' and self.codeContext='No Data') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4103' and self.codeContext='Registry Failure') or (self.errorCode='4104' and self.codeContext='Data Access Failure') or (self.errorCode='4202' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR XCFRespError RegistryObjectSpec ConstraintsSpec RegistryObjectSpec rim-RegistryObjectListType constraint_associations The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->forAll(ass : AssociationType1 | ( ass.sourceObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject) ) and ( ass.targetObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject) ) ) ERROR constraint_associations2 XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and ( ass.associationType='urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember' or ass.associationType='HasMember' ) )->size()=0 ERROR constraint_documents XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) (self.RegistryPackage->size()=0) and (self.Classification->size()=0) ERROR constraint_docEntry XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) ERROR RegistryErrorXCFSpec ConstraintsSpec RegistryErrorXCFSpec rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='TranscodingError') ) ERROR xop Include Include href 1 1 UMLPrimitiveTypes-String Attribute href cmpd FindPrescriptionsForValidation TemplateSpec FindPrescriptionsForValidation urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR FindPrescriptionsForDispense TemplateSpec FindPrescriptionsForDispense urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR AdhocSpec ConstraintsSpec AdhocSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 or urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.2) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8' or self.id='urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8' ) ERROR xgqihe CrossGatewayQuerySpec ConstraintsSpec CrossGatewayQuerySpec query-AdhocQueryRequestType constraintXGQ_homeCommunityId Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( ((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='')) ) or self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' ) ERROR IHEXDSError RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraintRegistryError_required_attributes on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) ERROR constraintRegistryError_severity_values severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.severity.oclIsUndefined()) and ( (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ERROR constraintRegistryError_body_empty the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) self.value.oclIsUndefined() or self.value='' ERROR constraintRegistryError_errorCode_allowedValue allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') or (self.errorCode='TranscodingError') ) ERROR RegistryResponseSpec ConstraintsSpec RegistryResponseSpec rs-RegistryResponseType constraintStatus accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR abstrdsihe ddsresp DDSRespSpec ConstraintsSpec DDSRespSpec rs-RegistryResponseType constraint_errors The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2) self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and ( re.errorCode='ReferencesExistException' or re.errorCode='UnresolvedReferenceException' ) ) ERROR ddsreq DDSReqSpec ConstraintsSpec DDSReqSpec lcm-RemoveObjectsRequestType constraint_aq The AdhocQuery parameter shall not be specified (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.adhocQuery.oclIsUndefined() ERROR constraint_objreflist ObjectRefList SHALL be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) (not self.objectRefList.oclIsUndefined()) ERROR constraint_deletionScope deletionScope SHALL not be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.deletionScope.oclIsUndefined() ERROR DSInitReq DSDocEntrySpec TemplateSpec DSDocEntrySpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype must be text/xml (WP34_D342_V2.2 3.5.1.1) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraint_status status must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.5.1.1) (not self.status.oclIsUndefined() ) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.5.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 60593-1 (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60593-1' ) ERROR constraint_formatCode formatCode must be as defined in table 1C of [epSOS D3.5.2C] (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:epSOS:ep:dis:2010' or cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008' ) ) ERROR CMPDRespError DocSpec ConstraintsSpec DocSpec rim-RegistryObjectListType constraint_formatCode Allowed formatCode are : urn:ihe:pharm:pre:2010, urn:ihe:pharm:padv:2010, urn:ihe:pharm:dis:2010 (IHE PHARM Suppl CMPD, 3.1.4.1.2.1.1.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()>0 and ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:pharm:pre:2010' or cl.nodeRepresentation='urn:ihe:pharm:padv:2010' or cl.nodeRepresentation='urn:ihe:pharm:dis:2010' ) ) ) ERROR DSInitResp DSInitRegRespSpec ConstraintsSpec DSInitRegRespSpec rs-RegistryResponseType constraint_status allowed status are Success, partial success or failure (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess' ) ERROR constraint_waring_vs_success if the response has a success status, allowed error severity are only warning (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ) ERROR constraint_allowedError_ifSuccess if the status of the response is success, the only allowed error is 2201 (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and re.errorCode='2201') ) ERROR constraint_ifFailure if failure or partial failure, the response MUST contain a RegistryErrorList element that indicates the failure condition (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (not (self.registryErrorList.registryError->size()=0)) ) ) ERROR constraint_severity if the response is not success, all RegistryError must have the severety error (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and not self.registryErrorList.registryError->forAll(re : RegistryErrorType | re.severity.oclIsUndefined() or re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ) ERROR DSInitRegErrorSpec ConstraintsSpec DSInitRegErrorSpec rs-RegistryErrorType constraint_allowed_errors allowed errors are those defined by IHE and 2201, 4105, 4106, 4702, 4704, 4107, 4108 (WP34_D342_V2.2 3.5.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4106' and self.codeContext='Invalid Dispensation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4704' and self.codeContext='No Signature') or (self.errorCode='4107' and self.codeContext='Original data missing') or (self.errorCode='4108' and self.codeContext='Pivot data missing') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR query AdhocQueryQueryType AdhocQueryQueryType query-RegistryObjectQueryType queryExpressionBranch 0 1 query-QueryExpressionBranchType Element QueryExpressionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryObjectQueryType RegistryObjectQueryType query-FilterQueryType slotBranch 0 -1 query-SlotBranchType Element SlotBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nameBranch 0 1 query-InternationalStringBranchType Element NameBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 descriptionBranch 0 1 query-InternationalStringBranchType Element DescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 versionInfoFilter 0 1 query-FilterType Element VersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 -1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 -1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 objectTypeQuery 0 1 query-ClassificationNodeQueryType Element ObjectTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 statusQuery 0 1 query-ClassificationNodeQueryType Element StatusQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceAssociationQuery 0 -1 query-AssociationQueryType Element SourceAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetAssociationQuery 0 -1 query-AssociationQueryType Element TargetAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterQueryType FilterQueryType primaryFilter 0 1 query-FilterType Element PrimaryFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterType FilterType negate 0 1 UMLPrimitiveTypes-Boolean Attribute negate SlotBranchType SlotBranchType query-BranchType BranchType BranchType query-FilterQueryType InternationalStringBranchType InternationalStringBranchType query-BranchType localizedStringFilter 0 -1 query-FilterType Element LocalizedStringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationQueryType ClassificationQueryType query-RegistryObjectQueryType classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classifiedObjectQuery 0 1 query-RegistryObjectQueryType Element ClassifiedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationSchemeQueryType ClassificationSchemeQueryType query-RegistryObjectQueryType childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nodeTypeQuery 0 1 query-ClassificationNodeQueryType Element NodeTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationNodeQueryType ClassificationNodeQueryType query-RegistryObjectQueryType parentQuery 0 1 query-RegistryObjectQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalIdentifierQueryType ExternalIdentifierQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 identificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element IdentificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AssociationQueryType AssociationQueryType query-RegistryObjectQueryType associationTypeQuery 0 1 query-ClassificationNodeQueryType Element AssociationTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceObjectQuery 0 1 query-RegistryObjectQueryType Element SourceObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetObjectQuery 0 1 query-RegistryObjectQueryType Element TargetObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 QueryExpressionBranchType QueryExpressionBranchType query-BranchType queryLanguageQuery 0 1 query-ClassificationNodeQueryType Element QueryLanguageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AdhocQueryRequestType AdhocQueryRequest_._type rs-RegistryRequestType responseOption 1 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federated 0 1 UMLPrimitiveTypes-Boolean Attribute federated federation 0 1 UMLPrimitiveTypes-String Attribute federation maxResults 0 1 UMLPrimitiveTypes-Integer Attribute maxResults startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex ResponseOptionType ResponseOptionType returnComposedObjects 0 1 UMLPrimitiveTypes-Boolean Attribute returnComposedObjects returnType 0 1 query-ReturnTypeType Attribute returnType AdhocQueryResponseType AdhocQueryResponse_._type rs-RegistryResponseType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex totalResultCount 0 1 UMLPrimitiveTypes-Integer Attribute totalResultCount AuditableEventQueryType AuditableEventQueryType query-RegistryObjectQueryType affectedObjectQuery 0 -1 query-RegistryObjectQueryType Element AffectedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 eventTypeQuery 0 1 query-ClassificationNodeQueryType Element EventTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 UserQueryType UserQueryType query-PersonQueryType PersonQueryType PersonQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personNameFilter 0 1 query-FilterType Element PersonNameFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 BooleanFilterType BooleanFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Boolean Attribute value SimpleFilterType SimpleFilterType query-FilterType comparator 1 1 query-ComparatorType Attribute comparator domainAttribute 1 1 UMLPrimitiveTypes-String Attribute domainAttribute CompoundFilterType CompoundFilterType query-FilterType leftFilter 1 1 query-FilterType Element LeftFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 rightFilter 1 1 query-FilterType Element RightFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 logicalOperator 1 1 query-LogicalOperatorType Attribute logicalOperator DateTimeFilterType DateTimeFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation adhocQueryQuery 0 1 query-AdhocQueryQueryType Element AdhocQueryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryRequest 0 1 query-AdhocQueryRequestType Element AdhocQueryRequest urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryResponse 0 1 query-AdhocQueryResponseType Element AdhocQueryResponse urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 associationQuery 0 1 query-AssociationQueryType Element AssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 auditableEventQuery 0 1 query-AuditableEventQueryType Element AuditableEventQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 booleanFilter 0 1 query-BooleanFilterType Element BooleanFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 compoundFilter 0 1 query-CompoundFilterType Element CompoundFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 dateTimeFilter 0 1 query-DateTimeFilterType Element DateTimeFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalLinkQuery 0 1 query-ExternalLinkQueryType Element ExternalLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 extrinsicObjectQuery 0 1 query-ExtrinsicObjectQueryType Element ExtrinsicObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 federationQuery 0 1 query-FederationQueryType Element FederationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 filter 0 1 query-FilterType Element Filter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 floatFilter 0 1 query-FloatFilterType Element FloatFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 integerFilter 0 1 query-IntegerFilterType Element IntegerFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 notificationQuery 0 1 query-NotificationQueryType Element NotificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 organizationQuery 0 1 query-OrganizationQueryType Element OrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personQuery 0 1 query-PersonQueryType Element PersonQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryPackageQuery 0 1 query-RegistryPackageQueryType Element RegistryPackageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryQuery 0 1 query-RegistryQueryType Element RegistryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 responseOption 0 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 stringFilter 0 1 query-StringFilterType Element StringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 subscriptionQuery 0 1 query-SubscriptionQueryType Element SubscriptionQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalLinkQueryType ExternalLinkQueryType query-RegistryObjectQueryType ExtrinsicObjectQueryType ExtrinsicObjectQueryType query-RegistryObjectQueryType contentVersionInfoFilter 0 1 query-FilterType Element ContentVersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FederationQueryType FederationQueryType query-RegistryObjectQueryType FloatFilterType FloatFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value IntegerFilterType IntegerFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Integer Attribute value NotificationQueryType NotificationQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 OrganizationQueryType OrganizationQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 parentQuery 0 1 query-OrganizationQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childOrganizationQuery 0 -1 query-OrganizationQueryType Element ChildOrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 primaryContactQuery 0 1 query-PersonQueryType Element PrimaryContactQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryPackageQueryType RegistryPackageQueryType query-RegistryObjectQueryType RegistryQueryType RegistryQueryType query-RegistryObjectQueryType operatorQuery 0 1 query-OrganizationQueryType Element OperatorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceBindingQueryType ServiceBindingQueryType query-RegistryObjectQueryType serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 -1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetBindingQuery 0 1 query-ServiceBindingQueryType Element TargetBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceQueryType ServiceQueryType query-RegistryObjectQueryType serviceBindingQuery 0 -1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 SpecificationLinkQueryType SpecificationLinkQueryType query-RegistryObjectQueryType usageDescriptionBranch 0 1 query-InternationalStringBranchType Element UsageDescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationObjectQuery 0 1 query-RegistryObjectQueryType Element SpecificationObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 StringFilterType StringFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value SubscriptionQueryType SubscriptionQueryType query-RegistryObjectQueryType selectorQuery 0 1 query-AdhocQueryQueryType Element SelectorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ReturnTypeType ReturnTypeType OBJECTREF ObjectRef REGISTRY_OBJECT RegistryObject LEAFCLASS LeafClass LEAFCLASSWITHREPOSITORYITEM LeafClassWithRepositoryItem ComparatorType ComparatorType LE LE LT LT GE GE GT GT EQ EQ NE NE Like Like NotLike NotLike LogicalOperatorType LogicalOperatorType AND AND OR OR xgrihe XGRRequestSpec ConstraintsSpec XGRRequestSpec xds-DocumentRequestType constraint_homeCommunityId_required homeCommunityId is required (ITI TF-2b 3.39.1) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) ERROR RetrieveDocumentSetError RegistryResponseSpec5 ConstraintsSpec RegistryResponseSpec5 rs-RegistryResponseType constraintRegistryResponseStatus_RetrieveDocumentSet accepted status on Retrieve Document Set Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-16) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR constraint_ResponseSlotList_notUsed the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.responseSlotList.oclIsUndefined() ERROR constraint_requestId_notUsed requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.requestId.oclIsUndefined() ERROR RegistryErrorSpec5 ConstraintsSpec RegistryErrorSpec5 rs-RegistryErrorType constraintRegistryError_allowedCode_RetrieveDocumentSet allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR rdsihe DocumentRequestSpec ConstraintsSpec DocumentRequestSpec xds-DocumentRequestType constraintRepositoryUniqueId_required repositoryUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='') ) ERROR constraint_documentUniqueId_required documentUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.documentUniqueId.oclIsUndefined() ) and (not (self.documentUniqueId='')) ERROR constraint_homeCommunityId The homeCommunityId element shall be specified if the XDSDocumentEntry containing the uniqueId of the document contains the homeCommunityId attribute (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) WARNING DocumentResponseSpec ConstraintsSpec DocumentResponseSpec xds-DocumentResponseType constraint_repositoryUniqueId_required repositoryUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='')) ERROR constraint_documentUniqueId_required documentUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.documentUniqueId.oclIsUndefined()) and (not (self.documentUniqueId='')) ERROR constraint_document_required document is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) not self.document.oclIsUndefined() ERROR constraint_mimetype_required mimetype required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR XDSResponse PnRError RegistryErrorSpec1 ConstraintsSpec RegistryErrorSpec1 rs-RegistryErrorType constraintRegistryError_codes_Pnr allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') ) ERROR RegistryResponseSpec1 ConstraintsSpec RegistryResponseSpec1 rs-RegistryResponseType constraintRegistryResponseStatus_PnR accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR OSListReq PatientServiceListSpec2 ConstraintsSpec PatientServiceListSpec2 query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1 (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec2 ConstraintsSpec QuerySpec2 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId')->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '57833-6^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.41.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR abstrsq DSDiscardReq DSDiscardSpec ConstraintsSpec DSDiscardSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.5.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayQueryError RegistryResponseSpec4 ConstraintsSpec RegistryResponseSpec4 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec4 ConstraintsSpec RegistryErrorSpec4 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR xds DocumentRequestType DocumentRequest_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 DocumentResponseType DocumentResponse_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 newRepositoryUniqueId 0 1 rim-LongName Element newRepositoryUniqueId urn:ihe:iti:xds-b:2007 newDocumentUniqueId 0 1 rim-LongName Element newDocumentUniqueId urn:ihe:iti:xds-b:2007 mimeType 1 1 rim-LongName Element mimeType urn:ihe:iti:xds-b:2007 document 1 1 UMLPrimitiveTypes-String Element document urn:ihe:iti:xds-b:2007 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation provideAndRegisterDocumentSetRequest 0 1 xds-ProvideAndRegisterDocumentSetRequestType Element ProvideAndRegisterDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetRequest 0 1 xds-RetrieveDocumentSetRequestType Element RetrieveDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetResponse 0 1 xds-RetrieveDocumentSetResponseType Element RetrieveDocumentSetResponse urn:ihe:iti:xds-b:2007 ProvideAndRegisterDocumentSetRequestType ProvideAndRegisterDocumentSetRequestType submitObjectsRequest 1 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 document 0 -1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 DocumentType Document_._type id 1 1 UMLPrimitiveTypes-String Attribute id Include 0 1 xop-Include Element Include http://www.w3.org/2004/08/xop/include mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed RetrieveDocumentSetRequestType RetrieveDocumentSetRequestType documentRequest 1 -1 xds-DocumentRequestType Element DocumentRequest urn:ihe:iti:xds-b:2007 RetrieveDocumentSetResponseType RetrieveDocumentSetResponseType registryResponse 1 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 documentResponse 0 -1 xds-DocumentResponseType Element DocumentResponse urn:ihe:iti:xds-b:2007 OSListResp AdhocRespSpec2 ConstraintsSpec AdhocRespSpec2 query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec2 TemplateSpec DocumentSpec2 urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.4.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.4.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and MAY be empty (WP34_D342_V2.2 3.4.1.4) (not self.name.oclIsUndefined()) ERROR constraint_VersionInfo_required VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57833-6' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_formatCode_required formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.4.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.4.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING OSListRegistryErrorSpec ConstraintsSpec OSListRegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='4102' and self.codeContext='Collection incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='2104' and self.codeContext='Dependencies not checked') or (self.errorCode='2105' and self.codeContext='No reimbursement') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1101' and self.codeContext='No Data') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4103' and self.codeContext='Registry Failure') or (self.errorCode='4104' and self.codeContext='Data Access Failure') or (self.errorCode='4202' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR XCFRespError RegistryObjectSpec ConstraintsSpec RegistryObjectSpec rim-RegistryObjectListType constraint_associations The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->forAll(ass : AssociationType1 | ( ass.sourceObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject) ) and ( ass.targetObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject) ) ) ERROR constraint_associations2 XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and ( ass.associationType='urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember' or ass.associationType='HasMember' ) )->size()=0 ERROR constraint_documents XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) (self.RegistryPackage->size()=0) and (self.Classification->size()=0) ERROR constraint_docEntry XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) ERROR RegistryErrorXCFSpec ConstraintsSpec RegistryErrorXCFSpec rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='TranscodingError') ) ERROR xop Include Include href 1 1 UMLPrimitiveTypes-String Attribute href cmpd FindPrescriptionsForValidation TemplateSpec FindPrescriptionsForValidation urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR FindPrescriptionsForDispense TemplateSpec FindPrescriptionsForDispense urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR AdhocSpec ConstraintsSpec AdhocSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 or urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.2) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8' or self.id='urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8' ) ERROR xgqihe CrossGatewayQuerySpec ConstraintsSpec CrossGatewayQuerySpec query-AdhocQueryRequestType constraintXGQ_homeCommunityId Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( ((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='')) ) or self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' ) ERROR IHEXDSError RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraintRegistryError_required_attributes on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) ERROR constraintRegistryError_severity_values severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.severity.oclIsUndefined()) and ( (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ERROR constraintRegistryError_body_empty the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) self.value.oclIsUndefined() or self.value='' ERROR constraintRegistryError_errorCode_allowedValue allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') or (self.errorCode='TranscodingError') ) ERROR RegistryResponseSpec ConstraintsSpec RegistryResponseSpec rs-RegistryResponseType constraintStatus accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR abstrdsihe ddsresp DDSRespSpec ConstraintsSpec DDSRespSpec rs-RegistryResponseType constraint_errors The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2) self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and ( re.errorCode='ReferencesExistException' or re.errorCode='UnresolvedReferenceException' ) ) ERROR ddsreq DDSReqSpec ConstraintsSpec DDSReqSpec lcm-RemoveObjectsRequestType constraint_aq The AdhocQuery parameter shall not be specified (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.adhocQuery.oclIsUndefined() ERROR constraint_objreflist ObjectRefList SHALL be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) (not self.objectRefList.oclIsUndefined()) ERROR constraint_deletionScope deletionScope SHALL not be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.deletionScope.oclIsUndefined() ERROR DSInitReq DSDocEntrySpec TemplateSpec DSDocEntrySpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype must be text/xml (WP34_D342_V2.2 3.5.1.1) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraint_status status must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.5.1.1) (not self.status.oclIsUndefined() ) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.5.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 60593-1 (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60593-1' ) ERROR constraint_formatCode formatCode must be as defined in table 1C of [epSOS D3.5.2C] (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:epSOS:ep:dis:2010' or cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008' ) ) ERROR CMPDRespError DocSpec ConstraintsSpec DocSpec rim-RegistryObjectListType constraint_formatCode Allowed formatCode are : urn:ihe:pharm:pre:2010, urn:ihe:pharm:padv:2010, urn:ihe:pharm:dis:2010 (IHE PHARM Suppl CMPD, 3.1.4.1.2.1.1.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()>0 and ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:pharm:pre:2010' or cl.nodeRepresentation='urn:ihe:pharm:padv:2010' or cl.nodeRepresentation='urn:ihe:pharm:dis:2010' ) ) ) ERROR DSInitResp DSInitRegRespSpec ConstraintsSpec DSInitRegRespSpec rs-RegistryResponseType constraint_status allowed status are Success, partial success or failure (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess' ) ERROR constraint_waring_vs_success if the response has a success status, allowed error severity are only warning (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ) ERROR constraint_allowedError_ifSuccess if the status of the response is success, the only allowed error is 2201 (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and re.errorCode='2201') ) ERROR constraint_ifFailure if failure or partial failure, the response MUST contain a RegistryErrorList element that indicates the failure condition (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (not (self.registryErrorList.registryError->size()=0)) ) ) ERROR constraint_severity if the response is not success, all RegistryError must have the severety error (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and not self.registryErrorList.registryError->forAll(re : RegistryErrorType | re.severity.oclIsUndefined() or re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ) ERROR DSInitRegErrorSpec ConstraintsSpec DSInitRegErrorSpec rs-RegistryErrorType constraint_allowed_errors allowed errors are those defined by IHE and 2201, 4105, 4106, 4702, 4704, 4107, 4108 (WP34_D342_V2.2 3.5.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4106' and self.codeContext='Invalid Dispensation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4704' and self.codeContext='No Signature') or (self.errorCode='4107' and self.codeContext='Original data missing') or (self.errorCode='4108' and self.codeContext='Pivot data missing') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR query AdhocQueryQueryType AdhocQueryQueryType query-RegistryObjectQueryType queryExpressionBranch 0 1 query-QueryExpressionBranchType Element QueryExpressionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryObjectQueryType RegistryObjectQueryType query-FilterQueryType slotBranch 0 -1 query-SlotBranchType Element SlotBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nameBranch 0 1 query-InternationalStringBranchType Element NameBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 descriptionBranch 0 1 query-InternationalStringBranchType Element DescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 versionInfoFilter 0 1 query-FilterType Element VersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 -1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 -1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 objectTypeQuery 0 1 query-ClassificationNodeQueryType Element ObjectTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 statusQuery 0 1 query-ClassificationNodeQueryType Element StatusQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceAssociationQuery 0 -1 query-AssociationQueryType Element SourceAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetAssociationQuery 0 -1 query-AssociationQueryType Element TargetAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterQueryType FilterQueryType primaryFilter 0 1 query-FilterType Element PrimaryFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterType FilterType negate 0 1 UMLPrimitiveTypes-Boolean Attribute negate SlotBranchType SlotBranchType query-BranchType BranchType BranchType query-FilterQueryType InternationalStringBranchType InternationalStringBranchType query-BranchType localizedStringFilter 0 -1 query-FilterType Element LocalizedStringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationQueryType ClassificationQueryType query-RegistryObjectQueryType classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classifiedObjectQuery 0 1 query-RegistryObjectQueryType Element ClassifiedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationSchemeQueryType ClassificationSchemeQueryType query-RegistryObjectQueryType childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nodeTypeQuery 0 1 query-ClassificationNodeQueryType Element NodeTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationNodeQueryType ClassificationNodeQueryType query-RegistryObjectQueryType parentQuery 0 1 query-RegistryObjectQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalIdentifierQueryType ExternalIdentifierQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 identificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element IdentificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AssociationQueryType AssociationQueryType query-RegistryObjectQueryType associationTypeQuery 0 1 query-ClassificationNodeQueryType Element AssociationTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceObjectQuery 0 1 query-RegistryObjectQueryType Element SourceObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetObjectQuery 0 1 query-RegistryObjectQueryType Element TargetObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 QueryExpressionBranchType QueryExpressionBranchType query-BranchType queryLanguageQuery 0 1 query-ClassificationNodeQueryType Element QueryLanguageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AdhocQueryRequestType AdhocQueryRequest_._type rs-RegistryRequestType responseOption 1 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federated 0 1 UMLPrimitiveTypes-Boolean Attribute federated federation 0 1 UMLPrimitiveTypes-String Attribute federation maxResults 0 1 UMLPrimitiveTypes-Integer Attribute maxResults startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex ResponseOptionType ResponseOptionType returnComposedObjects 0 1 UMLPrimitiveTypes-Boolean Attribute returnComposedObjects returnType 0 1 query-ReturnTypeType Attribute returnType AdhocQueryResponseType AdhocQueryResponse_._type rs-RegistryResponseType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex totalResultCount 0 1 UMLPrimitiveTypes-Integer Attribute totalResultCount AuditableEventQueryType AuditableEventQueryType query-RegistryObjectQueryType affectedObjectQuery 0 -1 query-RegistryObjectQueryType Element AffectedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 eventTypeQuery 0 1 query-ClassificationNodeQueryType Element EventTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 UserQueryType UserQueryType query-PersonQueryType PersonQueryType PersonQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personNameFilter 0 1 query-FilterType Element PersonNameFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 BooleanFilterType BooleanFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Boolean Attribute value SimpleFilterType SimpleFilterType query-FilterType comparator 1 1 query-ComparatorType Attribute comparator domainAttribute 1 1 UMLPrimitiveTypes-String Attribute domainAttribute CompoundFilterType CompoundFilterType query-FilterType leftFilter 1 1 query-FilterType Element LeftFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 rightFilter 1 1 query-FilterType Element RightFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 logicalOperator 1 1 query-LogicalOperatorType Attribute logicalOperator DateTimeFilterType DateTimeFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation adhocQueryQuery 0 1 query-AdhocQueryQueryType Element AdhocQueryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryRequest 0 1 query-AdhocQueryRequestType Element AdhocQueryRequest urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryResponse 0 1 query-AdhocQueryResponseType Element AdhocQueryResponse urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 associationQuery 0 1 query-AssociationQueryType Element AssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 auditableEventQuery 0 1 query-AuditableEventQueryType Element AuditableEventQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 booleanFilter 0 1 query-BooleanFilterType Element BooleanFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 compoundFilter 0 1 query-CompoundFilterType Element CompoundFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 dateTimeFilter 0 1 query-DateTimeFilterType Element DateTimeFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalLinkQuery 0 1 query-ExternalLinkQueryType Element ExternalLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 extrinsicObjectQuery 0 1 query-ExtrinsicObjectQueryType Element ExtrinsicObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 federationQuery 0 1 query-FederationQueryType Element FederationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 filter 0 1 query-FilterType Element Filter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 floatFilter 0 1 query-FloatFilterType Element FloatFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 integerFilter 0 1 query-IntegerFilterType Element IntegerFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 notificationQuery 0 1 query-NotificationQueryType Element NotificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 organizationQuery 0 1 query-OrganizationQueryType Element OrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personQuery 0 1 query-PersonQueryType Element PersonQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryPackageQuery 0 1 query-RegistryPackageQueryType Element RegistryPackageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryQuery 0 1 query-RegistryQueryType Element RegistryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 responseOption 0 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 stringFilter 0 1 query-StringFilterType Element StringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 subscriptionQuery 0 1 query-SubscriptionQueryType Element SubscriptionQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalLinkQueryType ExternalLinkQueryType query-RegistryObjectQueryType ExtrinsicObjectQueryType ExtrinsicObjectQueryType query-RegistryObjectQueryType contentVersionInfoFilter 0 1 query-FilterType Element ContentVersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FederationQueryType FederationQueryType query-RegistryObjectQueryType FloatFilterType FloatFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value IntegerFilterType IntegerFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Integer Attribute value NotificationQueryType NotificationQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 OrganizationQueryType OrganizationQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 parentQuery 0 1 query-OrganizationQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childOrganizationQuery 0 -1 query-OrganizationQueryType Element ChildOrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 primaryContactQuery 0 1 query-PersonQueryType Element PrimaryContactQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryPackageQueryType RegistryPackageQueryType query-RegistryObjectQueryType RegistryQueryType RegistryQueryType query-RegistryObjectQueryType operatorQuery 0 1 query-OrganizationQueryType Element OperatorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceBindingQueryType ServiceBindingQueryType query-RegistryObjectQueryType serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 -1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetBindingQuery 0 1 query-ServiceBindingQueryType Element TargetBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceQueryType ServiceQueryType query-RegistryObjectQueryType serviceBindingQuery 0 -1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 SpecificationLinkQueryType SpecificationLinkQueryType query-RegistryObjectQueryType usageDescriptionBranch 0 1 query-InternationalStringBranchType Element UsageDescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationObjectQuery 0 1 query-RegistryObjectQueryType Element SpecificationObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 StringFilterType StringFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value SubscriptionQueryType SubscriptionQueryType query-RegistryObjectQueryType selectorQuery 0 1 query-AdhocQueryQueryType Element SelectorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ReturnTypeType ReturnTypeType OBJECTREF ObjectRef REGISTRY_OBJECT RegistryObject LEAFCLASS LeafClass LEAFCLASSWITHREPOSITORYITEM LeafClassWithRepositoryItem ComparatorType ComparatorType LE LE LT LT GE GE GT GT EQ EQ NE NE Like Like NotLike NotLike LogicalOperatorType LogicalOperatorType AND AND OR OR xgrihe XGRRequestSpec ConstraintsSpec XGRRequestSpec xds-DocumentRequestType constraint_homeCommunityId_required homeCommunityId is required (ITI TF-2b 3.39.1) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) ERROR RetrieveDocumentSetError RegistryResponseSpec5 ConstraintsSpec RegistryResponseSpec5 rs-RegistryResponseType constraintRegistryResponseStatus_RetrieveDocumentSet accepted status on Retrieve Document Set Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-16) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR constraint_ResponseSlotList_notUsed the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.responseSlotList.oclIsUndefined() ERROR constraint_requestId_notUsed requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.requestId.oclIsUndefined() ERROR RegistryErrorSpec5 ConstraintsSpec RegistryErrorSpec5 rs-RegistryErrorType constraintRegistryError_allowedCode_RetrieveDocumentSet allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR rdsihe DocumentRequestSpec ConstraintsSpec DocumentRequestSpec xds-DocumentRequestType constraintRepositoryUniqueId_required repositoryUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='') ) ERROR constraint_documentUniqueId_required documentUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.documentUniqueId.oclIsUndefined() ) and (not (self.documentUniqueId='')) ERROR constraint_homeCommunityId The homeCommunityId element shall be specified if the XDSDocumentEntry containing the uniqueId of the document contains the homeCommunityId attribute (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) WARNING DocumentResponseSpec ConstraintsSpec DocumentResponseSpec xds-DocumentResponseType constraint_repositoryUniqueId_required repositoryUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='')) ERROR constraint_documentUniqueId_required documentUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.documentUniqueId.oclIsUndefined()) and (not (self.documentUniqueId='')) ERROR constraint_document_required document is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) not self.document.oclIsUndefined() ERROR constraint_mimetype_required mimetype required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR XDSResponse PnRError RegistryErrorSpec1 ConstraintsSpec RegistryErrorSpec1 rs-RegistryErrorType constraintRegistryError_codes_Pnr allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') ) ERROR RegistryResponseSpec1 ConstraintsSpec RegistryResponseSpec1 rs-RegistryResponseType constraintRegistryResponseStatus_PnR accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR OSListReq PatientServiceListSpec2 ConstraintsSpec PatientServiceListSpec2 query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1 (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec2 ConstraintsSpec QuerySpec2 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId')->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '57833-6^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.41.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR abstrsq DSDiscardReq DSDiscardSpec ConstraintsSpec DSDiscardSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.5.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayQueryError RegistryResponseSpec4 ConstraintsSpec RegistryResponseSpec4 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec4 ConstraintsSpec RegistryErrorSpec4 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR xds DocumentRequestType DocumentRequest_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 DocumentResponseType DocumentResponse_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 newRepositoryUniqueId 0 1 rim-LongName Element newRepositoryUniqueId urn:ihe:iti:xds-b:2007 newDocumentUniqueId 0 1 rim-LongName Element newDocumentUniqueId urn:ihe:iti:xds-b:2007 mimeType 1 1 rim-LongName Element mimeType urn:ihe:iti:xds-b:2007 document 1 1 UMLPrimitiveTypes-String Element document urn:ihe:iti:xds-b:2007 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation provideAndRegisterDocumentSetRequest 0 1 xds-ProvideAndRegisterDocumentSetRequestType Element ProvideAndRegisterDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetRequest 0 1 xds-RetrieveDocumentSetRequestType Element RetrieveDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetResponse 0 1 xds-RetrieveDocumentSetResponseType Element RetrieveDocumentSetResponse urn:ihe:iti:xds-b:2007 ProvideAndRegisterDocumentSetRequestType ProvideAndRegisterDocumentSetRequestType submitObjectsRequest 1 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 document 0 -1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 DocumentType Document_._type id 1 1 UMLPrimitiveTypes-String Attribute id Include 0 1 xop-Include Element Include http://www.w3.org/2004/08/xop/include mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed RetrieveDocumentSetRequestType RetrieveDocumentSetRequestType documentRequest 1 -1 xds-DocumentRequestType Element DocumentRequest urn:ihe:iti:xds-b:2007 RetrieveDocumentSetResponseType RetrieveDocumentSetResponseType registryResponse 1 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 documentResponse 0 -1 xds-DocumentResponseType Element DocumentResponse urn:ihe:iti:xds-b:2007 OSListResp AdhocRespSpec2 ConstraintsSpec AdhocRespSpec2 query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec2 TemplateSpec DocumentSpec2 urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.4.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.4.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and MAY be empty (WP34_D342_V2.2 3.4.1.4) (not self.name.oclIsUndefined()) ERROR constraint_VersionInfo_required VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57833-6' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_formatCode_required formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.4.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.4.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING OSListRegistryErrorSpec ConstraintsSpec OSListRegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='4102' and self.codeContext='Collection incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='2104' and self.codeContext='Dependencies not checked') or (self.errorCode='2105' and self.codeContext='No reimbursement') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1101' and self.codeContext='No Data') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4103' and self.codeContext='Registry Failure') or (self.errorCode='4104' and self.codeContext='Data Access Failure') or (self.errorCode='4202' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR XCFRespError RegistryObjectSpec ConstraintsSpec RegistryObjectSpec rim-RegistryObjectListType constraint_associations The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->forAll(ass : AssociationType1 | ( ass.sourceObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject) ) and ( ass.targetObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject) ) ) ERROR constraint_associations2 XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and ( ass.associationType='urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember' or ass.associationType='HasMember' ) )->size()=0 ERROR constraint_documents XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) (self.RegistryPackage->size()=0) and (self.Classification->size()=0) ERROR constraint_docEntry XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) ERROR RegistryErrorXCFSpec ConstraintsSpec RegistryErrorXCFSpec rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='TranscodingError') ) ERROR xop Include Include href 1 1 UMLPrimitiveTypes-String Attribute href cmpd FindPrescriptionsForValidation TemplateSpec FindPrescriptionsForValidation urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR FindPrescriptionsForDispense TemplateSpec FindPrescriptionsForDispense urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR AdhocSpec ConstraintsSpec AdhocSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 or urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.2) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8' or self.id='urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8' ) ERROR xgqihe CrossGatewayQuerySpec ConstraintsSpec CrossGatewayQuerySpec query-AdhocQueryRequestType constraintXGQ_homeCommunityId Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( ((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='')) ) or self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' ) ERROR IHEXDSError RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraintRegistryError_required_attributes on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) ERROR constraintRegistryError_severity_values severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.severity.oclIsUndefined()) and ( (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ERROR constraintRegistryError_body_empty the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) self.value.oclIsUndefined() or self.value='' ERROR constraintRegistryError_errorCode_allowedValue allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') or (self.errorCode='TranscodingError') ) ERROR RegistryResponseSpec ConstraintsSpec RegistryResponseSpec rs-RegistryResponseType constraintStatus accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR abstrdsihe ddsresp DDSRespSpec ConstraintsSpec DDSRespSpec rs-RegistryResponseType constraint_errors The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2) self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and ( re.errorCode='ReferencesExistException' or re.errorCode='UnresolvedReferenceException' ) ) ERROR ddsreq DDSReqSpec ConstraintsSpec DDSReqSpec lcm-RemoveObjectsRequestType constraint_aq The AdhocQuery parameter shall not be specified (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.adhocQuery.oclIsUndefined() ERROR constraint_objreflist ObjectRefList SHALL be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) (not self.objectRefList.oclIsUndefined()) ERROR constraint_deletionScope deletionScope SHALL not be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.deletionScope.oclIsUndefined() ERROR DSInitReq DSDocEntrySpec TemplateSpec DSDocEntrySpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype must be text/xml (WP34_D342_V2.2 3.5.1.1) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraint_status status must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.5.1.1) (not self.status.oclIsUndefined() ) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.5.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 60593-1 (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60593-1' ) ERROR constraint_formatCode formatCode must be as defined in table 1C of [epSOS D3.5.2C] (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:epSOS:ep:dis:2010' or cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008' ) ) ERROR CMPDRespError DocSpec ConstraintsSpec DocSpec rim-RegistryObjectListType constraint_formatCode Allowed formatCode are : urn:ihe:pharm:pre:2010, urn:ihe:pharm:padv:2010, urn:ihe:pharm:dis:2010 (IHE PHARM Suppl CMPD, 3.1.4.1.2.1.1.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()>0 and ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:pharm:pre:2010' or cl.nodeRepresentation='urn:ihe:pharm:padv:2010' or cl.nodeRepresentation='urn:ihe:pharm:dis:2010' ) ) ) ERROR DSInitResp DSInitRegRespSpec ConstraintsSpec DSInitRegRespSpec rs-RegistryResponseType constraint_status allowed status are Success, partial success or failure (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess' ) ERROR constraint_waring_vs_success if the response has a success status, allowed error severity are only warning (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ) ERROR constraint_allowedError_ifSuccess if the status of the response is success, the only allowed error is 2201 (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and re.errorCode='2201') ) ERROR constraint_ifFailure if failure or partial failure, the response MUST contain a RegistryErrorList element that indicates the failure condition (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (not (self.registryErrorList.registryError->size()=0)) ) ) ERROR constraint_severity if the response is not success, all RegistryError must have the severety error (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and not self.registryErrorList.registryError->forAll(re : RegistryErrorType | re.severity.oclIsUndefined() or re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ) ERROR DSInitRegErrorSpec ConstraintsSpec DSInitRegErrorSpec rs-RegistryErrorType constraint_allowed_errors allowed errors are those defined by IHE and 2201, 4105, 4106, 4702, 4704, 4107, 4108 (WP34_D342_V2.2 3.5.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4106' and self.codeContext='Invalid Dispensation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4704' and self.codeContext='No Signature') or (self.errorCode='4107' and self.codeContext='Original data missing') or (self.errorCode='4108' and self.codeContext='Pivot data missing') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR query AdhocQueryQueryType AdhocQueryQueryType query-RegistryObjectQueryType queryExpressionBranch 0 1 query-QueryExpressionBranchType Element QueryExpressionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryObjectQueryType RegistryObjectQueryType query-FilterQueryType slotBranch 0 -1 query-SlotBranchType Element SlotBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nameBranch 0 1 query-InternationalStringBranchType Element NameBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 descriptionBranch 0 1 query-InternationalStringBranchType Element DescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 versionInfoFilter 0 1 query-FilterType Element VersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 -1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 -1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 objectTypeQuery 0 1 query-ClassificationNodeQueryType Element ObjectTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 statusQuery 0 1 query-ClassificationNodeQueryType Element StatusQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceAssociationQuery 0 -1 query-AssociationQueryType Element SourceAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetAssociationQuery 0 -1 query-AssociationQueryType Element TargetAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterQueryType FilterQueryType primaryFilter 0 1 query-FilterType Element PrimaryFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterType FilterType negate 0 1 UMLPrimitiveTypes-Boolean Attribute negate SlotBranchType SlotBranchType query-BranchType BranchType BranchType query-FilterQueryType InternationalStringBranchType InternationalStringBranchType query-BranchType localizedStringFilter 0 -1 query-FilterType Element LocalizedStringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationQueryType ClassificationQueryType query-RegistryObjectQueryType classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classifiedObjectQuery 0 1 query-RegistryObjectQueryType Element ClassifiedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationSchemeQueryType ClassificationSchemeQueryType query-RegistryObjectQueryType childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nodeTypeQuery 0 1 query-ClassificationNodeQueryType Element NodeTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationNodeQueryType ClassificationNodeQueryType query-RegistryObjectQueryType parentQuery 0 1 query-RegistryObjectQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalIdentifierQueryType ExternalIdentifierQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 identificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element IdentificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AssociationQueryType AssociationQueryType query-RegistryObjectQueryType associationTypeQuery 0 1 query-ClassificationNodeQueryType Element AssociationTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceObjectQuery 0 1 query-RegistryObjectQueryType Element SourceObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetObjectQuery 0 1 query-RegistryObjectQueryType Element TargetObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 QueryExpressionBranchType QueryExpressionBranchType query-BranchType queryLanguageQuery 0 1 query-ClassificationNodeQueryType Element QueryLanguageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AdhocQueryRequestType AdhocQueryRequest_._type rs-RegistryRequestType responseOption 1 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federated 0 1 UMLPrimitiveTypes-Boolean Attribute federated federation 0 1 UMLPrimitiveTypes-String Attribute federation maxResults 0 1 UMLPrimitiveTypes-Integer Attribute maxResults startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex ResponseOptionType ResponseOptionType returnComposedObjects 0 1 UMLPrimitiveTypes-Boolean Attribute returnComposedObjects returnType 0 1 query-ReturnTypeType Attribute returnType AdhocQueryResponseType AdhocQueryResponse_._type rs-RegistryResponseType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex totalResultCount 0 1 UMLPrimitiveTypes-Integer Attribute totalResultCount AuditableEventQueryType AuditableEventQueryType query-RegistryObjectQueryType affectedObjectQuery 0 -1 query-RegistryObjectQueryType Element AffectedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 eventTypeQuery 0 1 query-ClassificationNodeQueryType Element EventTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 UserQueryType UserQueryType query-PersonQueryType PersonQueryType PersonQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personNameFilter 0 1 query-FilterType Element PersonNameFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 BooleanFilterType BooleanFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Boolean Attribute value SimpleFilterType SimpleFilterType query-FilterType comparator 1 1 query-ComparatorType Attribute comparator domainAttribute 1 1 UMLPrimitiveTypes-String Attribute domainAttribute CompoundFilterType CompoundFilterType query-FilterType leftFilter 1 1 query-FilterType Element LeftFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 rightFilter 1 1 query-FilterType Element RightFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 logicalOperator 1 1 query-LogicalOperatorType Attribute logicalOperator DateTimeFilterType DateTimeFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation adhocQueryQuery 0 1 query-AdhocQueryQueryType Element AdhocQueryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryRequest 0 1 query-AdhocQueryRequestType Element AdhocQueryRequest urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryResponse 0 1 query-AdhocQueryResponseType Element AdhocQueryResponse urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 associationQuery 0 1 query-AssociationQueryType Element AssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 auditableEventQuery 0 1 query-AuditableEventQueryType Element AuditableEventQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 booleanFilter 0 1 query-BooleanFilterType Element BooleanFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 compoundFilter 0 1 query-CompoundFilterType Element CompoundFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 dateTimeFilter 0 1 query-DateTimeFilterType Element DateTimeFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalLinkQuery 0 1 query-ExternalLinkQueryType Element ExternalLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 extrinsicObjectQuery 0 1 query-ExtrinsicObjectQueryType Element ExtrinsicObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 federationQuery 0 1 query-FederationQueryType Element FederationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 filter 0 1 query-FilterType Element Filter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 floatFilter 0 1 query-FloatFilterType Element FloatFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 integerFilter 0 1 query-IntegerFilterType Element IntegerFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 notificationQuery 0 1 query-NotificationQueryType Element NotificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 organizationQuery 0 1 query-OrganizationQueryType Element OrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personQuery 0 1 query-PersonQueryType Element PersonQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryPackageQuery 0 1 query-RegistryPackageQueryType Element RegistryPackageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryQuery 0 1 query-RegistryQueryType Element RegistryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 responseOption 0 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 stringFilter 0 1 query-StringFilterType Element StringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 subscriptionQuery 0 1 query-SubscriptionQueryType Element SubscriptionQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalLinkQueryType ExternalLinkQueryType query-RegistryObjectQueryType ExtrinsicObjectQueryType ExtrinsicObjectQueryType query-RegistryObjectQueryType contentVersionInfoFilter 0 1 query-FilterType Element ContentVersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FederationQueryType FederationQueryType query-RegistryObjectQueryType FloatFilterType FloatFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value IntegerFilterType IntegerFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Integer Attribute value NotificationQueryType NotificationQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 OrganizationQueryType OrganizationQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 parentQuery 0 1 query-OrganizationQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childOrganizationQuery 0 -1 query-OrganizationQueryType Element ChildOrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 primaryContactQuery 0 1 query-PersonQueryType Element PrimaryContactQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryPackageQueryType RegistryPackageQueryType query-RegistryObjectQueryType RegistryQueryType RegistryQueryType query-RegistryObjectQueryType operatorQuery 0 1 query-OrganizationQueryType Element OperatorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceBindingQueryType ServiceBindingQueryType query-RegistryObjectQueryType serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 -1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetBindingQuery 0 1 query-ServiceBindingQueryType Element TargetBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceQueryType ServiceQueryType query-RegistryObjectQueryType serviceBindingQuery 0 -1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 SpecificationLinkQueryType SpecificationLinkQueryType query-RegistryObjectQueryType usageDescriptionBranch 0 1 query-InternationalStringBranchType Element UsageDescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationObjectQuery 0 1 query-RegistryObjectQueryType Element SpecificationObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 StringFilterType StringFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value SubscriptionQueryType SubscriptionQueryType query-RegistryObjectQueryType selectorQuery 0 1 query-AdhocQueryQueryType Element SelectorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ReturnTypeType ReturnTypeType OBJECTREF ObjectRef REGISTRY_OBJECT RegistryObject LEAFCLASS LeafClass LEAFCLASSWITHREPOSITORYITEM LeafClassWithRepositoryItem ComparatorType ComparatorType LE LE LT LT GE GE GT GT EQ EQ NE NE Like Like NotLike NotLike LogicalOperatorType LogicalOperatorType AND AND OR OR xgrihe XGRRequestSpec ConstraintsSpec XGRRequestSpec xds-DocumentRequestType constraint_homeCommunityId_required homeCommunityId is required (ITI TF-2b 3.39.1) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) ERROR RetrieveDocumentSetError RegistryResponseSpec5 ConstraintsSpec RegistryResponseSpec5 rs-RegistryResponseType constraintRegistryResponseStatus_RetrieveDocumentSet accepted status on Retrieve Document Set Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-16) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR constraint_ResponseSlotList_notUsed the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.responseSlotList.oclIsUndefined() ERROR constraint_requestId_notUsed requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.requestId.oclIsUndefined() ERROR RegistryErrorSpec5 ConstraintsSpec RegistryErrorSpec5 rs-RegistryErrorType constraintRegistryError_allowedCode_RetrieveDocumentSet allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR rdsihe DocumentRequestSpec ConstraintsSpec DocumentRequestSpec xds-DocumentRequestType constraintRepositoryUniqueId_required repositoryUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='') ) ERROR constraint_documentUniqueId_required documentUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.documentUniqueId.oclIsUndefined() ) and (not (self.documentUniqueId='')) ERROR constraint_homeCommunityId The homeCommunityId element shall be specified if the XDSDocumentEntry containing the uniqueId of the document contains the homeCommunityId attribute (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) WARNING DocumentResponseSpec ConstraintsSpec DocumentResponseSpec xds-DocumentResponseType constraint_repositoryUniqueId_required repositoryUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='')) ERROR constraint_documentUniqueId_required documentUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.documentUniqueId.oclIsUndefined()) and (not (self.documentUniqueId='')) ERROR constraint_document_required document is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) not self.document.oclIsUndefined() ERROR constraint_mimetype_required mimetype required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR XDSResponse PnRError RegistryErrorSpec1 ConstraintsSpec RegistryErrorSpec1 rs-RegistryErrorType constraintRegistryError_codes_Pnr allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') ) ERROR RegistryResponseSpec1 ConstraintsSpec RegistryResponseSpec1 rs-RegistryResponseType constraintRegistryResponseStatus_PnR accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR OSListReq PatientServiceListSpec2 ConstraintsSpec PatientServiceListSpec2 query-AdhocQueryRequestType constraint_returnComposedObjects_true returnComposedObjects must have the value true (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true ERROR constraint_returnType returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2) (not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM ERROR constraint_adhocQuery_notNull adhocQuery must be not null (WP34_D342_V2.2) not self.adhocQuery.oclIsUndefined() ERROR constraint_adhocId MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1 (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id='urn:uuid:f2072993-9478-41df-a603-8f016706efe8' ERROR QuerySpec2 ConstraintsSpec QuerySpec2 rim-AdhocQueryType constraint_XDSDocumentEntryPatientId_required $XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId')->size()=1 ERROR constraint_XDSDocumentEntryStatus_required $XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->size()=1 ERROR constraint_XDSDocumentEntryClassCode_required $XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2) (not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->size()=1 ERROR constraint_XDSDocumentEntryStatus_value $XDSDocumentEntryStatus must have the value 'urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryClassCode_value $XDSDocumentEntryClassCode must have the value '57833-6^^2.16.840.1.113883.6.1' (WP34_D342_V2.2 3.41.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryClassCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR constraint_XDSDocumentEntryTypeCode_value $XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryTypeCode')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),'[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*') ) ERROR abstrsq DSDiscardReq DSDiscardSpec ConstraintsSpec DSDiscardSpec lcm-RemoveObjectsRequestType constraint_ObjectRefList_required ObjectRefList required (WP34_D342_V2.2 3.5.2.1) not self.objectRefList.oclIsUndefined() ERROR constraint_ObjectRef_required ObjectRef required (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0) ERROR constraint_ObjectRef_unique For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1) (not self.objectRefList.oclIsUndefined()) and self.objectRefList.objectRef->forAll(orr : ObjectRefType | (not orr.id.oclIsUndefined()) and (self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1) ) ERROR constraint_ObjectRefId_notNull ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1) self.objectRefList.oclIsUndefined() or self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined())) ERROR CrossGatewayQueryError RegistryResponseSpec4 ConstraintsSpec RegistryResponseSpec4 rs-RegistryResponseType constraintRegistryResponseStatus_RegistryStoredQuery accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR RegistryErrorSpec4 ConstraintsSpec RegistryErrorSpec4 rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') ) ERROR xds DocumentRequestType DocumentRequest_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 DocumentResponseType DocumentResponse_._type homeCommunityId 0 1 rim-LongName Element homeCommunityId urn:ihe:iti:xds-b:2007 repositoryUniqueId 1 1 rim-LongName Element repositoryUniqueId urn:ihe:iti:xds-b:2007 documentUniqueId 1 1 rim-LongName Element documentUniqueId urn:ihe:iti:xds-b:2007 newRepositoryUniqueId 0 1 rim-LongName Element newRepositoryUniqueId urn:ihe:iti:xds-b:2007 newDocumentUniqueId 0 1 rim-LongName Element newDocumentUniqueId urn:ihe:iti:xds-b:2007 mimeType 1 1 rim-LongName Element mimeType urn:ihe:iti:xds-b:2007 document 1 1 UMLPrimitiveTypes-String Element document urn:ihe:iti:xds-b:2007 DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation provideAndRegisterDocumentSetRequest 0 1 xds-ProvideAndRegisterDocumentSetRequestType Element ProvideAndRegisterDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetRequest 0 1 xds-RetrieveDocumentSetRequestType Element RetrieveDocumentSetRequest urn:ihe:iti:xds-b:2007 retrieveDocumentSetResponse 0 1 xds-RetrieveDocumentSetResponseType Element RetrieveDocumentSetResponse urn:ihe:iti:xds-b:2007 ProvideAndRegisterDocumentSetRequestType ProvideAndRegisterDocumentSetRequestType submitObjectsRequest 1 1 lcm-SubmitObjectsRequestType Element SubmitObjectsRequest urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0 document 0 -1 xds-DocumentType Element Document urn:ihe:iti:xds-b:2007 DocumentType Document_._type id 1 1 UMLPrimitiveTypes-String Attribute id Include 0 1 xop-Include Element Include http://www.w3.org/2004/08/xop/include mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed RetrieveDocumentSetRequestType RetrieveDocumentSetRequestType documentRequest 1 -1 xds-DocumentRequestType Element DocumentRequest urn:ihe:iti:xds-b:2007 RetrieveDocumentSetResponseType RetrieveDocumentSetResponseType registryResponse 1 1 rs-RegistryResponseType Element RegistryResponse urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0 documentResponse 0 -1 xds-DocumentResponseType Element DocumentResponse urn:ihe:iti:xds-b:2007 OSListResp AdhocRespSpec2 ConstraintsSpec AdhocRespSpec2 query-AdhocQueryResponseType constraintStatus For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4) (not self.status.oclIsUndefined()) and (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess') ERROR constraint_RegistryObjectList It MUST at least contain one child <rim:ExtrinsicObject/> element. (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) ERROR constraint_association_XFRM If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document (WP34_D342_V2.2 3.3.1.4) self.registryObjectList.oclIsUndefined() or self.registryObjectList.Association->isEmpty() or self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType='urn:ihe:iti:2007:AssociationType:XFRM'))->forAll( ass : AssociationType1 | (not ass.sourceObject.oclIsUndefined()) and (not ass.targetObject.oclIsUndefined()) and (ass.classification->size()<2) and ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3' and ( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation='epSOS pivot')) and cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='codingScheme')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()='epSOS translation types' ) ) ) ERROR DocumentSpec2 TemplateSpec DocumentSpec2 urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraintStatus status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4) (not self.status.oclIsUndefined()) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraintMimeType MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraintStatus_required status is required (WP34_D342_V2.2 3.4.1.4) not self.status.oclIsUndefined() ERROR constraintMimeType_required mimetype required (WP34_D342_V2.2 3.4.1.4) not self.mimeType.oclIsUndefined() ERROR constraintName_required name required and MAY be empty (WP34_D342_V2.2 3.4.1.4) (not self.name.oclIsUndefined()) ERROR constraint_VersionInfo_required VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4) (not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName='1' ERROR constraint_creationTime_DTM creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or (sl.valueList.value->isEmpty()) or ( (sl.valueList.value->size()=1) and (sl.isDTM(sl.valueList.value->first())) ) ) ERROR constraint_sourcePatientId_required sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientId')->size()=1 ERROR constraint_sourcePatientInfo_prohibited sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='sourcePatientInfo')->size()=0 ERROR constraint_classCode_required classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='57833-6' ) ERROR constraint_eventCodeList_prohibited eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()=0 ERROR constraint_author_prohibited author prohibited (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()=0 ERROR constraint_confidentialityCode_required confidentialityCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()=1 ERROR constraint_confidentialityCode_value confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_formatCode_required formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and (cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008') ) ERROR constraint_healthcareFacilityTypeCode_required healthcareFacilityTypeCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1 ERROR constraint_practiceSettingCode_required practiceSettingCode required (WP34_D342_V2.2 3.4.1.4) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1 and self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_XDSDocumentEntryUniqueId_required XDSDocumentEntry.uniqueId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')->size()=1 ERROR constraint_patientId_required XDSDocumentEntry.PatientId required (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')->size()=1 ERROR constraint_allowed_slot allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId (WP34_D342_V2.2 3.4.1.4) self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name='creationTime' or sl.name='hash' or sl.name='languageCode' or sl.name='repositoryUniqueId' or sl.name='serviceStartTime' or sl.name='serviceEndTime' or sl.name='size' or sl.name='sourcePatientId' ) WARNING constraint_allowed_classification allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode (WP34_D342_V2.2 3.4.1.4) self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a' or cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f' or cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d' or cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1' or cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead' ) WARNING constraint_allowed_externalIdentifier external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.4.1.4) self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme='urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab' or ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' ) WARNING OSListRegistryErrorSpec ConstraintsSpec OSListRegistryErrorSpec rs-RegistryErrorType constraint_Additional_errors additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='4101' and self.codeContext='Rendering incomplete') or (self.errorCode='4102' and self.codeContext='Collection incomplete') or (self.errorCode='2102' and self.codeContext='Source coded document must be considered') or (self.errorCode='2104' and self.codeContext='Dependencies not checked') or (self.errorCode='2105' and self.codeContext='No reimbursement') or (self.errorCode='4701' and self.codeContext='No Consent') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4703' and self.codeContext='Insufficient Rights') or (self.errorCode='1101' and self.codeContext='No Data') or (self.errorCode='4203' and self.codeContext='Transcoding Error') or (self.errorCode='4103' and self.codeContext='Registry Failure') or (self.errorCode='4104' and self.codeContext='Data Access Failure') or (self.errorCode='4202' and self.codeContext='Unknown Filter') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR XCFRespError RegistryObjectSpec ConstraintsSpec RegistryObjectSpec rim-RegistryObjectListType constraint_associations The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->forAll(ass : AssociationType1 | ( ass.sourceObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject) ) and ( ass.targetObject.oclIsUndefined() or self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject) ) ) ERROR constraint_associations2 XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) self.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and ( ass.associationType='urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember' or ass.associationType='HasMember' ) )->size()=0 ERROR constraint_documents XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) (self.RegistryPackage->size()=0) and (self.Classification->size()=0) ERROR constraint_docEntry XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) ERROR RegistryErrorXCFSpec ConstraintsSpec RegistryErrorXCFSpec rs-RegistryErrorType constraintRegistryError_allowedCode_RegistryStoredQuery allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='TranscodingError') ) ERROR xop Include Include href 1 1 UMLPrimitiveTypes-String Attribute href cmpd FindPrescriptionsForValidation TemplateSpec FindPrescriptionsForValidation urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR FindPrescriptionsForDispense TemplateSpec FindPrescriptionsForDispense urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 rim-AdhocQueryType constraint_patientId1 $XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()>0 ERROR constraint_patientId2 $XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_patientId3 $XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPatientId' )->size()<2 ERROR constraint_uuid $XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEntryUUID' )->size()<2 ERROR constraint_uniqueId $XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryUniqueId' )->size()<2 ERROR constraint_practiceSettingCode $XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryPracticeSettingCode' )->size()<2 ERROR constraint_creationFrom1 $XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationFrom2 $XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeFrom' )->size()<2 ERROR constraint_creationTo1 $XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_creationTo2 $XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryCreationTimeTo' )->size()<2 ERROR constraint_startFrom1 $XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_starTo1 $XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopFrom1 $XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_stopTo1 $XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2)) ERROR constraint_startFrom2 $XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeFrom' )->size()<2 ERROR constraint_startTo2 $XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStartTimeTo' )->size()<2 ERROR constraint_stopFrom2 $XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeFrom' )->size()<2 ERROR constraint_stopTo2 $XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryServiceStopTimeTo' )->size()<2 ERROR constraint_facility $XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' )->size()<2 ERROR constraint_eventCodeList $XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryEventCodeList' )->size()<2 ERROR constraint_confidentialityCode $XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryConfidentialityCode' )->size()<2 ERROR constraint_author $XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryAuthorPerson' )->size()<2 ERROR constraint_status1 $XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()<2 ERROR constraint_status2 $XDSDocumentEntryStatus is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='$XDSDocumentEntryStatus' )->size()>0 ERROR constraint_uuid_uniqueId Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryEntryUUID' or sl.name='$XDSDocumentEntryUniqueId' ) )->size()=1 ERROR constraint_allowedSlot Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2) self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and ( sl.name='$XDSDocumentEntryUniqueId' or sl.name='$XDSDocumentEntryPracticeSettingCode' or sl.name='$XDSDocumentEntryCreationTimeFrom' or sl.name='$XDSDocumentEntryCreationTimeTo' or sl.name='$XDSDocumentEntryServiceStartTimeFrom' or sl.name='$XDSDocumentEntryServiceStartTimeTo' or sl.name='$XDSDocumentEntryServiceStopTimeFrom' or sl.name='$XDSDocumentEntryServiceStopTimeTo' or sl.name='$XDSDocumentEntryHealthcareFacilityTypeCode' or sl.name='$XDSDocumentEntryEventCodeList' or sl.name='$XDSDocumentEntryConfidentialityCode' or sl.name='$XDSDocumentEntryAuthorPerson' or sl.name='$XDSDocumentEntryStatus' or sl.name='$XDSDocumentEntryPatientId' or sl.name='$XDSDocumentEntryEntryUUID' ) ) ERROR AdhocSpec ConstraintsSpec AdhocSpec rim-AdhocQueryType constraint_id The ID of the adhocQuery SHALL be urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8 or urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8 (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.2) (not self.id.oclIsUndefined()) and ( self.id='urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8' or self.id='urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8' ) ERROR xgqihe CrossGatewayQuerySpec ConstraintsSpec CrossGatewayQuerySpec query-AdhocQueryRequestType constraintXGQ_homeCommunityId Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1) (not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and ( ((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='')) ) or self.adhocQuery.id='urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d' or self.adhocQuery.id='urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9' or self.adhocQuery.id='urn:uuid:958f3006-baad-4929-a4de-ff1114824431' or self.adhocQuery.id='urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3' ) ERROR IHEXDSError RegistryErrorSpec ConstraintsSpec RegistryErrorSpec rs-RegistryErrorType constraintRegistryError_required_attributes on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) ERROR constraintRegistryError_severity_values severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.severity.oclIsUndefined()) and ( (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') or (self.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ERROR constraintRegistryError_body_empty the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) self.value.oclIsUndefined() or self.value='' ERROR constraintRegistryError_errorCode_allowedValue allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') or (self.errorCode='TranscodingError') ) ERROR RegistryResponseSpec ConstraintsSpec RegistryResponseSpec rs-RegistryResponseType constraintStatus accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' ) ERROR abstrdsihe ddsresp DDSRespSpec ConstraintsSpec DDSRespSpec rs-RegistryResponseType constraint_errors The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2) self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and ( re.errorCode='ReferencesExistException' or re.errorCode='UnresolvedReferenceException' ) ) ERROR ddsreq DDSReqSpec ConstraintsSpec DDSReqSpec lcm-RemoveObjectsRequestType constraint_aq The AdhocQuery parameter shall not be specified (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.adhocQuery.oclIsUndefined() ERROR constraint_objreflist ObjectRefList SHALL be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) (not self.objectRefList.oclIsUndefined()) ERROR constraint_deletionScope deletionScope SHALL not be present (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.1.2) self.deletionScope.oclIsUndefined() ERROR DSInitReq DSDocEntrySpec TemplateSpec DSDocEntrySpec urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 rim-ExtrinsicObjectType constraint_mimetype mimetype must be text/xml (WP34_D342_V2.2 3.5.1.1) (not self.mimeType.oclIsUndefined()) and self.mimeType='text/xml' ERROR constraint_status status must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.5.1.1) (not self.status.oclIsUndefined() ) and self.status='urn:oasis:names:tc:ebxml-regrep:StatusType:Approved' ERROR constraint_sourcePatientId sourcePatientId MUST be of the same value as $XDSDocumentEntry.PatientId (WP34_D342_V2.2 3.5.1.1) self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name='sourcePatientId' )->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' )->forAll(ext : ExternalIdentifierType | (not ext.value.oclIsUndefined()) and ext.value=sl.valueList.value->first() ) ) ERROR constraint_practiceSettingCode practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead') )->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='Not Used' ) ERROR constraint_confidentialityCode confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='N' ) ERROR constraint_classCode classCode must be set to 60593-1 (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation='60593-1' ) ERROR constraint_formatCode formatCode must be as defined in table 1C of [epSOS D3.5.2C] (WP34_D342_V2.2 3.5.1.1) self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:epSOS:ep:pre:2010' or cl.nodeRepresentation='urn:epSOS:ep:dis:2010' or cl.nodeRepresentation='urn:epSOS:ps:ps:2010' or cl.nodeRepresentation='urn:ihe:iti:xds-sd:pdf:2008' ) ) ERROR CMPDRespError DocSpec ConstraintsSpec DocSpec rim-RegistryObjectListType constraint_formatCode Allowed formatCode are : urn:ihe:pharm:pre:2010, urn:ihe:pharm:padv:2010, urn:ihe:pharm:dis:2010 (IHE PHARM Suppl CMPD, 3.1.4.1.2.1.1.2) self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()>0 and ext.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and ( cl.nodeRepresentation='urn:ihe:pharm:pre:2010' or cl.nodeRepresentation='urn:ihe:pharm:padv:2010' or cl.nodeRepresentation='urn:ihe:pharm:dis:2010' ) ) ) ERROR DSInitResp DSInitRegRespSpec ConstraintsSpec DSInitRegRespSpec rs-RegistryResponseType constraint_status allowed status are Success, partial success or failure (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSuccess' ) ERROR constraint_waring_vs_success if the response has a success status, allowed error severity are only warning (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and ( (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning') ) ) ERROR constraint_allowedError_ifSuccess if the status of the response is success, the only allowed error is 2201 (WP34_D342_V2.2 3.5.1.4) (not self.status.oclIsUndefined()) and (not (self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success')) or ( self.registryErrorList.oclIsUndefined() or self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and re.errorCode='2201') ) ERROR constraint_ifFailure if failure or partial failure, the response MUST contain a RegistryErrorList element that indicates the failure condition (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and (not (self.registryErrorList.registryError->size()=0)) ) ) ERROR constraint_severity if the response is not success, all RegistryError must have the severety error (WP34_D342_V2.2 3.5.1.5) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' or ( (not self.registryErrorList.oclIsUndefined()) and not self.registryErrorList.registryError->forAll(re : RegistryErrorType | re.severity.oclIsUndefined() or re.severity='urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error') ) ) ERROR DSInitRegErrorSpec ConstraintsSpec DSInitRegErrorSpec rs-RegistryErrorType constraint_allowed_errors allowed errors are those defined by IHE and 2201, 4105, 4106, 4702, 4704, 4107, 4108 (WP34_D342_V2.2 3.5.1.5) (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and ( (self.errorCode='2201' and self.codeContext='Processing deferred') or (self.errorCode='4105' and self.codeContext='No match') or (self.errorCode='4106' and self.codeContext='Invalid Dispensation') or (self.errorCode='4702' and self.codeContext='Weak Authentication') or (self.errorCode='4704' and self.codeContext='No Signature') or (self.errorCode='4107' and self.codeContext='Original data missing') or (self.errorCode='4108' and self.codeContext='Pivot data missing') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSRegistryNotAvailable') or (self.errorCode='XDSRegistryError') or (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRegistryDuplicateUniqueIdInMessage') or (self.errorCode='XDSRepositoryDuplicateUniqueIdInMessage') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSNonIdenticalHash') or (self.errorCode='XDSRegistryBusy') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRegistryOutOfResources') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSRegistryMetadataError') or (self.errorCode='XDSRepositoryMetadataError') or (self.errorCode='XDSTooManyResults') or (self.errorCode='XDSExtraMetadataNotSaved') or (self.errorCode='XDSUnknownPatientId') or (self.errorCode='XDSPatientIdDoesNotMatch') or (self.errorCode='XDSUnknownStoredQuery') or (self.errorCode='XDSStoredQueryMissingParam') or (self.errorCode='XDSStoredQueryParamNumber') or (self.errorCode='XDSRegistryDeprecatedDocumentError') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR query AdhocQueryQueryType AdhocQueryQueryType query-RegistryObjectQueryType queryExpressionBranch 0 1 query-QueryExpressionBranchType Element QueryExpressionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryObjectQueryType RegistryObjectQueryType query-FilterQueryType slotBranch 0 -1 query-SlotBranchType Element SlotBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nameBranch 0 1 query-InternationalStringBranchType Element NameBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 descriptionBranch 0 1 query-InternationalStringBranchType Element DescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 versionInfoFilter 0 1 query-FilterType Element VersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 -1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 -1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 objectTypeQuery 0 1 query-ClassificationNodeQueryType Element ObjectTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 statusQuery 0 1 query-ClassificationNodeQueryType Element StatusQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceAssociationQuery 0 -1 query-AssociationQueryType Element SourceAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetAssociationQuery 0 -1 query-AssociationQueryType Element TargetAssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterQueryType FilterQueryType primaryFilter 0 1 query-FilterType Element PrimaryFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FilterType FilterType negate 0 1 UMLPrimitiveTypes-Boolean Attribute negate SlotBranchType SlotBranchType query-BranchType BranchType BranchType query-FilterQueryType InternationalStringBranchType InternationalStringBranchType query-BranchType localizedStringFilter 0 -1 query-FilterType Element LocalizedStringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationQueryType ClassificationQueryType query-RegistryObjectQueryType classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classifiedObjectQuery 0 1 query-RegistryObjectQueryType Element ClassifiedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationSchemeQueryType ClassificationSchemeQueryType query-RegistryObjectQueryType childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 nodeTypeQuery 0 1 query-ClassificationNodeQueryType Element NodeTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ClassificationNodeQueryType ClassificationNodeQueryType query-RegistryObjectQueryType parentQuery 0 1 query-RegistryObjectQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childrenQuery 0 -1 query-ClassificationNodeQueryType Element ChildrenQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalIdentifierQueryType ExternalIdentifierQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 identificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element IdentificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AssociationQueryType AssociationQueryType query-RegistryObjectQueryType associationTypeQuery 0 1 query-ClassificationNodeQueryType Element AssociationTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 sourceObjectQuery 0 1 query-RegistryObjectQueryType Element SourceObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetObjectQuery 0 1 query-RegistryObjectQueryType Element TargetObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 QueryExpressionBranchType QueryExpressionBranchType query-BranchType queryLanguageQuery 0 1 query-ClassificationNodeQueryType Element QueryLanguageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 AdhocQueryRequestType AdhocQueryRequest_._type rs-RegistryRequestType responseOption 1 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQuery 1 1 rim-AdhocQueryType Element AdhocQuery urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 federated 0 1 UMLPrimitiveTypes-Boolean Attribute federated federation 0 1 UMLPrimitiveTypes-String Attribute federation maxResults 0 1 UMLPrimitiveTypes-Integer Attribute maxResults startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex ResponseOptionType ResponseOptionType returnComposedObjects 0 1 UMLPrimitiveTypes-Boolean Attribute returnComposedObjects returnType 0 1 query-ReturnTypeType Attribute returnType AdhocQueryResponseType AdhocQueryResponse_._type rs-RegistryResponseType registryObjectList 1 1 rim-RegistryObjectListType Element RegistryObjectList urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 startIndex 0 1 UMLPrimitiveTypes-Integer Attribute startIndex totalResultCount 0 1 UMLPrimitiveTypes-Integer Attribute totalResultCount AuditableEventQueryType AuditableEventQueryType query-RegistryObjectQueryType affectedObjectQuery 0 -1 query-RegistryObjectQueryType Element AffectedObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 eventTypeQuery 0 1 query-ClassificationNodeQueryType Element EventTypeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 UserQueryType UserQueryType query-PersonQueryType PersonQueryType PersonQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personNameFilter 0 1 query-FilterType Element PersonNameFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 BooleanFilterType BooleanFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Boolean Attribute value SimpleFilterType SimpleFilterType query-FilterType comparator 1 1 query-ComparatorType Attribute comparator domainAttribute 1 1 UMLPrimitiveTypes-String Attribute domainAttribute CompoundFilterType CompoundFilterType query-FilterType leftFilter 1 1 query-FilterType Element LeftFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 rightFilter 1 1 query-FilterType Element RightFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 logicalOperator 1 1 query-LogicalOperatorType Attribute logicalOperator DateTimeFilterType DateTimeFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value DocumentRoot DocumentRoot mixed 0 -1 EcorePrimitiveTypes-EFeatureMapEntry ElementWildcard mixed xMLNSPrefixMap 0 -1 UMLPrimitiveTypes-String Attribute xmlns:prefix xSISchemaLocation 0 -1 UMLPrimitiveTypes-String Attribute xsi:schemaLocation adhocQueryQuery 0 1 query-AdhocQueryQueryType Element AdhocQueryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryRequest 0 1 query-AdhocQueryRequestType Element AdhocQueryRequest urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 adhocQueryResponse 0 1 query-AdhocQueryResponseType Element AdhocQueryResponse urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 associationQuery 0 1 query-AssociationQueryType Element AssociationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 auditableEventQuery 0 1 query-AuditableEventQueryType Element AuditableEventQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 booleanFilter 0 1 query-BooleanFilterType Element BooleanFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationNodeQuery 0 1 query-ClassificationNodeQueryType Element ClassificationNodeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationQuery 0 1 query-ClassificationQueryType Element ClassificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 classificationSchemeQuery 0 1 query-ClassificationSchemeQueryType Element ClassificationSchemeQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 compoundFilter 0 1 query-CompoundFilterType Element CompoundFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 dateTimeFilter 0 1 query-DateTimeFilterType Element DateTimeFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalIdentifierQuery 0 1 query-ExternalIdentifierQueryType Element ExternalIdentifierQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 externalLinkQuery 0 1 query-ExternalLinkQueryType Element ExternalLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 extrinsicObjectQuery 0 1 query-ExtrinsicObjectQueryType Element ExtrinsicObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 federationQuery 0 1 query-FederationQueryType Element FederationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 filter 0 1 query-FilterType Element Filter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 floatFilter 0 1 query-FloatFilterType Element FloatFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 integerFilter 0 1 query-IntegerFilterType Element IntegerFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 notificationQuery 0 1 query-NotificationQueryType Element NotificationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 organizationQuery 0 1 query-OrganizationQueryType Element OrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 personQuery 0 1 query-PersonQueryType Element PersonQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryPackageQuery 0 1 query-RegistryPackageQueryType Element RegistryPackageQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 registryQuery 0 1 query-RegistryQueryType Element RegistryQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 responseOption 0 1 query-ResponseOptionType Element ResponseOption urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 stringFilter 0 1 query-StringFilterType Element StringFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 subscriptionQuery 0 1 query-SubscriptionQueryType Element SubscriptionQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 userQuery 0 1 query-UserQueryType Element UserQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ExternalLinkQueryType ExternalLinkQueryType query-RegistryObjectQueryType ExtrinsicObjectQueryType ExtrinsicObjectQueryType query-RegistryObjectQueryType contentVersionInfoFilter 0 1 query-FilterType Element ContentVersionInfoFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 FederationQueryType FederationQueryType query-RegistryObjectQueryType FloatFilterType FloatFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value IntegerFilterType IntegerFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-Integer Attribute value NotificationQueryType NotificationQueryType query-RegistryObjectQueryType registryObjectQuery 0 1 query-RegistryObjectQueryType Element RegistryObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 OrganizationQueryType OrganizationQueryType query-RegistryObjectQueryType addressFilter 0 -1 query-FilterType Element AddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 telephoneNumberFilter 0 -1 query-FilterType Element TelephoneNumberFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 emailAddressFilter 0 -1 query-FilterType Element EmailAddressFilter urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 parentQuery 0 1 query-OrganizationQueryType Element ParentQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 childOrganizationQuery 0 -1 query-OrganizationQueryType Element ChildOrganizationQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 primaryContactQuery 0 1 query-PersonQueryType Element PrimaryContactQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 RegistryPackageQueryType RegistryPackageQueryType query-RegistryObjectQueryType RegistryQueryType RegistryQueryType query-RegistryObjectQueryType operatorQuery 0 1 query-OrganizationQueryType Element OperatorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceBindingQueryType ServiceBindingQueryType query-RegistryObjectQueryType serviceQuery 0 1 query-ServiceQueryType Element ServiceQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationLinkQuery 0 -1 query-SpecificationLinkQueryType Element SpecificationLinkQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 targetBindingQuery 0 1 query-ServiceBindingQueryType Element TargetBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ServiceQueryType ServiceQueryType query-RegistryObjectQueryType serviceBindingQuery 0 -1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 SpecificationLinkQueryType SpecificationLinkQueryType query-RegistryObjectQueryType usageDescriptionBranch 0 1 query-InternationalStringBranchType Element UsageDescriptionBranch urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 serviceBindingQuery 0 1 query-ServiceBindingQueryType Element ServiceBindingQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 specificationObjectQuery 0 1 query-RegistryObjectQueryType Element SpecificationObjectQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 StringFilterType StringFilterType query-SimpleFilterType value 1 1 UMLPrimitiveTypes-String Attribute value SubscriptionQueryType SubscriptionQueryType query-RegistryObjectQueryType selectorQuery 0 1 query-AdhocQueryQueryType Element SelectorQuery urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0 ReturnTypeType ReturnTypeType OBJECTREF ObjectRef REGISTRY_OBJECT RegistryObject LEAFCLASS LeafClass LEAFCLASSWITHREPOSITORYITEM LeafClassWithRepositoryItem ComparatorType ComparatorType LE LE LT LT GE GE GT GT EQ EQ NE NE Like Like NotLike NotLike LogicalOperatorType LogicalOperatorType AND AND OR OR xgrihe XGRRequestSpec ConstraintsSpec XGRRequestSpec xds-DocumentRequestType constraint_homeCommunityId_required homeCommunityId is required (ITI TF-2b 3.39.1) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) ERROR RetrieveDocumentSetError RegistryResponseSpec5 ConstraintsSpec RegistryResponseSpec5 rs-RegistryResponseType constraintRegistryResponseStatus_RetrieveDocumentSet accepted status on Retrieve Document Set Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-16) (not self.status.oclIsUndefined()) and ( self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure' or self.status='urn:ihe:iti:2007:ResponseStatusType:PartialSuccess' or self.status='urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success' ) ERROR constraint_ResponseSlotList_notUsed the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.responseSlotList.oclIsUndefined() ERROR constraint_requestId_notUsed requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) self.requestId.oclIsUndefined() ERROR RegistryErrorSpec5 ConstraintsSpec RegistryErrorSpec5 rs-RegistryErrorType constraintRegistryError_allowedCode_RetrieveDocumentSet allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSRepositoryError') or (self.errorCode='XDSRepositoryBusy') or (self.errorCode='XDSRepositoryOutOfResources') or (self.errorCode='XDSUnknownRepositoryId') or (self.errorCode='XDSDocumentUniqueIdError') or (self.errorCode='XDSResultNotSinglePatient') or (self.errorCode='XDSUnknownCommunity') or (self.errorCode='XDSMissingHomeCommunityId') or (self.errorCode='XDSUnavailableCommunity') ) ERROR rdsihe DocumentRequestSpec ConstraintsSpec DocumentRequestSpec xds-DocumentRequestType constraintRepositoryUniqueId_required repositoryUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='') ) ERROR constraint_documentUniqueId_required documentUniqueId is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.documentUniqueId.oclIsUndefined() ) and (not (self.documentUniqueId='')) ERROR constraint_homeCommunityId The homeCommunityId element shall be specified if the XDSDocumentEntry containing the uniqueId of the document contains the homeCommunityId attribute (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.1.2) (not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId='')) WARNING DocumentResponseSpec ConstraintsSpec DocumentResponseSpec xds-DocumentResponseType constraint_repositoryUniqueId_required repositoryUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.repositoryUniqueId.oclIsUndefined()) and (not (self.repositoryUniqueId='')) ERROR constraint_documentUniqueId_required documentUniqueId required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.documentUniqueId.oclIsUndefined()) and (not (self.documentUniqueId='')) ERROR constraint_document_required document is required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) not self.document.oclIsUndefined() ERROR constraint_mimetype_required mimetype required (ITI_TF_Rev8.0_Vol2b_FT 3.43.4.2.2) (not self.mimeType.oclIsUndefined()) and (not (self.mimeType='')) ERROR XDSResponse