From dfe3771140bdd2ab9b73bd545df0126535d272c4 Mon Sep 17 00:00:00 2001 From: Bhaskarla Date: Wed, 18 Aug 2021 14:22:15 -0400 Subject: [PATCH] #157 Add Test for Document Addendum - Comprehensive Metadata --- .../Document_Addendum/Bundle/addendum.xml | 160 ++++++++++++++++ .../Document_Addendum/Bundle/original.xml | 150 +++++++++++++++ .../Patient/patient-example.xml | 20 ++ .../Document_Addendum/TestScript.xml | 172 ++++++++++++++++++ .../Document_Addendum/description.md | 17 ++ 5 files changed, 519 insertions(+) create mode 100644 asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/addendum.xml create mode 100644 asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/original.xml create mode 100644 asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Patient/patient-example.xml create mode 100644 asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/TestScript.xml create mode 100644 asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/description.md diff --git a/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/addendum.xml b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/addendum.xml new file mode 100644 index 000000000..b17a0a7f8 --- /dev/null +++ b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/addendum.xml @@ -0,0 +1,160 @@ + + + + + + + + + + + + +
Comment
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + +
Comment
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + +
diff --git a/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/original.xml b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/original.xml new file mode 100644 index 000000000..be4bed2a1 --- /dev/null +++ b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Bundle/original.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Comment
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + +
diff --git a/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Patient/patient-example.xml b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Patient/patient-example.xml new file mode 100644 index 000000000..83a86a77b --- /dev/null +++ b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/Patient/patient-example.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/TestScript.xml b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/TestScript.xml new file mode 100644 index 000000000..7882083ef --- /dev/null +++ b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/TestScript.xml @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/description.md b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/description.md new file mode 100644 index 000000000..057baa63b --- /dev/null +++ b/asbestos-war/src/main/webapp/data/TestCollections/MHD_DocumentRecipient_comprehensive/Document_Addendum/description.md @@ -0,0 +1,17 @@ +**Setup**: Submit a Provide Document Bundle transaction [ITI-65] containing Comprehensive Metadata to a Document Recipient +actor. It contains a single DocumentReference, a DocumentManifest, and a Binary. + +**Send Addendum**: Submit a Provide Document Bundle transaction [ITI-65] containing Comprehensive Metadata to a Document Recipient +actor. It contains a single DocumentReference, a DocumentManifest, and a Binary. The DocumentReference is +linked to the original DocumentReference (from setup) as its addendum. + +**Read back addendum**: Read the DocumentReference submitted as an addendum and verify that its status +is current. + +**Read back original**: Read the DocumentReference submitted as the original and verify that its status +has not changed (status should still be current). + +**Reference(s)**: +IHE MHD http://hl7.org/fhir/R4/valueset-document-relationship-type.html +IHE XDS ITI TF 3:4.2.2.2.1 APND. +