DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
languageCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
DocumentEntry.formatCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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 rp.id<>''
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
DocumentEntry.formatCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'
)
hash is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='hash'
)
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
languageCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
repositoryUniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='repositoryUniqueId'
)
size is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='size'
)
sourcePatientId is require (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='sourcePatientId'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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 rp.id<>''
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
hash is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='hash'
)
mimeType is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
size is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='size'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
DocumentEntry.URI is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='URI'
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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 rp.id<>''
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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())
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
DocumentEntry.formatCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'
)
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
languageCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
sourcePatientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='sourcePatientId'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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 rp.id<>''
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
mimeType is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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 rp.id<>''
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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())
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
DocumentEntry.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.status.oclIsUndefined()
DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.1.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
DocumentEntry.formatCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'
)
hash is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='hash'
)
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
languageCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
repositoryUniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='repositoryUniqueId'
)
size is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='size'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
SubmissionSet.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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 rp.id<>''
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.availableStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
DocumentEntry.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.status.oclIsUndefined()
DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
hash is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='hash'
)
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
homeCommunityId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
(not self.home.oclIsUndefined()) and self.home<>''
languageCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
repositoryUniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='repositoryUniqueId'
)
size is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='size'
)
sourcePatientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='sourcePatientId'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
SubmissionSet.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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 rp.id<>''
)
SubmissionSet.homeCommunityId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.home.oclIsUndefined())
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.availableStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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())
)
Folder.homeCommunityId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.home.oclIsUndefined())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
DocumentEntry.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.status.oclIsUndefined()
DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
DocumentEntry.formatCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'
)
hash is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='hash'
)
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
homeCommunityId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
(not self.home.oclIsUndefined()) and self.home<>''
languageCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
repositoryUniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='repositoryUniqueId'
)
size is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='size'
)
sourcePatientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='sourcePatientId'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
SubmissionSet.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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 rp.id<>''
)
SubmissionSet.homeCommunityId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.home.oclIsUndefined())
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.availableStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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())
)
Folder.homeCommunityId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.home.oclIsUndefined())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
DocumentEntry.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.status.oclIsUndefined()
DocumentEntry.classCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'
)
DocumentEntry.confidentialityCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'
)
creationTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='creationTime'
)
entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
(not self.id.oclIsUndefined() ) and (not (self.id=''))
hash is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='hash'
)
DocumentEntry.healthcareFacilityTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'
)
languageCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='languageCode'
)
mimeType is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
not self.mimeType.oclIsUndefined() and self.mimeType<>''
DocumentEntry.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)
DocumentEntry.practiceSettingCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'
)
repositoryUniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='repositoryUniqueId'
)
size is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='size'
)
sourcePatientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.slot->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='sourcePatientId'
)
DocumentEntry.typeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'
)
DocumentEntry.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.externalIdentifier->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab')
)
DocumentEntry.formatCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
self.classification->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'
)
SubmissionSet.availabilityStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
SubmissionSet.contentTypeCode is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'
)
)
SubmissionSet.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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 rp.id<>''
)
SubmissionSet.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446')
)
)
SubmissionSet.sourceId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832')
)
)
SubmissionSet.submissionTime is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(sl : SlotType1 |
(not sl.name.oclIsUndefined()) and
sl.name='submissionTime'
)
)
SubmissionSet.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8')
)
)
Folder.availableStatus is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.status.oclIsUndefined())
)
Folder.codeList is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(cl : ClassificationType |
(not cl.classificationScheme.oclIsUndefined()) and
cl.classificationScheme = 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'
)
)
Folder.entryUUID is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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())
)
Folder.patientId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a')
)
)
Folder.title is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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.name.oclIsUndefined()) and
rp.name.localizedString->size()>0
)
Folder.uniqueId is required (IHE_ITI_TF V3, 4.3.2.1)
OCL
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->exists(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a')
)
)
sourcePatientId is required for XDSDocumentEntry (CI-SIS VP, 3.4.42.3)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientId'))->size()>0
XDSDocumentEntry.URI contains the name or relative path of the document (CI-SIS VP, 3.4.50.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'URI'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->forAll(val : String | sl.matches(val,'([A-Z0-9]{1,8}\\/)*[A-Z0-9]{1,8}\\.[A-Z0-9]+'))
)
DocumentEntry.name is required (CI-SIS VP, 3.4.44.3)
OCL
(not self.name.oclIsUndefined()) and
self.name.localizedString->size()>0 and
not self.name.localizedString->first().value.oclIsUndefined() and
self.name.localizedString->first().value <> ''
XDSDocumentEntry.sourcePatientInfo content must be like described in CI-SIS VP, 3.4.43.5
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->forAll(val : String |
sl.matches(val,'PID-3\\|.+?\\^\\^\\^&.+?\\&ISO\\^.+(\\^\\^.+)?') or
sl.matches(val,'PID-5\\|.+?\\^.*\\^\\^\\^\\^\\^(L|D|S|U)') or
sl.matches(val,'PID-7\\|((19|20)\\d\\d)((0[1-9]|1[012])((0[1-9]|[12][0-9]|3[01])((0[0-9]|1[0-9]|2[0123])(([0-5][0-9])([0-5][0-9])?)?)?)?)?((\\+|\\-)[0-9]{4})?') or
sl.matches(val,'PID-8\\|(F|M)') or
sl.matches(val,'PID-11\\|(([^^]*&?[^^]*&?[^^]*)?(\\^[^^]*(\\^[^^]*(\\^[^^]*(\\^[^^]*(\\^([A-Z]{3})?(\\^[A-Z]{0,3}(\\^[^^]*(\\^[^^]*(\\^[^^]*(\\^(I|A|P)?(\\^([^^]*&?[^^]*)?(\\^[^^]*(\\^[^^]*)?)?)?)?)?)?)?)?)?)?)?)?)?)') or
sl.matches(val,'PID-13\\|([^^]*(\\^(PRN|ORN|WPN|VHN|ASN|EMR|NET|BPN)?(\\^(PH|FX|MD|CP|BP|Internet|X\\.400|TDD|TTY)?(\\^[^^]*(\\^[^^]{0,3}(\\^[^^]{0,5}(\\^[^^]{0,9}(\\^[^^]{0,5}(\\^[^^]*(\\^[^^]*(\\^[^^]*(\\^[^^]*)?)?)?)?)?)?)?)?)?)?)?)') or
sl.matches(val,'PID-14\\|([^^]*(\\^(PRN|ORN|WPN|VHN|ASN|EMR|NET|BPN)?(\\^(PH|FX|MD|CP|BP|Internet|X\\.400|TDD|TTY)?(\\^[^^]*(\\^[^^]{0,3}(\\^[^^]{0,5}(\\^[^^]{0,9}(\\^[^^]{0,5}(\\^[^^]*(\\^[^^]*(\\^[^^]*(\\^[^^]*)?)?)?)?)?)?)?)?)?)?)?)') or
sl.matches(val,'PID-15\|([^^]*\^){0,5}[^^]*') or
sl.matches(val,'PID-16\|([^^]*\^){0,5}[^^]*') or
sl.matches(val,'PID-18\|[^^]+?\^\^\^&[^^]+?&ISO') or
sl.matches(val,'PID-21\|[^^]+?\^\^\^&[^^]+?&ISO') or
sl.matches(val,'PID-23\|[^^]+') or
sl.matches(val,'PID-24\|(Y|N)') or
sl.matches(val,'PID-25\|[^^]{0,2}') or
sl.matches(val,'PID-29\\|((19|20)\\d\\d)((0[1-9]|1[012])((0[1-9]|[12][0-9]|3[01])((0[0-9]|1[0-9]|2[0123])(([0-5][0-9])([0-5][0-9])?)?)?)?)?((\\+|\\-)[0-9]{4})?') or
sl.matches(val,'PID-30\|[^^]')
)
)
PID-5 is required for XDSDocumentEntry.sourcePatientInfo (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-5\\|.+')
)->size()>0
)
PID-7 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-7\\|.+')
)->size()<2
)
PID-8 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-8\\|.+')
)->size()<2
)
PID-15 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-15\\|.+')
)->size()<2
)
PID-16 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-16\\|.+')
)->size()<2
)
PID-18 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-18\\|.+')
)->size()<2
)
PID-23 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-23\\|.+')
)->size()<2
)
PID-24 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-24\\|.+')
)->size()<2
)
PID-25 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-25\\|.+')
)->size()<2
)
PID-29 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-29\\|.+')
)->size()<2
)
PID-30 if present in XDSDocumentEntry.sourcePatientInfo must have a single value (CI-SIS VP, 3.4.43.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'sourcePatientInfo'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->select(val : String |
sl.matches(val,'PID-30\\|.+')
)->size()<2
)
Only one legalAuthenticator is allowed in SubmissionSet (CI-SIS VP, 3.4.32.4)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'legalAuthenticator')->size()<2 and
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()<2 )
Components 1,2,3,9,10 and 13 are mandatory for legalAuthenticator element (CI-SIS VP, 3.4.2.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->forAll(val : String | sl.matches(val,'.+\\^.+\\^.+\\^.*\\^.*\\^.*\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^[D|U]\\^.*\\^.*\\^(IDNPS|EI|NH|INS\\-C|RI)'))
)
legalAuthenticator is required for a DocumentEntry (CI-SIS VP, 3.4.32.3)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name = 'legalAuthenticator'))->size()>0
mimeType value must be "text/xml", "application/xslt+xml" or "application/dicom" for a DocumentEntry(CI-SIS VP, 3.4.33.5)
OCL
(not self.mimeType.oclIsUndefined()) and
(
self.mimeType='text/xml' or
self.mimeType='application/xslt+xml' or
self.mimeType='application/dicom'
)
The type SHALL be populated from values in JDV_J07 TypeCode (CI-SIS VP, 3.4.45)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f0306f51-975f-434e-a61c-c59651d33983')->forAll(cl :ClassificationType |
(not cl.nodeRepresentation.oclIsUndefined()) and
cl.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(cl.slot->first().name='codingScheme') and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.2.250.1.213.1.1.5.471', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
The practiceSetting SHALL be populated from values in JDV_J04 PracticeSettingCode (CI-SIS VP, 3.4.35)
OCL
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.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(cl.slot->first().name='codingScheme') and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.2.250.1.213.1.1.5.467', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
The healthcareFacilityType SHALL be populated from values in JDV_J02 HealthcareFacilityTypeCode (CI-SIS VP, 3.4.27)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->forAll(cl :ClassificationType |
(not cl.nodeRepresentation.oclIsUndefined()) and
cl.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(cl.slot->first().name='codingScheme') and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.2.250.1.213.1.1.5.466', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
The confidentialityCode SHALL be populated from values in JDV_J08 ConfidentialityCode (CI-SIS VP, 3.4.13)
OCL
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.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(cl.slot->first().name='codingScheme') and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.2.250.1.213.1.1.5.463', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
The availabilityStatus SHALL be populated from values in JDV_J52 AvailabilityStatus (CI-SIS VP, 3.4.6)
OCL
self.matchesValueSet('1.2.250.1.213.1.1.5.131', self.status, null, null, null)
The type SHALL be populated from values in JDV_J06 ClassCode (CI-SIS VP, 3.4.7)
OCL
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.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(cl.slot->first().name='codingScheme') and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.2.250.1.213.1.1.5.462', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
The format SHALL be populated from values in JDV_J10 FormatCode (CI-SIS VP, 3.4.22)
OCL
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.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(cl.slot->first().name='codingScheme') and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.2.250.1.213.1.1.5.465', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
The first confidentialityCode SHALL be populated from {N,R,V} (CI-SIS VP, 3.4.13)
OCL
let confidentiality = self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->first() in
(not confidentiality.nodeRepresentation.oclIsUndefined()) and
confidentiality.slot->size()=1 and
(not confidentiality.slot->first().name.oclIsUndefined()) and
(confidentiality.slot->first().name='codingScheme') and
(not confidentiality.slot->first().valueList.oclIsUndefined()) and
confidentiality.slot->first().valueList.value->size()=1 and
(not confidentiality.name.oclIsUndefined()) and
confidentiality.name.localizedString->size()=1 and
(not confidentiality.name.localizedString->first().value.oclIsUndefined()) and
(
(
confidentiality.nodeRepresentation = 'N' and
confidentiality.name.localizedString->first().value = 'Normal'
) or
(
confidentiality.nodeRepresentation = 'R' and
confidentiality.name.localizedString->first().value = 'Restreint'
) or
(
confidentiality.nodeRepresentation = 'V' and
confidentiality.name.localizedString->first().value = 'Très restreint'
)
) and
confidentiality.slot->first().valueList.value->first() = '2.16.840.1.113883.5.25'
DocumentEntry SHALL contain exactly one class (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a')->size()=1
Document entry SHALL contain at least 1 and at most 3 ConfidentialityCode (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()>0
and
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f')->size()<4
DocumentEntry SHALL contain exactly one format (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->size()=1
DocumentEntry SHALL contain exactly one healthcareFacilityType (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1')->size()=1
DocumentEntry SHALL contain exactly one type (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:f0306f51-975f-434e-a61c-c59651d33983')->size()=1
DocumentEntry SHALL contain at least one author (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d')->size()>0
DocumentEntry SHALL contain exactly one practiceSetting (CI-SIS VP)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead')->size()=1
serviceStartTime is mandatory in XDSDocumentEntry (CI-SIS VP)
OCL
(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))
patientId is required for XDSSubmissionSet (CI-SIS VP, 3.5.14.3)
OCL
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()>0
)
XDSFolder.patientId is required (CI-SIS VP, 3.6.9.3)
OCL
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()>0
)
Only one patientId is allowed in XDSFolder (CI-SIS VP, 3.6.9.4)
OCL
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()<2
)
Only one instance of the authorInstitution sub-attribute is allowed in XDSDocumentEntry.author(CI-SIS VP, 3.4.2.4)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorInstitution')->size()<2 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()<2 )
Components 1,6,7 and 10 are mandatory for authorInstitution element (CI-SIS VP, 3.4.2.5)
OCL
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.matches(val,'.+\\^.*\\^.*\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^IDNST\\^.*\\^.*\\^[1-4]\\d+'))
)
authorPerson is required for XDSDocumentEntry.author (CI-SIS VP, 3.4.3.2)
OCL
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 )
Components 1,2,3,9,10 and 13 are mandatory for authorPerson element (CI-SIS VP, 3.4.2.5)
OCL
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.matches(val,'.+\\^.+\\^.+\\^.*\\^.*\\^.*\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^[D|U]\\^.*\\^.*\\^(IDNPS|EI|NH|INS\\-C|RI)'))
)
Only one instance of the authorSpecialty sub-attribute is allowed in XDSDocumentEntry.author(CI-SIS VP, 3.4.2.4)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->size()<2 and
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->forAll(sl : SlotType1 |
(not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()<2 )
Components 1,2 and 3 are mandatory for authorSpecialty element (CI-SIS VP, 3.4.2.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->forAll(val : String | sl.matches(val,'.+\\^.+\\^(\\d\\.?)+'))
)
authorSpecialty value must be in JDV_J01 AuthorSpecialty (CI-SIS VP, 3.4.5)
OCL
let values = self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->first().valueList.value->first().split('^') in
self.slot->first().matchesValueSet('1.2.250.1.213.1.1.5.461', values->at(1), values->at(3), null, values->at(2))
Only one instance of the authorInstitution sub-attribute is allowed in XDSSubmissionSet.author (CI-SIS VP, 3.4.2.4)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorInstitution')->size()<2 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()<2 )
Components 1,6,7 and 10 are mandatory for authorInstitution element (CI-SIS VP, 3.4.2.5)
OCL
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.matches(val,'.+\\^.*\\^.*\\^.*\\^.*\\^\\&1\\.2\\.250\\.1\\.71\\.4\\.2\\.2\\&ISO\\^IDNST\\^.*\\^.*\\^[0-4]\\d+'))
)
authorPerson is required for XDSSubmissionSet.author (CI-SIS VP, 3.4.3.2)
OCL
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 )
Components 1,2,3,9,10 and 13 are mandatory for authorPerson element (CI-SIS VP, 3.4.2.5)
OCL
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.matches(val,'.+\\^.+\\^.+\\^.*\\^.*\\^.*\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^[D|U]\\^.*\\^.*\\^(IDNPS|EI|NH|INS\\-C|RI)'))
)
Only one instance of the authorInstitution sub-attribute is allowed in XDSSubmissionSet.author (CI-SIS VP, 3.4.2.4)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->size()<2 and
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->forAll(sl : SlotType1 |
(not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()<2 )
Components 1,2 and 3 are mandatory for authorSpecialty element (CI-SIS VP, 3.4.2.5)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name = 'authorSpecialty')->forAll(sl : SlotType1 |
sl.valueList.oclIsUndefined() or
sl.valueList.value->forAll(val : String | sl.matches(val,'.+\^.+\^(\d\.?)+'))
)
Component 1,4 and 5 are mandatory and 7 is mandatory if known for XDSSubmissionSet.patientId (CI-SIS VP, 3.4.34.5)
OCL
self.value.oclIsUndefined() or self.matches(self.value, '.+\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^(PI|NH|INS\\-C)(\\^\\^[^\\^]+)?')
Component 1,4 and 5 are mandatory and 7 is mandatory if known for XDSFolder.patientId (CI-SIS VP, 3.4.34.5)
OCL
self.value.oclIsUndefined() or self.matches(self.value, '.+\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^(NH|INS\\-C)(\\^\\^[^\\^]+)?')
Component 1,4 and 5 are mandatory and 7 is mandatory if known for XDSDocumentEntry.patientId (CI-SIS VP, 3.4.34.5)
OCL
self.value.oclIsUndefined() or self.matches(self.value, '.+\\^.*\\^.*\\^\\&(\\d\\.?)*\\&ISO\\^(NH|INS\\-C)(\\^\\^[^\\^]+)?')
patientId must be unique throughout all XDSFolder, XDSSumissionSet and XDSDocumentEntry (CI-SIS VP, 3.5.14.3)
OCL
let patientid = self.ExtrinsicObject->first().externalIdentifier->select(ext:ExternalIdentifierType | ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')-> first().value in
self.RegistryPackage->forAll(rp : RegistryPackageType |
rp.externalIdentifier->select(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
((ext.identificationScheme = 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a') or (ext.identificationScheme='urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'))
)->forAll(ext:ExternalIdentifierType | ext.value = patientid)
)
and
self.ExtrinsicObject->forAll(rp : ExtrinsicObjectType |
rp.externalIdentifier->select(ext : ExternalIdentifierType |
(not ext.identificationScheme.oclIsUndefined()) and
(ext.identificationScheme = 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427')
)->forAll(ext:ExternalIdentifierType | ext.value = patientid)
)