--
--

-- pg_dump -U gazelle xdstar-client --column-inserts -a -t registry_object_metadata -t constraint_specification -t adhoc_query_extra_constraints -t adhoc_return_types -t affinity_domain -t tf_transaction -t affinity_domain_transactions -t classification_metadata_describer -t code -t configuration_type -t usage_metadata -t conf_type_usages -t external_identifier_metadata_describer -t extrinsic_object_extra_constraints -t extrinsic_object_metadata_describer -t mbv_documentation_spec -t mbv_package -t mbv_class_type -t mbv_constraint -t mbv_assertion -t mbv_standards -t message_type -t parameter -t message_type_optional_parameters -t message_type_required_parameters -t metadata -t nist_code -t pack_class -t registry_object_list_metadata -t registry_object_list_metadata_extrinsicobject -t registry_package_metadata_describer -t registry_object_list_metadata_registrypackage -t registry_object_list_metadata_usage -t registry_object_metadata_classificationdescriber -t registry_object_metadata_describer -t registry_object_metadata_ext_identifierdescriber -t slot_metadata -t slot_metadata_describer -t registry_object_metadata_slotdescriber -t registry_object_metadata_usage -t registry_package_extra_constraints -t transaction_type -t transaction_type_tf_transaction -t transfer_syntax_uid -t validator_pack_class -t ut_unit_test -t ut_unit_test_file -t validator_pack_class_nist_code -t validator_pack_class_pack_class -t validator_pack_class_registry_object_metadata -t validator_pack_class_usage -t validator_registry_object_list_metadata_rol -t xcpd_home_community > init.sql



--
-- Data for Name: constraint_specification; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO constraint_specification (id, description, kind, xpath) VALUES (1, 'the XDSDocumentEntryPatientId or the XDSDocumentEntryPatientStatus shall be present', 'error', '//rim:Slot[@name=''$XDSDocumentEntryPatientId''] or //rim:Slot[@name=''$XDSDocumentEntryPatientStatus'']');
INSERT INTO constraint_specification (id, description, kind, xpath) VALUES (3, 'the XDSDocumentEntryPatientId or the XDSDocumentEntryPatientStatus shall be present', 'error', '//rim:Slot[@name=''$XDSDocumentEntryPatientId''] or //rim:Slot[@name=''$XDSDocumentEntryPatientStatus'']');
INSERT INTO constraint_specification (id, description, kind, xpath) VALUES (4, 'the XDSDocumentEntryPatientId or the XDSDocumentEntryPatientStatus shall be present', 'error', '//rim:Slot[@name=''$XDSDocumentEntryPatientId''] or //rim:Slot[@name=''$XDSDocumentEntryPatientStatus'']');
SELECT pg_catalog.setval('constraint_specification_id_seq', 4, true);


--
-- Data for Name: registry_object_metadata; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 88, 'XDSSubmissionSet.contentTypeCode', '', 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500', NULL, '1.3.6.1.4.1.12559.11.4.3.1');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 89, 'XDSSubmissionSet.author', 'XDSSubmissionSet.author', 'urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 90, 'XDSDocumentEntry.author', 'XDSDocumentEntry.author', 'urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 91, 'XDSDocumentEntry.classCode (XDW)', 'Workflow Document', 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 92, 'XDSDocumentEntry.eventCodeList (XDW)', '', 'urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4', NULL, '1.3.6.1.4.1.12559.11.4.3.7.1');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 93, 'XDSDocumentEntry.classCode', '', 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a', NULL, '1.3.6.1.4.1.12559.11.4.3.2');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 94, 'XDSFolder.codeList', '', 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5', NULL, '1.3.6.1.4.1.12559.11.4.3.10');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 95, 'XDSDocumentEntry.confidentialityCode', '', 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f', NULL, '1.3.6.1.4.1.12559.11.4.3.3');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 96, 'XDSFolder.codeList (XDW)', 'XDW Workflow Context Folder', 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 97, 'XDSDocumentEntry.eventCodeList', '', 'urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4', NULL, '1.3.6.1.4.1.12559.11.4.3.7');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 98, 'XDSDocumentEntry.formatCode (XDW)', 'Workflow Document', 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', NULL, '1.3.6.1.4.1.19376.1.2.3');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 99, 'XDSDocumentEntry.formatCode', '', 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', NULL, '1.3.6.1.4.1.12559.11.4.3.4');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 100, 'XDSDocumentEntry.practiceSettingCode (XDS-I)', 'Radiology', 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 101, 'XDSDocumentEntry.formatCode (XDS-I)', '', 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', NULL, '1.3.6.1.4.1.12559.11.4.5.7');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 102, 'XDSDocumentEntry.eventCodeList (XDS-I)', '', 'urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4', NULL, '1.3.6.1.4.1.12559.11.4.5.1,1.3.6.1.4.1.12559.11.4.5.2,1.3.6.1.4.1.12559.11.4.5.3,1.3.6.1.4.1.12559.11.4.5.4,1.3.6.1.4.1.12559.11.4.5.5,1.3.6.1.4.1.12559.11.4.5.6');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 103, 'XDSDocumentEntry.classCode (XDS.b epSOS)', '', 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a', NULL, '1.3.6.1.4.1.12559.11.4.1.5');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 104, 'XDSDocumentEntry.confidentialityCode (XDS.b epSOS)', '', 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f', NULL, '1.3.6.1.4.1.12559.11.4.1.6');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 105, 'XDSDocumentEntry.formatCode (XDS.b epSOS)', '', 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', NULL, '1.3.6.1.4.1.12559.11.4.1.3');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 106, 'XDSDocumentEntry.healthcareFacilityTypeCode (XDS.b epSOS)', '', 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1', NULL, '1.3.6.1.4.1.12559.11.4.1.7');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 107, 'XDSDocumentEntry.practiceSettingCode (XDS.b epSOS)', '', 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead', NULL, '1.3.6.1.4.1.12559.11.4.1.9');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 108, 'XDSDocumentEntry.typeCode (XDS.b epSOS)', '', 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 109, 'XDSDocumentEntry.healthcareFacilityTypeCode', '', 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1', NULL, '1.3.6.1.4.1.12559.11.4.3.5');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 110, 'XDSSubmissionSet.contentTypeCode (XDS.b epSOS)', '', 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500', NULL, '1.3.6.1.4.1.12559.11.4.1.4');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 111, 'XDSDocumentEntry.practiceSettingCode', '', 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead', NULL, '1.3.6.1.4.1.12559.11.4.3.6');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 112, 'XDSDocumentEntry.typeCode', '', 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983', NULL, '1.3.6.1.4.1.12559.11.4.3.8');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 113, 'XDSSubmissionSet.patientId (DSUB)', 'XDSSubmissionSet.patientId', 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 114, 'XDSDocumentEntry.uniqueId', 'XDSDocumentEntry.uniqueId', 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 115, 'XDSSubmissionSet.sourceId', 'XDSSubmissionSet.sourceId', 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 116, 'XDSSubmissionSet.uniqueId', 'XDSSubmissionSet.uniqueId', 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 117, 'XDSFolder.uniqueId', 'XDSFolder.uniqueId', 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 118, 'XDSDocumentEntry.patientId (DSUB)', 'XDSDocumentEntry.patientId', 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 119, 'XDSFolder.patientId (DSUB)', 'XDSFolder.patientId', 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExtrinsicObject', 122, 'XDSDocument Entry (XDS-I)', 'XDSDocument Entry', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExtrinsicObject', 121, 'XDSDocument Entry (XDS.b epSOS)', 'XDSDocument Entry', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExtrinsicObject', 120, 'XDSDocument Entry (DSUB)', 'XDSDocument Entry', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExtrinsicObject', 123, 'XDSDocument Entry (XDW)', 'XDSDocument Entry', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExtrinsicObject', 124, 'XDSDocument Entry', 'XDSDocument Entry', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExtrinsicObject', 125, 'XDSDocument Entry (On-Demand Document)', 'XDSDocument Entry', 'urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 127, 'XDSSubmissionSet (DSUB)', 'XDS Submission Set', 'urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 128, 'XDSSubmissionSet (XDS.b epSOS)', 'XDS Submission Set', 'urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 126, 'XDSFolder (DSUB)', 'XDS Folder', 'urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 129, 'XDSFolder (XDW)', 'XDS Folder', 'urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 130, 'XDSSubmissionSet (XDS-I)', 'XDS Submission Set', 'urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 131, 'XDSFolder', 'XDS Folder', 'urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 132, 'XDSSubmissionSet (XDW)', 'XDS Submission Set', 'urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 133, 'XDSSubmissionSet', 'XDS Submission Set', 'urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 161, 'GetSubmissionSets', 'GetSubmissionSets', 'urn:uuid:51224314-5390-4169-9b91-b1980040715a', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 162, 'GetDocumentsAndAssociations', 'GetDocumentsAndAssociations', 'urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 163, 'GetFolderAndContents', 'GetFolderAndContents', 'urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 164, 'GetSubmissionSetAndContents', 'GetSubmissionSetAndContents', 'urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 165, 'GetRelatedDocuments', 'GetRelatedDocuments', 'urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 166, 'GetFoldersForDocument', 'GetFoldersForDocument', 'urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 167, 'FindFolders (XDW)', 'FindFolders', 'urn:uuid:958f3006-baad-4929-a4de-ff1114824431', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 168, 'FindDocuments (XDW)', 'FindDocuments', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('RegistryPackage', 169, 'XDSFolder (XDS-I)', 'XDS Folder', 'urn:uuid:d9d542f3-6cc4-48b6-8870-ea235fbc94c2', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('Classification', 170, 'XDSFolder.codeList', '', 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5', NULL, '1.3.6.1.4.1.12559.11.4.3.10');
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('ExternalIdentifier', 171, 'XDSFolder.uniqueId', 'XDSFolder.uniqueId', 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 151, 'Cross Gateway Fetch', 'Cross Gateway Fetch', 'urn:uuid:f2072993-9478-41df-a603-8f016706efe8', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 136, 'FindFolders (DSUB)', 'FindFolders', 'urn:uuid:9376254e-da05-41f5-9af3-ac56d63d8ebd', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 138, 'OrderService:retrieve', 'OrderService:retrieve', '#', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 140, 'PatientService:list', 'PatientService:list', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 142, 'GetFolderAndContents (XDW)', 'GetFolderAndContents', 'urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 135, 'FindSubmissionSets (DSUB)', 'FindSubmissionSets', 'urn:uuid:fbede94e-dbdc-4f6b-bc1f-d730e677cece', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 144, 'GetAll (XDW)', 'GetAll', 'urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 145, 'GetSubmissionSetAndContents (XDW)', 'GetSubmissionSetAndContents', 'urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 146, 'FindDocuments (DSUB)', 'FindDocuments', 'urn:uuid:aa2332d0-f8fe-11e0-be50-0800200c9a66', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 147, 'FetchDocumentService:query', 'FetchDocumentService:query', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 148, 'FindDocumentsForMultiplePatients', 'FindDocumentsForMultiplePatients', 'urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 149, 'FindFoldersForMultiplePatients', 'FindFoldersForMultiplePatients', 'urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 150, 'FindPrescriptionsForDispense', 'FindPrescriptionsForDispense', 'urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 137, 'FetchDocumentService:retrieve', 'FetchDocumentService:retrieve', '#', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 139, 'PatientService:retrieve', 'PatientService:retrieve', '#', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 141, 'OrderService:list V2.2 (XCF)', 'OrderService:list V2.2 (XCF)', 'urn:uuid:f2072993-9478-41df-a603-8f016706efe8', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 143, 'OrderService:list', 'OrderService:list', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 152, 'PatientService:list V2.2 (XCF)', 'PatientService:list V2.2 (XCF)', 'urn:uuid:f2072993-9478-41df-a603-8f016706efe8', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 153, 'FindPrescriptionsForValidation', 'FindPrescriptionsForValidation', 'urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 154, 'FindDocuments', 'FindDocuments', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 155, 'FindFolders', 'FindFolders', 'urn:uuid:958f3006-baad-4929-a4de-ff1114824431', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 156, 'FindSubmissionSets', 'FindSubmissionSets', 'urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 157, 'GetDocuments', 'GetDocuments', 'urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 158, 'GetAll', 'GetAll', 'urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 159, 'GetAssociations', 'GetAssociations', 'urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 160, 'GetFolders', 'GetFolders', 'urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4', NULL, NULL);
INSERT INTO registry_object_metadata (dtype, id, displayattributename, name, uuid, value, valueset) VALUES ('AdhocQuery', 172, 'FindDocumentsByReferenceId', 'FindDocumentsByReferenceId', 'urn:uuid:12941a89-e02e-4be5-967cce4bfc8fe492', NULL, NULL);
SELECT pg_catalog.setval('registry_object_metadata_describer_id_seq', 173, true);


--
-- Data for Name: adhoc_query_extra_constraints; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO adhoc_query_extra_constraints (registry_object_metadata_id, extraconstraintspecifications_id) VALUES (154, 4);


--
-- Data for Name: adhoc_return_types; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO adhoc_return_types (id, return_type_val) VALUES (136, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (136, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (140, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (140, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (142, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (142, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (144, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (144, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (145, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (145, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (146, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (146, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (147, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (147, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (148, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (148, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (149, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (149, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (150, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (150, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (151, 'LEAFCLASSWITHREPOSITORYITEM');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (135, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (135, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (141, 'LEAFCLASSWITHREPOSITORYITEM');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (143, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (143, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (152, 'LEAFCLASSWITHREPOSITORYITEM');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (153, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (153, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (155, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (155, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (156, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (156, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (160, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (160, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (161, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (161, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (162, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (162, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (163, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (163, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (164, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (164, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (165, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (165, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (166, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (166, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (167, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (167, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (168, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (168, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (159, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (159, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (158, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (158, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (172, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (172, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (157, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (157, 'OBJECTREF');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (154, 'LEAFCLASS');
INSERT INTO adhoc_return_types (id, return_type_val) VALUES (154, 'OBJECTREF');


--
-- Data for Name: affinity_domain; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (6, 'IHE_XDW_XDSb', 'IHE (XDW - XDS.b)', 'IHE_XDW_XDSb');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (1, 'IHE_XDR', 'IHE (XDR)', 'XDR');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (5, 'IHE_XDS-b', 'IHE (XDS.b)', 'XDS-b');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (2, 'epSOS_XDR', 'epSOS ( XDR)', 'XDR');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (4, 'epSOS_XCA', 'epSOS (XCA)', 'XCA');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (3, 'IHE_XCA', 'IHE (XCA)', 'XCA');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (7, 'IHE_ITI', 'IHE [ITI]', 'IHE [ITI]');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (8, 'epSOS', 'epSOS', 'epSOS');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (10, 'IHE_XCF', 'IHE (XCF)', 'IHE_XCF');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (11, 'IHE_MPQ', 'IHE (MPQ)', 'IHE_MPQ');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (9, 'IHE_PHARM', 'IHE [PHARM]', 'IHE_PHARM');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (13, 'IHE_XCA-I', 'IHE (XCA-I)', 'IHE_XCA-I');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (12, 'IHE_XDS-I.b', 'IHE (XDS-I.b)', 'IHE_XDS-I.b');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (14, 'IHE_XDSb_epSOS', 'IHE XDS.b (epSOS context)', 'XDS.b');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (15, 'IHE_DSUB', 'IHE (DSUB)', 'IHE_DSUB');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (16, 'epSOS-2', 'epSOS-2', 'epSOS-2');
INSERT INTO affinity_domain (id, keyword, label_to_display, profile) VALUES (17, 'IHE_RMU', 'IHE (RMU)', 'RMU');
SELECT pg_catalog.setval('affinity_domain_id_seq', 18, true);


--
-- Data for Name: tf_transaction; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO tf_transaction (id, description, keyword, name) VALUES (2, 'epSOS : DispensationService:initialize()', 'DispensationService:initialize()', 'DispensationService:initialize()');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (3, 'epSOS : ConsentService:put()', 'ConsentService:put()', 'ConsentService:put()');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (4, 'Cross Gateway Query', 'ITI-38', 'Cross Gateway Query');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (5, 'Cross Gateway Retrieve', 'ITI-39', 'Cross Gateway Retrieve');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (7, 'Registry Stored Query', 'ITI-18', 'Registry Stored Query');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (8, 'Retrieve Document Set', 'ITI-43', 'Retrieve Document Set');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (6, 'ITI-38 + ITI-39', 'epSOS-1', 'epSOS-1');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (9, 'IdentificationService', 'IdentificationService', 'IdentificationService');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (10, 'ITI-55', 'ITI-55', 'Cross Gateway Patient Discovery');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (11, 'ITI-56', 'ITI-56', 'Patient Location Query');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (12, 'PHARM-1', 'PHARM-1', 'Query Pharmacy Documents');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (13, 'ITI-63', 'ITI-63', 'Cross Gateway Fetch');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (14, 'DispensationService:Discard()', 'DispensationService:Discard()', 'DispensationService:Discard()');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (15, 'ConsentService:Discard()', 'ConsentService:Discard()', 'ConsentService:Discard()');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (16, 'ITI-62', 'ITI-62', 'Delete Document Set');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (17, 'ITI-51', 'ITI-51', 'Multi-Patient Stored Query');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (18, 'RAD-68', 'RAD-68', 'Provide and Register Imaging Document Set - MTOM/XOP');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (19, 'RAD-69', 'RAD-69', 'Retrieve Imaging Document Set');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (20, 'RAD-75', 'RAD-75', 'Cross Gateway Retrieve Imaging Document Set');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (21, 'RAD-55', 'RAD-55', 'WADO Retrieve');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (22, 'Document Metadata Subscribe', 'ITI-52', 'ITI-52');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (23, 'Document Metadata Publish', 'ITI-54', 'ITI-54');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (24, 'Register On-Demand Document Entry', 'ITI-61', 'ITI-61');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (25, 'FetchDocumentService', 'FetchDocumentService', 'FetchDocumentService');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (26, 'ProvideDataService', 'ProvideDataService', 'ProvideDataService');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (27, 'PatientIdentificationAndAuthenticationService', 'PatientIdentificationAndAuthenticationService', 'PatientIdentificationAndAuthenticationService');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (28, 'ITI-53', 'ITI-53', 'ITI-53');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (30, 'ITI-42', 'ITI-42', 'ITI-42');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (1, 'ITI-41', 'ITI-41', 'Provide and Register Document Set b');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (31, 'Update Document Set', 'ITI-57', 'Update Document Set');
INSERT INTO tf_transaction (id, description, keyword, name) VALUES (32, 'Restricted Update Document Set', 'ITI-92', 'RMU');
SELECT pg_catalog.setval('tf_transaction_id_seq', 33, true);

--
-- Data for Name: affinity_domain_transactions; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (6, 7);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (6, 1);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (6, 8);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (1, 1);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (4, 6);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (3, 4);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (3, 5);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 7);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 4);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 5);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 1);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 8);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 10);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (7, 11);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (8, 3);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (8, 2);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (8, 6);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (8, 9);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (10, 13);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (11, 17);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (9, 12);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (13, 19);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (13, 20);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (12, 18);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (12, 19);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (12, 21);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (14, 1);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (16, 25);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (16, 26);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (16, 27);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (15, 22);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (15, 23);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (15, 28);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (2, 3);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (2, 2);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (5, 7);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (5, 8);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (5, 16);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (5, 24);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (5, 1);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (5, 31);
INSERT INTO affinity_domain_transactions (affinity_domain_id, transaction_id) VALUES (17, 32);


--
-- Data for Name: classification_metadata_describer; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (1, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (2, '_1star', 93);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (3, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (4, '_0star', 97);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (5, '_1star', 99);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (6, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (7, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (8, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (9, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (10, '_1star', 93);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (11, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (12, '_0star', 97);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (13, '_1star', 99);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (14, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (15, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (16, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (17, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (18, '_1star', 91);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (19, '_0star', 92);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (20, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (21, '_1star', 98);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (22, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (23, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (24, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (25, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (26, '_1star', 93);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (27, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (28, '_1star', 100);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (29, '_1star', 101);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (30, '_0star', 102);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (31, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (32, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (33, '_1star', 103);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (34, '_1star', 104);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (35, '_1star', 105);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (36, '_1star', 106);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (37, '_1star', 107);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (38, '_1star', 108);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (39, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (40, '_1star', 93);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (41, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (42, '_0star', 97);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (43, '_1star', 99);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (44, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (45, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (46, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (47, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (48, '_1star', 91);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (49, '_0star', 92);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (50, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (51, '_1star', 98);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (52, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (53, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (54, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (55, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (56, '_1star', 93);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (57, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (58, '_0star', 97);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (59, '_1star', 99);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (60, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (61, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (62, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (63, '_0star', 90);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (64, '_1star', 93);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (65, '_1star', 95);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (66, '_0star', 97);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (67, '_1star', 99);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (68, '_1star', 109);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (69, '_1star', 111);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (70, '_1star', 112);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (71, '_1star', 94);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (72, '_1star', 88);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (73, '_0star', 89);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (74, '_1star', 110);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (75, '_1star', 94);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (76, '_1star', 96);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (77, '_1star', 88);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (78, '_0star', 89);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (79, '_1star', 94);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (80, '_1star', 88);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (81, '_0star', 89);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (82, '_1star', 88);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (83, '_0star', 89);
INSERT INTO classification_metadata_describer (id, cardinality, classification_id) VALUES (84, '_1star', 170);
SELECT pg_catalog.setval('classification_metadata_describer_id_seq', 85, true);

--
-- Data for Name: code; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (4, 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', 'urn:epSOS:ep:dis:2010', 'epSOS formatCodes', 'urn:epSOS:ep:dis:2010', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (8, 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', 'urn:ihe:iti:bppc-sd:2007', '1.3.6.1.4.1.19376.1.2.3', 'Consent (Scanned Document)', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (13, 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983', '60593-1', '2.16.840.1.113883.6.1', 'eDispensation', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (1, 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a', '60593-1', '2.16.840.1.113883.6.1', 'eDispensation', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (3, 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f', 'N', '2.16.840.1.113883.5.25', 'Normal', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (11, 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead', 'Not Used', 'epSOS Practice Setting Codes-Not Used', 'Not Used', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (14, 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500', '60593-1', '2.16.840.1.113883.6.1', 'eDispensation', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (12, 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead', 'Not Used', 'epSOS Practice Setting Codes-Not Used', 'Not Used', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (7, 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f', 'N', '2.16.840.1.113883.5.25', 'Normal', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (6, 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', 'urn:ihe:iti:bppc:2007', 'IHE PCC', 'Consent', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (18, 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983', '57016-8', '2.16.840.1.113883.6.1', 'Privacy Policy Acknowledgement Document', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (17, 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500', '57016-8', '2.16.840.1.113883.6.1', 'Privacy Policy Acknowledgement Document', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (2, 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a', '57016-8', '2.16.840.1.113883.6.1', 'Privacy Policy Acknowledgement Document', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (15, 'urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4', '1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1', '1.3.6.1.4.1.12559.11.10.1.3.2.4.1', 'Opt-in', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (16, 'urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4', '1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2', '1.3.6.1.4.1.12559.11.10.1.3.2.4.1', 'Opt-out', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (9, 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1', 'IH', '1.0.3166.1', 'IHE', 2);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (10, 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1', 'IH', '1.0.3166.1', 'IHE', 3);
INSERT INTO code (id, class_scheme, code, coding_scheme, display, transaction_id) VALUES (5, 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', 'urn:ihe:iti:xds-sd:pdf:2008', 'IHE PCC', 'PDF/A coded document', 2);
SELECT pg_catalog.setval('code_id_seq', 19, true);

--
-- Data for Name: configuration_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO configuration_type (id, conf_type) VALUES (1, 'REPOSITORY_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (2, 'REGISTRY_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (3, 'RESPONDING_GATEWAY_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (4, 'XCPD_RESP_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (5, 'CPM_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (6, 'IMR_SRC_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (7, 'INIT_IMG_GAT_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (8, 'RESP_IMG_GAT_CONF');
INSERT INTO configuration_type (id, conf_type) VALUES (9, 'DOC_NOTIF_BROKER_SUB');
INSERT INTO configuration_type (id, conf_type) VALUES (10, 'DOC_NOTIF_BROKER_PUB');
INSERT INTO configuration_type (id, conf_type) VALUES (11, 'DOC_NOTIF_RECIPIENT');
INSERT INTO configuration_type (id, conf_type) VALUES (12, 'UPDATE_CONF');
SELECT pg_catalog.setval('configuration_type_id_seq', 13, true);

--
-- Data for Name: usage_metadata; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (1, NULL, NULL, 1, 1);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (3, 'Provide and Register Set-b (XDS profile)', NULL, 5, 1);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (7, 'Provide And Register Set-b (XDW context)', NULL, 6, 1);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (4, 'Register Stored Query (XDS.b profile)', NULL, 5, 7);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (5, 'Cross Gateway Query (XCA profile)', NULL, 3, 4);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (6, 'Register Stored Query (XDW context)', NULL, 6, 7);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (9, 'epSOS IdentificationService', NULL, 8, 9);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (10, 'Cross Gateway Patient Discovery', NULL, 7, 10);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (11, 'Patient Location Query', NULL, 7, 11);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (13, 'epSOS-1 Transaction', NULL, 8, 6);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (14, 'epSOS -  	DispensationService:initialize()', NULL, 8, 2);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (15, 'epSOS - ConsentService:put()', NULL, 8, 3);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (12, 'Query Pharmacy Documents [PHARM-1]', NULL, 9, 12);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (16, 'Retrieve Document Set-b (XDS.b)', NULL, 5, 8);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (17, 'Cross Gateway Retrieve (XCA)', NULL, 3, 5);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (18, 'Retrieve Document Set-b (XDW - XDS.b context)', NULL, 6, 8);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (21, 'Cross Gateway Fetch', NULL, 10, 13);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (22, 'DispensationService:Discard()', NULL, 8, 14);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (23, 'ConsentService:Discard()', NULL, 8, 15);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (24, 'Delete Document Set (ITI-62)', NULL, 5, 16);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (25, 'Delete Document Set (ITI-62)', NULL, 1, 16);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (26, 'Multi-Patient Stored Query', NULL, 11, 17);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (27, 'Provide and Register Imaging Document Set - MTOM/XOP', NULL, 12, 18);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (28, NULL, NULL, 12, 19);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (29, NULL, NULL, 13, 19);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (30, NULL, NULL, 13, 20);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (31, NULL, NULL, 12, 21);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (32, NULL, NULL, 14, 1);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (34, NULL, NULL, 15, 23);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (33, 'Document Metadata Subscribe [ITI-52]', NULL, 15, 22);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (35, 'Register On-Demand Document Entry', NULL, 5, 24);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (36, NULL, NULL, 16, 25);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (37, NULL, NULL, 16, 26);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (38, NULL, NULL, 16, 27);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (39, NULL, NULL, 15, 28);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (40, NULL, NULL, 5, 30);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (45, 'Update Document Set', NULL, 5, 31);
INSERT INTO usage_metadata (id, action, keyword, affinity_id, transaction_id) VALUES (46, 'Restricted Update Document Set', NULL, 17, 32);


--
-- Data for Name: conf_type_usages; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (5, 12);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (7, 29);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (8, 30);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (6, 28);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (6, 31);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (9, 33);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (10, 34);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (3, 5);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (3, 21);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (3, 17);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (3, 13);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (3, 36);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (4, 10);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (4, 11);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (4, 9);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (4, 38);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 27);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 1);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 3);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 16);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 32);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 7);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 18);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 23);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 15);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 22);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 14);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (1, 37);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (2, 26);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (2, 4);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (2, 35);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (2, 6);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (2, 25);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (2, 24);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (11, 39);
INSERT INTO conf_type_usages (configuration_type_id, listusages_id) VALUES (12, 46);


--
-- Data for Name: external_identifier_metadata_describer; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (1, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (2, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (3, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (4, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (5, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (6, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (7, '_1star', 118);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (8, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (9, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (10, '_1star', 114);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (11, '_1star', 117);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (12, '_1star', 115);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (13, '_1star', 116);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (14, '_1star', 113);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (15, '_1star', 115);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (16, '_1star', 116);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (17, '_1star', 117);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (18, '_1star', 119);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (19, '_1star', 117);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (20, '_1star', 115);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (21, '_1star', 116);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (22, '_1star', 117);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (23, '_1star', 115);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (24, '_1star', 116);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (25, '_1star', 115);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (26, '_1star', 116);
INSERT INTO external_identifier_metadata_describer (id, cardinality, external_identifier_id) VALUES (27, '_1star', 171);
SELECT pg_catalog.setval('external_identifier_metadata_describer_id_seq', 28, true);

--
-- Data for Name: extrinsic_object_extra_constraints; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- Data for Name: extrinsic_object_metadata_describer; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO extrinsic_object_metadata_describer (id, cardinality, extrinsic_object_id) VALUES (1, '_0star', 125);
INSERT INTO extrinsic_object_metadata_describer (id, cardinality, extrinsic_object_id) VALUES (2, '_1star', 121);
INSERT INTO extrinsic_object_metadata_describer (id, cardinality, extrinsic_object_id) VALUES (3, '_11', 121);
INSERT INTO extrinsic_object_metadata_describer (id, cardinality, extrinsic_object_id) VALUES (4, '_1star', 122);
INSERT INTO extrinsic_object_metadata_describer (id, cardinality, extrinsic_object_id) VALUES (5, '_1star', 124);
INSERT INTO extrinsic_object_metadata_describer (id, cardinality, extrinsic_object_id) VALUES (6, '_0star', 124);
SELECT pg_catalog.setval('extrinsic_object_metadata_describer_id_seq', 7, true);

--
-- Data for Name: mbv_documentation_spec; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (1, 'ind documents (XDSDocumentEntry objects) in the registry for a given patientID with a matching ‘status’ attribute. The other parameters can be used to restrict the set of XDSDocumentEntry objects returned.', 'IHE ITI TF Rev8, FT 2011-08-19', 'FindDocuments', '3.18.4.1.2.3.7.1');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (2, 'Find submission sets (XDSSubmissionSet objects) in the registry for a given patientID with matching ‘status’ attribute. The other parameters can be used to restrict the collection of
XDSSubmissionSet objects returned.', 'IHE ITI TF Rev8, FT 2011-08-19', 'FindSubmissionSets', '3.18.4.1.2.3.7.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (3, 'Retrieve a SubmissionSet and its contents.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetSubmissionSetAndContents', '3.18.4.1.2.3.7.10');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (4, 'Retrieve a collection of XDSFolder objects. XDSFolder objects are selected either by their entryUUID or uniqueId attribute.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetFolders', '3.18.4.1.2.3.7.6');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (5, 'Get all registry content for a patient given the indicated status, format codes, and confidentiality codes.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetAll', '3.18.4.1.2.3.7.4');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (6, 'Retrieve a collection of XDSDocumentEntry objects. XDSDocumentEntry objects are selected 	either by their entryUUID or uniqueId attribute.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetDocuments', '3.18.4.1.2.3.7.5');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (7, 'Retrieve a collection of XDSDocumentEntry objects and the Association objects surrounding them. XDSDocumentEntry objects are selected either by their entryUUID or uniqueId attribute. This is the GetDocuments query and GetAssociations query combined into a single query.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetDocumentsAndAssociations', '3.18.4.1.2.3.7.8');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (8, 'Retrieve XDSFolder objects that contain the XDSDocumentEntry object provided with the query.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetFoldersForDocument', '3.18.4.1.2.3.7.12');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (9, 'Retrieve the XDSSubmissionSet objects used to submit a collection of XDSDocumentEntry and 	XDSFolder objects. The XDSDocumentEntry and XDSFolder objects of interest are identified
by their UUIDs in the $uuid parameter.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetSubmissionSets', '3.18.4.1.2.3.7.9');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (10, 'Retrieve Association objects whose sourceObject or targetObject attribute match $uuid.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetAssociations', '3.18.4.1.2.3.7.7');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (11, 'Retrieve a Folder and its contents. The Folder object is selected either by its entryUUID or uniqueId attribute.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetFolderAndContents', '3.18.4.1.2.3.7.11');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (12, 'Find folders (XDSFolder objects) in the registry for a given patientID with matching ‘status’ attribute. The other parameters can be used to restrict the collection of XDSFolder objects returned.', 'IHE ITI TF Rev8, FT 2011-08-19', 'FindFolders', '3.18.4.1.2.3.7.3');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (13, 'Retrieve XDSDocumentEntry objects that are related to the specified document via Association objects. Also return the Association objects.', 'IHE ITI TF Rev8, FT 2011-08-19', 'GetRelatedDocuments', '3.18.4.1.2.3.7.13');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (14, 'The Cross Gateway Fetch request message is implemented as an ebRS Registry Stored Query with requesting the registry items and their linked repository items as a response', 'IHE_ITI_Suppl_XCF_Rev1', 'Cross Gateway Fetch Request', '3.63, Volume 2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (15, 'This Multi-Patient Query is semantically identical to the FindDocuments Stored except $XDSDocumentEntryPatientId is optional and multivalued', 'ITI TF-2b', 'FindDocumentsForMultiplePatients', '3.51');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (16, 'This Multi-Patient Query is semantically identical to the FindFolders Stored Query except the XDSFolderPatientId is optional and can be multiple', 'ITI TF-2b', 'FindFoldersForMultiplePatients', '3.51');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (88, 'Represents the humans and/or machines that authored the document.', 'IHE_ITI_TF V3, 4.2.3.1.4', 'XDSDocumentEntry.author', '4.2.3.1.4');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (89, 'The patientId represents the subject of care of the document. This identifier shall be from the Assigning Authority Domain supporting the XDS Affinity Domain in which the Document Registry operates.', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.patientId', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (90, 'The XDSDocumentEntry object type is created in ebXML Registry by extending the ebXML Registry ObjectType Classification Scheme', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry (Stable)', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (91, 'The code specifying the particular kind of document (e.g., Prescription, Discharge Summary, Report). ', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.classCode', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (92, 'The code specifying the level of confidentiality of the XDS Document.', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.confidentialityCode', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (93, 'This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a ''History and Physical Report'' in which the procedure being documented is necessarily a ''History and Physical'' act.', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.eventCodeList', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (94, 'Code globally uniquely specifying the format of the document. Along with the typeCode, it should provide sufficient information to allow any potential XDS Document Consumer to know if it will be able to process the document. The formatCode shall be sufficiently specific to ensure processing/display by identifying a document encoding, structure and template (e.g., for a CDA Document, the fact that it complies with a CDA schema, possibly a template and the choice of a content-specific style sheet).', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocuemtnEntry.formatCode', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (95, 'This code represents the type of organizational setting of the clinical encounter during which the documented act occurred.', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.healthcareFacilityTypeCode', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (96, 'The code specifying the clinical specialty where the act that resulted in the document was performed (e.g., Family Practice, Laboratory, Radiology). It is suggested that the XDS Affinity Domain draws these values from a coding scheme providing a coarse level of granularity (about 10 to 100 entries).', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.practiceSettingCode', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (97, 'The code specifying the precise kind of document (e.g., Pulmonary History and Physical, Discharge Summary, Ultrasound Report). It is suggested that the XDS Affinity Domain draw these values from a coding scheme providing a fine level of granularity.', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.typeCode', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (98, 'The globally unique identifier assigned by the document creator to this document. This unique identifier may be used in the body of other XDS Documents to reference this document. ', 'IHE_ITI_TF V3, 4.2.3.2', 'XDSDocumentEntry.uniqueId', '4.2.3.2');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (99, 'Represents the humans and/or machines that authored the document. ', 'IHE_ITI_TF V3, 4.2.3.3.1', 'XDSSubmissionSet.author', '4.2.3.3.1');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (100, 'The code specifying the type of clinical activity that resulted in placing these XDS Documents in this XDS-Submission Set.', 'IHE_ITI_TF V3, 4.2.3.3', 'XDSDocumentEntry.contentTypeCode', '4.2.3.3');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (101, 'The patientId represents the medical record identifier of subject of care whose longitudinal record is being maintained, as selected by the Document Source.', 'IHE_ITI_TF V3, 4.2.3.3', 'XDSSubmissionSet.patientId', '4.2.3.3');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (102, 'OID identifying the instance of the Document Source that contributed the Submission Set.', 'IHE_ITI_TF V3, 4.2.3.3', 'XDSSubmissionSet.sourceId', '4.2.3.3');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (103, 'Globally unique identifier for the submission-set instance assigned by the Document Source in OID format.', 'IHE_ITI_TF V3, 4.2.3.3', 'XDSSubmissionSet.uniqueId', '4.2.3.3');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (104, 'Shall contain the set of codes specifying the type of clinical activity that resulted in placing XDS Documents in this XDSFolder.', 'IHE_ITI_TF V3, 4.2.3.4', 'XDSFolder.codeList', '4.2.3.4');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (105, 'The patientId represents the subject of care medical record Identifier as defined by the Document Source. This identifier shall be from the Assigning Authority Domain supporting the XDS Affinity Domain in which the Document Registry operates.', 'IHE_ITI_TF V3, 4.2.3.4', 'XDSFolder.patientId', '4.2.3.4');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (106, 'Globally unique identifier for the XDS-Folder in which one or more XDS Documents are placed. It is assigned by the Document Source at the time the XDS Folder is created in OID format.', 'IHE_ITI_TF V3, 4.2.3.4', 'XDSFolder.uniqueId', '4.2.3.4');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (107, 'The XDSDocumentEntry object type is created in ebXML Registry by extending the ebXML Registry ObjectType Classification Scheme ', 'IHE-ITI-Rev8, Vol3 FT, 2011-08-19 (4.1.7) ', 'XDSDocumentEntry (Stable)', '4.1.7');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (108, 'XDSSubmissionSet is a RegistryPackage, containing a list of metadata describing the submission. The attribute name is defined with a prefix of the object type of XDSSubmissionSet when referenced by other objects, for example XDSSubmissionSet.sourceId.', 'IHE_ITI_TF V3, 4.2.3.3.10', 'XDSSubmissionSet', '4.2.3.3');
INSERT INTO mbv_documentation_spec (id, description, document, name, paragraph) VALUES (109, 'XDSFolder is a RegistryPackage, containing a list of metadata describing the folder. They shall be provided by the Document Source Actor in the Provide and Register Document Set transaction. They shall be provided by the Document Repository Actor in the Register Document Set transaction if this transaction is used outside the context of a Provide and Register Document Set transaction.', 'IHE_ITI_TF V3, 4.2.3.4', 'XDSFolder', '4.2.3.4');
SELECT pg_catalog.setval('mbv_documentation_spec_id_seq', 110, true);

--
-- Data for Name: mbv_package; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (1, '', 'rsqihe', 'net.ihe.gazelle.ihexds.validator.rsqihe', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (2, '', 'CSDiscReq', 'net.ihe.gazelle.epsos.validator.CSDiscReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (3, '', 'CrossGatewayRetrieveError', 'net.ihe.gazelle.ihexds.validator.CrossGatewayRetrieveError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (4, '', 'RegistryStoredQueryError', 'net.ihe.gazelle.ihexds.validator.RegistryStoredQueryError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (5, '', 'DSDiscardResp', 'net.ihe.gazelle.epsos.validator.DSDiscardResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (6, '', 'CSPutReq', 'net.ihe.gazelle.epsos.validator.CSPutReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (7, '', 'dds', 'net.ihe.gazelle.ihexds.validator.dds', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (8, '', 'EPSOS2XCAReq', 'net.ihe.gazelle.epsos.validator.EPSOS2XCAReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (9, '', 'xcf', 'net.ihe.gazelle.ihexds.validator.xcf', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (10, '', 'RegisterDocumentSetError', 'net.ihe.gazelle.ihexds.validator.RegisterDocumentSetError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (11, '', 'epsos', 'net.ihe.gazelle.epsos.validator.epsos', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (12, '', 'PSListResp', 'net.ihe.gazelle.epsos.validator.PSListResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (13, '', 'PSListReq', 'net.ihe.gazelle.epsos.validator.PSListReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (14, '', 'EPSOS2XDRResp', 'net.ihe.gazelle.epsos.validator.EPSOS2XDRResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (15, '', 'odd', 'net.ihe.gazelle.ihexds.validator.odd', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (16, '', 'mpq', 'net.ihe.gazelle.ihexds.validator.mpq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (17, '', 'EPSOS2XCAMetadatas', 'net.ihe.gazelle.epsos.validator.EPSOS2XCAMetadatas', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (19, '', 'rad69XCA1', 'net.ihe.gazelle.xdsi.rad69.rad69XCA1', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (20, '', 'CSPutResp', 'net.ihe.gazelle.epsos.validator.CSPutResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (21, '', 'CSDiscResp', 'net.ihe.gazelle.epsos.validator.CSDiscResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (22, '', 'PnRError', 'net.ihe.gazelle.ihexds.validator.PnRError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (23, '', 'OSListReq', 'net.ihe.gazelle.epsos.validator.OSListReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (24, '', 'abstrsq', 'net.ihe.gazelle.ihexds.validator.abstrsq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (25, '', 'DSDiscardReq', 'net.ihe.gazelle.epsos.validator.DSDiscardReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (26, '', 'CrossGatewayQueryError', 'net.ihe.gazelle.ihexds.validator.CrossGatewayQueryError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (27, '', 'OSListResp', 'net.ihe.gazelle.epsos.validator.OSListResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (28, '', 'EPSOS2XDRReq', 'net.ihe.gazelle.epsos.validator.EPSOS2XDRReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (29, '', 'rad75req', 'net.ihe.gazelle.xdsi.rad69.rad75req', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (30, '', 'XCFRespError', 'net.ihe.gazelle.ihexds.validator.XCFRespError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (31, '', 'EPSOS2XCAResp', 'net.ihe.gazelle.epsos.validator.EPSOS2XCAResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (32, '', 'cmpd', 'net.ihe.gazelle.ihexds.validator.cmpd', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (33, '', 'xgqihe', 'net.ihe.gazelle.ihexds.validator.xgqihe', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (34, '', 'IHEXDSError', 'net.ihe.gazelle.ihexds.validator.IHEXDSError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (35, '', 'abstrdsihe', 'net.ihe.gazelle.ihexds.validator.abstrdsihe', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (36, '', 'ddsresp', 'net.ihe.gazelle.ihexds.validator.ddsresp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (37, '', 'rad69req', 'net.ihe.gazelle.xdsi.rad69.rad69req', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (38, '', 'ddsreq', 'net.ihe.gazelle.ihexds.validator.ddsreq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (39, '', 'abstrxdsi', 'net.ihe.gazelle.xdsi.validator.abstrxdsi', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (40, '', 'DSInitReq', 'net.ihe.gazelle.epsos.validator.DSInitReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (41, '', 'CMPDRespError', 'net.ihe.gazelle.ihexds.validator.CMPDRespError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (42, '', 'DSInitResp', 'net.ihe.gazelle.epsos.validator.DSInitResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (43, '', 'abstrrad69', 'net.ihe.gazelle.xdsi.rad69.abstrrad69', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (44, '', 'xgrihe', 'net.ihe.gazelle.ihexds.validator.xgrihe', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (45, '', 'RetrieveDocumentSetError', 'net.ihe.gazelle.ihexds.validator.RetrieveDocumentSetError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (46, '', 'xdsi68', 'net.ihe.gazelle.xdsi.validator.xdsi68', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (47, '', 'rad69resp', 'net.ihe.gazelle.xdsi.rad69.rad69resp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (48, '', 'rdsihe', 'net.ihe.gazelle.ihexds.validator.rdsihe', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (49, '', 'XDSResponse', 'net.ihe.gazelle.ihexds.validator.XDSResponse', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (50, '', 'subscribeResp', 'net.ihe.gazelle.dsub.val.subscribeResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (51, '', 'absdsub', 'net.ihe.gazelle.dsub.val.absdsub', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (52, '', 'unsubscribeReq', 'net.ihe.gazelle.dsub.val.unsubscribeReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (53, '', 'subscribeReq', 'net.ihe.gazelle.dsub.val.subscribeReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (54, '', 'notifyReq', 'net.ihe.gazelle.dsub.val.notifyReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (55, '', 'publishReq', 'net.ihe.gazelle.dsub.val.publishReq', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (56, '', 'dsubcommon', 'net.ihe.gazelle.dsub.val.dsubcommon', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (57, '', 'unsubscribeResp', 'net.ihe.gazelle.dsub.val.unsubscribeResp', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (58, '', 'MUError', 'net.ihe.gazelle.ihexds.validator.MUError', '');
INSERT INTO mbv_package (id, description, name, package_name, namespace) VALUES (61, '', 'rimihe', 'net.ihe.gazelle.ihexds.validator.rimihe', 'urn:ihe:iti:xds-b:2007');
SELECT pg_catalog.setval('mbv_package_id_seq', 62, true);

--
-- Data for Name: mbv_class_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 1, 'FindDocuments', 'rim-AdhocQueryType', 'FindDocuments', 'id', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, 1, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 2, 'FindSubmissionSets', 'rim-AdhocQueryType', 'FindSubmissionSets', 'id', 'urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9', NULL, 2, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 3, 'GetSubmissionSetAndContents', 'rim-AdhocQueryType', 'GetSubmissionSetAndContents', 'id', 'urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83', NULL, 3, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 4, 'GetFolders', 'rim-AdhocQueryType', 'GetFolders', 'id', 'urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4', NULL, 4, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 5, 'GetAll', 'rim-AdhocQueryType', 'GetAll', 'id', 'urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3', NULL, 5, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 6, 'GetDocuments', 'rim-AdhocQueryType', 'GetDocuments', 'id', 'urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4', NULL, 6, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 7, 'GetDocumentsAndAssociations', 'rim-AdhocQueryType', 'GetDocumentsAndAssociations', 'id', 'urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a', NULL, 7, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 8, 'GetFoldersForDocument', 'rim-AdhocQueryType', 'GetFoldersForDocument', 'id', 'urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578', NULL, 8, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 9, 'GetSubmissionSets', 'rim-AdhocQueryType', 'GetSubmissionSets', 'id', 'urn:uuid:51224314-5390-4169-9b91-b1980040715a', NULL, 9, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 10, 'GetAssociations', 'rim-AdhocQueryType', 'GetAssociations', 'id', 'urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155', NULL, 10, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 11, 'GetFoldersAndContents', 'rim-AdhocQueryType', 'GetFoldersAndContents', 'id', 'urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7', NULL, 11, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 12, 'FindFolders', 'rim-AdhocQueryType', 'FindFolders', 'id', 'urn:uuid:958f3006-baad-4929-a4de-ff1114824431', NULL, 12, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 13, 'GetRelatedDocuments', 'rim-AdhocQueryType', 'GetRelatedDocuments', 'id', 'urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6', NULL, 13, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 14, 'RSQIHEConstraints', 'query-AdhocQueryRequestType', 'RSQIHEConstraints', NULL, NULL, NULL, NULL, 1);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 15, 'CSDiscReqSpec', 'lcm-RemoveObjectsRequestType', 'CSDiscReqSpec', NULL, NULL, NULL, NULL, 2);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 16, 'RegistryResponseSpec6', 'rs-RegistryResponseType', 'RegistryResponseSpec6', NULL, NULL, NULL, NULL, 3);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 17, 'RegistryErrorSpec6', 'rs-RegistryErrorType', 'RegistryErrorSpec6', NULL, NULL, NULL, NULL, 3);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 18, 'RegistryResponseSpec3', 'rs-RegistryResponseType', 'RegistryResponseSpec3', NULL, NULL, NULL, NULL, 4);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 19, 'RegistryErrorSpec3', 'rs-RegistryErrorType', 'RegistryErrorSpec3', NULL, NULL, NULL, NULL, 4);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 20, 'DSDiscRespSpec', 'rs-RegistryResponseType', 'DSDiscRespSpec', NULL, NULL, NULL, NULL, 5);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 21, 'DSDiscRESpec', 'rs-RegistryErrorType', 'DSDiscRESpec', NULL, NULL, NULL, NULL, 5);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 22, 'CSExtrSpec', 'rim-ExtrinsicObjectType', 'CSExtrSpec', 'objectType', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL, 6);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 23, 'CSSubmitSpec', 'lcm-SubmitObjectsRequestType', 'CSSubmitSpec', NULL, NULL, NULL, NULL, 6);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 24, 'epSOS2FindDocuments', 'rim-AdhocQueryType', 'epSOS2FindDocuments', 'id', 'urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d', NULL, NULL, 8);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 25, 'XCFQueryRequest', 'query-AdhocQueryRequestType', 'XCFQueryRequest', 'adhocQuery.id', 'urn:uuid:f2072993-9478-41df-a603-8f016706efe8', NULL, NULL, 9);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 26, 'XCFAdhocQuery', 'rim-AdhocQueryType', 'XCFAdhocQuery', 'id', 'urn:uuid:f2072993-9478-41df-a603-8f016706efe8', NULL, 14, 9);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 27, 'XCFAdhocQuerySpec', 'rim-AdhocQueryType', 'XCFAdhocQuerySpec', NULL, NULL, NULL, NULL, 9);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 28, 'RegistryResponseSpec2', 'rs-RegistryResponseType', 'RegistryResponseSpec2', NULL, NULL, NULL, NULL, 10);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 29, 'RegistryErrorSpec2', 'rs-RegistryErrorType', 'RegistryErrorSpec2', NULL, NULL, NULL, NULL, 10);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 30, 'DocumentSpec', 'rim-ExtrinsicObjectType', 'DocumentSpec', 'objectType', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL, 12);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 31, 'AdhocRespSpec', 'query-AdhocQueryResponseType', 'AdhocRespSpec', NULL, NULL, NULL, NULL, 12);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 32, 'RegistryErrorSpec', 'rs-RegistryErrorType', 'RegistryErrorSpec', NULL, NULL, NULL, NULL, 12);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 33, 'QuerySpec', 'rim-AdhocQueryType', 'QuerySpec', 'id', 'urn:uuid:f2072993-9478-41df-a603-8f016706efe8', NULL, NULL, 13);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 34, 'PatientServiceListSpec', 'query-AdhocQueryRequestType', 'PatientServiceListSpec', NULL, NULL, NULL, NULL, 13);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 35, 'epsos2xdrRespSpec', 'rs-RegistryResponseType', 'epsos2xdrRespSpec', NULL, NULL, NULL, NULL, 14);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 36, 'RESpec', 'rs-RegistryErrorType', 'RESpec', NULL, NULL, NULL, NULL, 14);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 37, 'ODDSubmissionSec', 'lcm-SubmitObjectsRequestType', 'ODDSubmissionSec', NULL, NULL, NULL, NULL, 15);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 38, 'FindDocumentsForMultiplePatients', 'rim-AdhocQueryType', 'FindDocumentsForMultiplePatients', 'id', 'urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f', NULL, 15, 16);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 39, 'FindFoldersForMultiplePatients', 'rim-AdhocQueryType', 'FindFoldersForMultiplePatients', 'id', 'urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df', NULL, 16, 16);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 40, 'AdhocMPQSpec', 'rim-AdhocQueryType', 'AdhocMPQSpec', NULL, NULL, NULL, NULL, 16);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 41, 'epSOSOnDemandDocEntryXCA', 'rimihe-XDSOnDemandDocumentEntry', 'epSOSOnDemandDocEntryXCA', NULL, NULL, NULL, NULL, 17);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 42, 'epSOSStableDocEntryXCA', 'rimihe-XDSStableDocumentEntry', 'epSOSStableDocEntryXCA', NULL, NULL, NULL, NULL, 17);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 66, 'DocRequestSpec1', 'xds-DocumentRequestType', 'DocRequestSpec1', NULL, NULL, NULL, NULL, 19);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 69, 'CSDiscRespSpec', 'rs-RegistryResponseType', 'CSDiscRespSpec', NULL, NULL, NULL, NULL, 21);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 70, 'CSDiscRegErrSpec', 'rs-RegistryErrorType', 'CSDiscRegErrSpec', NULL, NULL, NULL, NULL, 21);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 71, 'RegistryErrorSpec1', 'rs-RegistryErrorType', 'RegistryErrorSpec1', NULL, NULL, NULL, NULL, 22);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 72, 'RegistryResponseSpec1', 'rs-RegistryResponseType', 'RegistryResponseSpec1', NULL, NULL, NULL, NULL, 22);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 73, 'PatientServiceListSpec2', 'query-AdhocQueryRequestType', 'PatientServiceListSpec2', NULL, NULL, NULL, NULL, 23);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 74, 'QuerySpec2', 'rim-AdhocQueryType', 'QuerySpec2', NULL, NULL, NULL, NULL, 23);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 78, 'DocumentSpec2', 'rim-ExtrinsicObjectType', 'DocumentSpec2', 'objectType', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL, 27);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 79, 'AdhocRespSpec2', 'query-AdhocQueryResponseType', 'AdhocRespSpec2', NULL, NULL, NULL, NULL, 27);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 80, 'OSListRegistryErrorSpec', 'rs-RegistryErrorType', 'OSListRegistryErrorSpec', NULL, NULL, NULL, NULL, 27);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 86, 'epSOSRegistrySpec', 'rim-RegistryObjectListType', 'epSOSRegistrySpec', NULL, NULL, NULL, NULL, 31);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 87, 'FindDocumentsResponseSpec', 'query-AdhocQueryResponseType', 'FindDocumentsResponseSpec', NULL, NULL, NULL, NULL, 31);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 91, 'CrossGatewayQuerySpec', 'query-AdhocQueryRequestType', 'CrossGatewayQuerySpec', NULL, NULL, NULL, NULL, 33);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 92, 'RegistryErrorSpec', 'rs-RegistryErrorType', 'RegistryErrorSpec', NULL, NULL, NULL, NULL, 34);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 93, 'RegistryResponseSpec', 'rs-RegistryResponseType', 'RegistryResponseSpec', NULL, NULL, NULL, NULL, 34);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 94, 'DDSRespSpec', 'rs-RegistryResponseType', 'DDSRespSpec', NULL, NULL, NULL, NULL, 36);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 102, 'XGRRequestSpec', 'xds-DocumentRequestType', 'XGRRequestSpec', NULL, NULL, NULL, NULL, 44);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 106, 'Rad69Resp', 'xds-RetrieveDocumentSetResponseType', 'Rad69Resp', NULL, NULL, NULL, NULL, 47);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 113, 'UnsubReqBodySpec', 'soapenv-Body', 'UnsubReqBodySpec', NULL, NULL, NULL, NULL, 52);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 114, 'UnsubReqHeaderSpec', 'soapenv-Header', 'UnsubReqHeaderSpec', NULL, NULL, NULL, NULL, 52);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 125, 'EnvelopeSpec', 'soapenv-Envelope', 'EnvelopeSpec', NULL, NULL, NULL, NULL, 56);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 126, 'UnsubRespBodySpec', 'soapenv-Body', 'UnsubRespBodySpec', NULL, NULL, NULL, NULL, 57);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 127, 'UnsubRespHeaderSpec', 'soapenv-Header', 'UnsubRespHeaderSpec', NULL, NULL, NULL, NULL, 57);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 67, 'CSPutRespSpec', 'rs-RegistryResponseType', 'CSPutRespSpec', NULL, NULL, NULL, NULL, 20);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 68, 'CSPutRegSpec', 'rs-RegistryErrorType', 'CSPutRegSpec', NULL, NULL, NULL, NULL, 20);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 75, 'DSDiscardSpec', 'lcm-RemoveObjectsRequestType', 'DSDiscardSpec', NULL, NULL, NULL, NULL, 25);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 76, 'RegistryResponseSpec4', 'rs-RegistryResponseType', 'RegistryResponseSpec4', NULL, NULL, NULL, NULL, 26);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 77, 'RegistryErrorSpec4', 'rs-RegistryErrorType', 'RegistryErrorSpec4', NULL, NULL, NULL, NULL, 26);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 81, 'epSOSStableDocEntryXDR', 'EPSOS2XCAMetadatas-epSOSStableDocEntryXCA', 'epSOSStableDocEntryXDR', NULL, NULL, NULL, NULL, 28);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 82, 'epSOSOnDemandDocEntryXDR', 'EPSOS2XCAMetadatas-epSOSOnDemandDocEntryXCA', 'epSOSOnDemandDocEntryXDR', NULL, NULL, NULL, NULL, 28);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 83, 'Rad75DocSpec', 'xds-DocumentRequestType', 'Rad75DocSpec', NULL, NULL, NULL, NULL, 29);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 84, 'RegistryObjectSpec', 'rim-RegistryObjectListType', 'RegistryObjectSpec', NULL, NULL, NULL, NULL, 30);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 85, 'RegistryErrorXCFSpec', 'rs-RegistryErrorType', 'RegistryErrorXCFSpec', NULL, NULL, NULL, NULL, 30);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 88, 'FindPrescriptionsForValidation', 'rim-AdhocQueryType', 'FindPrescriptionsForValidation', 'id', 'urn:uuid:c1a43b20-0254-102e-8469-a6af440562e8', NULL, NULL, 32);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 89, 'FindPrescriptionsForDispense', 'rim-AdhocQueryType', 'FindPrescriptionsForDispense', 'id', 'urn:uuid:c875eb9c-0254-102e-8469-a6af440562e8', NULL, NULL, 32);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 90, 'AdhocSpec', 'rim-AdhocQueryType', 'AdhocSpec', NULL, NULL, NULL, NULL, 32);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 95, 'RAD69', 'xdsi-RetrieveImagingDocumentSetRequestType', 'RAD69', NULL, NULL, NULL, NULL, 37);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 96, 'StudySpec', 'xdsi-StudyRequestType', 'StudySpec', NULL, NULL, NULL, NULL, 37);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 97, 'DDSReqSpec', 'lcm-RemoveObjectsRequestType', 'DDSReqSpec', NULL, NULL, NULL, NULL, 38);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 98, 'DSDocEntrySpec', 'rim-ExtrinsicObjectType', 'DSDocEntrySpec', 'objectType', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL, 40);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 99, 'DocSpec', 'rim-RegistryObjectListType', 'DocSpec', NULL, NULL, NULL, NULL, 41);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 100, 'DSInitRegRespSpec', 'rs-RegistryResponseType', 'DSInitRegRespSpec', NULL, NULL, NULL, NULL, 42);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 101, 'DSInitRegErrorSpec', 'rs-RegistryErrorType', 'DSInitRegErrorSpec', NULL, NULL, NULL, NULL, 42);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 103, 'RegistryResponseSpec5', 'rs-RegistryResponseType', 'RegistryResponseSpec5', NULL, NULL, NULL, NULL, 45);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 104, 'RegistryErrorSpec5', 'rs-RegistryErrorType', 'RegistryErrorSpec5', NULL, NULL, NULL, NULL, 45);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 105, 'XDSIDocEntry', 'rim-ExtrinsicObjectType', 'XDSIDocEntry', 'objectType', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, NULL, 46);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 107, 'DocumentRequestSpec', 'xds-DocumentRequestType', 'DocumentRequestSpec', NULL, NULL, NULL, NULL, 48);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 108, 'DocumentResponseSpec', 'xds-DocumentResponseType', 'DocumentResponseSpec', NULL, NULL, NULL, NULL, 48);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 109, 'SubRespEnvelopeSpec', 'soapenv-Envelope', 'SubRespEnvelopeSpec', NULL, NULL, NULL, NULL, 50);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 110, 'SubRespHeaderSpec', 'soapenv-Header', 'SubRespHeaderSpec', NULL, NULL, NULL, NULL, 50);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 111, 'SubRespBodySec', 'soapenv-Body', 'SubRespBodySec', NULL, NULL, NULL, NULL, 50);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 112, 'SubRespSpec', 'b2-SubscribeResponseType', 'SubRespSpec', NULL, NULL, NULL, NULL, 50);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 115, 'DSubFindQuery', 'rim-AdhocQueryType', 'DSubFindQuery', 'id', 'urn:uuid:aa2332d0-f8fe-11e0-be50-0800200c9a6', NULL, NULL, 53);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 116, 'SubEnvelopeSpec', 'soapenv-Envelope', 'SubEnvelopeSpec', NULL, NULL, NULL, NULL, 53);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 117, 'SubHeaderSpec', 'soapenv-Header', 'SubHeaderSpec', NULL, NULL, NULL, NULL, 53);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 118, 'SubBodySec', 'soapenv-Body', 'SubBodySec', NULL, NULL, NULL, NULL, 53);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 119, 'SubscribeSpec', 'b2-SubscribeType', 'SubscribeSpec', NULL, NULL, NULL, NULL, 53);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 120, 'NotifHeaderSpec', 'soapenv-Header', 'NotifHeaderSpec', NULL, NULL, NULL, NULL, 54);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 121, 'BodySpecNotif', 'soapenv-Body', 'BodySpecNotif', NULL, NULL, NULL, NULL, 54);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 122, 'NotifySpec', 'b2-NotifyType', 'NotifySpec', NULL, NULL, NULL, NULL, 54);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 123, 'SubmitNotifySpec', 'lcm-SubmitObjectsRequestType', 'SubmitNotifySpec', NULL, NULL, NULL, NULL, 54);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 124, 'PublishSpec', 'b2-NotifyType', 'PublishSpec', NULL, NULL, NULL, NULL, 55);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 182, 'Author_XDSDocumentEntry', 'rim-ClassificationType', 'Author_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d', NULL, 88, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 183, 'PatientId_XDSDocumentEntry', 'rim-ExternalIdentifierType', 'PatientId_XDSDocumentEntry', 'identificationScheme', 'urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427', NULL, 89, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 184, 'XDSStableDocumentEntry', 'rim-ExtrinsicObjectType', 'XDSStableDocumentEntry', 'objectType', 'urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1', NULL, 90, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 185, 'ClassCode_XDSDocumentEntry', 'rim-ClassificationType', 'ClassCode_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a', NULL, 91, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 186, 'ConfidentialityCode_XDSDocumentEntry', 'rim-ClassificationType', 'ConfidentialityCode_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f', NULL, 92, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 187, 'EventCodeList_XDSDocumentEntry', 'rim-ClassificationType', 'EventCodeList_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4', NULL, 93, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 188, 'FormatCode_XDSDocumentEntry', 'rim-ClassificationType', 'FormatCode_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d', NULL, 94, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 189, 'HealthCareFacilityTypeCode_XDSDocumentEntry', 'rim-ClassificationType', 'HealthCareFacilityTypeCode_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1', NULL, 95, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 190, 'PracticeSettingCode_XDSDocumentEntry', 'rim-ClassificationType', 'PracticeSettingCode_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead', NULL, 96, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 191, 'TypeCode_XDSDocumentEntry', 'rim-ClassificationType', 'TypeCode_XDSDocumentEntry', 'classificationScheme', 'urn:uuid:f0306f51-975f-434e-a61c-c59651d33983', NULL, 97, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 192, 'UniqueId_XDSDocumentEntry', 'rim-ExternalIdentifierType', 'UniqueId_XDSDocumentEntry', 'identificationScheme', 'urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab', NULL, 98, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 193, 'Author_SubmissionSet', 'rim-ClassificationType', 'Author_SubmissionSet', 'classificationScheme', 'urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d', NULL, 99, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 194, 'ContentTypeCode_XDSSubmissionSet', 'rim-ClassificationType', 'ContentTypeCode_XDSSubmissionSet', 'classificationScheme', 'urn:uuid:aa543740-bdda-424e-8c96-df4873be8500', NULL, 100, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 195, 'PatientId_SubmissionSet', 'rim-ExternalIdentifierType', 'PatientId_SubmissionSet', 'identificationScheme', 'urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446', NULL, 101, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 196, 'SourceId_SubmissionSet', 'rim-ExternalIdentifierType', 'SourceId_SubmissionSet', 'identificationScheme', 'urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832', NULL, 102, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 197, 'UniqueId_SubmissionSet', 'rim-ExternalIdentifierType', 'UniqueId_SubmissionSet', 'identificationScheme', 'urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8', NULL, 103, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 198, 'CodeList_XDSFolder', 'rim-ClassificationType', 'CodeList_XDSFolder', 'classificationScheme', 'urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5', NULL, 104, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 199, 'PatientId_XDSFolder', 'rim-ExternalIdentifierType', 'PatientId_XDSFolder', 'identificationScheme', 'urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a', NULL, 105, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 200, 'UniqueId_XDSFolder', 'rim-ExternalIdentifierType', 'UniqueId_XDSFolder', 'identificationScheme', 'urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a', NULL, 106, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('TemplateSpec', 201, 'XDSOnDemandDocumentEntry', 'rim-ExtrinsicObjectType', 'XDSOnDemandDocumentEntry', 'objectType', 'urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248', NULL, 107, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 202, 'XDSSubmissionSetConstraints', 'rim-RegistryObjectListType', 'XDSSubmissionSetConstraints', NULL, NULL, NULL, 108, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 203, 'XDSFolderConstraints', 'rim-RegistryObjectListType', 'XDSFolderConstraints', NULL, NULL, NULL, 109, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 204, 'ProvideAndRegisterDocumentSetRequestSpec', 'xds-ProvideAndRegisterDocumentSetRequestType', 'ProvideAndRegisterDocumentSetRequestSpec', NULL, NULL, NULL, NULL, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 205, 'CommonDoc', 'rim-ExtrinsicObjectType', 'CommonDoc', NULL, NULL, NULL, NULL, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 206, 'SlotPackageSpec', 'rim-RegistryObjectType', 'SlotPackageSpec', NULL, NULL, NULL, NULL, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('AdvancedTemplate', 207, 'CommonClassificationSpec', 'rim-ClassificationType', 'CommonClassificationSpec', NULL, NULL, '(not self.classificationScheme.oclIsUndefined()) and 
(
	self.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'' or -- XDSDocuementEntry.confidentialityCode
	self.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'' or --XDSDocuementEntry.classCode
	self.classificationScheme=''urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4'' or --XDSDocuementEntry.eventCodeList,
    self.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'' or--XDSDocuementEntry.formatCode
    self.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'' or --XDSDocuementEntry.healthCareFacilityTypeCode
    self.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'' or --XDSDocuementEntry.practiceSettingCode
    self.classificationScheme=''urn:uuid:aa543740-bdda-424e-8c96-df4873be8500'' or --SubmissionSet.contentTypeCode
    self.classificationScheme=''urn:uuid:1ba97051-7806-41a8-a48b-8fce7af683c5'' or --XDSFolder.codeList
    self.classificationScheme=''urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'' --XDSDocuementEntry.typeCode
 )
	', NULL, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('AdvancedTemplate', 208, 'ExternalIdentifierSpecs', 'rim-ExternalIdentifierType', 'ExternalIdentifierSpecs', NULL, NULL, '(not self.identificationScheme.oclIsUndefined()) and 
(
	self.identificationScheme=''urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446'' or -- SubmissionSet.patientId
	self.identificationScheme=''urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832'' or  -- SubmissionSet.sourceId
	self.identificationScheme=''urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8'' or  -- SubmissionSet.uniqueId
	self.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' or -- DocEntry.patientId
	self.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'' or -- DocEntry.uniqueId
	self.identificationScheme=''urn:uuid:f64ffdf0-4b97-4e06-b79f-a52b38ec2f8a'' or -- Folder.patientId
	self.identificationScheme=''urn:uuid:75df8f67-9973-4fbe-a900-df66cefecc5a'' -- Folder.uniqueId
)', NULL, 61);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 209, 'MURegistryErrorSpec1', 'rs-RegistryErrorType', 'MURegistryErrorSpec1', NULL, NULL, NULL, NULL, 58);
INSERT INTO mbv_class_type (dtype, id, name, parent_identifier, xml_name, path, templateid, constraintadvanced, documentation_spec_id, package_id) VALUES ('ConstraintsSpec', 210, 'MURegistryResponseSpec1', 'rs-RegistryResponseType', 'MURegistryResponseSpec1', NULL, NULL, NULL, NULL, 58);
SELECT pg_catalog.setval('mbv_class_type_id_seq', 211, true);

--
-- Data for Name: mbv_constraint; Type: TABLE DATA; Schema: public; Owner: gazelle
--

INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (1, NULL, NULL, '$XDSDocumentEntryClassCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryClassCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (2, NULL, NULL, '$XDSDocumentEntryTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryTypeCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryTypeCode'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (3, NULL, NULL, '$XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryPracticeSettingCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPracticeSettingCode'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (4, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryCreationTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (5, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryCreationTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (6, NULL, NULL, '$XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryCreationTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (7, NULL, NULL, '$XDSDocumentEntryCreationTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryCreationTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (8, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (9, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStartTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (10, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStartTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (11, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStartTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (12, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (13, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStopTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (14, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStopTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (15, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryServiceStopTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (16, NULL, NULL, '$XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (17, NULL, NULL, '$XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryAuthorPerson_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryAuthorPerson'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (18, NULL, NULL, '$XDSDocumentEntryFormatCode does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryFormatCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (19, NULL, NULL, '$XDSDocumentEntryPatientId does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryPatientId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (20, NULL, NULL, '$XDSDocumentEntryPatientId is not multivalued on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryPatientId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (21, NULL, NULL, '$XDSDocumentEntryPatientId is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryPatientId_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()>0', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (195, NULL, NULL, 'mimetype required (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintMimeType_required', 'not self.mimeType.oclIsUndefined()', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (22, NULL, NULL, '$XDSDocumentEntryStatus does not support AND/OR on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (23, NULL, NULL, '$XDSDocumentEntryStatus is required on FindDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.1))', NULL, NULL, 'constraintITI18_XDSDocumentEntryStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()>0', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (24, NULL, NULL, 'allowed metadata are only ones detailed on the TF 2a,  3.18.4.1.2.3.7.1', NULL, NULL, 'constraintFindDocuments_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryClassCode'' or sl.name=''$XDSDocumentEntryTypeCode'' or 
sl.name=''$XDSDocumentEntryPracticeSettingCode'' or sl.name=''$XDSDocumentEntryCreationTimeFrom'' or sl.name=''$XDSDocumentEntryCreationTimeTo'' or 
sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' or sl.name=''$XDSDocumentEntryServiceStartTimeTo'' or sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' 
or sl.name=''$XDSDocumentEntryServiceStopTimeTo'' or sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' or sl.name=''$XDSDocumentEntryEventCodeList'' or sl.name=''$XDSDocumentEntryConfidentialityCode'' 
or sl.name=''$XDSDocumentEntryAuthorPerson'' or sl.name=''$XDSDocumentEntryFormatCode'' or sl.name=''$XDSDocumentEntryPatientId'' or sl.name=''$XDSDocumentEntryStatus''  or 
sl.name=''$XDSDocumentEntryType'') )', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (25, NULL, NULL, '$XDSDocumentEntryType does not support AND/OR on FindDocuments MessageType (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.7.1)', NULL, NULL, 'constraintITI18_XDSDocumentEntryType_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryType'' )->size()<2', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (26, NULL, NULL, 'allowed values on $XDSDocumentEntryType metadatas are urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 and urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248 (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.6.2)', NULL, NULL, 'constraintITI18_XDSDocumentEntryType_values', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''$XDSDocumentEntryType'' 
)->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		val=''(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027)'' or 
		val=''(\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)'' or 
		sl1.matches(val, ''\\s*\\(\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*,\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*\\)\\s*'')
	)
)', NULL, 'ERROR', 1, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (27, NULL, NULL, '$XDSSubmissionSetSourceId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetSourceId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetSourceId'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (28, NULL, NULL, '$XDSSubmissionSetSubmissionTimeFrom does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetSubmissionTimeFrom'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (29, NULL, NULL, '$XDSSubmissionSetSubmissionTimeFrom is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetSubmissionTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetSubmissionTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (30, NULL, NULL, '$XDSSubmissionSetSubmissionTimeTo does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2)', NULL, NULL, 'constraintITI18_XDSSubmissionSetSubmissionTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetSubmissionTimeTo'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (31, NULL, NULL, '$XDSSubmissionSetSubmissionTimeTo is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetSubmissionTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetSubmissionTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (32, NULL, NULL, '$XDSSubmissionSetAuthorPerson does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetAuthorPerson_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetAuthorPerson'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (33, NULL, NULL, '$XDSSubmissionSetAuthorPerson is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetAuthorPerson_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetAuthorPerson'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (34, NULL, NULL, '$XDSSubmissionSetContentType does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetContentType_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetContentType'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (35, NULL, NULL, '$XDSSubmissionSetPatientId does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetPatientId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetPatientId'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (36, NULL, NULL, '$XDSSubmissionSetPatientId is not multivalued on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetPatientId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetPatientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (37, NULL, NULL, '$XDSSubmissionSetPatientId is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetPatientId_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetPatientId'' )->size()>0', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (38, NULL, NULL, '$XDSSubmissionSetStatus does not support AND/OR on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetStatus'' )->size()<2', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (39, NULL, NULL, '$XDSSubmissionSetStatus is required on FindSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintITI18_XDSSubmissionSetStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetStatus'' )->size()>0', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (60, NULL, NULL, '$XDSDocumentEntryStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSDocumentEntryStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()>0', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (40, NULL, NULL, 'allowed slot on FindSubmissionSets MessageType are values from the table (ITI TF-2a 3.18.4.1.2.3.7.2))', NULL, NULL, 'constraintFindSubmissionSets_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSSubmissionSetSourceId'' or 
sl.name=''$XDSSubmissionSetSubmissionTimeFrom'' or sl.name=''$XDSSubmissionSetSubmissionTimeTo'' or 
sl.name=''$XDSSubmissionSetAuthorPerson'' or sl.name=''$XDSSubmissionSetContentType'' or sl.name=''$XDSSubmissionSetPatientId'' or sl.name=''$XDSSubmissionSetStatus'') )', NULL, 'ERROR', 2, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (41, NULL, NULL, '$XDSDocumentEntryFormatCode does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintITI18_XDSDocumentEntryFormatCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'' )->size()<2', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (42, NULL, NULL, '$homeCommunityId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (43, NULL, NULL, '$homeCommunityId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (44, NULL, NULL, '$XDSSubmissionSetEntryUUID does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10)', NULL, NULL, 'constraintITI18_XDSSubmissionSetEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetEntryUUID'' )->size()<2', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (45, NULL, NULL, '$XDSSubmissionSetEntryUUID is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintITI18_XDSSubmissionSetEntryUUID_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetEntryUUID'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (46, NULL, NULL, '$XDSSubmissionSetUniqueId does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintITI18_XDSSubmissionSetUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetUniqueId'' )->size()<2', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (47, NULL, NULL, '$XDSSubmissionSetUniqueId is not multivalued on GetSubmissionSetAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintITI18_XDSSubmissionSetUniqueId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetUniqueId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (48, NULL, NULL, 'allowed metadata on GetSubmissionSetAndContents are those on the table  (ITI TF-2a 3.18.4.1.2.3.7.10))', NULL, NULL, 'constraintGetSubmissionSetAndContents_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryConfidentialityCode'' or sl.name=''$XDSDocumentEntryFormatCode'' or 
sl.name=''$homeCommunityId'' or sl.name=''$XDSSubmissionSetEntryUUID'' or sl.name=''$XDSSubmissionSetUniqueId'' or 
sl.name=''$XDSDocumentEntryType'') )', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (49, NULL, NULL, 'Either $XDSSubmissionSetEntryUUID or $XDSSubmissionSetUniqueId shall be specified on GetSubmissionSetAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.10)', NULL, NULL, 'constraintGetSubmissionSetAndContents_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSSubmissionSetEntryUUID'' or sl.name=''$XDSSubmissionSetUniqueId'' ) )->size()>0', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (50, NULL, NULL, '$XDSDocumentEntryType does not support AND/OR on GetSubmissionSetAndContents MessageType (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.7.10)', NULL, NULL, 'constraint_XDSDocumentEntryType_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryType'' )->size()<2', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (51, NULL, NULL, 'allowed values on $XDSDocumentEntryType metadatas are urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 and urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248 (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.6.2)', NULL, NULL, 'constraint_XDSDocumentEntryType_values', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''$XDSDocumentEntryType'' 
)->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		val=''(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027)'' or 
		val=''(\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)'' or 
		sl1.matches(val, ''\\s*\\(\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*,\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*\\)\\s*'')
	)
)', NULL, 'ERROR', 3, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (52, NULL, NULL, '$homeCommunityId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 4, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (53, NULL, NULL, '$homeCommunityId is not multivalued on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 4, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (54, NULL, NULL, '$XDSFolderEntryUUID does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6))', NULL, NULL, 'constraintITI18_XDSFolderEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderEntryUUID'' )->size()<2', NULL, 'ERROR', 4, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (55, NULL, NULL, '$XDSFolderUniqueId does not support AND/OR on GetFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.6))', NULL, NULL, 'constraintITI18_XDSFolderUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderUniqueId'' )->size()<2', NULL, 'ERROR', 4, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (56, NULL, NULL, 'allowed metadata on GetFolders are those on the table  (ITI TF-2a 3.18.4.1.2.3.7.6)', NULL, NULL, 'constraintGetFolders_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$homeCommunityId'' or sl.name=''$XDSFolderEntryUUID'' or sl.name=''$XDSFolderUniqueId'' ) )', NULL, 'ERROR', 4, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (57, NULL, NULL, 'Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolders messageType (ITI TF-2a 3.18.4.1.2.3.7.6)', NULL, NULL, 'constraintGetFolders_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSFolderEntryUUID'' or sl.name=''$XDSFolderUniqueId'' ) )->size()>0', NULL, 'ERROR', 4, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (462, NULL, NULL, 'author prohibited (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_author_prohibited', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d'')->size()=0', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (58, NULL, NULL, '$XDSDocumentEntryFormatCode does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSDocumentEntryFormatCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'' )->size()<2', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (59, NULL, NULL, '$XDSDocumentEntryStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSDocumentEntryStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()<2', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (61, NULL, NULL, '$XDSSubmissionSetStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSSubmissionSetStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetStatus'' )->size()<2', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (62, NULL, NULL, '$XDSSubmissionSetStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSSubmissionSetStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSSubmissionSetStatus'' )->size()>0', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (63, NULL, NULL, '$XDSFolderStatus does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSFolderStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderStatus'' )->size()<2', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (64, NULL, NULL, '$XDSFolderStatus is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_XDSFolderStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderStatus'' )->size()>0', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (65, NULL, NULL, '$patientId does not support AND/OR on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_patientId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$patientId'' )->size()<2', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (66, NULL, NULL, '$patientId is not multivalued on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_patientId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$patientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (67, NULL, NULL, '$patientId is required on GetAll MessageType (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintITI18_patientId_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$patientId'' )->size()>0', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (68, NULL, NULL, 'allowed metadata on GetAll are those on the table  (ITI TF-2a 3.18.4.1.2.3.7.4))', NULL, NULL, 'constraintGetAll_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryConfidentialityCode'' or sl.name=''$XDSDocumentEntryFormatCode'' or sl.name=''$XDSDocumentEntryStatus'' or 
sl.name=''$XDSSubmissionSetStatus'' or sl.name=''$XDSFolderStatus'' or sl.name=''$patientId'' or 
sl.name=''$XDSDocumentEntryType'') )', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (69, NULL, NULL, '$XDSDocumentEntryType does not support AND/OR on GetAll MessageType (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.7.4)', NULL, NULL, 'constraint_XDSDocumentEntryType_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryType'' )->size()<2', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (70, NULL, NULL, 'allowed values on $XDSDocumentEntryType metadatas are urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 and urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248 (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.6.2)', NULL, NULL, 'constraint_XDSDocumentEntryType_values', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''$XDSDocumentEntryType'' 
)->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		val=''(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027)'' or 
		val=''(\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)'' or 
		sl1.matches(val, ''\\s*\\(\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*,\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*\\)\\s*'')
	)
)', NULL, 'ERROR', 5, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (71, NULL, NULL, '$XDSDocumentEntryEntryUUID does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5))', NULL, NULL, 'constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEntryUUID'' )->size()<2', NULL, 'ERROR', 6, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (72, NULL, NULL, '$XDSDocumentEntryUniqueId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5))', NULL, NULL, 'constraintITI18_XDSDocumentEntryUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryUniqueId'' )->size()<2', NULL, 'ERROR', 6, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (73, NULL, NULL, '$homeCommunityId does not support AND/OR on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 6, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (74, NULL, NULL, '$homeCommunityId is not multivalued on GetDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.5))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 6, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (75, NULL, NULL, 'allowed metadata on GetDocuments are those on the table  (ITI TF-2a 3.18.4.1.2.3.7.5))', NULL, NULL, 'constraintGetDocuments_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' or sl.name=''$homeCommunityId'' ) )', NULL, 'ERROR', 6, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (76, NULL, NULL, 'Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocuments MessageType  (ITI TF-2a 3.18.4.1.2.3.7.5))', NULL, NULL, 'constraintGetDocuments_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' ) )->size()>0', NULL, 'ERROR', 6, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (77, NULL, NULL, '$XDSDocumentEntryEntryUUID does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8))', NULL, NULL, 'constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEntryUUID'' )->size()<2', NULL, 'ERROR', 7, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (78, NULL, NULL, '$XDSDocumentEntryUniqueId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8))', NULL, NULL, 'constraintITI18_XDSDocumentEntryUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryUniqueId'' )->size()<2', NULL, 'ERROR', 7, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (79, NULL, NULL, '$homeCommunityId does not support AND/OR on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 7, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (80, NULL, NULL, '$homeCommunityId is not multivalued on GetDocumentsAndAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.8))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 7, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (81, NULL, NULL, 'allowed metadata on GetDocumentsAndAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.8)', NULL, NULL, 'constraintGetDocumentsAndAssociations_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' or sl.name=''$homeCommunityId'') )', NULL, 'ERROR', 7, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (82, NULL, NULL, 'Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetDocumentsAndAssociations (ITI TF-2a 3.18.4.1.2.3.7.8)', NULL, NULL, 'constraintGetDocumentsAndAssociations_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' ) )->size()>0', NULL, 'ERROR', 7, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (83, NULL, NULL, '$XDSDocumentEntryEntryUUID does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))', NULL, NULL, 'constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEntryUUID'' )->size()<2', NULL, 'ERROR', 8, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (84, NULL, NULL, '$XDSDocumentEntryUniqueId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))', NULL, NULL, 'constraintITI18_XDSDocumentEntryUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryUniqueId'' )->size()<2', NULL, 'ERROR', 8, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (85, NULL, NULL, '$homeCommunityId does not support AND/OR on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))-- insert your comment', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 8, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (86, NULL, NULL, '$homeCommunityId is not multivalued on GetFoldersForDocument MessageType (ITI TF-2a 3.18.4.1.2.3.7.12))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 8, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (87, NULL, NULL, 'allowed Metadata on GetFoldersForDocument are those on the table  (ITI TF-2a 3.18.4.1.2.3.7.12))', NULL, NULL, 'constraintGetFoldersForDocument_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' or sl.name=''$homeCommunityId'' ) )', NULL, 'ERROR', 8, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (88, NULL, NULL, 'Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetFoldersForDocument (ITI TF-2a 3.18.4.1.2.3.7.12)', NULL, NULL, 'constraintGetFoldersForDocument_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' ) )->size()>0', NULL, 'ERROR', 8, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (89, NULL, NULL, '$homeCommunityId does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 9, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (90, NULL, NULL, '$homeCommunityId is not multivalued on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 9, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (91, NULL, NULL, '$uuid does not support AND/OR on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9))', NULL, NULL, 'constraintITI18_uuid_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$uuid'' )->size()<2', NULL, 'ERROR', 9, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (92, NULL, NULL, '$uuid is required on GetSubmissionSets MessageType (ITI TF-2a 3.18.4.1.2.3.7.9))', NULL, NULL, 'constraintITI18_uuid_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$uuid'' )->size()>0', NULL, 'ERROR', 9, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (93, NULL, NULL, 'allowed metadata on GetSubmissionSets are those on table (ITI TF-2a 3.18.4.1.2.3.7.9))', NULL, NULL, 'constraintGetSubmissionSets_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$homeCommunityId'' or sl.name=''$uuid'' ) )', NULL, 'ERROR', 9, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (94, NULL, NULL, '$homeCommunityId does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 10, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (95, NULL, NULL, '$homeCommunityId is not multivalued on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 10, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (96, NULL, NULL, '$uuid does not support AND/OR on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7))', NULL, NULL, 'constraintITI18_uuid_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$uuid'' )->size()<2', NULL, 'ERROR', 10, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (97, NULL, NULL, '$uuid is required on GetAssociations MessageType (ITI TF-2a 3.18.4.1.2.3.7.7))', NULL, NULL, 'constraintITI18_uuid_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$uuid'' )->size()>0', NULL, 'ERROR', 10, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (98, NULL, NULL, 'allowed metadata on GetAssociations are those on the table (ITI TF-2a 3.18.4.1.2.3.7.7))', NULL, NULL, 'constraintGetAssociations_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$homeCommunityId'' or sl.name=''$uuid'') )', NULL, 'ERROR', 10, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (99, NULL, NULL, '$XDSDocumentEntryFormatCode does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11))', NULL, NULL, 'constraintITI18_XDSDocumentEntryFormatCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'' )->size()<2', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (100, NULL, NULL, '$homeCommunityId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (101, NULL, NULL, '$homeCommunityId is not multivalued on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (102, NULL, NULL, '$XDSFolderEntryUUID does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11))', NULL, NULL, 'constraintITI18_XDSFolderEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderEntryUUID'' )->size()<2', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (103, NULL, NULL, '$XDSFolderUniqueId does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a 3.18.4.1.2.3.7.11))', NULL, NULL, 'constraintITI18_XDSFolderUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderUniqueId'' )->size()<2', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (261, NULL, NULL, '$XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderLastUpdateTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeFrom'' )->size()<2', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (104, NULL, NULL, 'allowed slot on GetFoldersAndContents are those on the table (ITI TF-2a 3.18.4.1.2.3.7.11))', NULL, NULL, 'constraintGetFoldersAndContents_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryConfidentialityCode'' or sl.name=''$XDSDocumentEntryFormatCode'' or 
sl.name=''$homeCommunityId'' or sl.name=''$XDSFolderEntryUUID'' or sl.name=''$XDSFolderUniqueId'' or sl.name=''$XDSDocumentEntryType'') )', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (105, NULL, NULL, 'Either $XDSFolderEntryUUID or $XDSFolderUniqueId shall be specified on GetFolderAndContents messageType (ITI TF-2a 3.18.4.1.2.3.7.11)', NULL, NULL, 'constraintGetFolderAndContents_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSFolderEntryUUID'' or sl.name=''$XDSFolderUniqueId'' ) )->size()>0', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (106, NULL, NULL, '$XDSDocumentEntryType does not support AND/OR on GetFoldersAndContents MessageType (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.7.11)', NULL, NULL, 'constraint_XDSDocumentEntryType_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryType'' )->size()<2', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (107, NULL, NULL, 'allowed values on $XDSDocumentEntryType metadatas are urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 and urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248 (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.6.2)', NULL, NULL, 'constraint_XDSDocumentEntryType_values', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''$XDSDocumentEntryType'' 
)->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		val=''(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027)'' or 
		val=''(\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)'' or 
		sl1.matches(val, ''\\s*\\(\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*,\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*\\)\\s*'')
	)
)', NULL, 'ERROR', 11, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (108, NULL, NULL, '$XDSFolderLastUpdateTimeFrom does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderLastUpdateTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeFrom'' )->size()<2', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (109, NULL, NULL, '$XDSFolderLastUpdateTimeFrom is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderLastUpdateTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (110, NULL, NULL, '$XDSFolderLastUpdateTimeTo does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderLastUpdateTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeTo'' )->size()<2', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (111, NULL, NULL, '$XDSFolderLastUpdateTimeTo is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderLastUpdateTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (112, NULL, NULL, '$XDSFolderPatientId does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderPatientId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderPatientId'' )->size()<2', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (113, NULL, NULL, '$XDSFolderPatientId is not multivalued on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderPatientId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderPatientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (114, NULL, NULL, '$XDSFolderPatientId is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderPatientId_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderPatientId'' )->size()>0', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (115, NULL, NULL, '$XDSFolderStatus does not support AND/OR on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderStatus'' )->size()<2', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (116, NULL, NULL, '$XDSFolderStatus is required on FindFolders MessageType (ITI TF-2a 3.18.4.1.2.3.7.3))', NULL, NULL, 'constraintITI18_XDSFolderStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderStatus'' )->size()>0', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (117, NULL, NULL, 'allowed metadata are those on the table (ITI TF-2a 3.18.4.1.2.3.7.3)', NULL, NULL, 'constraintFindFolders_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSFolderLastUpdateTimeFrom'' or sl.name=''$XDSFolderLastUpdateTimeTo'' or sl.name=''$XDSFolderCodeList'' or sl.name=''$XDSFolderPatientId'' or sl.name=''$XDSFolderStatus'' ) )', NULL, 'ERROR', 12, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (118, NULL, NULL, '$XDSDocumentEntryEntryUUID does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13))', NULL, NULL, 'constraintITI18_XDSDocumentEntryEntryUUID_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEntryUUID'' )->size()<2', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (119, NULL, NULL, '$XDSDocumentEntryUniqueId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13))', NULL, NULL, 'constraintITI18_XDSDocumentEntryUniqueId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryUniqueId'' )->size()<2', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (120, NULL, NULL, '$homeCommunityId does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13))', NULL, NULL, 'constraintITI18_homeCommunityId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->size()<2', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (121, NULL, NULL, '$homeCommunityId is not multivalued on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13))', NULL, NULL, 'constraintITI18_homeCommunityId_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$homeCommunityId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (122, NULL, NULL, '$AssociationTypes does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13))', NULL, NULL, 'constraintITI18_AssociationTypes_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$AssociationTypes'' )->size()<2', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (123, NULL, NULL, '$AssociationTypes is required on GetRelatedDocuments MessageType (ITI TF-2a 3.18.4.1.2.3.7.13))', NULL, NULL, 'constraintITI18_AssociationTypes_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$AssociationTypes'' )->size()>0', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (169, NULL, NULL, '$XDSDocumentEntryPracticeSettingCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_practiceSettingCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPracticeSettingCode'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (124, NULL, NULL, 'aloowed metadata on GetRelatedDocuments are those on the tab', NULL, NULL, 'constraintGetRelatedDocuments_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' or 
sl.name=''$homeCommunityId'' or sl.name=''$AssociationTypes'' or sl.name=''$XDSDocumentEntryType'') )', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (125, NULL, NULL, 'Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId shall be specified on GetRelatedDocuments (ITI TF-2a 3.18.4.1.2.3.7.13)', NULL, NULL, 'constraintGetRelatedDocuments_requiredField', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryEntryUUID'' or sl.name=''$XDSDocumentEntryUniqueId'' ) )->size()>0', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (126, NULL, NULL, '$XDSDocumentEntryType does not support AND/OR on GetRelatedDocuments MessageType (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.7.13)', NULL, NULL, 'constraint_XDSDocumentEntryType_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryType'' )->size()<2', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (175, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_startTimeFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (127, NULL, NULL, 'allowed values on $XDSDocumentEntryType metadatas are urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 and urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248 (ITI TF-2a, IHE_ITI_Suppl_On_Demand_Documents, 3.18.4.1.2.3.6.2)', NULL, NULL, 'constraint_XDSDocumentEntryType_values', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''$XDSDocumentEntryType'' 
)->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		val=''(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027)'' or 
		val=''(\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)'' or 
		sl1.matches(val, ''\\s*\\(\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*,\\s*(\u0027urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1\u0027|\u0027urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248\u0027)\\s*\\)\\s*'')
	)
)', NULL, 'ERROR', 13, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (128, NULL, NULL, 'the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3)', NULL, NULL, 'constraintReturnType', '(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and 
(self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS)', NULL, 'ERROR', 14, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (129, NULL, NULL, 'QueryID must be one from the table 3.18.4.1.2.4 from the ITI TF-2a', NULL, NULL, 'constraintQueryID', '(not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and 
(
	self.adhocQuery.id=''urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d'' or
	self.adhocQuery.id=''urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9'' or
	self.adhocQuery.id=''urn:uuid:958f3006-baad-4929-a4de-ff1114824431'' or
	self.adhocQuery.id=''urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3'' or
	self.adhocQuery.id=''urn:uuid:5c4f972b-d56b-40ac-a5fc-c8ca9b40b9d4'' or
	self.adhocQuery.id=''urn:uuid:5737b14c-8a1a-4539-b659-e03a34a5e1e4'' or
	self.adhocQuery.id=''urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155'' or
	self.adhocQuery.id=''urn:uuid:bab9529a-4a10-40b3-a01f-f68a615d247a'' or
	self.adhocQuery.id=''urn:uuid:51224314-5390-4169-9b91-b1980040715a'' or
	self.adhocQuery.id=''urn:uuid:e8e3cb2c-e39c-46b9-99e4-c12f57260b83'' or
	self.adhocQuery.id=''urn:uuid:b909a503-523d-4517-8acf-8e5834dfc4c7'' or
	self.adhocQuery.id=''urn:uuid:10cae35a-c7f9-4cf5-b61e-fc3278ffb578'' or
	self.adhocQuery.id=''urn:uuid:d90e5407-b356-4d91-a89f-873917b4b0e6''
)', NULL, 'ERROR', 14, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (130, NULL, NULL, 'ObjectRefList required (WP34_D342_V2.2 3.6.2.1)', NULL, NULL, 'constraint_ObjectRefList_required', 'not self.objectRefList.oclIsUndefined()', NULL, 'ERROR', 15, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (131, NULL, NULL, 'ObjectRef required (WP34_D342_V2.2 3.6.2.1)', NULL, NULL, 'constraint_ObjectRef_required', '(not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0)', NULL, 'ERROR', 15, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (132, NULL, NULL, 'For each consent document, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.6.2.1)', NULL, NULL, 'constraint_ObjectRef_unique', '(not self.objectRefList.oclIsUndefined()) and 
self.objectRefList.objectRef->forAll(orr : ObjectRefType | 
	(not orr.id.oclIsUndefined()) and  
	(self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1)
)', NULL, 'ERROR', 15, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (133, NULL, NULL, 'ObjectRef id must not be null (WP34_D342_V2.2 3.6.2.1)', NULL, NULL, 'constraint_ObjectRefId_notNull', 'self.objectRefList.oclIsUndefined() or 
self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined()))', NULL, 'ERROR', 15, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (134, NULL, NULL, 'accepted status on CrossGatewayRetrieve Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15)', NULL, NULL, 'constraintRegistryResponseStatus_CrossGatewayRetrieve', '(not self.status.oclIsUndefined()) and (
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or
self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' or
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''
)', NULL, 'ERROR', 16, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (135, NULL, NULL, 'allowed error codes on Cross Gateway Retrieve transaction are XDSRepositoryError, XDSRepositoryBusy, XDSRepositoryOutOfResources, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSUnknownCommunity, XDSMissingHomeCommunityId', NULL, NULL, 'constraintRegistryError_allowedCode_CrossGatewayRetrieve', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSRepositoryError'') or
(self.errorCode=''XDSRepositoryBusy'') or
(self.errorCode=''XDSRepositoryOutOfResources'') or
(self.errorCode=''XDSUnknownRepositoryId'') or
(self.errorCode=''XDSDocumentUniqueIdError'') or
(self.errorCode=''XDSUnknownCommunity'') or
(self.errorCode=''XDSMissingHomeCommunityId'')
)
', NULL, 'ERROR', 17, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (136, NULL, NULL, 'accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15)', NULL, NULL, 'constraintRegistryResponseStatus_RegistryStoredQuery', '(not self.status.oclIsUndefined()) and (
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or
self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' or
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''
)', NULL, 'ERROR', 18, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (137, NULL, NULL, 'allowed error codes on Registry Stored Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity', NULL, NULL, 'constraintRegistryError_allowedCode_RegistryStoredQuery', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSRegistryError'') or
(self.errorCode=''XDSRegistryBusy'') or
(self.errorCode=''XDSRegistryOutOfResources'') or
(self.errorCode=''XDSTooManyResults'') or
(self.errorCode=''XDSUnknownStoredQuery'') or
(self.errorCode=''XDSStoredQueryMissingParam'') or
(self.errorCode=''XDSStoredQueryParamNumber'') or
(self.errorCode=''XDSResultNotSinglePatient'') or
(self.errorCode=''XDSUnknownCommunity'') or
(self.errorCode=''XDSMissingHomeCommunityId'') or
(self.errorCode=''XDSUnavailableCommunity'') 
)
', NULL, 'ERROR', 19, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (138, NULL, NULL, 'status required', NULL, NULL, 'constraint_status_required', 'not self.status.oclIsUndefined()', NULL, 'ERROR', 20, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (139, NULL, NULL, 'status of registryResponse can be success, failure or partialSuccess', NULL, NULL, 'constraint_status_values', 'self.status.oclIsUndefined() or 
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or 
self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess''', NULL, 'ERROR', 20, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (140, NULL, NULL, 'if failure, the response must have registryErrorList', NULL, NULL, 'constraint_failure', '(not self.status.oclIsUndefined()) and 
(
	self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
	(
		(not self.registryErrorList.oclIsUndefined()) and 
		(self.registryErrorList.registryError->size()>0)
	)
)', NULL, 'ERROR', 20, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (141, NULL, NULL, 'severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error', NULL, NULL, 'constraint_severity', '(not self.severity.oclIsUndefined()) and self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error''', NULL, 'ERROR', 21, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (156, NULL, NULL, 'required metadatas in findDocuments in epSOS-2 transaction / request, are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryStatus (WP3A_epSOS_EED_IHE_XCA_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_requiredmetadatas', 'self.slot->exists(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'') and 
self.slot->exists(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'') and 
self.slot->exists(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'')', NULL, 'ERROR', 24, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (142, NULL, NULL, 'accepted errorCodes are those of IHE and 4105, 4703, 2201', NULL, NULL, 'constraint_accepted_errorCodes', '(not self.errorCode.oclIsUndefined()) and 
(not self.codeContext.oclIsUndefined()) and
(
	(self.errorCode=''4105'' and self.codeContext=''No match'') or
	(self.errorCode=''4703'' and self.codeContext=''Insufficient rights'') or
	(self.errorCode=''2201'' and self.codeContext=''Processing deferred'') or
	(self.errorCode=''XDSMissingDocument'') or
	(self.errorCode=''XDSMissingDocumentMetadata'') or
	(self.errorCode=''XDSRegistryNotAvailable'') or
	(self.errorCode=''XDSRegistryError'') or
	(self.errorCode=''XDSRepositoryError'') or
	(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
	(self.errorCode=''XDSNonIdenticalHash'') or
	(self.errorCode=''XDSRegistryBusy'') or
	(self.errorCode=''XDSRepositoryBusy'') or
	(self.errorCode=''XDSRegistryOutOfResources'') or
	(self.errorCode=''XDSRepositoryOutOfResources'') or
	(self.errorCode=''XDSRegistryMetadataError'') or
	(self.errorCode=''XDSRepositoryMetadataError'') or
	(self.errorCode=''XDSTooManyResults'') or
	(self.errorCode=''XDSExtraMetadataNotSaved'') or
	(self.errorCode=''XDSUnknownPatientId'') or
	(self.errorCode=''XDSPatientIdDoesNotMatch'') or
	(self.errorCode=''XDSUnknownStoredQuery'') or
	(self.errorCode=''XDSStoredQueryMissingParam'') or
	(self.errorCode=''XDSStoredQueryParamNumber'') or
	(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
	(self.errorCode=''XDSUnknownRepositoryId'') or
	(self.errorCode=''XDSDocumentUniqueIdError'') or
	(self.errorCode=''XDSResultNotSinglePatient'') or
	(self.errorCode=''PartialFolderContentNotProcessed'') or
	(self.errorCode=''PartialReplaceContentNotProcessed'') or
	(self.errorCode=''XDSUnknownCommunity'') or
	(self.errorCode=''XDSMissingHomeCommunityId'') or
	(self.errorCode=''XDSUnavailableCommunity'') 
)', NULL, 'ERROR', 21, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (143, NULL, NULL, 'mimetype required and must be text/xml (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_mimetype', '(not self.mimeType.oclIsUndefined() ) and self.mimeType=''text/xml''', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (144, NULL, NULL, 'status is required and must be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_status', '(not self.status.oclIsUndefined()) and self.status=''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (145, NULL, NULL, 'sourcePatientId  MUST be of the same value as $XDSDocumen- tEntry.PatientId (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_sourcePatientId', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined() ) and sl.name=''sourcePatientId'' )->forAll(sl : SlotType1 | 
	(not sl.valueList.oclIsUndefined()) and 
	(sl.valueList.value->size()=1) and
	self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' )->forAll(ext : ExternalIdentifierType | 
		(not ext.value.oclIsUndefined()) and 
		ext.value=sl.valueList.value->first()
	)
)', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (146, NULL, NULL, 'practiceSettingCode MUST be set to Not Used (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_practiceSettingCode', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and (cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'') )->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''Not Used''
)', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (147, NULL, NULL, 'confidentialityCode SHOULD be set to N (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_confidentialityCode', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''N''
)', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (148, NULL, NULL, 'classCode must be set to 57016-8 (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_classCode', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''57016-8''
)', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (149, NULL, NULL, 'formatCode MUST be urn:ihe:iti:bppc-sd:2007 if a scanned consent PDF document is included and urn:ihe:iti:bppc:2007 other- wise. As code system 1.3.6.1.4.1.19376.1.2.3 MUST be used (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_formatCode', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and
	(
		cl.nodeRepresentation=''urn:ihe:iti:bppc-sd:2007'' or 
		cl.nodeRepresentation=''urn:ihe:iti:bppc:2007''
	)
)', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (150, NULL, NULL, 'allowed slot are creationTime, languageCode, sourcePatientId (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_allowed_slot', 'self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name=''creationTime'' or sl.name=''languageCode'' or sl.name=''sourcePatientId'')', NULL, 'WARNING', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (151, NULL, NULL, 'allowed classification are healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, $XDSDocumentClassCode, $XDSDocumentFormatCode, $XDSDocumentEventCode (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_allowed_classification', 'self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'' or 
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'' or 
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'' or 
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'' or 
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'' or 
	cl.classificationScheme=''urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4''
)', NULL, 'WARNING', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (152, NULL, NULL, 'allowed externalIdentifier are patientId and uniqueId (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_allowed_externalIdentifier', 'self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'' or ext.identificationScheme=''urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1'')', NULL, 'WARNING', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (153, NULL, NULL, 'the code system of eventCode must be 1.3.6.1.4.1.12559.11.10.1.3.2.4.1 (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_eventCodeList', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	(
		cl.nodeRepresentation=''1.3.6.1.4.1.12559.11.10.1.3.2.4.1.1'' or 
		cl.nodeRepresentation=''1.3.6.1.4.1.12559.11.10.1.3.2.4.1.2''
	)
)', NULL, 'ERROR', 22, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (154, NULL, NULL, 'registryObjectList_required (WP34_D342_V2.2 3.6.1.1)', NULL, NULL, 'constraint_registryObjectList_required', 'not self.registryObjectList.oclIsUndefined()', NULL, 'ERROR', 23, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (155, NULL, NULL, 'a single ExtrinsicObject element must be set on registryObjectList (WP34_D342_V2.2 , 3.6.1.1)', NULL, NULL, 'constraint_ExtrinsicObject_single', 'self.registryObjectList.oclIsUndefined() or (self.registryObjectList.ExtrinsicObject->size()=1)', NULL, 'ERROR', 23, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (192, NULL, NULL, 'status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintStatus', '(not self.status.oclIsUndefined()) and self.status=''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (193, NULL, NULL, 'MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintMimeType', '(not self.mimeType.oclIsUndefined()) and self.mimeType=''text/xml''', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (157, NULL, NULL, 'Possible metadatas  in findDocuments in epSOS-2 transaction / request, are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryStatus, $XDSDocumentEntryFormatCode, $XDSDocumentEntryType (WP3A_epSOS_EED_IHE_XCA_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_possiblemetadatas', 'self.slot->forAll(sl : SlotType1 |
	(not sl.name.oclIsUndefined()) and 
	(
		sl.name=''$XDSDocumentEntryPatientId'' or 
		sl.name=''$XDSDocumentEntryClassCode'' or 
		sl.name=''$XDSDocumentEntryStatus'' or 
		sl.name=''$XDSDocumentEntryFormatCode'' or 
		sl.name=''$XDSDocumentEntryType''
	)
)', NULL, 'ERROR', 24, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (158, NULL, NULL, 'XDSDocumentEntryPatientId MUST provide the HL7v3 II coded patient identifier (WP3A_epSOS_EED_IHE_XCA_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_XDSDocumentEntryPatientId', 'self.slot->select(sl : SlotType1 |
	(not sl.name.oclIsUndefined()) and 
	sl.name=''$XDSDocumentEntryPatientId''
)->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		sl1.valueList.extractValues(val)->forAll(st : String |
			sl1.isCX_XDS(st)
		)
	)
)', NULL, 'ERROR', 24, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (159, NULL, NULL, '$XDSDocumentEntryClassCode''s values SHALL be from the valueSet  1.3.6.1.4.1.12559.11.4.1.5 http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.5  (WP3A_epSOS_EED_IHE_XCA_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_classCodeValues', 'self.slot->select(sl : SlotType1 |	(not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'')->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		sl1.valueList.extractValues(val)->forAll(st : String |
			sl1.valueList.extractCodeFromAdhocValue(st)->size()=2 and 
			sl1.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.5'', sl1.valueList.extractCodeFromAdhocValue(st)->asSequence()->at(1), sl1.valueList.extractCodeFromAdhocValue(st)->asSequence()->at(2), null, null)
		)
	)
)', NULL, 'ERROR', 24, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (160, NULL, NULL, '$XDSDocumentEntryFormatCode''s values SHALL be from the valueSet 1.3.6.1.4.1.12559.11.4.1.3 http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.3  (WP3A_epSOS_EED_IHE_XCA_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_FormatCodeValues', 'self.slot->select(sl : SlotType1 |	(not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'')->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		sl1.valueList.extractValues(val)->forAll(st : String |
			sl1.valueList.extractCodeFromAdhocValue(st)->size()=2 and 
			sl1.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.3'', sl1.valueList.extractCodeFromAdhocValue(st)->asSequence()->at(1), sl1.valueList.extractCodeFromAdhocValue(st)->asSequence()->at(2), null, null)
		)
	)
)', NULL, 'ERROR', 24, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (161, NULL, NULL, '$XDSDocumentEntryType''s value SHALL be ''urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248'' or ''urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1'' (WP3A_epSOS_EED_IHE_XCA_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_XDSDocumentEntryType', 'self.slot->select(sl : SlotType1 |	(not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryType'')->forAll(sl1 : SlotType1 |
	sl1.valueList.oclIsUndefined() or 
	sl1.valueList.value->forAll(val : String |
		sl1.valueList.extractValues(val)->forAll(st : String |
			st=''urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1'' or 
			st=''urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248''
		)
	)
)', NULL, 'ERROR', 24, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (162, NULL, NULL, 'returnType SHALL be LeafClassWithRepositoryItem (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2)', NULL, NULL, 'constraint_returnType', '(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM', NULL, 'ERROR', 25, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (163, NULL, NULL, '$XDSDocumentEntryPatientId is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_patientId1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()>0', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (164, NULL, NULL, '$XDSDocumentEntryPatientId is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_patientId2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (165, NULL, NULL, '$XDSDocumentEntryPatientId does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_patientId3', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (166, NULL, NULL, '$XDSDocumentEntryClassCode is required on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_classCode1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'' )->size()>0', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (167, NULL, NULL, '$XDSDocumentEntryClassCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_classCode2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (168, NULL, NULL, '$XDSDocumentEntryTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_typeCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryTypeCode'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (170, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_creationTimeFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (171, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_creationTimeFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (172, NULL, NULL, '$XDSDocumentEntryCreationTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_creationTimeTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (173, NULL, NULL, '$XDSDocumentEntryCreationTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_creationTimeTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (174, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_startTimeFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (194, NULL, NULL, 'status is required (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintStatus_required', 'not self.status.oclIsUndefined()', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (176, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_startTimeTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (177, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_startTimeTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (178, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_stopTimeFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (179, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_stopTimeFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (180, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_stopTimeTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (181, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo is not multivalued on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_stopTimeTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (182, NULL, NULL, '$XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_healthCareFacilityTypeCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (183, NULL, NULL, '$XDSDocumentEntryEventCodeList does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_eventCodeList', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEventCodeList'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (184, NULL, NULL, '$XDSDocumentEntryConfidentialityCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_confidentialityCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryConfidentialityCode'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (185, NULL, NULL, '$XDSDocumentEntryAuthorPerson does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_authorPerson', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryAuthorPerson'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (186, NULL, NULL, '$XDSDocumentEntryFormatCode does not support AND/OR on Cross Gateway Fetch MessageType (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_formatCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'' )->size()<2', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (187, NULL, NULL, 'homeCommunityId is required (IHE_ITI_Suppl_XCF_Rev1, Table 3.63.4.1-1)', NULL, NULL, 'constraint_homeCommunityId', '(not self.home.oclIsUndefined()) and (self.home<>'''')', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (188, NULL, NULL, 'Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryClassCode, $XDSDocumentEntryTypeCode, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryFormatCode', NULL, NULL, 'constraint_allowedSlot', 'self.slot->forAll(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	(
		sl.name=''$XDSDocumentEntryPatientId'' or 
		sl.name=''$XDSDocumentEntryClassCode'' or 
		sl.name=''$XDSDocumentEntryTypeCode'' or 
		sl.name=''$XDSDocumentEntryPracticeSettingCode'' or 
		sl.name=''$XDSDocumentEntryCreationTimeFrom'' or 
		sl.name=''$XDSDocumentEntryCreationTimeTo'' or 
		sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' or 
		sl.name=''$XDSDocumentEntryServiceStartTimeTo'' or 
		sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' or 
		sl.name=''$XDSDocumentEntryServiceStopTimeTo'' or 
		sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' or 
		sl.name=''$XDSDocumentEntryEventCodeList'' or 
		sl.name=''$XDSDocumentEntryConfidentialityCode'' or 
		sl.name=''$XDSDocumentEntryAuthorPerson'' or 
		sl.name=''$XDSDocumentEntryFormatCode''
	)
)', NULL, 'ERROR', 26, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (189, NULL, NULL, 'XCF shall have the AdhocQuery id=''urn:uuid:f2072993-9478-41df-a603-8f016706efe8''  (IHE_ITI_Suppl_XCF_Rev1, 3.63.4.1.2)', NULL, NULL, 'constraint_xcf_id', '(not self.id.oclIsUndefined()) and self.id=''urn:uuid:f2072993-9478-41df-a603-8f016706efe8''', NULL, 'ERROR', 27, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (190, NULL, NULL, 'accepted status on Registry Response are Failure or Success for Register Document Set-b transaction (TF_Rev8.0_Vol3_FT Table 4.1-13)', NULL, NULL, 'constraintRegistryResponseStatus_RegisterDocumentSet', '(not self.status.oclIsUndefined()) and (
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''
)', NULL, 'ERROR', 28, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (191, NULL, NULL, 'allowed error codes on Register Document Set transaction are XDSRegistryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy, XDSRegistryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11)', NULL, NULL, 'constraintRegistryError_allowedCode_RegistryDocumentSet', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSRegistryError'') or
(self.errorCode=''XDSRepositoryError'') or
(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
(self.errorCode=''XDSNonIdenticalHash'') or
(self.errorCode=''XDSRegistryBusy'') or
(self.errorCode=''XDSRegistryOutOfResources'') or
(self.errorCode=''XDSRegistryMetadataError'') or
(self.errorCode=''XDSRepositoryMetadataError'') or
(self.errorCode=''XDSExtraMetadataNotSaved'') or
(self.errorCode=''XDSUnknownPatientId'') or
(self.errorCode=''XDSPatientIdDoesNotMatch'') or
(self.errorCode=''XDSRegistryDeprecatedDocumentError'')
)
', NULL, 'ERROR', 29, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (218, NULL, NULL, '$XDSDocumentEntryPatientId is required on PatientService:list (WP34_D342_V2.2)', NULL, NULL, 'constraint_XDSDocumentEntryPatientId_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryPatientId''))->size()=1', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (196, NULL, NULL, 'name required and must be Patient Summary (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintName_required', '(not self.name.oclIsUndefined()) and (self.name.localizedString->size()=1) and (not self.name.localizedString->first().value.oclIsUndefined()) and (self.name.localizedString->first().value=''Patient Summary'')', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (197, NULL, NULL, 'VersionInfo required and must be 1.1 (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_VersionInfo_required', '(not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName=''1.1''', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (198, NULL, NULL, 'creationTime should have the structure DTM (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_creationTime_DTM', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''creationTime'')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or 
	(sl.valueList.value->isEmpty()) or 
	( 
		(sl.valueList.value->size()=1) and 
		(sl.isDTM(sl.valueList.value->first())) 
	)    
)', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (199, NULL, NULL, 'sourcePatientId required and unique (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_sourcePatientId_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''sourcePatientId'')->size()=1', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (200, NULL, NULL, 'sourcePatientInfo is prohibited (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_sourcePatientInfo_prohibited', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''sourcePatientInfo'')->size()=0', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (201, NULL, NULL, 'classCode is required, it must be 60591-5 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_classCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'')->size()=1 and
self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''60591-5''
)', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (202, NULL, NULL, 'eventCodeList prohibited (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_eventCodeList_prohibited', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4'')->size()=0', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (203, NULL, NULL, 'author prohibited (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_author_prohibited', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d'')->size()=0', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (204, NULL, NULL, 'confidentialityCode required (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_confidentialityCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'')->size()=1', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (205, NULL, NULL, 'confidentialityCode SHOULD be set to N  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_confidentialityCode_value', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation=''N'' )', NULL, 'WARNING', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (206, NULL, NULL, 'formatCode required and MUST be urn:epSOS:ps:ps:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_formatCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'')->size()=1 and
self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and 
	(cl.nodeRepresentation=''urn:epSOS:ps:ps:2010'' or cl.nodeRepresentation=''urn:ihe:iti:xds-sd:pdf:2008'')
)', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (207, NULL, NULL, 'healthcareFacilityTypeCode required  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_healthcareFacilityTypeCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'')->size()=1', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (208, NULL, NULL, 'practiceSettingCode required   (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_practiceSettingCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'')->size()=1 and 
self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation=''Not Used'' )', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (209, NULL, NULL, 'XDSDocumentEntry.uniqueId required  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_XDSDocumentEntryUniqueId_required', 'self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'')->size()=1', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (210, NULL, NULL, 'XDSDocumentEntry.PatientId required  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_patientId_required', 'self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'')->size()=1', NULL, 'ERROR', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (211, NULL, NULL, 'allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_allowed_slot', 'self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name=''creationTime'' or sl.name=''hash'' or sl.name=''languageCode'' or sl.name=''repositoryUniqueId'' or sl.name=''serviceStartTime'' or sl.name=''serviceEndTime'' or sl.name=''size'' or sl.name=''sourcePatientId'' )', NULL, 'WARNING', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (212, NULL, NULL, 'allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_allowed_classification', 'self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or 
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'' or 
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'' or 
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'' or 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'' or 
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead''
)', NULL, 'WARNING', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (213, NULL, NULL, 'external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_allowed_externalIdentifier', 'self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or
	ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'' or 
	ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427''
)', NULL, 'WARNING', 30, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (219, NULL, NULL, '$XDSDocumentEntryStatus is required on PatientService:list (WP34_D342_V2.2)', NULL, NULL, 'constraint_XDSDocumentEntryStatus_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryStatus''))->size()=1', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (214, NULL, NULL, 'For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintStatus', '((not self.status.oclIsUndefined()) and (self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'')) or 
self.registryObjectList.oclIsUndefined() or 
self.registryObjectList.ExtrinsicObject->size()=0', NULL, 'ERROR', 31, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (215, NULL, NULL, 'It MUST at least contain one child <rim:ExtrinsicObject/> element, if status not success. (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_RegistryObjectList', 'self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty()) or 
self.status.oclIsUndefined() or 
self.status<>''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''', NULL, 'ERROR', 31, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (216, NULL, NULL, 'If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_association_XFRM', 'self.registryObjectList.oclIsUndefined() or
self.registryObjectList.Association->isEmpty() or 
self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType=''urn:ihe:iti:2007:AssociationType:XFRM''))->forAll( ass : AssociationType1 | 
	(not ass.sourceObject.oclIsUndefined()) and 
	(not ass.targetObject.oclIsUndefined()) and 
	(ass.classification->size()<2) and 
	ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3'' and 
		( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation=''epSOS pivot'')) and 
		cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''codingScheme'')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()=''epSOS translation types'' )
	)
)', NULL, 'ERROR', 31, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (217, NULL, NULL, 'additional epsos errorCode are 4101, 2102, 4701, 4702, 4703, 1102, 4201, 4202, 4203, 4204 (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_Additional_errors', '(not self.errorCode.oclIsUndefined()) and 
(not self.codeContext.oclIsUndefined()) and
(
	(self.errorCode=''4101'' and self.codeContext=''Rendering incomplete'') or
	(self.errorCode=''2102'' and self.codeContext=''Source coded document must be considered'') or
	(self.errorCode=''4701'' and self.codeContext=''No Consent'') or
	(self.errorCode=''4702'' and self.codeContext=''Weak Authentication'') or
	(self.errorCode=''4703'' and self.codeContext=''Insufficient Rights'') or
	(self.errorCode=''1102'' and self.codeContext=''No Data'') or
	(self.errorCode=''4201'' and self.codeContext=''Unsupported Feature'') or
	(self.errorCode=''4202'' and self.codeContext=''Unknown Signifier'') or
	(self.errorCode=''4203'' and self.codeContext=''Transcoding Error'') or
	(self.errorCode=''4204'' and self.codeContext=''Unknown Filter'') or 
	(self.errorCode=''XDSMissingDocument'') or
	(self.errorCode=''XDSMissingDocumentMetadata'') or
	(self.errorCode=''XDSRegistryNotAvailable'') or
	(self.errorCode=''XDSRegistryError'') or
	(self.errorCode=''XDSRepositoryError'') or
	(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
	(self.errorCode=''XDSNonIdenticalHash'') or
	(self.errorCode=''XDSRegistryBusy'') or
	(self.errorCode=''XDSRepositoryBusy'') or
	(self.errorCode=''XDSRegistryOutOfResources'') or
	(self.errorCode=''XDSRepositoryOutOfResources'') or
	(self.errorCode=''XDSRegistryMetadataError'') or
	(self.errorCode=''XDSRepositoryMetadataError'') or
	(self.errorCode=''XDSTooManyResults'') or
	(self.errorCode=''XDSExtraMetadataNotSaved'') or
	(self.errorCode=''XDSUnknownPatientId'') or
	(self.errorCode=''XDSPatientIdDoesNotMatch'') or
	(self.errorCode=''XDSUnknownStoredQuery'') or
	(self.errorCode=''XDSStoredQueryMissingParam'') or
	(self.errorCode=''XDSStoredQueryParamNumber'') or
	(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
	(self.errorCode=''XDSUnknownRepositoryId'') or
	(self.errorCode=''XDSDocumentUniqueIdError'') or
	(self.errorCode=''XDSResultNotSinglePatient'') or
	(self.errorCode=''PartialFolderContentNotProcessed'') or
	(self.errorCode=''PartialReplaceContentNotProcessed'') or
	(self.errorCode=''XDSUnknownCommunity'') or
	(self.errorCode=''XDSMissingHomeCommunityId'') or
	(self.errorCode=''XDSUnavailableCommunity'') 
)', NULL, 'ERROR', 32, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (230, NULL, NULL, 'if status=urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success, all rs:RegistryError if exists shall have severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_succ', 'self.status.oclIsUndefined() or 
self.status<>''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->forAll(rg : RegistryErrorType |
	rg.severity.oclIsUndefined() or 
	rg.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning''
)', NULL, 'ERROR', 35, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (231, NULL, NULL, 'if registryError list contains error codes (urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error), the status of the response shall be urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP3A_epSOS_EED_IHE_XDR_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_failure', 'self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->select(re : RegistryErrorType |
	(not re.severity.oclIsUndefined()) and 
	re.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error''
)->size()=0 or 
(
	(not self.status.oclIsUndefined()) and 
	(
		self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or 
		self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess''
	)
)', NULL, 'ERROR', 35, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (232, NULL, NULL, 'allowed code for registryErrorList/registryError/@errorCode attribute are specified in Table 4.1-11 of [IHE ITI TF-3], and in the section 2.2.2, epSOS XDR binding (WP3A_epSOS_EED_IHE_XDR_Binding, 2.2.2)', NULL, NULL, 'constraint_epsos2_errr', 'self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->forAll(re : RegistryErrorType |
	(not re.errorCode.oclIsUndefined()) and 
	( 
		(re.errorCode=''XDSMissingDocument'') or
		(re.errorCode=''XDSMissingDocumentMetadata'') or
		(re.errorCode=''XDSRegistryNotAvailable'') or
		(re.errorCode=''XDSRegistryError'') or
		(re.errorCode=''XDSRepositoryError'') or
		(re.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
		(re.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
		(re.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
		(re.errorCode=''XDSNonIdenticalHash'') or
		(re.errorCode=''XDSRegistryBusy'') or
		(re.errorCode=''XDSRepositoryBusy'') or
		(re.errorCode=''XDSRegistryOutOfResources'') or
		(re.errorCode=''XDSRepositoryOutOfResources'') or
		(re.errorCode=''XDSRegistryMetadataError'') or
		(re.errorCode=''XDSRepositoryMetadataError'') or
		(re.errorCode=''XDSTooManyResults'') or
		(re.errorCode=''XDSExtraMetadataNotSaved'') or
		(re.errorCode=''XDSUnknownPatientId'') or
		(re.errorCode=''XDSPatientIdDoesNotMatch'') or
		(re.errorCode=''XDSUnknownStoredQuery'') or
		(re.errorCode=''XDSStoredQueryMissingParam'') or
		(re.errorCode=''XDSStoredQueryParamNumber'') or
		(re.errorCode=''XDSRegistryDeprecatedDocumentError'') or
		(re.errorCode=''XDSUnknownRepositoryId'') or
		(re.errorCode=''XDSDocumentUniqueIdError'') or
		(re.errorCode=''XDSResultNotSinglePatient'') or
		(re.errorCode=''PartialFolderContentNotProcessed'') or
		(re.errorCode=''PartialReplaceContentNotProcessed'') or
		(re.errorCode=''ParitalTransformNotProcessed'') or
		(re.errorCode=''ParitalAppendContentNotProcessed'') or
		(re.errorCode=''ParitalTransformReplaceNotProcessed'') or
		(re.errorCode=''DocumentQueued'') or
		(re.errorCode=''XDSUnknownCommunity'') or
		(re.errorCode=''XDSMissingHomeCommunityId'') or
		(re.errorCode=''XDSUnavailableCommunity'') or 
		(re.errorCode=''2201'') or 
		(re.errorCode=''4702'') or 
		(re.errorCode=''4704'') or 
		(re.errorCode=''4107'') or 
		(re.errorCode=''4108'') or 
		(re.errorCode=''4105'') or 
		(re.errorCode=''4106'')
	)
)', NULL, 'ERROR', 35, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (243, NULL, NULL, '$XDSDocumentEntryCreationTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryCreationTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (233, NULL, NULL, 'the severity of the following error is urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error : 4702, 4704, 4107, 4108, 4105, 4106  (WP3A_epSOS_EED_IHE_XDR_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_sev_err', 'self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->select(re : RegistryErrorType |
	(not re.errorCode.oclIsUndefined()) and 
	(
		(re.errorCode=''4702'') or 
		(re.errorCode=''4704'') or 
		(re.errorCode=''4107'') or 
		(re.errorCode=''4108'') or 
		(re.errorCode=''4105'') or 
		(re.errorCode=''4106'')
	)
)->forAll(re : RegistryErrorType |
	(not re.severity.oclIsUndefined()) and 
	re.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error''
)', NULL, 'ERROR', 35, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (234, NULL, NULL, 'when using errorCode=2201, the severity SHALL be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (WP3A_epSOS_EED_IHE_XDR_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_code2201', 'self.errorCode.oclIsUndefined() or 
self.errorCode<>''2201'' or 
(
	(not self.severity.oclIsUndefined()) and 
	self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning''
)', NULL, 'ERROR', 36, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (235, NULL, NULL, 'exactly one XDSSubmissionSet shall be present in On-Demand Document Entry Request (IHE suppl OnDemand Document, 3.61.4.1.2)', NULL, NULL, 'constraintODD', 'self.registryObjectList.oclIsUndefined() or 
self.registryObjectList.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.registryObjectList.Classification->select(cl : ClassificationType | 
			(not cl.classificationNode.oclIsUndefined()) and 
			(cl.classificationNode=''urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd'') and 
			(not cl.classifiedObject.oclIsUndefined()) and 
			(cl.classifiedObject=rp.id)
		)->size()>0
	)
)->size()=1', NULL, 'ERROR', 37, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (236, NULL, NULL, 'one or more On-Demand Document Entry SHALL be present in Register On-Demand Document Entry request (IHE suppl OnDemand Document, 3.61.4.1.2)', NULL, NULL, 'constraint_xdsdoc', 'self.registryObjectList.oclIsUndefined() or 
self.registryObjectList.ExtrinsicObject->select(ext : ExtrinsicObjectType|
	(not ext.objectType.oclIsUndefined()) and 
	ext.objectType=''urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248''
)->size()>0', NULL, 'ERROR', 37, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (220, NULL, NULL, '$XDSDocumentEntryClassCode is required on PatientService:list (WP34_D342_V2.2)', NULL, NULL, 'constraint_XDSDocumentEntryClassCode_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryClassCode''))->size()=1', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (221, NULL, NULL, 'typeCode is required on PatientService:list  (WP34_D342_V2.2 3.3.1.1)', NULL, NULL, 'constraint_typeCode_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''typeCode''))->size()=1', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (222, NULL, NULL, 'contentTypeCode is required on PatientService:list (WP34_D342_V2.2 3.3.1.1)', NULL, NULL, 'constraint_contentTypeCode_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''contentTypeCode''))->size()=1', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (223, NULL, NULL, '$XDSDocumentEntryStatus must have the value ''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''  (WP34_D342_V2.2 3.3.1.1)', NULL, NULL, 'constraint_XDSDocumentEntryStatus_value', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryStatus''))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),''[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*'') )', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (224, NULL, NULL, '$XDSDocumentEntryClassCode must have the value ''60591-5^^2.16.840.1.113883.6.1''  (WP34_D342_V2.2 3.3.1.1)', NULL, NULL, 'constraint_XDSDocumentEntryClassCode_value', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryClassCode''))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),''[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*'') )', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (225, NULL, NULL, '$XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.3.1.1)', NULL, NULL, 'constraint_XDSDocumentEntryTypeCode_value', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryTypeCode''))->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),''[\\(\u0027]*60591-5\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*'') )', NULL, 'ERROR', 33, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (226, NULL, NULL, 'returnComposedObjects must have the value true (WP34_D342_V2.2)', NULL, NULL, 'constraint_returnComposedObjects_true', '(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true', NULL, 'ERROR', 34, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (227, NULL, NULL, 'returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2)', NULL, NULL, 'constraint_returnType', '(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM', NULL, 'ERROR', 34, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (228, NULL, NULL, 'adhocQuery must be not null (WP34_D342_V2.2)', NULL, NULL, 'constraint_adhocQuery_notNull', 'not self.adhocQuery.oclIsUndefined()', NULL, 'ERROR', 34, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (229, NULL, NULL, 'AdhocQueryRequest id MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocu- ments Query as defined in ITI TF-2a:3.18.1)', NULL, NULL, 'constraint_adhocId', '(not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id=''urn:uuid:f2072993-9478-41df-a603-8f016706efe8''', NULL, 'ERROR', 34, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (238, NULL, NULL, '$XDSDocumentEntryClassCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryClassCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (239, NULL, NULL, '$XDSDocumentEntryTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryTypeCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryTypeCode'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (240, NULL, NULL, '$XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryPracticeSettingCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPracticeSettingCode'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (241, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryCreationTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (242, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryCreationTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (244, NULL, NULL, '$XDSDocumentEntryCreationTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryCreationTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (245, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (246, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStartTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (247, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStartTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (248, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStartTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (269, NULL, NULL, 'CodeList is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraint_codeList', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderCodeList'' )->size()>0', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (237, NULL, NULL, 'Stable Document Entries SHALL NOT be present in Register On-Demand Document Entry request (IHE suppl OnDemand Document, 3.61.4.1.2)', NULL, NULL, 'constraint_xdsdocstable', 'self.registryObjectList.oclIsUndefined() or 
self.registryObjectList.ExtrinsicObject->select(ext : ExtrinsicObjectType|
	(not ext.objectType.oclIsUndefined()) and 
	ext.objectType=''urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1''
)->size()=0', NULL, 'ERROR', 37, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (423, NULL, NULL, 'status required and allowed status are success, failure or partial failure (WP34_D342_V2.2 3.6.1.5)', NULL, NULL, 'constraint_allowed_status', '(not self.status.oclIsUndefined()) and 
(
	self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
	self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or 
	self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess''
)', NULL, 'ERROR', 67, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (424, NULL, NULL, 'if response is success, allowed registry error allowed can be only warnings (WP34_D342_V2.2 3.6.1.5)', NULL, NULL, 'constraint_warning_vs_success', 'self.status.oclIsUndefined() or
(not (self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'')) or 
(
	self.registryErrorList.oclIsUndefined() or
	self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.severity.oclIsUndefined()) and re.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning'')
)', NULL, 'ERROR', 67, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (425, NULL, NULL, 'severity should be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning for errorCode 2201, or it must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error for the other codes (WP34_D342_V2.2 3.6.1.5)', NULL, NULL, 'constraint_severity', '(not self.errorCode.oclIsUndefined()) and 
(not self.severity.oclIsUndefined()) and 
(
	(self.errorCode=''2201'' and self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning'') or 
	self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error''	
)', NULL, 'ERROR', 68, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (426, NULL, NULL, 'errorCodes allowed are those defined on IHE (XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSNonIdenticalHash, XDSRegistryBusy,XDSRepositoryBusy,XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSTooManyResults, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumbe0r,XDSRegistryDeprecatedDocumentError, XDSUnknownRepositoryId, XDSDocumentUniqueIdError, XDSResultNotSinglePatient, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity ), or [errorCode, codeContext] shall be from be [4705, ''Policy Violation''], [4702, ''Weak Authentication''], [4706, ''Unknown policy''], [4701, ''No consent''], [2201, ''Processing deferred''] (WP34_D342_V2.2 3.6.1.5)', NULL, NULL, 'constraint_allowed_errorCode', '(not self.errorCode.oclIsUndefined()) and 
(not self.codeContext.oclIsUndefined()) and
(
	(self.errorCode=''2201'' and self.codeContext=''Processing deferred'') or
	(self.errorCode=''4705'' and self.codeContext=''Policy Violation'') or
	(self.errorCode=''4702'' and self.codeContext=''Weak Authentication'') or
	(self.errorCode=''4706'' and self.codeContext=''Unknown policy'') or
	(self.errorCode=''4701'' and self.codeContext=''No consent'') or
	(self.errorCode=''XDSMissingDocument'') or
	(self.errorCode=''XDSMissingDocumentMetadata'') or
	(self.errorCode=''XDSRegistryNotAvailable'') or
	(self.errorCode=''XDSRegistryError'') or
	(self.errorCode=''XDSRepositoryError'') or
	(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
	(self.errorCode=''XDSNonIdenticalHash'') or
	(self.errorCode=''XDSRegistryBusy'') or
	(self.errorCode=''XDSRepositoryBusy'') or
	(self.errorCode=''XDSRegistryOutOfResources'') or
	(self.errorCode=''XDSRepositoryOutOfResources'') or
	(self.errorCode=''XDSRegistryMetadataError'') or
	(self.errorCode=''XDSRepositoryMetadataError'') or
	(self.errorCode=''XDSTooManyResults'') or
	(self.errorCode=''XDSExtraMetadataNotSaved'') or
	(self.errorCode=''XDSUnknownPatientId'') or
	(self.errorCode=''XDSPatientIdDoesNotMatch'') or
	(self.errorCode=''XDSUnknownStoredQuery'') or
	(self.errorCode=''XDSStoredQueryMissingParam'') or
	(self.errorCode=''XDSStoredQueryParamNumber'') or
	(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
	(self.errorCode=''XDSUnknownRepositoryId'') or
	(self.errorCode=''XDSDocumentUniqueIdError'') or
	(self.errorCode=''XDSResultNotSinglePatient'') or
	(self.errorCode=''PartialFolderContentNotProcessed'') or
	(self.errorCode=''PartialReplaceContentNotProcessed'') or
	(self.errorCode=''XDSUnknownCommunity'') or
	(self.errorCode=''XDSMissingHomeCommunityId'') or
	(self.errorCode=''XDSUnavailableCommunity'') 
)', NULL, 'ERROR', 68, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (445, NULL, NULL, 'ObjectRefList required (WP34_D342_V2.2 3.5.2.1)', NULL, NULL, 'constraint_ObjectRefList_required', 'not self.objectRefList.oclIsUndefined()', NULL, 'ERROR', 75, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (446, NULL, NULL, 'ObjectRef required (WP34_D342_V2.2 3.5.2.1)', NULL, NULL, 'constraint_ObjectRef_required', '(not self.objectRefList.oclIsUndefined()) and (self.objectRefList.objectRef->size()>0)', NULL, 'ERROR', 75, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (447, NULL, NULL, 'For each eDispensation object, submission set and association to discard there MUST be a single ObjectRef element (WP34_D342_V2.2 3.5.2.1)', NULL, NULL, 'constraint_ObjectRef_unique', '(not self.objectRefList.oclIsUndefined()) and 
self.objectRefList.objectRef->forAll(orr : ObjectRefType | 
	(not orr.id.oclIsUndefined()) and  
	(self.objectRefList.objectRef->select(orr2 : ObjectRefType | (not orr2.id.oclIsUndefined()) and orr2.id=orr.id)->size()=1)
)', NULL, 'ERROR', 75, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (448, NULL, NULL, 'ObjectRef id must not be null (WP34_D342_V2.2 3.5.2.1)', NULL, NULL, 'constraint_ObjectRefId_notNull', 'self.objectRefList.oclIsUndefined() or 
self.objectRefList.objectRef->forAll(oref : ObjectRefType | (not oref.id.oclIsUndefined()))', NULL, 'ERROR', 75, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (449, NULL, NULL, 'accepted status on Registry Stored Query Response are Failure, PartialSuccess or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-15)', NULL, NULL, 'constraintRegistryResponseStatus_RegistryStoredQuery', '(not self.status.oclIsUndefined()) and (
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or
self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' or
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''
)', NULL, 'ERROR', 76, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (450, NULL, NULL, 'allowed error codes on Cross Gateway Query transaction are XDSRegistryError, XDSRegistryBusy, XDSRegistryOutOfResources, XDSTooManyResults, XDSUnknownPatientId,XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSResultNotSinglePatient, XDSUnknownCommunity, XDSMissingHomeCommunityId, XDSUnavailableCommunity', NULL, NULL, 'constraintRegistryError_allowedCode_RegistryStoredQuery', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSRegistryError'') or
(self.errorCode=''XDSRegistryBusy'') or
(self.errorCode=''XDSRegistryOutOfResources'') or
(self.errorCode=''XDSTooManyResults'') or
(self.errorCode=''XDSUnknownPatientId'') or
(self.errorCode=''XDSUnknownStoredQuery'') or
(self.errorCode=''XDSStoredQueryMissingParam'') or
(self.errorCode=''XDSStoredQueryParamNumber'') or
(self.errorCode=''XDSUnknownCommunity'') or
(self.errorCode=''XDSMissingHomeCommunityId'')
)
', NULL, 'ERROR', 77, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (477, NULL, NULL, 'status MUST be ''urn:oasis:names:tc:ebxml-­regrep:StatusType:Approved'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_status', '(not self.status.oclIsUndefined()) and self.status=''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''', NULL, 'ERROR', 81, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (478, NULL, NULL, 'practiceSettingCode is required and SHALL have nodeRepresentation=''Not Used'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_practiceSettingCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead''
)->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''Not Used''
)', NULL, 'ERROR', 81, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (479, NULL, NULL, 'confidentialityCode MUST be provided for XDR compatibility.Value SHOULD be set to ''N'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_confidentialityCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f''
)->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''N''
)', NULL, 'WARNING', 81, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (502, NULL, NULL, '$XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_uuid', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEntryUUID'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (249, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (250, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStopTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (251, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStopTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (252, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo is not multivalued on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryServiceStopTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (253, NULL, NULL, '$XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryHealthcareFacilityTypeCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (254, NULL, NULL, '$XDSDocumentEntryAuthorPerson does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryAuthorPerson_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryAuthorPerson'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (255, NULL, NULL, '$XDSDocumentEntryFormatCode does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryFormatCode_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryFormatCode'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (256, NULL, NULL, '$XDSDocumentEntryPatientId does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryPatientId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (257, NULL, NULL, '$XDSDocumentEntryStatus does not support AND/OR on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()<2', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (258, NULL, NULL, '$XDSDocumentEntryStatus is required on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSDocumentEntryStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()>0', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (259, NULL, NULL, 'allowed metadata are only ones detailed on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintFindDocuments_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSDocumentEntryClassCode'' or sl.name=''$XDSDocumentEntryTypeCode'' or 
sl.name=''$XDSDocumentEntryPracticeSettingCode'' or sl.name=''$XDSDocumentEntryCreationTimeFrom'' or sl.name=''$XDSDocumentEntryCreationTimeTo'' or 
sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' or sl.name=''$XDSDocumentEntryServiceStartTimeTo'' or sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' 
or sl.name=''$XDSDocumentEntryServiceStopTimeTo'' or sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' or sl.name=''$XDSDocumentEntryEventCodeList'' or sl.name=''$XDSDocumentEntryConfidentialityCode'' 
or sl.name=''$XDSDocumentEntryAuthorPerson'' or sl.name=''$XDSDocumentEntryFormatCode'' or sl.name=''$XDSDocumentEntryPatientId'' or sl.name=''$XDSDocumentEntryStatus'' ) )', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (260, NULL, NULL, 'At least one of ClassCode, EventCodeList, or HealthcareFacilityTypeCode SHALL be present  on FindDocumentsforMultiplePatients MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraint_requiredSlot', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and 
	(
		sl.name=''$XDSDocumentEntryClassCode'' or 
		sl.name=''$XDSDocumentEntryEventCodeList'' or 
		sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode''
	)
)->size()>0', NULL, 'ERROR', 38, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (262, NULL, NULL, '$XDSFolderLastUpdateTimeFrom is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderLastUpdateTimeFrom_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (263, NULL, NULL, '$XDSFolderLastUpdateTimeTo does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderLastUpdateTimeTo_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeTo'' )->size()<2', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (264, NULL, NULL, '$XDSFolderLastUpdateTimeTo is not multivalued on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderLastUpdateTimeTo_notMultiple', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderLastUpdateTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (265, NULL, NULL, '$XDSFolderPatientId does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderPatientId_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderPatientId'' )->size()<2', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (266, NULL, NULL, '$XDSFolderStatus does not support AND/OR on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderStatus_notSupportAND', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderStatus'' )->size()<2', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (267, NULL, NULL, '$XDSFolderStatus is required on FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintITI51_XDSFolderStatus_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSFolderStatus'' )->size()>0', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (268, NULL, NULL, 'allowed metadata are those on the table of FindFoldersForMultiplePatient MessageType (ITI TF-2b 3.51)', NULL, NULL, 'constraintFindFolders_allowedSlot', 'self.slot->forAll(sl : SlotType1 | (not sl.name.oclIsUndefined()) and (sl.name=''$XDSFolderLastUpdateTimeFrom'' or sl.name=''$XDSFolderLastUpdateTimeTo'' or sl.name=''$XDSFolderCodeList'' or sl.name=''$XDSFolderPatientId'' or sl.name=''$XDSFolderStatus'' ) )', NULL, 'ERROR', 39, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (270, NULL, NULL, 'The ID of the adhocQuery SHALL be urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f or urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df (ITI TF-2b 3.51)', NULL, NULL, 'constraint_id', '(not self.id.oclIsUndefined()) and 
(
	self.id=''urn:uuid:3d1bdb10-39a2-11de-89c2-2f44d94eaa9f'' or 
	self.id=''urn:uuid:50d3f5ac-39a2-11de-a1ca-b366239e58df''
)', NULL, 'ERROR', 40, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (271, NULL, NULL, 'mimeType must be ''text/xml'' (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_mimeType', '(not self.mimeType.oclIsUndefined()) and self.mimeType=''text/xml''', NULL, 'ERROR', 41, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (272, NULL, NULL, 'sourcePatientId MUST be the same value as $XDSDocumentEntry.PatientId (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_sourcePatientID', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''sourcePatientId''
)->forAll(sl : SlotType1 |
	(not sl.valueList.oclIsUndefined()) and 
	sl.valueList.value->forAll(st : String |
		sl.valueList.extractValues(st)->asSequence()->forAll(st1 : String | 
			self.externalIdentifier->select(ext : ExternalIdentifierType | 
				(not ext.identificationScheme.oclIsUndefined()) and 
				ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' and 
				(not ext.value.oclIsUndefined())
			)->size()>0 and 
			st1=self.externalIdentifier->any(ext : ExternalIdentifierType | 
				(not ext.identificationScheme.oclIsUndefined()) and 
				ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' and 
				(not ext.value.oclIsUndefined())
			).value
		)
	)
)', NULL, 'ERROR', 41, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (273, NULL, NULL, 'healthcareFacilityTypeCode MUST be provided for XCA compatibility and correct addressing. It shall be conform to the valueSet http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.7 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_healthcareFacilityTypeCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1''
)->forAll(cl : ClassificationType | 
	cl.slot->select(sl : SlotType1 |
		(not sl.name.oclIsUndefined()) and 
		sl.name=''codingScheme''
	)->forAll(sl : SlotType1 |
		(not sl.valueList.oclIsUndefined()) and 
		sl.valueList.value->forAll(val : String | 
			sl.valueList.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.7'', cl.nodeRepresentation, val, null, null)
		)
	)
)', NULL, 'ERROR', 41, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (274, NULL, NULL, 'XDSDocumentEntry.classCode MUST be provided from the valueSet http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.5 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_classCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a''
)->forAll(cl : ClassificationType | 
	cl.slot->select(sl : SlotType1 |
		(not sl.name.oclIsUndefined()) and 
		sl.name=''codingScheme''
	)->forAll(sl : SlotType1 |
		(not sl.valueList.oclIsUndefined()) and 
		sl.valueList.value->forAll(val : String | 
			sl.valueList.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.5'', cl.nodeRepresentation, val, null, null)
		)
	)
)', NULL, 'ERROR', 41, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (275, NULL, NULL, 'XDSDocumentEntry.formatCode MUST be provided from the valueSet http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.3 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_formatCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d''
)->forAll(cl : ClassificationType | 
	cl.slot->select(sl : SlotType1 |
		(not sl.name.oclIsUndefined()) and 
		sl.name=''codingScheme''
	)->forAll(sl : SlotType1 |
		(not sl.valueList.oclIsUndefined()) and 
		sl.valueList.value->forAll(val : String | 
			sl.valueList.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.3'', cl.nodeRepresentation, val, null, null)
		)
	)
)', NULL, 'ERROR', 41, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (276, NULL, NULL, 'XDSDocumentEntry.PatientId SHALL be encoded as hl7v3 II datatype (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_patientId', 'self.externalIdentifier->select(ext : ExternalIdentifierType |
	(not ext.identificationScheme.oclIsUndefined()) and 
	ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427''
)->forAll(ext : ExternalIdentifierType |
	(not ext.value.oclIsUndefined()) and 
	ext.isCX_XDS(ext.value)
)', NULL, 'ERROR', 41, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (277, NULL, NULL, 'mimeType must be ''text/xml'' (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_mimeType', '(not self.mimeType.oclIsUndefined()) and self.mimeType=''text/xml''', NULL, 'ERROR', 42, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (460, NULL, NULL, 'classCode is required, it must be 57833-6 // urn:oid:2.16.840.1.113883.6.1 (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_classCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'')->size()=1 and
self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''57833-6''
)', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (278, NULL, NULL, 'sourcePatientId MUST be the same value as $XDSDocumentEntry.PatientId (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_sourcePatientID', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	sl.name=''sourcePatientId''
)->forAll(sl : SlotType1 |
	(not sl.valueList.oclIsUndefined()) and 
	sl.valueList.value->forAll(st : String |
		sl.valueList.extractValues(st)->asSequence()->forAll(st1 : String | 
			self.externalIdentifier->select(ext : ExternalIdentifierType | 
				(not ext.identificationScheme.oclIsUndefined()) and 
				ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' and 
				(not ext.value.oclIsUndefined())
			)->size()>0 and 
			st1=self.externalIdentifier->any(ext : ExternalIdentifierType | 
				(not ext.identificationScheme.oclIsUndefined()) and 
				ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' and 
				(not ext.value.oclIsUndefined())
			).value
		)
	)
)', NULL, 'ERROR', 42, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (279, NULL, NULL, 'healthcareFacilityTypeCode MUST be provided for XCA compatibility and correct addressing. It shall be conform to the valueSet http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.7 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_healthcareFacilityTypeCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1''
)->forAll(cl : ClassificationType | 
	cl.slot->select(sl : SlotType1 |
		(not sl.name.oclIsUndefined()) and 
		sl.name=''codingScheme''
	)->forAll(sl : SlotType1 |
		(not sl.valueList.oclIsUndefined()) and 
		sl.valueList.value->forAll(val : String | 
			sl.valueList.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.7'', cl.nodeRepresentation, val, null, null)
		)
	)
)', NULL, 'ERROR', 42, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (280, NULL, NULL, 'XDSDocumentEntry.classCode MUST be provided from the valueSet http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.5 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_classCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a''
)->forAll(cl : ClassificationType | 
	cl.slot->select(sl : SlotType1 |
		(not sl.name.oclIsUndefined()) and 
		sl.name=''codingScheme''
	)->forAll(sl : SlotType1 |
		(not sl.valueList.oclIsUndefined()) and 
		sl.valueList.value->forAll(val : String | 
			sl.valueList.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.5'', cl.nodeRepresentation, val, null, null)
		)
	)
)', NULL, 'ERROR', 42, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (451, NULL, NULL, 'status MUST be urn:oasis:names:tc:ebxml-regrep:StatusType:Approved (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraintStatus', '(not self.status.oclIsUndefined()) and self.status=''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (281, NULL, NULL, 'XDSDocumentEntry.formatCode MUST be provided from the valueSet http://gazelle.ihe.net/RetrieveValueSet?id=1.3.6.1.4.1.12559.11.4.1.3 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_formatCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d''
)->forAll(cl : ClassificationType | 
	cl.slot->select(sl : SlotType1 |
		(not sl.name.oclIsUndefined()) and 
		sl.name=''codingScheme''
	)->forAll(sl : SlotType1 |
		(not sl.valueList.oclIsUndefined()) and 
		sl.valueList.value->forAll(val : String | 
			sl.valueList.matchesValueSet(''1.3.6.1.4.1.12559.11.4.1.3'', cl.nodeRepresentation, val, null, null)
		)
	)
)', NULL, 'ERROR', 42, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (282, NULL, NULL, 'XDSDocumentEntry.PatientId SHALL be encoded as hl7v3 II datatype (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2)', NULL, NULL, 'constraint_epsos2_patientId', 'self.externalIdentifier->select(ext : ExternalIdentifierType |
	(not ext.identificationScheme.oclIsUndefined()) and 
	ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427''
)->forAll(ext : ExternalIdentifierType |
	(not ext.value.oclIsUndefined()) and 
	ext.isCX_XDS(ext.value)
)', NULL, 'ERROR', 42, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (452, NULL, NULL, 'MimeType MUST be text/xml for both epSOS pivot CDA and CDA- wrapped PDF (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraintMimeType', '(not self.mimeType.oclIsUndefined()) and self.mimeType=''text/xml''', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (453, NULL, NULL, 'status is required (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraintStatus_required', 'not self.status.oclIsUndefined()', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (454, NULL, NULL, 'mimetype required (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraintMimeType_required', 'not self.mimeType.oclIsUndefined()', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (455, NULL, NULL, 'name required and MAY be empty (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraintName_required', '(not self.name.oclIsUndefined())', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (456, NULL, NULL, 'VersionInfo required and must be 1 (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_VersionInfo_required', '(not self.versionInfo.oclIsUndefined()) and (not self.versionInfo.versionName.oclIsUndefined()) and self.versionInfo.versionName=''1''', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (459, NULL, NULL, 'sourcePatientInfo is prohibited (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_sourcePatientInfo_prohibited', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''sourcePatientInfo'')->size()=0', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (422, NULL, NULL, 'homeCommunityId shall be present if the responder is an Initiating Imaging Gateway (IHE RAD Suppl XCA-I, 4.69.5)', NULL, NULL, 'constraint_homeCommunityId', '(not self.homeCommunityId.oclIsUndefined()) and (self.homeCommunityId <> '''')', NULL, 'ERROR', 66, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (427, NULL, NULL, 'status required (WP34_D342_V2.2 3.6.2.5)', NULL, NULL, 'constraint_status_required', 'not self.status.oclIsUndefined()', NULL, 'ERROR', 69, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (428, NULL, NULL, 'status of registryResponse can be success, failure or partialSuccess (WP34_D342_V2.2 3.6.2.5)', NULL, NULL, 'constraint_status_values', 'self.status.oclIsUndefined() or 
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or 
self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess''', NULL, 'ERROR', 69, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (429, NULL, NULL, 'if failure, the response must have registryErrorList (WP34_D342_V2.2 3.6.2.5)', NULL, NULL, 'constraint_failure', '(not self.status.oclIsUndefined()) and 
(
	self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
	(
		(not self.registryErrorList.oclIsUndefined()) and 
		(self.registryErrorList.registryError->size()>0)
	)
)', NULL, 'ERROR', 69, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (430, NULL, NULL, 'severity is required and must be urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error (WP34_D342_V2.2 3.6.2.5)', NULL, NULL, 'constraint_severity', '(not self.severity.oclIsUndefined()) and self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error''', NULL, 'ERROR', 70, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (457, NULL, NULL, 'creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_creationTime_DTM', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''creationTime'')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or 
	(sl.valueList.value->isEmpty()) or 
	( 
		(sl.valueList.value->size()=1) and 
		(sl.isDTM(sl.valueList.value->first())) 
	)    
)', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (458, NULL, NULL, 'sourcePatientId required and unique (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_sourcePatientId_required', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''sourcePatientId'')->size()=1', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (461, NULL, NULL, 'eventCodeList prohibited (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_eventCodeList_prohibited', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4'')->size()=0', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (431, NULL, NULL, 'accepted errorCodes are those of IHE and 4105, 4703, 4109 (WP34_D342_V2.2 3.6.2.5)', NULL, NULL, 'constraint_accepted_errorCodes', '(not self.errorCode.oclIsUndefined()) and 
(not self.codeContext.oclIsUndefined()) and
(
	(self.errorCode=''4105'' and self.codeContext=''No match'') or
	(self.errorCode=''4703'' and self.codeContext=''Insufficient rights'') or
	(self.errorCode=''4109'' and self.codeContext=''Deprecation rejected'') or
	(self.errorCode=''XDSMissingDocument'') or
	(self.errorCode=''XDSMissingDocumentMetadata'') or
	(self.errorCode=''XDSRegistryNotAvailable'') or
	(self.errorCode=''XDSRegistryError'') or
	(self.errorCode=''XDSRepositoryError'') or
	(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
	(self.errorCode=''XDSNonIdenticalHash'') or
	(self.errorCode=''XDSRegistryBusy'') or
	(self.errorCode=''XDSRepositoryBusy'') or
	(self.errorCode=''XDSRegistryOutOfResources'') or
	(self.errorCode=''XDSRepositoryOutOfResources'') or
	(self.errorCode=''XDSRegistryMetadataError'') or
	(self.errorCode=''XDSRepositoryMetadataError'') or
	(self.errorCode=''XDSTooManyResults'') or
	(self.errorCode=''XDSExtraMetadataNotSaved'') or
	(self.errorCode=''XDSUnknownPatientId'') or
	(self.errorCode=''XDSPatientIdDoesNotMatch'') or
	(self.errorCode=''XDSUnknownStoredQuery'') or
	(self.errorCode=''XDSStoredQueryMissingParam'') or
	(self.errorCode=''XDSStoredQueryParamNumber'') or
	(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
	(self.errorCode=''XDSUnknownRepositoryId'') or
	(self.errorCode=''XDSDocumentUniqueIdError'') or
	(self.errorCode=''XDSResultNotSinglePatient'') or
	(self.errorCode=''PartialFolderContentNotProcessed'') or
	(self.errorCode=''PartialReplaceContentNotProcessed'') or
	(self.errorCode=''XDSUnknownCommunity'') or
	(self.errorCode=''XDSMissingHomeCommunityId'') or
	(self.errorCode=''XDSUnavailableCommunity'') 
)', NULL, 'ERROR', 70, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (432, NULL, NULL, 'A failure location MUST NOT be given (WP34_D342_V2.2 3.6.2.5)', NULL, NULL, 'constraint_failure_location', 'self.location.oclIsUndefined()', NULL, 'ERROR', 70, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (433, NULL, NULL, 'allowed error codes on Provide and Registrer transaction are XDSMissingDocument, XDSMissingDocumentMetadata, XDSRegistryNotAvailable, XDSRegistryError, XDSRepositoryError, XDSRegistryDuplicateUniqueIdInMessage, XDSRepositoryDuplicateUniqueIdInMessage, XDSDuplicateUniqueIdInRegistry, XDSRegistryBusy, XDSRepositoryBusy, XDSRegistryOutOfResources, XDSRepositoryOutOfResources, XDSRegistryMetadataError, XDSRepositoryMetadataError, XDSExtraMetadataNotSaved, XDSUnknownPatientId, XDSPatientIdDoesNotMatch, XDSRegistryDeprecatedDocumentError, PartialFolderContentNotProcessed, PartialReplaceContentNotProcessed (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11)', NULL, NULL, 'constraintRegistryError_codes_Pnr', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSMissingDocument'') or
(self.errorCode=''XDSMissingDocumentMetadata'') or
(self.errorCode=''XDSRegistryNotAvailable'') or
(self.errorCode=''XDSRegistryError'') or
(self.errorCode=''XDSRepositoryError'') or
(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
(self.errorCode=''XDSRegistryBusy'') or
(self.errorCode=''XDSRepositoryBusy'') or
(self.errorCode=''XDSRegistryOutOfResources'') or
(self.errorCode=''XDSRepositoryOutOfResources'') or
(self.errorCode=''XDSRegistryMetadataError'') or
(self.errorCode=''XDSRepositoryMetadataError'') or 
(self.errorCode=''XDSExtraMetadataNotSaved'') or
(self.errorCode=''XDSUnknownPatientId'') or
(self.errorCode=''XDSPatientIdDoesNotMatch'') or
(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
(self.errorCode=''PartialFolderContentNotProcessed'') or
(self.errorCode=''PartialReplaceContentNotProcessed'')
)
', NULL, 'ERROR', 71, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (434, NULL, NULL, 'accepted status on Registry Response are Failure or Success for Provide and register transaction (TF_Rev8.0_Vol3_FT Table 4.1-12)', NULL, NULL, 'constraintRegistryResponseStatus_PnR', '(not self.status.oclIsUndefined()) and (
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''
)', NULL, 'ERROR', 72, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (435, NULL, NULL, 'returnComposedObjects must have the value true (WP34_D342_V2.2)', NULL, NULL, 'constraint_returnComposedObjects_true', '(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnComposedObjects.oclIsUndefined()) and self.responseOption.returnComposedObjects=true', NULL, 'ERROR', 73, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (436, NULL, NULL, 'returnType MUST be “LeafClassWithRepositoryItem” (XCF) (WP34_D342_V2.2)', NULL, NULL, 'constraint_returnType', '(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and self.responseOption.returnType=ReturnTypeType::LEAFCLASSWITHREPOSITORYITEM', NULL, 'ERROR', 73, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (437, NULL, NULL, 'adhocQuery must be not null (WP34_D342_V2.2)', NULL, NULL, 'constraint_adhocQuery_notNull', 'not self.adhocQuery.oclIsUndefined()', NULL, 'ERROR', 73, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (438, NULL, NULL, 'MUST be urn:uuid:f2072993-9478-41df-a603-8f016706efe8 which indicates a Fetch (which is an adaption of the findDocuments Query as defined in ITI TF-2a:3.18.1', NULL, NULL, 'constraint_adhocId', '(not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and self.adhocQuery.id=''urn:uuid:f2072993-9478-41df-a603-8f016706efe8''', NULL, 'ERROR', 73, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (439, NULL, NULL, '$XDSDocumentEntryPatientId is required onOrderService:list (WP34_D342_V2.2)', NULL, NULL, 'constraint_XDSDocumentEntryPatientId_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'')->size()=1', NULL, 'ERROR', 74, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (440, NULL, NULL, '$XDSDocumentEntryStatus is required on OrderService:list (WP34_D342_V2.2)', NULL, NULL, 'constraint_XDSDocumentEntryStatus_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'')->size()=1', NULL, 'ERROR', 74, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (441, NULL, NULL, '$XDSDocumentEntryClassCode is required on OrderService:list (WP34_D342_V2.2)', NULL, NULL, 'constraint_XDSDocumentEntryClassCode_required', '(not self.slot->isEmpty()) and self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'')->size()=1', NULL, 'ERROR', 74, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (442, NULL, NULL, '$XDSDocumentEntryStatus must have the value ''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''  (WP34_D342_V2.2 3.4.1.1)', NULL, NULL, 'constraint_XDSDocumentEntryStatus_value', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),''[\\(\u0027]*urn:oasis:names:tc:ebxml-regrep:StatusType:Approved[\u0027\\)]*'') )', NULL, 'ERROR', 74, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (443, NULL, NULL, '$XDSDocumentEntryClassCode must have the value ''57833-6^^2.16.840.1.113883.6.1''  (WP34_D342_V2.2 3.41.1)', NULL, NULL, 'constraint_XDSDocumentEntryClassCode_value', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryClassCode'')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),''[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*'') )', NULL, 'ERROR', 74, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (444, NULL, NULL, '$XDSDocumentEntryTypeCode must have the value (WP34_D342_V2.2 3.4.1.1)', NULL, NULL, 'constraint_XDSDocumentEntryTypeCode_value', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryTypeCode'')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and sl.valueList.value->size()=1 and sl.matches(sl.valueList.value->first(),''[\\(\u0027]*57833-6\\^\\^2.16.840.1.113883.6.1[\u0027\\)]*'') )', NULL, 'ERROR', 74, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (463, NULL, NULL, 'confidentialityCode required (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_confidentialityCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'')->size()=1', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (464, NULL, NULL, 'confidentialityCode SHOULD be set to N  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_confidentialityCode_value', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation=''N'' 
)', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (465, NULL, NULL, 'formatCode required and MUST be urn:epSOS:ep:pre:2010 for epSOS pivot CDA and urn:ihe:iti:xds-sd:pdf:2008 for epSOS source coded PDF  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_formatCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'')->size()=1 and
self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'')->forAll(cl : ClassificationType | (not cl.nodeRepresentation.oclIsUndefined()) and 
	(cl.nodeRepresentation=''urn:epSOS:ep:pre:2010'' or cl.nodeRepresentation=''urn:ihe:iti:xds-sd:pdf:2008'')
)', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (466, NULL, NULL, 'healthcareFacilityTypeCode required  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_healthcareFacilityTypeCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'')->size()=1', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (467, NULL, NULL, 'practiceSettingCode required (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_practiceSettingCode_required', 'self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'')->size()=1 and 
self.classification->select(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'')->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and cl.nodeRepresentation=''Not Used'' 
)', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (468, NULL, NULL, 'XDSDocumentEntry.uniqueId required  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_XDSDocumentEntryUniqueId_required', 'self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'')->size()=1', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (469, NULL, NULL, 'XDSDocumentEntry.PatientId required  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_patientId_required', 'self.externalIdentifier->select(ext : ExternalIdentifierType | (not ext.identificationScheme.oclIsUndefined()) and ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'')->size()=1', NULL, 'ERROR', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (470, NULL, NULL, 'allowed slot are creationTime, hash, languageCode, repositoryUniqueId, serviceStartTime, serviceEndTime, size, sourcePatientId  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_allowed_slot', 'self.slot->forAll(sl : SlotType1 | sl.name.oclIsUndefined() or sl.name=''creationTime'' or sl.name=''hash'' or sl.name=''languageCode'' or sl.name=''repositoryUniqueId'' or sl.name=''serviceStartTime'' or sl.name=''serviceEndTime'' or sl.name=''size'' or sl.name=''sourcePatientId'' )', NULL, 'WARNING', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (471, NULL, NULL, 'allowed classification are classCode, confidentialityCode, formatCode, healthcareFacilityTypeCode, practiceSettingCode  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_allowed_classification', 'self.classification->forAll(cl : ClassificationType | cl.classificationScheme.oclIsUndefined() or 
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'' or 
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'' or 
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'' or 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'' or 
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead''
)
', NULL, 'WARNING', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (472, NULL, NULL, 'external identifier allowed are XDSDocumentEntry.uniqueId,XDSDocumentEntry.PatientId  (WP34_D342_V2.2 3.4.1.4)', NULL, NULL, 'constraint_allowed_externalIdentifier', 'self.externalIdentifier->forAll(ext : ExternalIdentifierType | ext.identificationScheme.oclIsUndefined() or
	ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'' or 
	ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427''
)', NULL, 'WARNING', 78, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (473, NULL, NULL, 'For the full success scenario the response status MUST be set to urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success or urn:ihe:iti:2007:ResponseStatusType:PartialSuccess (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraintStatus', '(
	(not self.status.oclIsUndefined()) 
	and 
	(self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'')
)
or 
self.registryObjectList.oclIsUndefined() or 
self.registryObjectList.ExtrinsicObject->size()=0', NULL, 'ERROR', 79, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (474, NULL, NULL, 'It MUST at least contain one child <rim:ExtrinsicObject/> element if status is success. (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_RegistryObjectList', '(self.registryObjectList.oclIsUndefined() or (not self.registryObjectList.ExtrinsicObject->isEmpty())) or 
self.status.oclIsUndefined() or 
self.status<>''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success''', NULL, 'ERROR', 79, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (497, NULL, NULL, 'allowed code for registryErrorList/registryError/@errorCode attribute are specified in Table 4.1-11 of [IHE ITI TF-3], and in the section 2.2.2, epSOS XCA binding (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.2)', NULL, NULL, 'constraint_epsos2_response4', 'self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->forAll(re : RegistryErrorType |
	(not re.errorCode.oclIsUndefined()) and 
	( 
		(re.errorCode=''XDSMissingDocument'') or
		(re.errorCode=''XDSMissingDocumentMetadata'') or
		(re.errorCode=''XDSRegistryNotAvailable'') or
		(re.errorCode=''XDSRegistryError'') or
		(re.errorCode=''XDSRepositoryError'') or
		(re.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
		(re.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
		(re.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
		(re.errorCode=''XDSNonIdenticalHash'') or
		(re.errorCode=''XDSRegistryBusy'') or
		(re.errorCode=''XDSRepositoryBusy'') or
		(re.errorCode=''XDSRegistryOutOfResources'') or
		(re.errorCode=''XDSRepositoryOutOfResources'') or
		(re.errorCode=''XDSRegistryMetadataError'') or
		(re.errorCode=''XDSRepositoryMetadataError'') or
		(re.errorCode=''XDSTooManyResults'') or
		(re.errorCode=''XDSExtraMetadataNotSaved'') or
		(re.errorCode=''XDSUnknownPatientId'') or
		(re.errorCode=''XDSPatientIdDoesNotMatch'') or
		(re.errorCode=''XDSUnknownStoredQuery'') or
		(re.errorCode=''XDSStoredQueryMissingParam'') or
		(re.errorCode=''XDSStoredQueryParamNumber'') or
		(re.errorCode=''XDSRegistryDeprecatedDocumentError'') or
		(re.errorCode=''XDSUnknownRepositoryId'') or
		(re.errorCode=''XDSDocumentUniqueIdError'') or
		(re.errorCode=''XDSResultNotSinglePatient'') or
		(re.errorCode=''PartialFolderContentNotProcessed'') or
		(re.errorCode=''PartialReplaceContentNotProcessed'') or
		(re.errorCode=''XDSUnknownCommunity'') or
		(re.errorCode=''XDSMissingHomeCommunityId'') or
		(re.errorCode=''XDSUnavailableCommunity'') or 
		(re.errorCode=''4701'') or 
		(re.errorCode=''4702'') or 
		(re.errorCode=''4703'') or 
		(re.errorCode=''1102'') or 
		(re.errorCode=''4201'') or 
		(re.errorCode=''4202'') or 
		(re.errorCode=''4203'') or 
		(re.errorCode=''4204'') or 
		(re.errorCode=''4205'') or 
		(re.errorCode=''4206'')
	)
)', NULL, 'ERROR', 87, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (475, NULL, NULL, 'If document relationships are defined, an ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document  (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_association_XFRM', 'self.registryObjectList.oclIsUndefined() or
self.registryObjectList.Association->isEmpty() or 
self.registryObjectList.Association->select(ass : AssociationType1 | (not ass.associationType.oclIsUndefined()) and (ass.associationType=''urn:ihe:iti:2007:AssociationType:XFRM''))->forAll( ass : AssociationType1 | 
	(not ass.sourceObject.oclIsUndefined()) and 
	(not ass.targetObject.oclIsUndefined()) and 
	(ass.classification->size()<2) and 
	ass.classification->forAll(cl : ClassificationType | (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3'' and 
		( cl.nodeRepresentation.oclIsUndefined() or (cl.nodeRepresentation=''epSOS pivot'')) and 
		cl.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''codingScheme'')->forAll(sl : SlotType1 | (not sl.valueList.oclIsUndefined()) and (sl.valueList.value->size()=1) and sl.valueList.value->first()=''epSOS translation types'' )
	)
)', NULL, 'ERROR', 79, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (476, NULL, NULL, 'additional epsos errorCode are 4101, 4102, 2102, 2104, 2105, 4701, 4702, 4703, 1101, 4203, 4103, 4104, 4202 (WP34_D342_V2.2 3.3.1.4)', NULL, NULL, 'constraint_Additional_errors', '(not self.errorCode.oclIsUndefined()) and 
(not self.codeContext.oclIsUndefined()) and
(
	(self.errorCode=''4101'' and self.codeContext=''Rendering incomplete'') or
	(self.errorCode=''4102'' and self.codeContext=''Collection incomplete'') or
	(self.errorCode=''2102'' and self.codeContext=''Source coded document must be considered'') or
	(self.errorCode=''2104'' and self.codeContext=''Dependencies not checked'') or
	(self.errorCode=''2105'' and self.codeContext=''No reimbursement'') or
	(self.errorCode=''4701'' and self.codeContext=''No Consent'') or
	(self.errorCode=''4702'' and self.codeContext=''Weak Authentication'') or
	(self.errorCode=''4703'' and self.codeContext=''Insufficient Rights'') or
	(self.errorCode=''1101'' and self.codeContext=''No Data'') or
	(self.errorCode=''4203'' and self.codeContext=''Transcoding Error'') or 
	(self.errorCode=''4103'' and self.codeContext=''Registry Failure'') or 
	(self.errorCode=''4104'' and self.codeContext=''Data Access Failure'') or 
	(self.errorCode=''4202'' and self.codeContext=''Unknown Filter'') or 
	(self.errorCode=''XDSMissingDocument'') or
	(self.errorCode=''XDSMissingDocumentMetadata'') or
	(self.errorCode=''XDSRegistryNotAvailable'') or
	(self.errorCode=''XDSRegistryError'') or
	(self.errorCode=''XDSRepositoryError'') or
	(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
	(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
	(self.errorCode=''XDSNonIdenticalHash'') or
	(self.errorCode=''XDSRegistryBusy'') or
	(self.errorCode=''XDSRepositoryBusy'') or
	(self.errorCode=''XDSRegistryOutOfResources'') or
	(self.errorCode=''XDSRepositoryOutOfResources'') or
	(self.errorCode=''XDSRegistryMetadataError'') or
	(self.errorCode=''XDSRepositoryMetadataError'') or
	(self.errorCode=''XDSTooManyResults'') or
	(self.errorCode=''XDSExtraMetadataNotSaved'') or
	(self.errorCode=''XDSUnknownPatientId'') or
	(self.errorCode=''XDSPatientIdDoesNotMatch'') or
	(self.errorCode=''XDSUnknownStoredQuery'') or
	(self.errorCode=''XDSStoredQueryMissingParam'') or
	(self.errorCode=''XDSStoredQueryParamNumber'') or
	(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
	(self.errorCode=''XDSUnknownRepositoryId'') or
	(self.errorCode=''XDSDocumentUniqueIdError'') or
	(self.errorCode=''XDSResultNotSinglePatient'') or
	(self.errorCode=''PartialFolderContentNotProcessed'') or
	(self.errorCode=''PartialReplaceContentNotProcessed'') or
	(self.errorCode=''XDSUnknownCommunity'') or
	(self.errorCode=''XDSMissingHomeCommunityId'') or
	(self.errorCode=''XDSUnavailableCommunity'') 
)', NULL, 'ERROR', 80, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (491, NULL, NULL, 'An ebRIM association MUST be used for declaring the epSOS pivot coded document as a transformation of the source coded document, for ePrescription document (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_assoc1', 'self.Association->exists(asso : AssociationType1 | 
	(not asso.associationType.oclIsUndefined()) and 
	asso.associationType=''urn:ihe:iti:2007:AssociationType:XFRM'' and 
	(
		asso.classification->size()=0 or 
		asso.classification->forAll(cl : ClassificationType |
			(not cl.classificationScheme.oclIsUndefined()) and 
			cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
		)
	)
)', NULL, 'WARNING', 86, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (492, NULL, NULL, 'The ebRIM association used for declaring the epSOS pivot coded document as a transformation of the source coded document, shall have a sourceObject and targetObject (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_assoc2', 'self.Association->select(asso : AssociationType1 | 
	(not asso.associationType.oclIsUndefined()) and 
	asso.associationType=''urn:ihe:iti:2007:AssociationType:XFRM'' and 
	(
		asso.classification->size()=0 or 
		asso.classification->forAll(cl : ClassificationType |
			(not cl.classificationScheme.oclIsUndefined()) and 
			cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
		)
	)
)->size()=0
or
self.Association->select(asso : AssociationType1 | 
	(not asso.associationType.oclIsUndefined()) and 
	asso.associationType=''urn:ihe:iti:2007:AssociationType:XFRM'' and 
	(
		asso.classification->size()=0 or 
		asso.classification->forAll(cl : ClassificationType |
			(not cl.classificationScheme.oclIsUndefined()) and 
			cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
		)
	)
)->exists(asso : AssociationType1 |
	(not asso.sourceObject.oclIsUndefined()) and 
	(not asso.targetObject.oclIsUndefined())
) ', NULL, 'ERROR', 86, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (493, NULL, NULL, 'The classification in the ebRIM association used for declaring the epSOS pivot coded document as a transformation of the source coded document, shall have nodeRepresentation=''epSOS pivot'' if it is present (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_assoc3', 'self.Association->select(asso : AssociationType1 | 
	(not asso.associationType.oclIsUndefined()) and 
	asso.associationType=''urn:ihe:iti:2007:AssociationType:XFRM'' and 
	(
		asso.classification->size()=0 or 
		asso.classification->forAll(cl : ClassificationType |
			(not cl.classificationScheme.oclIsUndefined()) and 
			cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
		)
	)
)->forAll(asso : AssociationType1 |
	asso.classification->select(cl : ClassificationType |
		(not cl.classificationScheme.oclIsUndefined()) and 
		cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
	)->forAll(cl : ClassificationType |
		cl.nodeRepresentation.oclIsUndefined() or 
		cl.nodeRepresentation=''epSOS pivot''
	)
)', NULL, 'ERROR', 86, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (494, NULL, NULL, 'The classification in the ebRIM association used for declaring the epSOS pivot coded document as a transformation of the source coded document, shall have slot/ValueList/Value=''epSOS translation types'' if it is present (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.1)', NULL, NULL, 'constraint_epsos2_assoc4', 'self.Association->select(asso : AssociationType1 | 
	(not asso.associationType.oclIsUndefined()) and 
	asso.associationType=''urn:ihe:iti:2007:AssociationType:XFRM'' and 
	(
		asso.classification->size()=0 or 
		asso.classification->forAll(cl : ClassificationType |
			(not cl.classificationScheme.oclIsUndefined()) and 
			cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
		)
	)
)->forAll(asso : AssociationType1 |
	asso.classification->select(cl : ClassificationType |
		(not cl.classificationScheme.oclIsUndefined()) and 
		cl.classificationScheme=''urn:uuid:abd807a3-4432-4053-87b4-fd82c643d1f3''
	)->forAll(cl : ClassificationType |
		cl.slot->select(sl : SlotType1 |
			(not sl.name.oclIsUndefined()) and 
			sl.name=''codingScheme''
		)->forAll(sl : SlotType1 |
			sl.valueList.oclIsUndefined() or 
			(sl.valueList.value->size()=1 and sl.valueList.value->at(1)=''epSOS translation types'')
		)
	)
)', NULL, 'ERROR', 86, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (495, NULL, NULL, 'If at least one document was processed successfully, the response status MUST be set to ''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' if there are errors returned by the responding gateway (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.2)', NULL, NULL, 'constraint_epsos2_response2', 'self.status.oclIsUndefined() or 
self.status<>''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' or 
(
	(not self.registryErrorList.oclIsUndefined()) and 
	self.registryErrorList.registryError->size()>0
)', NULL, 'ERROR', 87, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (496, NULL, NULL, 'The severity of each registry error message MUST be set to ''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error'' (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.2)', NULL, NULL, 'constraint_epsos2_response3', 'self.registryErrorList.registryError->select(re : RegistryErrorType | 
	(not re.errorCode.oclIsUndefined()) and 
	(
		re.errorCode=''4701'' or 
		re.errorCode=''4702'' or 
		re.errorCode=''4703'' or 
		re.errorCode=''4202'' or 
		re.errorCode=''4203'' or 
		re.errorCode=''4204'' or 
		re.errorCode=''4205'' or 
		re.errorCode=''4206''
	)
)->forAll(re : RegistryErrorType | 
	(not re.severity.oclIsUndefined()) and 
	re.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error''
)', NULL, 'ERROR', 87, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (501, NULL, NULL, '$XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_patientId3', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (498, NULL, NULL, 'These error codes, when specified, the queryResponse shall have a status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' : 4701, 4702, 4703, 4202, 4203, 4204, 4205, 4206 (WP3A_epSOS_EED_IHE_XCA_Binding, 2.2.2)', NULL, NULL, 'constraint_epsos2_response5', 'self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->select(re : RegistryErrorType | 
	(not re.errorCode.oclIsUndefined()) and 
	(
		re.errorCode=''4701'' or 
		re.errorCode=''4702'' or 
		re.errorCode=''4703'' or 
		re.errorCode=''4202'' or 
		re.errorCode=''4203'' or 
		re.errorCode=''4204'' or 
		re.errorCode=''4205'' or 
		re.errorCode=''4206''
	)
)->size()=0 or 
(
	(not self.status.oclIsUndefined()) and 
	self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure''
)', NULL, 'ERROR', 87, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (505, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_creationFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (480, NULL, NULL, 'Other metadata than the ones listed SHOULD NOT be provided by the service provider : creationTime, languageCode, sourcePatientID, healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, typeCode, XDSDocumentClassCode, XDSDocumentFormatCode, XDSDocumentEntry.PatientId, XDSDocument.UniqueId (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_others', 'self.slot->forAll(sl : SlotType1 |
	sl.name.oclIsUndefined() or 
	sl.name=''creationTime'' or 
	sl.name=''languageCode'' or 
	sl.name=''sourcePatientId''
)
and 
self.classification->forAll(cl : ClassificationType |
	cl.classificationScheme.oclIsUndefined() or 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'' or -- healthcareFacilityTypeCode
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'' or -- practiceSettingCode
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'' or -- confidentialityCode
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'' or -- XDSDocumentClassCode
	cl.classificationScheme=''urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'' or -- XDSDocument.typeCode
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'' -- XDSDocumentFormatCode
)
and 
self.externalIdentifier->forAll(ext : ExternalIdentifierType |
	ext.identificationScheme.oclIsUndefined() or 
	ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' or -- XDSDocumentEntry.PatientId
	ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'' -- XDSDocument.UniqueId
)', NULL, 'WARNING', 81, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (481, NULL, NULL, 'status MUST be ''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_status', '(not self.status.oclIsUndefined()) and self.status=''urn:oasis:names:tc:ebxml-regrep:StatusType:Approved''', NULL, 'ERROR', 82, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (482, NULL, NULL, 'practiceSettingCode is required and SHALL have nodeRepresentation=''Not Used'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_practiceSettingCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead''
)->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''Not Used''
)', NULL, 'ERROR', 82, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (483, NULL, NULL, 'confidentialityCode MUST be provided for XDR compatibility.Value SHOULD be set to ''N'' (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_confidentialityCode', 'self.classification->select(cl : ClassificationType| 
	(not cl.classificationScheme.oclIsUndefined()) and 
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f''
)->forAll(cl : ClassificationType | 
	(not cl.nodeRepresentation.oclIsUndefined()) and 
	cl.nodeRepresentation=''N''
)', NULL, 'WARNING', 82, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (484, NULL, NULL, 'Other metadata than the ones listed SHOULD NOT be provided by the service provider : creationTime, languageCode, sourcePatientID, healthcareFacilityTypeCode, practiceSettingCode, confidentialityCode, XDSDocumentClassCode, XDSDocumentFormatCode, XDSDocumentEntry.PatientId, XDSDocument.UniqueId (WP3A_epSOS_EED_IHE_XDR_Binding, 2.1)', NULL, NULL, 'constraint_epsos2_others', 'self.slot->forAll(sl : SlotType1 |
	sl.name.oclIsUndefined() or 
	sl.name=''creationTime'' or 
	sl.name=''languageCode'' or 
	sl.name=''sourcePatientId''
)
and 
self.classification->forAll(cl : ClassificationType |
	cl.classificationScheme.oclIsUndefined() or 
	cl.classificationScheme=''urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1'' or -- healthcareFacilityTypeCode
	cl.classificationScheme=''urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead'' or -- practiceSettingCode
	cl.classificationScheme=''urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f'' or -- confidentialityCode
	cl.classificationScheme=''urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a'' or -- XDSDocumentClassCode
	cl.classificationScheme=''urn:uuid:f0306f51-975f-434e-a61c-c59651d33983'' or -- XDSDocument.typeCode
	cl.classificationScheme=''urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d'' -- XDSDocumentFormatCode
)
and 
self.externalIdentifier->forAll(ext : ExternalIdentifierType |
	ext.identificationScheme.oclIsUndefined() or 
	ext.identificationScheme=''urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427'' or -- XDSDocumentEntry.PatientId
	ext.identificationScheme=''urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab'' -- XDSDocument.UniqueId
)', NULL, 'WARNING', 82, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (485, NULL, NULL, 'homeCommunityId shall be present (IHE RAD Suppl XCA-I, 4.75.1)', NULL, NULL, 'constraint_homeCommunityId', '(not self.homeCommunityId.oclIsUndefined()) and (self.homeCommunityId <> '''')', NULL, 'ERROR', 83, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (486, NULL, NULL, 'The respons SHALL contains only association whose target and source objects are contained in the response (IHE ITI TF, XCF, 3.63.4.2.2)', NULL, NULL, 'constraint_associations', 'self.Association->forAll(ass : AssociationType1 | 
	(
		ass.sourceObject.oclIsUndefined() or 
		self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.sourceObject) or 
		self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.sourceObject)
	) and 
	(
		ass.targetObject.oclIsUndefined() or 
		self.ExtrinsicObject->exists(ext : ExtrinsicObjectType | (not ext.id.oclIsUndefined()) and ext.id=ass.targetObject) or 
		self.Association->forAll(ass2 : AssociationType1 | (not ass2.id.oclIsUndefined()) and ass2.id=ass.targetObject)
	)
	
)', NULL, 'ERROR', 84, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (487, NULL, NULL, 'XGF SHALL only return relationships between documents, any potential hasMember associations SHALL never be returned (IHE ITI TF, XCF, 3.63.4.2.2)', NULL, NULL, 'constraint_associations2', 'self.Association->select(ass : AssociationType1 | 
	(not ass.associationType.oclIsUndefined()) and 
	(
		ass.associationType=''urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember'' or 
		ass.associationType=''HasMember''
	)
)->size()=0', NULL, 'ERROR', 84, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (488, NULL, NULL, 'XGF response SHALL contains only documentEntry and associations (IHE ITI TF, XCF, 3.63.4.2.2)', NULL, NULL, 'constraint_documents', '(self.RegistryPackage->size()=0) and (self.Classification->size()=0)', NULL, 'ERROR', 84, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (489, NULL, NULL, 'XGF SHALL containt the document content for each DocumentEntry (IHE ITI TF, XCF, 3.63.4.2.2)', NULL, NULL, 'constraint_docEntry', 'self.ExtrinsicObject->forAll(ext : ExtrinsicObjectType | (not ext.Document.oclIsUndefined()))', NULL, 'ERROR', 84, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (490, NULL, NULL, 'allowed error codes on Cross Gateway Fetch transaction are XDSTooManyResults, XDSUnknownStoredQuery, XDSStoredQueryMissingParam, XDSStoredQueryParamNumber, XDSMissingHomeCommunityId, XDSUnknownPatientId, TranscodingError (IHE -ITI XCF)', NULL, NULL, 'constraintRegistryError_allowedCode_RegistryStoredQuery', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSTooManyResults'') or
(self.errorCode=''XDSUnknownStoredQuery'') or
(self.errorCode=''XDSStoredQueryMissingParam'') or
(self.errorCode=''XDSStoredQueryParamNumber'') or
(self.errorCode=''XDSMissingHomeCommunityId'') or
(self.errorCode=''XDSUnknownPatientId'') or
(self.errorCode=''TranscodingError'')
)
', NULL, 'ERROR', 85, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (499, NULL, NULL, '$XDSDocumentEntryPatientId is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_patientId1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()>0', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (500, NULL, NULL, '$XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_patientId2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (552, NULL, NULL, 'Initiating Gateway shall specify the homeCommunityId attribute in all Cross-Community Queries which do not contain a patient identifier (TF Rev8 Vol2b_FT 3.38.1)', NULL, NULL, 'constraintXGQ_homeCommunityId', '(not self.adhocQuery.oclIsUndefined()) and (not self.adhocQuery.id.oclIsUndefined()) and
(
	((not self.adhocQuery.home.oclIsUndefined()) and (not (self.adhocQuery.home='''')) ) or 
	self.adhocQuery.id=''urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d'' or 
	self.adhocQuery.id=''urn:uuid:f26abbcb-ac74-4422-8a30-edb644bbc1a9'' or 
	self.adhocQuery.id=''urn:uuid:958f3006-baad-4929-a4de-ff1114824431'' or 
	self.adhocQuery.id=''urn:uuid:10b545ea-725c-446d-9b95-8aeb444eddf3''
)', NULL, 'ERROR', 91, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (553, NULL, NULL, 'on registryError, errorCode, codeContext and severity are required (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11)', NULL, NULL, 'constraintRegistryError_required_attributes', '(not self.errorCode.oclIsUndefined()) and (not self.codeContext.oclIsUndefined()) and (not self.severity.oclIsUndefined())', NULL, 'ERROR', 92, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (554, NULL, NULL, 'severity shall have one of two values : urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error, urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11)', NULL, NULL, 'constraintRegistryError_severity_values', '(not self.severity.oclIsUndefined()) and ( 
	(self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning'') or 
	(self.severity=''urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error'')
)', NULL, 'ERROR', 92, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (555, NULL, NULL, 'the body of RegistryError shall be empty(IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11)', NULL, NULL, 'constraintRegistryError_body_empty', 'self.value.oclIsUndefined() or self.value=''''', NULL, 'ERROR', 92, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (556, NULL, NULL, 'allowed code for errorCode attribute are on the table 4.1-11 (IHE_ITI_TF_Rev8-0_Vol3_FT Table 4.1-11)', NULL, NULL, 'constraintRegistryError_errorCode_allowedValue', '(not self.errorCode.oclIsUndefined()) and ( 
(self.errorCode=''XDSMissingDocument'') or
(self.errorCode=''XDSMissingDocumentMetadata'') or
(self.errorCode=''XDSRegistryNotAvailable'') or
(self.errorCode=''XDSRegistryError'') or
(self.errorCode=''XDSRepositoryError'') or
(self.errorCode=''XDSRegistryDuplicateUniqueIdInMessage'') or
(self.errorCode=''XDSRepositoryDuplicateUniqueIdInMessage'') or
(self.errorCode=''XDSDuplicateUniqueIdInRegistry'') or
(self.errorCode=''XDSNonIdenticalHash'') or
(self.errorCode=''XDSRegistryBusy'') or
(self.errorCode=''XDSRepositoryBusy'') or
(self.errorCode=''XDSRegistryOutOfResources'') or
(self.errorCode=''XDSRepositoryOutOfResources'') or
(self.errorCode=''XDSRegistryMetadataError'') or
(self.errorCode=''XDSRepositoryMetadataError'') or
(self.errorCode=''XDSTooManyResults'') or
(self.errorCode=''XDSExtraMetadataNotSaved'') or
(self.errorCode=''XDSUnknownPatientId'') or
(self.errorCode=''XDSPatientIdDoesNotMatch'') or
(self.errorCode=''XDSUnknownStoredQuery'') or
(self.errorCode=''XDSStoredQueryMissingParam'') or
(self.errorCode=''XDSStoredQueryParamNumber'') or
(self.errorCode=''XDSRegistryDeprecatedDocumentError'') or
(self.errorCode=''XDSUnknownRepositoryId'') or
(self.errorCode=''XDSDocumentUniqueIdError'') or
(self.errorCode=''XDSResultNotSinglePatient'') or
(self.errorCode=''PartialFolderContentNotProcessed'') or
(self.errorCode=''PartialReplaceContentNotProcessed'') or
(self.errorCode=''XDSUnknownCommunity'') or
(self.errorCode=''XDSMissingHomeCommunityId'') or
(self.errorCode=''XDSUnavailableCommunity'') or 
(self.errorCode=''TranscodingError'')
)
', NULL, 'ERROR', 92, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (557, NULL, NULL, 'accepted status on Registry Response are Failure, Success or PartialSuccess (TF_Rev8.0_Vol3_FT Table 4.1-12)', NULL, NULL, 'constraintStatus', '(not self.status.oclIsUndefined()) and (
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure'' or
self.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or
self.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' 
)', NULL, 'ERROR', 93, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (558, NULL, NULL, 'The two accepted key errors are UnresolvedReferenceException and ReferencesExistException, on Delete Document Set transaction (IHE ITI Suppl XDS Metadata Update Rev1.2, paragraph 3.62.4.2.2)', NULL, NULL, 'constraint_errors', 'self.registryErrorList.oclIsUndefined() or 
self.registryErrorList.registryError->forAll(re : RegistryErrorType | (not re.errorCode.oclIsUndefined()) and 
	(
		re.errorCode=''ReferencesExistException'' or 
		re.errorCode=''UnresolvedReferenceException''
	)
)', NULL, 'ERROR', 94, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (585, NULL, NULL, 'homeCommunityId is required (ITI TF-2b 3.39.1)', NULL, NULL, 'constraint_homeCommunityId_required', '(not self.homeCommunityId.oclIsUndefined()) and (not (self.homeCommunityId=''''))', NULL, 'ERROR', 102, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (596, NULL, NULL, 'registryResponse required (TF RAD Vol 3, 4.69.5)', NULL, NULL, 'constraint_registryResponse', 'not self.registryResponse.oclIsUndefined()', NULL, 'ERROR', 106, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (597, NULL, NULL, 'if DocumentResponse present, it shall contains repositoryUniqueId (TF RAD Vol 3, 4.69.5)', NULL, NULL, 'constraint_repositoryUniqueId', 'self.documentResponse->forAll(doc : DocumentResponseType | not doc.repositoryUniqueId.oclIsUndefined())', NULL, 'ERROR', 106, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (598, NULL, NULL, 'if DocumentResponse present, it shall contains documentUniqueId (TF RAD Vol 3, 4.69.5)', NULL, NULL, 'constraint_documentUniqueId', 'self.documentResponse->forAll(doc : DocumentResponseType | not doc.documentUniqueId.oclIsUndefined())', NULL, 'ERROR', 106, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (599, NULL, NULL, 'if DocumentResponse present, it shall contains Document element (TF RAD Vol 3, 4.69.5)', NULL, NULL, 'constraint_document', 'self.documentResponse->forAll(doc : DocumentResponseType | not doc.document.oclIsUndefined())', NULL, 'ERROR', 106, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (600, NULL, NULL, 'if DocumentResponse present, it shall contains mimeType element (TF RAD Vol 3, 4.69.5)', NULL, NULL, 'constraint_mimetype', 'self.documentResponse->forAll(doc : DocumentResponseType | not doc.mimeType.oclIsUndefined())', NULL, 'ERROR', 106, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (601, NULL, NULL, 'RegistryResponse@sstatus SHALL be one of urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success, urn:ihe:iti:2007:ResponseStatusType:PartialSuccess, urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure (TF RAD Vol 3, 4.69.5)', NULL, NULL, 'constraint_status', 'self.registryResponse.oclIsUndefined() or 
(
	(not self.registryResponse.status.oclIsUndefined()) and 
	(
		self.registryResponse.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success'' or 
		self.registryResponse.status=''urn:ihe:iti:2007:ResponseStatusType:PartialSuccess'' or 
		self.registryResponse.status=''urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure''
	)
)
', NULL, 'ERROR', 106, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (620, NULL, NULL, 'only a unique optional parameter can be provided on the subscription reference, and shall contains a ihe:subscriptionId element (IHE DSUB SUPP, 4.4.2.1.4.2.1)', NULL, NULL, 'constraint_dsub_optionalParam', 'self.subscriptionReference.oclIsUndefined() or 
self.subscriptionReference.referenceParameters.oclIsUndefined() or 
self.subscriptionReference.referenceParameters._any->size()=0
or 
(
	self.subscriptionReference.referenceParameters._any->size()=1 and 
	(not self.subscriptionReference.referenceParameters.subscriptionId.oclIsUndefined()) and 
	self.subscriptionReference.referenceParameters.isUUID(self.subscriptionReference.referenceParameters.subscriptionId.value)
)
	', NULL, 'ERROR', 112, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (503, NULL, NULL, '$XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_uniqueId', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryUniqueId'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (504, NULL, NULL, '$XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_practiceSettingCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPracticeSettingCode'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (506, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_creationFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (507, NULL, NULL, '$XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_creationTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (508, NULL, NULL, '$XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_creationTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (509, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_startFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (510, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_starTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (511, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_stopFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (512, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_stopTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (513, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_startFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (514, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_startTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (515, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_stopFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (516, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_stopTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (517, NULL, NULL, '$XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_facility', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (518, NULL, NULL, '$XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_eventCodeList', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEventCodeList'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (519, NULL, NULL, '$XDSDocumentEntryConfidentialityCode does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_confidentialityCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryConfidentialityCode'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (520, NULL, NULL, '$XDSDocumentEntryAuthorPerson does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_author', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryAuthorPerson'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (521, NULL, NULL, '$XDSDocumentEntryStatus does not support AND/OR on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_status1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()<2', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (522, NULL, NULL, '$XDSDocumentEntryStatus is required on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_status2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryStatus'' )->size()>0', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (523, NULL, NULL, 'Either $XDSDocumentEntryEntryUUID or $XDSDocumentEntryUniqueId SHALL be specified on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_uuid_uniqueId', 'self.slot->select(sl : SlotType1 | 
	(not sl.name.oclIsUndefined())  and 
	(
		sl.name=''$XDSDocumentEntryEntryUUID'' or 
		sl.name=''$XDSDocumentEntryUniqueId''
	)
)->size()=1', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (542, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_stopTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (543, NULL, NULL, '$XDSDocumentEntryHealthcareFacilityTypeCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_facility', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (544, NULL, NULL, '$XDSDocumentEntryEventCodeList does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_eventCodeList', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEventCodeList'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (524, NULL, NULL, 'Allowed metadatas are $XDSDocumentEntryPatientId, $XDSDocumentEntryEntryUUID, $XDSDocumentEntryUniqueId, $XDSDocumentEntryPracticeSettingCode, $XDSDocumentEntryCreationTimeFrom, $XDSDocumentEntryCreationTimeTo, $XDSDocumentEntryServiceStartTimeFrom, $XDSDocumentEntryServiceStartTimeTo, $XDSDocumentEntryServiceStopTimeFrom, $XDSDocumentEntryServiceStopTimeTo, $XDSDocumentEntryHealthcareFacilityTypeCode, $XDSDocumentEntryEventCodeList, $XDSDocumentEntryConfidentialityCode, $XDSDocumentEntryAuthorPerson, $XDSDocumentEntryStatus on FindPrescriptionsForValidation messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.1)', NULL, NULL, 'constraint_allowedSlot', 'self.slot->forAll(sl : SlotType1 | 
	(not sl.name.oclIsUndefined()) and 
	(
		sl.name=''$XDSDocumentEntryUniqueId'' or 
		sl.name=''$XDSDocumentEntryPracticeSettingCode'' or 
		sl.name=''$XDSDocumentEntryCreationTimeFrom'' or 
		sl.name=''$XDSDocumentEntryCreationTimeTo'' or 
		sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' or 
		sl.name=''$XDSDocumentEntryServiceStartTimeTo'' or 
		sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' or 
		sl.name=''$XDSDocumentEntryServiceStopTimeTo'' or 
		sl.name=''$XDSDocumentEntryHealthcareFacilityTypeCode'' or 
		sl.name=''$XDSDocumentEntryEventCodeList'' or 
		sl.name=''$XDSDocumentEntryConfidentialityCode'' or 
		sl.name=''$XDSDocumentEntryAuthorPerson'' or 
		sl.name=''$XDSDocumentEntryStatus'' or 
		sl.name=''$XDSDocumentEntryPatientId'' or 
		sl.name=''$XDSDocumentEntryEntryUUID''
	)
)', NULL, 'ERROR', 88, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (525, NULL, NULL, '$XDSDocumentEntryPatientId is required on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_patientId1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()>0', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (526, NULL, NULL, '$XDSDocumentEntryPatientId is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_patientId2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (527, NULL, NULL, '$XDSDocumentEntryPatientId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_patientId3', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPatientId'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (528, NULL, NULL, '$XDSDocumentEntryEntryUUID does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_uuid', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryEntryUUID'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (529, NULL, NULL, '$XDSDocumentEntryUniqueId does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_uniqueId', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryUniqueId'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (530, NULL, NULL, '$XDSDocumentEntryPracticeSettingCode does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_practiceSettingCode', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryPracticeSettingCode'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (531, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_creationFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (532, NULL, NULL, '$XDSDocumentEntryCreationTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_creationFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeFrom'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (533, NULL, NULL, '$XDSDocumentEntryCreationTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_creationTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (534, NULL, NULL, '$XDSDocumentEntryCreationTimeTo does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_creationTo2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryCreationTimeTo'' )->size()<2', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (535, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_startFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (536, NULL, NULL, '$XDSDocumentEntryServiceStartTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_starTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (537, NULL, NULL, '$XDSDocumentEntryServiceStopTimeFrom is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_stopFrom1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeFrom'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (538, NULL, NULL, '$XDSDocumentEntryServiceStopTimeTo is not multivalued on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_stopTo1', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStopTimeTo'' )->forAll(sl : SlotType1 | (sl.valueList.oclIsUndefined()) or (sl.valueList.value->size()<2))', NULL, 'ERROR', 89, NULL);
INSERT INTO mbv_constraint (id, author, datecreation, description, history, lastchange, name, ocl, svsref, type, classtype_id, kind) VALUES (539, NULL, NULL, '$XDSDocumentEntryServiceStartTimeFrom does not support AND/OR on FindPrescriptionsForDispense messageType (IHE_PHARM_Suppl_CMPD_Rev1, 3.1.4.1.2.1.1.2)', NULL, NULL, 'constraint_startFrom2', 'self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name=''$XDSDocumentEntryServiceStartTimeFrom'' )->size()<2', NULL, 'ERROR', 89, NULL);
