on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) OCL (not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined()) 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) OCL (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') ) the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11) OCL self.value.oclIsUndefined() or self.value='' accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12) OCL (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' ) 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) OCL (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='DocumentQueued') or (self.errorCode='InvalidDocumentContent') or (self.errorCode='PartialAppendContentNotProcessed') or (self.errorCode='PartialFolderContentNotProcessed') or (self.errorCode='PartialReplaceContentNotProcessed') or (self.errorCode='PartialTransformNotProcessed') or (self.errorCode='PartialTransformReplaceNotProcessed') or (self.errorCode='XDSDuplicateUniqueIdInRegistry') or (self.errorCode='XDSMissingDocument') or (self.errorCode='XDSMissingDocumentMetadata') or (self.errorCode='XDSPatientIdDoesNotMatch') 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') ) accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) OCL (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' ) accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13) OCL (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' ) 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) OCL (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') ) 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) OCL (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' ) allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity OCL (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') ) 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) OCL (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' ) allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity OCL (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') ) 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) OCL (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' ) the ResponseSlotList is not used for Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) OCL self.responseSlotList.oclIsUndefined() requestId is not used on Retrieve Document Set transaction (ITI TF Rev8, vol 2b_FT) OCL self.requestId.oclIsUndefined() allowed error codes on Retrieve Document Set transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity. OCL (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') ) accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15) OCL (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' ) allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId OCL (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') ) 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) OCL 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) ) ) XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2) OCL 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 XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2) OCL (self.RegistryPackage->size()=0) and (self.Classification->size()=0) XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2) OCL self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined())) allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF) OCL (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') ) 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) OCL 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' ) ) ) allowed error codes on Metadata Update transaction are XDSMetadataUpdateError, XDSPatientIDReconciliationError, XDSMetadataUpdateOperationError, XDSMetadataVersionError (IHE_ITI_TF_Rev1-11_Vol3_FT Table 4.1-11) OCL (not self.errorCode.oclIsUndefined()) and ( (self.errorCode='XDSMetadataUpdateError') or (self.errorCode='XDSPatientIDReconciliationError') or (self.errorCode='XDSMetadataUpdateOperationError') or (self.errorCode='XDSMetadataVersionError') ) accepted status on Registry Response are Failure or Success for Metadata Update transaction (TF_Rev8.0_Vol3_FT Table 4.1-12) OCL (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' )