plan_executor 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +44 -0
- data/.simplecov +16 -0
- data/.travis.yml +13 -0
- data/Gemfile +26 -0
- data/Gemfile.lock +197 -0
- data/LICENSE +201 -0
- data/README.md +126 -0
- data/Rakefile +25 -0
- data/fixtures/daf/conformance-daf-query-responder.xml +1471 -0
- data/fixtures/diagnostic_order/do-100.xml +64 -0
- data/fixtures/diagnostic_order/do-200.xml +121 -0
- data/fixtures/diagnostic_order/do-300.xml +91 -0
- data/fixtures/diagnostic_order/do-400.xml +88 -0
- data/fixtures/diagnostic_report/dr-100.xml +96 -0
- data/fixtures/diagnostic_report/dr-200.xml +125 -0
- data/fixtures/diagnostic_report/dr-300.xml +132 -0
- data/fixtures/diagnostic_report/dr-400.xml +121 -0
- data/fixtures/financial/claim-example-average.xml +168 -0
- data/fixtures/financial/claim-example-simple.xml +67 -0
- data/fixtures/observation/obs-100.xml +58 -0
- data/fixtures/observation/obs-101.xml +58 -0
- data/fixtures/observation/obs-200.xml +125 -0
- data/fixtures/observation/obs-300.xml +106 -0
- data/fixtures/observation/obs-301.xml +106 -0
- data/fixtures/observation/obs-302.xml +106 -0
- data/fixtures/observation/obs-303.xml +106 -0
- data/fixtures/observation/obs-304.xml +106 -0
- data/fixtures/observation/obs-400.xml +87 -0
- data/fixtures/observation/obs-401.xml +95 -0
- data/fixtures/observation/obs-402.xml +95 -0
- data/fixtures/observation/obs-403.xml +84 -0
- data/fixtures/observation/obs-404.xml +84 -0
- data/fixtures/observation/obs-405.xml +83 -0
- data/fixtures/observation/obs-406.xml +83 -0
- data/fixtures/observation/obs-407.xml +70 -0
- data/fixtures/observation/obs-408.xml +84 -0
- data/fixtures/observation/obs-uslab-example5.xml +102 -0
- data/fixtures/order/order-100.xml +61 -0
- data/fixtures/order/order-200.xml +61 -0
- data/fixtures/order/order-300.xml +61 -0
- data/fixtures/order/order-400.xml +61 -0
- data/fixtures/order_response/ordresp-100.xml +79 -0
- data/fixtures/order_response/ordresp-110.xml +79 -0
- data/fixtures/order_response/ordresp-200.xml +79 -0
- data/fixtures/order_response/ordresp-210.xml +79 -0
- data/fixtures/order_response/ordresp-300.xml +79 -0
- data/fixtures/order_response/ordresp-310.xml +79 -0
- data/fixtures/order_response/ordresp-400.xml +79 -0
- data/fixtures/order_response/ordresp-410.xml +79 -0
- data/fixtures/organization/org-uslab-example3.xml +49 -0
- data/fixtures/patient/patient-example-updated.xml +140 -0
- data/fixtures/patient/patient-example-us-extensions(us01).xml +81 -0
- data/fixtures/patient/patient-example.xml +132 -0
- data/fixtures/patient/patient-format-example.xml +101 -0
- data/fixtures/patient/patient-minimal.xml +9 -0
- data/fixtures/patient/patient-uslab-example1.xml +44 -0
- data/fixtures/practitioner/pract-uslab-example1.xml +18 -0
- data/fixtures/practitioner/pract-uslab-example3.xml +36 -0
- data/fixtures/record/condition-example-f201-fever.xml +63 -0
- data/fixtures/record/condition-example-f205-infection.xml +20 -0
- data/fixtures/record/diagnosticreport-example-f201-brainct.xml +18 -0
- data/fixtures/record/encounter-example-f201-20130404.xml +17 -0
- data/fixtures/record/encounter-example-f202-20130128.xml +17 -0
- data/fixtures/record/observation-example-f202-temperature.xml +60 -0
- data/fixtures/record/organization-example-f201-aumc.xml +5 -0
- data/fixtures/record/organization-example-f203-bumc.xml +5 -0
- data/fixtures/record/patient-example-f201-roel.xml +16 -0
- data/fixtures/record/practitioner-example-f201-ab.xml +14 -0
- data/fixtures/record/procedure-example-f201-tpf.xml +23 -0
- data/fixtures/scheduling/appointment-simple.xml +24 -0
- data/fixtures/scheduling/appointmentresponse-patient-simple.xml +12 -0
- data/fixtures/scheduling/appointmentresponse-practitioner-simple.xml +12 -0
- data/fixtures/scheduling/practitioner-simple.xml +10 -0
- data/fixtures/scheduling/schedule-simple.xml +12 -0
- data/fixtures/scheduling/slot-simple.xml +10 -0
- data/fixtures/specimen/spec-100.xml +65 -0
- data/fixtures/specimen/spec-400.xml +70 -0
- data/fixtures/specimen/spec-uslab-example1.xml +82 -0
- data/fixtures/validation/observation.profile.xml +2045 -0
- data/fixtures/validation/observations/observation-example(example).xml +50 -0
- data/lib/FHIR_structure.json +529 -0
- data/lib/daf_resource_generator.rb +94 -0
- data/lib/data/fhir_structure.rb +8 -0
- data/lib/data/resources.rb +138 -0
- data/lib/executor.rb +56 -0
- data/lib/ext/client.rb +27 -0
- data/lib/ext/client_reply.rb +19 -0
- data/lib/plan_executor.rb +31 -0
- data/lib/resource_generator.rb +656 -0
- data/lib/tasks/tasks.rake +329 -0
- data/lib/tasks/templates/summary.html.erb +163 -0
- data/lib/test_result.rb +69 -0
- data/lib/tests/assertions.rb +261 -0
- data/lib/tests/base_test.rb +117 -0
- data/lib/tests/suites/argonaut_resprint_1_test.rb +260 -0
- data/lib/tests/suites/argonaut_resprint_2_test.rb +369 -0
- data/lib/tests/suites/argonaut_resprint_3_test.rb +309 -0
- data/lib/tests/suites/argonaut_sprint_1_test.rb +187 -0
- data/lib/tests/suites/argonaut_sprint_2_test.rb +115 -0
- data/lib/tests/suites/argonaut_sprint_3_test.rb +208 -0
- data/lib/tests/suites/argonaut_sprint_4_test.rb +335 -0
- data/lib/tests/suites/argonaut_sprint_5_test.rb +196 -0
- data/lib/tests/suites/argonaut_sprint_6_test.rb +243 -0
- data/lib/tests/suites/argonaut_sprint_7_test.rb +161 -0
- data/lib/tests/suites/base_suite.rb +116 -0
- data/lib/tests/suites/connectathon_audit_track.rb +354 -0
- data/lib/tests/suites/connectathon_fetch_patient_record.rb +443 -0
- data/lib/tests/suites/connectathon_financial_track.rb +380 -0
- data/lib/tests/suites/connectathon_lab_order_track.rb +239 -0
- data/lib/tests/suites/connectathon_patient_track.rb +364 -0
- data/lib/tests/suites/connectathon_profile_validation.rb +101 -0
- data/lib/tests/suites/connectathon_scheduling_track.rb +266 -0
- data/lib/tests/suites/connectathon_terminology_track.rb +242 -0
- data/lib/tests/suites/daf_profiles_test.rb +431 -0
- data/lib/tests/suites/format_test.rb +453 -0
- data/lib/tests/suites/history_test.rb +311 -0
- data/lib/tests/suites/read_test.rb +104 -0
- data/lib/tests/suites/resource_test.rb +553 -0
- data/lib/tests/suites/search_test.rb +219 -0
- data/lib/tests/suites/search_test_robust.rb +172 -0
- data/lib/tests/suites/sprinkler_search_test.rb +660 -0
- data/lib/tests/suites/suite_engine.rb +114 -0
- data/lib/tests/suites/transaction_test.rb +571 -0
- data/lib/tests/testscripts/base_testscript.rb +480 -0
- data/lib/tests/testscripts/testscript_engine.rb +81 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-base-client-id-json.xml +348 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-base-client-id-xml.xml +348 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-bonus-client-id-json.xml +420 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-bonus-client-id-xml.xml +420 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/README.html +68 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-base-server-id-json.xml +352 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-base-server-id-xml.xml +352 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-bonus-server-id-json.xml +421 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-bonus-server-id-xml.xml +421 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/conformance/PatientConformance.xml +34 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers-min.json +45 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers-min.xml +26 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers.json +100 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers.xml +102 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers-min.json +53 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers-min.xml +30 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers.json +108 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers.xml +108 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers-min.json +45 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers-min.xml +26 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers.json +100 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers.xml +102 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers-min.json +53 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers-min.xml +30 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers.json +108 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers.xml +107 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers-min.json +53 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers-min.xml +31 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers.json +108 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers.xml +106 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/C-CDA_R2-1_CCD-ussg.xml +3414 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A1-empty-on-instance.xml +9 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A2-empty-by-ref.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A3-empty-by-identifier.xml +13 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A4-empty-by-contained.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B1-CCDA-on-instance.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B2-CCDA-by-ref.xml +21 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B3-CCDA-by-identifier.xml +19 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B4-CCDA-by-contained.xml +21 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaire-sdc-profile-example-ussg-fht.xml +3905 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaireresponse-expected-ussg-fht-CCDA.xml +190 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaireresponse-expected-ussg-fht-empty.xml +177 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/track11-sdc-prepop-xml.xml +142 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Client Assigned Id/track2-ts-suite1-expand-client-id.xml +925 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Client Assigned Id/track2-ts-suite2-expand-filter-client-id.xml +930 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Server Assigned Id/track2-ts-suite1-expand-server-id.xml +953 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Server Assigned Id/track2-ts-suite2-expand-filter-server-id.xml +958 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Lookup/track2-ts-suite5-loinc-lookup-xml.xml +224 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Lookup/track2-ts-suite5-snomed-lookup-xml.xml +224 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/README.html +85 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Translate/track2-ts-suite6-translate-xml.xml +224 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Client Assigned Id/track2-ts-suite3-validate-code-client-id.xml +1807 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Client Assigned Id/track2-ts-suite4-validate-code-client-id.xml +714 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Server Assigned Id/track2-ts-suite3-validate-code-server-id.xml +1835 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Server Assigned Id/track2-ts-suite4-validate-code-server-id.xml +742 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ConceptMapSuite6Conformance.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite1Conformance.xml +17 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite2Conformance.xml +17 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite3Conformance.xml +14 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite4Conformance.xml +14 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite5Conformance.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-2-a.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-2-b.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-3-a.xml +13 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-3-b.xml +13 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-4-a.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-4-b.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-loinc-input-5-2.xml +10 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-loinc-input-5-3.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-snomed-input-5-2.xml +10 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-snomed-input-5-3.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/translate-conceptmap-input-6-2.xml +14 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/translate-conceptmap-input-6-3.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-expand-min.xml +47 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-filter-min.xml +23 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-expand-min.xml +132 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-filter-min.xml +38 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-expand-min.xml +252 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-filter-min.xml +58 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-expand-min.xml +57 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-filter-min.xml +28 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-expand-min.xml +347 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-filter-min.xml +33 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-expand-min.xml +637 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-filter-min.xml +33 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-3-filter-min.xml +58 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/lookup-loinc-min.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/lookup-snomed-min.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite3-invalid-min.xml +10 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite3-valid-min.xml +7 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite4-invalid-min.xml +10 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite4-valid-min.xml +7 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/translate-conceptmap-min.xml +17 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-1.xml +55 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-2.xml +122 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-3.xml +222 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-4.xml +65 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-1.xml +31 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-2.xml +31 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-3.xml +31 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/translate-conceptmap-case-1.xml +145 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/conformance/DecisionSupportServiceModule-Evaluate.xml +17 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-request-payload.xml +26 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-response-min-payload.xml +7 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-response-payload.xml +332 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-request-payload.xml +28 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-response-min-payload.xml +7 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-response-payload.xml +20 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-request-payload.xml +28 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-response-min-payload.xml +7 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-response-payload.xml +332 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-request-payload.xml +28 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-response-min-payload.xml +7 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-response-payload.xml +8 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-request-payload.xml +176 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-response-payload-min.xml +32 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-response-payload.xml +80 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/track3-cds-evaluate-cdc-immunization.xml +290 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/track3-cds-evaluate-gao-profile.xml +110 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/Client_Assigned_Id/TestScript_FHIR-Genomics.xml +170 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/_reference/resources/sequence-example-1.xml +31 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/_reference/resources/sequence-example-2.xml +31 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Actors.png +0 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder100-xml.xml +590 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder200-xml.xml +587 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder300-xml.xml +612 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder400-xml.xml +635 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Peer-to-Peer/track7-laborder100-peer2peer-xml.xml +752 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Thumbs.db +0 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/conformance/LabOrderLabReport-CreateDeleteReadUpdate.xml +187 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/conformance/html.xslt +45 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-100-update.xml +64 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-100.xml +64 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-200-update.xml +121 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-200.xml +121 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-300-update.xml +91 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-300.xml +91 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-400-update.xml +88 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-400.xml +88 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-100.xml +96 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-200.xml +125 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-300.xml +132 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-400.xml +121 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-100.xml +58 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-101.xml +58 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-200.xml +125 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-300.xml +106 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-301.xml +106 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-302.xml +106 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-303.xml +106 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-304.xml +106 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-400.xml +87 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-401.xml +95 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-402.xml +95 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-403.xml +84 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-404.xml +84 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-405.xml +83 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-406.xml +83 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-407.xml +70 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-408.xml +84 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-uslab-example5.xml +102 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-100.xml +61 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-200.xml +61 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-300.xml +61 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-400.xml +61 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-100.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-110.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-200.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-210.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-300.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-310.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-400.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-410.xml +79 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Organization/org-uslab-example3.xml +49 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Patient/patient-uslab-example1.xml +44 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Practitioner/pract-uslab-example1.xml +18 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Practitioner/pract-uslab-example3.xml +36 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/Thumbs.db +0 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-100.xml +65 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-400.xml +70 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-uslab-example1.xml +82 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 1 Document.txt +122 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 2 Document.txt +103 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 3 Document.txt +201 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 4 Document.txt +310 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/conformance/MedicationStatementCreate.xml +11 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/conformance/PatientSearchType.xml +15 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/resources/medicationstatement-create.json +39 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/resources/medicationstatement-patch.json +3 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-medicationstatement-json-if-match.xml +321 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-medicationstatement-json.xml +303 -0
- data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-peer2peer-patient-json.xml +235 -0
- data/plan_executor.gemspec +14 -0
- data/test/fixtures/diagnostic_bundle.xml +51 -0
- data/test/fixtures/lab_results_bundle.xml +49 -0
- data/test/fixtures/observation_bundle.json +61 -0
- data/test/fixtures/testscript-example.xml +202 -0
- data/test/fixtures/testscript-history.xml +143 -0
- data/test/fixtures/testscript-readtest.xml +272 -0
- data/test/fixtures/testscript-search.xml +282 -0
- data/test/fixtures/testscript-update.xml +147 -0
- data/test/fixtures/vital_signs_bundle.xml +117 -0
- data/test/test_helper.rb +8 -0
- data/test/unit/argonaut_sprint6_test.rb +31 -0
- data/test/unit/argonaut_sprint7_test.rb +21 -0
- data/test/unit/basic_test.rb +27 -0
- data/test/unit/fetch_patient_record_test.rb +357 -0
- data/test/unit/financial_test.rb +41 -0
- data/test/unit/fixtures_test.rb +45 -0
- data/test/unit/metadata_test.rb +33 -0
- metadata +394 -0
|
@@ -0,0 +1,958 @@
|
|
|
1
|
+
<TestScript xmlns="http://hl7.org/fhir">
|
|
2
|
+
<id value="track2-ts-suite2-expand-filter-server-id"/>
|
|
3
|
+
<text>
|
|
4
|
+
<status value="generated"/>
|
|
5
|
+
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<p>
|
|
7
|
+
Setup: The setup section defines the 7 value sets that are used to test the API
|
|
8
|
+
functionality. The 7 value sets span common extensional and intensional definition
|
|
9
|
+
styles and consequences.
|
|
10
|
+
</p>
|
|
11
|
+
<p>
|
|
12
|
+
Suite 2: the same 7 suite 1 tests, but with a text filter. The exact effect of
|
|
13
|
+
the text filter is not specified by FHIR, but the tests require that the number
|
|
14
|
+
of codes returned is less than that returned by the first set of expansions,
|
|
15
|
+
and that no new codes can be returned that are not contained in the unfiltered
|
|
16
|
+
expansions. A set of candidate matching codes is provided as a suggestive list.
|
|
17
|
+
Note: services can filter by text, or by synonyms / alternate designations etc.
|
|
18
|
+
Any form of text matching can be used. Overview of value sets:
|
|
19
|
+
</p>
|
|
20
|
+
<ul>
|
|
21
|
+
<li>extensional-case-1: An enumeration of codes from a FHIR defined code system</li>
|
|
22
|
+
<li>extensional-case-2: An enumeration of codes from LOINC</li>
|
|
23
|
+
<li>extensional-case-3: An enumeration of codes from SNOMED </li>
|
|
24
|
+
<li>extensional-case-4: An enumeration of codes the crosses code systems, with codes from a FHIR defined value set and the V3 Role code system</li>
|
|
25
|
+
<li>intensional-case-1: A selection of codes from LOINC by their system value</li>
|
|
26
|
+
<li>intensional-case-2: A selection of codes from SNOMED based on subsumption</li>
|
|
27
|
+
<li>intensional-case-3: All clinical findings from SNOMED (based on subsumption) - a value set that is too large to expand</li>
|
|
28
|
+
</ul>
|
|
29
|
+
</div>
|
|
30
|
+
</text>
|
|
31
|
+
|
|
32
|
+
<url value="http://wildfhir.aegis.net/fhir/TestScript/track2-ts-suite2-expand-filter-server-id"/>
|
|
33
|
+
<name value="FHIR Connectathon 11 - Track 2 - Terminology Services - Suite 2"/>
|
|
34
|
+
<status value="draft"/>
|
|
35
|
+
<publisher value="AEGIS.net, Inc."/>
|
|
36
|
+
<contact>
|
|
37
|
+
<name value="Touchstone Support"/>
|
|
38
|
+
<telecom>
|
|
39
|
+
<system value="email"/>
|
|
40
|
+
<value value="Touchstone_Support@aegis.net"/>
|
|
41
|
+
<use value="work"/>
|
|
42
|
+
</telecom>
|
|
43
|
+
</contact>
|
|
44
|
+
<date value="2015-12-30"/>
|
|
45
|
+
<description value="FHIR Connectathon 11 - Track 2 - Terminology Services - Suite 2 - Expansion tests for each of the 7 ValueSet fixtures with a text filter. Setup creates the ValueSet resources with server defined resource ids."/>
|
|
46
|
+
<useContext>
|
|
47
|
+
<coding>
|
|
48
|
+
<system value="urn:iso:std:iso:3166"/>
|
|
49
|
+
<code value="US"/>
|
|
50
|
+
<display value="United States of America (the)"/>
|
|
51
|
+
</coding>
|
|
52
|
+
</useContext>
|
|
53
|
+
<requirements value="ValueSet Create, Read and Expand Operations"/>
|
|
54
|
+
<copyright value="© AEGIS.net, Inc. 2015+"/>
|
|
55
|
+
|
|
56
|
+
<metadata>
|
|
57
|
+
<capability>
|
|
58
|
+
<required value="true"/>
|
|
59
|
+
<description value="ValueSet create, read and expand operations"/>
|
|
60
|
+
<link value="http://hl7.org/fhir/2016Jan/http.html#create"/>
|
|
61
|
+
<link value="http://hl7.org/fhir/2016Jan/http.html#read"/>
|
|
62
|
+
<link value="http://hl7.org/fhir/2016Jan/valueset-operations.html#expand"/>
|
|
63
|
+
<link value="http://hl7.org/fhir/2016Jan/valueset.html"/>
|
|
64
|
+
<conformance>
|
|
65
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite2Conformance.xml" />
|
|
66
|
+
</conformance>
|
|
67
|
+
</capability>
|
|
68
|
+
</metadata>
|
|
69
|
+
|
|
70
|
+
<fixture id="extensional-case-1">
|
|
71
|
+
<resource>
|
|
72
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-1.xml"/>
|
|
73
|
+
</resource>
|
|
74
|
+
</fixture>
|
|
75
|
+
<fixture id="extensional-case-2">
|
|
76
|
+
<resource>
|
|
77
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-2.xml"/>
|
|
78
|
+
</resource>
|
|
79
|
+
</fixture>
|
|
80
|
+
<fixture id="extensional-case-3">
|
|
81
|
+
<resource>
|
|
82
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-3.xml"/>
|
|
83
|
+
</resource>
|
|
84
|
+
</fixture>
|
|
85
|
+
<fixture id="extensional-case-4">
|
|
86
|
+
<resource>
|
|
87
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-4.xml"/>
|
|
88
|
+
</resource>
|
|
89
|
+
</fixture>
|
|
90
|
+
<fixture id="intensional-case-1">
|
|
91
|
+
<resource>
|
|
92
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-1.xml"/>
|
|
93
|
+
</resource>
|
|
94
|
+
</fixture>
|
|
95
|
+
<fixture id="intensional-case-2">
|
|
96
|
+
<resource>
|
|
97
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-2.xml"/>
|
|
98
|
+
</resource>
|
|
99
|
+
</fixture>
|
|
100
|
+
<fixture id="intensional-case-3">
|
|
101
|
+
<resource>
|
|
102
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-3.xml"/>
|
|
103
|
+
</resource>
|
|
104
|
+
</fixture>
|
|
105
|
+
|
|
106
|
+
<fixture id="extensional-case-1-filter-min">
|
|
107
|
+
<resource>
|
|
108
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-filter-min.xml"/>
|
|
109
|
+
</resource>
|
|
110
|
+
</fixture>
|
|
111
|
+
<fixture id="extensional-case-2-filter-min">
|
|
112
|
+
<resource>
|
|
113
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-filter-min.xml"/>
|
|
114
|
+
</resource>
|
|
115
|
+
</fixture>
|
|
116
|
+
<fixture id="extensional-case-3-filter-min">
|
|
117
|
+
<resource>
|
|
118
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-filter-min.xml"/>
|
|
119
|
+
</resource>
|
|
120
|
+
</fixture>
|
|
121
|
+
<fixture id="extensional-case-4-filter-min">
|
|
122
|
+
<resource>
|
|
123
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-filter-min.xml"/>
|
|
124
|
+
</resource>
|
|
125
|
+
</fixture>
|
|
126
|
+
<fixture id="intensional-case-1-filter-min">
|
|
127
|
+
<resource>
|
|
128
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-filter-min.xml"/>
|
|
129
|
+
</resource>
|
|
130
|
+
</fixture>
|
|
131
|
+
<fixture id="intensional-case-2-filter-min">
|
|
132
|
+
<resource>
|
|
133
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-filter-min.xml"/>
|
|
134
|
+
</resource>
|
|
135
|
+
</fixture>
|
|
136
|
+
<fixture id="intensional-case-3-filter-min">
|
|
137
|
+
<resource>
|
|
138
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-filter-min.xml"/>
|
|
139
|
+
</resource>
|
|
140
|
+
</fixture>
|
|
141
|
+
|
|
142
|
+
<profile id="ValueSetProfile">
|
|
143
|
+
<reference value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
|
|
144
|
+
</profile>
|
|
145
|
+
|
|
146
|
+
<variable>
|
|
147
|
+
<name value="extensional-case-1-id"/>
|
|
148
|
+
<path value="ValueSet/id" />
|
|
149
|
+
<sourceId value="extensional-case-1-create-response"/>
|
|
150
|
+
</variable>
|
|
151
|
+
<variable>
|
|
152
|
+
<name value="extensional-case-2-id"/>
|
|
153
|
+
<path value="ValueSet/id" />
|
|
154
|
+
<sourceId value="extensional-case-2-create-response"/>
|
|
155
|
+
</variable>
|
|
156
|
+
<variable>
|
|
157
|
+
<name value="extensional-case-3-id"/>
|
|
158
|
+
<path value="ValueSet/id" />
|
|
159
|
+
<sourceId value="extensional-case-3-create-response"/>
|
|
160
|
+
</variable>
|
|
161
|
+
<variable>
|
|
162
|
+
<name value="extensional-case-4-id"/>
|
|
163
|
+
<path value="ValueSet/id" />
|
|
164
|
+
<sourceId value="extensional-case-4-create-response"/>
|
|
165
|
+
</variable>
|
|
166
|
+
<variable>
|
|
167
|
+
<name value="intensional-case-1-id"/>
|
|
168
|
+
<path value="ValueSet/id" />
|
|
169
|
+
<sourceId value="intensional-case-1-create-response"/>
|
|
170
|
+
</variable>
|
|
171
|
+
<variable>
|
|
172
|
+
<name value="intensional-case-2-id"/>
|
|
173
|
+
<path value="ValueSet/id" />
|
|
174
|
+
<sourceId value="intensional-case-2-create-response"/>
|
|
175
|
+
</variable>
|
|
176
|
+
<variable>
|
|
177
|
+
<name value="intensional-case-3-id"/>
|
|
178
|
+
<path value="ValueSet/id" />
|
|
179
|
+
<sourceId value="intensional-case-3-create-response"/>
|
|
180
|
+
</variable>
|
|
181
|
+
|
|
182
|
+
<setup id="CreateRequiredResources">
|
|
183
|
+
<action>
|
|
184
|
+
<operation>
|
|
185
|
+
<type>
|
|
186
|
+
<code value="create"/>
|
|
187
|
+
</type>
|
|
188
|
+
<accept value="xml"/>
|
|
189
|
+
<contentType value="xml"/>
|
|
190
|
+
<responseId value="extensional-case-1-create-response"/>
|
|
191
|
+
<sourceId value="extensional-case-1"/>
|
|
192
|
+
</operation>
|
|
193
|
+
</action>
|
|
194
|
+
<action>
|
|
195
|
+
<assert>
|
|
196
|
+
<operator value="in"/>
|
|
197
|
+
<responseCode value="201"/>
|
|
198
|
+
</assert>
|
|
199
|
+
</action>
|
|
200
|
+
|
|
201
|
+
<action>
|
|
202
|
+
<operation>
|
|
203
|
+
<type>
|
|
204
|
+
<code value="create"/>
|
|
205
|
+
</type>
|
|
206
|
+
<accept value="xml"/>
|
|
207
|
+
<contentType value="xml"/>
|
|
208
|
+
<responseId value="extensional-case-2-create-response"/>
|
|
209
|
+
<sourceId value="extensional-case-2"/>
|
|
210
|
+
</operation>
|
|
211
|
+
</action>
|
|
212
|
+
<action>
|
|
213
|
+
<assert>
|
|
214
|
+
<operator value="in"/>
|
|
215
|
+
<responseCode value="201"/>
|
|
216
|
+
</assert>
|
|
217
|
+
</action>
|
|
218
|
+
|
|
219
|
+
<action>
|
|
220
|
+
<operation>
|
|
221
|
+
<type>
|
|
222
|
+
<code value="create"/>
|
|
223
|
+
</type>
|
|
224
|
+
<accept value="xml"/>
|
|
225
|
+
<contentType value="xml"/>
|
|
226
|
+
<responseId value="extensional-case-3-create-response"/>
|
|
227
|
+
<sourceId value="extensional-case-3"/>
|
|
228
|
+
</operation>
|
|
229
|
+
</action>
|
|
230
|
+
<action>
|
|
231
|
+
<assert>
|
|
232
|
+
<operator value="in"/>
|
|
233
|
+
<responseCode value="201"/>
|
|
234
|
+
</assert>
|
|
235
|
+
</action>
|
|
236
|
+
|
|
237
|
+
<action>
|
|
238
|
+
<operation>
|
|
239
|
+
<type>
|
|
240
|
+
<code value="create"/>
|
|
241
|
+
</type>
|
|
242
|
+
<accept value="xml"/>
|
|
243
|
+
<contentType value="xml"/>
|
|
244
|
+
<responseId value="extensional-case-4-create-response"/>
|
|
245
|
+
<sourceId value="extensional-case-4"/>
|
|
246
|
+
</operation>
|
|
247
|
+
</action>
|
|
248
|
+
<action>
|
|
249
|
+
<assert>
|
|
250
|
+
<operator value="in"/>
|
|
251
|
+
<responseCode value="201"/>
|
|
252
|
+
</assert>
|
|
253
|
+
</action>
|
|
254
|
+
|
|
255
|
+
<action>
|
|
256
|
+
<operation>
|
|
257
|
+
<type>
|
|
258
|
+
<code value="create"/>
|
|
259
|
+
</type>
|
|
260
|
+
<accept value="xml"/>
|
|
261
|
+
<contentType value="xml"/>
|
|
262
|
+
<responseId value="intensional-case-1-create-response"/>
|
|
263
|
+
<sourceId value="intensional-case-1"/>
|
|
264
|
+
</operation>
|
|
265
|
+
</action>
|
|
266
|
+
<action>
|
|
267
|
+
<assert>
|
|
268
|
+
<operator value="in"/>
|
|
269
|
+
<responseCode value="201"/>
|
|
270
|
+
</assert>
|
|
271
|
+
</action>
|
|
272
|
+
|
|
273
|
+
<action>
|
|
274
|
+
<operation>
|
|
275
|
+
<type>
|
|
276
|
+
<code value="create"/>
|
|
277
|
+
</type>
|
|
278
|
+
<accept value="xml"/>
|
|
279
|
+
<contentType value="xml"/>
|
|
280
|
+
<responseId value="intensional-case-2-create-response"/>
|
|
281
|
+
<sourceId value="intensional-case-2"/>
|
|
282
|
+
</operation>
|
|
283
|
+
</action>
|
|
284
|
+
<action>
|
|
285
|
+
<assert>
|
|
286
|
+
<operator value="in"/>
|
|
287
|
+
<responseCode value="201"/>
|
|
288
|
+
</assert>
|
|
289
|
+
</action>
|
|
290
|
+
|
|
291
|
+
<action>
|
|
292
|
+
<operation>
|
|
293
|
+
<type>
|
|
294
|
+
<code value="create"/>
|
|
295
|
+
</type>
|
|
296
|
+
<accept value="xml"/>
|
|
297
|
+
<contentType value="xml"/>
|
|
298
|
+
<responseId value="intensional-case-3-create-response"/>
|
|
299
|
+
<sourceId value="intensional-case-3"/>
|
|
300
|
+
</operation>
|
|
301
|
+
</action>
|
|
302
|
+
<action>
|
|
303
|
+
<assert>
|
|
304
|
+
<operator value="in"/>
|
|
305
|
+
<responseCode value="201"/>
|
|
306
|
+
</assert>
|
|
307
|
+
</action>
|
|
308
|
+
</setup>
|
|
309
|
+
|
|
310
|
+
<test id="2-1-ExpansionFilterExtensionalCase1">
|
|
311
|
+
<name value="Expansion with Filter Test extensional-case-1"/>
|
|
312
|
+
<description value="$expand operation with text filter test for ValueSet extensional-case-1."/>
|
|
313
|
+
|
|
314
|
+
<action>
|
|
315
|
+
<operation>
|
|
316
|
+
<type>
|
|
317
|
+
<code value="read"/>
|
|
318
|
+
</type>
|
|
319
|
+
<resource value="ValueSet"/>
|
|
320
|
+
<description value="Test read operation for ValueSet extensional-case-1."/>
|
|
321
|
+
<accept value="xml"/>
|
|
322
|
+
<params value="/${extensional-case-1-id}"/>
|
|
323
|
+
</operation>
|
|
324
|
+
</action>
|
|
325
|
+
<action>
|
|
326
|
+
<assert>
|
|
327
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
328
|
+
<response value="okay"/>
|
|
329
|
+
</assert>
|
|
330
|
+
</action>
|
|
331
|
+
<action>
|
|
332
|
+
<assert>
|
|
333
|
+
<description value="Confirm that the returned format is XML."/>
|
|
334
|
+
<contentType value="xml"/>
|
|
335
|
+
<warningOnly value="true"/>
|
|
336
|
+
</assert>
|
|
337
|
+
</action>
|
|
338
|
+
<action>
|
|
339
|
+
<assert>
|
|
340
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
341
|
+
<resource value="ValueSet"/>
|
|
342
|
+
<warningOnly value="true"/>
|
|
343
|
+
</assert>
|
|
344
|
+
</action>
|
|
345
|
+
<action>
|
|
346
|
+
<assert>
|
|
347
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
348
|
+
<warningOnly value="true"/>
|
|
349
|
+
</assert>
|
|
350
|
+
</action>
|
|
351
|
+
|
|
352
|
+
<action>
|
|
353
|
+
<operation>
|
|
354
|
+
<type>
|
|
355
|
+
<code value="$expand"/>
|
|
356
|
+
</type>
|
|
357
|
+
<resource value="ValueSet"/>
|
|
358
|
+
<description value="Test $expand operation with text filter 'f' on ValueSet extensional-case-1."/>
|
|
359
|
+
<accept value="xml"/>
|
|
360
|
+
<encodeRequestUrl value="false"/>
|
|
361
|
+
<params value="/${extensional-case-1-id}/$expand?filter=f"/>
|
|
362
|
+
</operation>
|
|
363
|
+
</action>
|
|
364
|
+
<action>
|
|
365
|
+
<assert>
|
|
366
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
367
|
+
<response value="okay"/>
|
|
368
|
+
</assert>
|
|
369
|
+
</action>
|
|
370
|
+
<action>
|
|
371
|
+
<assert>
|
|
372
|
+
<description value="Confirm that the returned format is XML."/>
|
|
373
|
+
<contentType value="xml"/>
|
|
374
|
+
<warningOnly value="true"/>
|
|
375
|
+
</assert>
|
|
376
|
+
</action>
|
|
377
|
+
<action>
|
|
378
|
+
<assert>
|
|
379
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
380
|
+
<resource value="ValueSet"/>
|
|
381
|
+
<warningOnly value="true"/>
|
|
382
|
+
</assert>
|
|
383
|
+
</action>
|
|
384
|
+
<action>
|
|
385
|
+
<assert>
|
|
386
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in extensional-case-1-filter-min."/>
|
|
387
|
+
<minimumId value="extensional-case-1-filter-min"/>
|
|
388
|
+
<warningOnly value="true"/>
|
|
389
|
+
</assert>
|
|
390
|
+
</action>
|
|
391
|
+
</test>
|
|
392
|
+
|
|
393
|
+
<test id="2-2-ExpansionFilterExtensionalCase2">
|
|
394
|
+
<name value="Expansion with Filter Test extensional-case-2"/>
|
|
395
|
+
<description value="$expand operation with text filter test for ValueSet extensional-case-2."/>
|
|
396
|
+
|
|
397
|
+
<action>
|
|
398
|
+
<operation>
|
|
399
|
+
<type>
|
|
400
|
+
<code value="read"/>
|
|
401
|
+
</type>
|
|
402
|
+
<resource value="ValueSet"/>
|
|
403
|
+
<description value="Test read operation for ValueSet extensional-case-2."/>
|
|
404
|
+
<accept value="xml"/>
|
|
405
|
+
<params value="/${extensional-case-2-id}"/>
|
|
406
|
+
</operation>
|
|
407
|
+
</action>
|
|
408
|
+
<action>
|
|
409
|
+
<assert>
|
|
410
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
411
|
+
<response value="okay"/>
|
|
412
|
+
</assert>
|
|
413
|
+
</action>
|
|
414
|
+
<action>
|
|
415
|
+
<assert>
|
|
416
|
+
<description value="Confirm that the returned format is XML."/>
|
|
417
|
+
<contentType value="xml"/>
|
|
418
|
+
<warningOnly value="true"/>
|
|
419
|
+
</assert>
|
|
420
|
+
</action>
|
|
421
|
+
<action>
|
|
422
|
+
<assert>
|
|
423
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
424
|
+
<resource value="ValueSet"/>
|
|
425
|
+
<warningOnly value="true"/>
|
|
426
|
+
</assert>
|
|
427
|
+
</action>
|
|
428
|
+
<action>
|
|
429
|
+
<assert>
|
|
430
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
431
|
+
<warningOnly value="true"/>
|
|
432
|
+
</assert>
|
|
433
|
+
</action>
|
|
434
|
+
|
|
435
|
+
<action>
|
|
436
|
+
<operation>
|
|
437
|
+
<type>
|
|
438
|
+
<code value="$expand"/>
|
|
439
|
+
</type>
|
|
440
|
+
<resource value="ValueSet"/>
|
|
441
|
+
<description value="Test $expand operation with text filter 'mean' on ValueSet extensional-case-2."/>
|
|
442
|
+
<accept value="xml"/>
|
|
443
|
+
<encodeRequestUrl value="false"/>
|
|
444
|
+
<params value="/${extensional-case-2-id}/$expand?filter=mean"/>
|
|
445
|
+
</operation>
|
|
446
|
+
</action>
|
|
447
|
+
<action>
|
|
448
|
+
<assert>
|
|
449
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
450
|
+
<response value="okay"/>
|
|
451
|
+
</assert>
|
|
452
|
+
</action>
|
|
453
|
+
<action>
|
|
454
|
+
<assert>
|
|
455
|
+
<description value="Confirm that the returned format is XML."/>
|
|
456
|
+
<contentType value="xml"/>
|
|
457
|
+
<warningOnly value="true"/>
|
|
458
|
+
</assert>
|
|
459
|
+
</action>
|
|
460
|
+
<action>
|
|
461
|
+
<assert>
|
|
462
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
463
|
+
<resource value="ValueSet"/>
|
|
464
|
+
<warningOnly value="true"/>
|
|
465
|
+
</assert>
|
|
466
|
+
</action>
|
|
467
|
+
<action>
|
|
468
|
+
<assert>
|
|
469
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in extensional-case-2-filter-min."/>
|
|
470
|
+
<minimumId value="extensional-case-2-filter-min"/>
|
|
471
|
+
<warningOnly value="true"/>
|
|
472
|
+
</assert>
|
|
473
|
+
</action>
|
|
474
|
+
</test>
|
|
475
|
+
|
|
476
|
+
<test id="2-3-ExpansionFilterExtensionalCase3">
|
|
477
|
+
<name value="Expansion with Filter Test extensional-case-3"/>
|
|
478
|
+
<description value="$expand operation with text filter test for ValueSet extensional-case-3."/>
|
|
479
|
+
|
|
480
|
+
<action>
|
|
481
|
+
<operation>
|
|
482
|
+
<type>
|
|
483
|
+
<code value="read"/>
|
|
484
|
+
</type>
|
|
485
|
+
<resource value="ValueSet"/>
|
|
486
|
+
<description value="Test read operation for ValueSet extensional-case-3."/>
|
|
487
|
+
<accept value="xml"/>
|
|
488
|
+
<params value="/${extensional-case-3-id}"/>
|
|
489
|
+
</operation>
|
|
490
|
+
</action>
|
|
491
|
+
<action>
|
|
492
|
+
<assert>
|
|
493
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
494
|
+
<response value="okay"/>
|
|
495
|
+
</assert>
|
|
496
|
+
</action>
|
|
497
|
+
<action>
|
|
498
|
+
<assert>
|
|
499
|
+
<description value="Confirm that the returned format is XML."/>
|
|
500
|
+
<contentType value="xml"/>
|
|
501
|
+
<warningOnly value="true"/>
|
|
502
|
+
</assert>
|
|
503
|
+
</action>
|
|
504
|
+
<action>
|
|
505
|
+
<assert>
|
|
506
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
507
|
+
<resource value="ValueSet"/>
|
|
508
|
+
<warningOnly value="true"/>
|
|
509
|
+
</assert>
|
|
510
|
+
</action>
|
|
511
|
+
<action>
|
|
512
|
+
<assert>
|
|
513
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
514
|
+
<warningOnly value="true"/>
|
|
515
|
+
</assert>
|
|
516
|
+
</action>
|
|
517
|
+
|
|
518
|
+
<action>
|
|
519
|
+
<operation>
|
|
520
|
+
<type>
|
|
521
|
+
<code value="$expand"/>
|
|
522
|
+
</type>
|
|
523
|
+
<resource value="ValueSet"/>
|
|
524
|
+
<description value="Test $expand operation with text filter 'fail' on ValueSet extensional-case-3."/>
|
|
525
|
+
<accept value="xml"/>
|
|
526
|
+
<encodeRequestUrl value="false"/>
|
|
527
|
+
<params value="/${extensional-case-3-id}/$expand?filter=fail"/>
|
|
528
|
+
</operation>
|
|
529
|
+
</action>
|
|
530
|
+
<action>
|
|
531
|
+
<assert>
|
|
532
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
533
|
+
<response value="okay"/>
|
|
534
|
+
</assert>
|
|
535
|
+
</action>
|
|
536
|
+
<action>
|
|
537
|
+
<assert>
|
|
538
|
+
<description value="Confirm that the returned format is XML."/>
|
|
539
|
+
<contentType value="xml"/>
|
|
540
|
+
<warningOnly value="true"/>
|
|
541
|
+
</assert>
|
|
542
|
+
</action>
|
|
543
|
+
<action>
|
|
544
|
+
<assert>
|
|
545
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
546
|
+
<resource value="ValueSet"/>
|
|
547
|
+
<warningOnly value="true"/>
|
|
548
|
+
</assert>
|
|
549
|
+
</action>
|
|
550
|
+
<action>
|
|
551
|
+
<assert>
|
|
552
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in extensional-case-3-filter-min."/>
|
|
553
|
+
<minimumId value="extensional-case-3-filter-min"/>
|
|
554
|
+
<warningOnly value="true"/>
|
|
555
|
+
</assert>
|
|
556
|
+
</action>
|
|
557
|
+
</test>
|
|
558
|
+
|
|
559
|
+
<test id="2-4-ExpansionFilterExtensionalCase4">
|
|
560
|
+
<name value="Expansion with Filter Test extensional-case-4"/>
|
|
561
|
+
<description value="$expand operation with text filter test for ValueSet extensional-case-4."/>
|
|
562
|
+
|
|
563
|
+
<action>
|
|
564
|
+
<operation>
|
|
565
|
+
<type>
|
|
566
|
+
<code value="read"/>
|
|
567
|
+
</type>
|
|
568
|
+
<resource value="ValueSet"/>
|
|
569
|
+
<description value="Test read operation for ValueSet extensional-case-4."/>
|
|
570
|
+
<accept value="xml"/>
|
|
571
|
+
<params value="/${extensional-case-4-id}"/>
|
|
572
|
+
</operation>
|
|
573
|
+
</action>
|
|
574
|
+
<action>
|
|
575
|
+
<assert>
|
|
576
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
577
|
+
<response value="okay"/>
|
|
578
|
+
</assert>
|
|
579
|
+
</action>
|
|
580
|
+
<action>
|
|
581
|
+
<assert>
|
|
582
|
+
<description value="Confirm that the returned format is XML."/>
|
|
583
|
+
<contentType value="xml"/>
|
|
584
|
+
<warningOnly value="true"/>
|
|
585
|
+
</assert>
|
|
586
|
+
</action>
|
|
587
|
+
<action>
|
|
588
|
+
<assert>
|
|
589
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
590
|
+
<resource value="ValueSet"/>
|
|
591
|
+
<warningOnly value="true"/>
|
|
592
|
+
</assert>
|
|
593
|
+
</action>
|
|
594
|
+
<action>
|
|
595
|
+
<assert>
|
|
596
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
597
|
+
<warningOnly value="true"/>
|
|
598
|
+
</assert>
|
|
599
|
+
</action>
|
|
600
|
+
|
|
601
|
+
<action>
|
|
602
|
+
<operation>
|
|
603
|
+
<type>
|
|
604
|
+
<code value="$expand"/>
|
|
605
|
+
</type>
|
|
606
|
+
<resource value="ValueSet"/>
|
|
607
|
+
<description value="Test $expand operation with text filter 'f' on ValueSet extensional-case-4."/>
|
|
608
|
+
<accept value="xml"/>
|
|
609
|
+
<encodeRequestUrl value="false"/>
|
|
610
|
+
<params value="/${extensional-case-4-id}/$expand?filter=f"/>
|
|
611
|
+
</operation>
|
|
612
|
+
</action>
|
|
613
|
+
<action>
|
|
614
|
+
<assert>
|
|
615
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
616
|
+
<response value="okay"/>
|
|
617
|
+
</assert>
|
|
618
|
+
</action>
|
|
619
|
+
<action>
|
|
620
|
+
<assert>
|
|
621
|
+
<description value="Confirm that the returned format is XML."/>
|
|
622
|
+
<contentType value="xml"/>
|
|
623
|
+
<warningOnly value="true"/>
|
|
624
|
+
</assert>
|
|
625
|
+
</action>
|
|
626
|
+
<action>
|
|
627
|
+
<assert>
|
|
628
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
629
|
+
<resource value="ValueSet"/>
|
|
630
|
+
<warningOnly value="true"/>
|
|
631
|
+
</assert>
|
|
632
|
+
</action>
|
|
633
|
+
<action>
|
|
634
|
+
<assert>
|
|
635
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in extensional-case-4-filter-min."/>
|
|
636
|
+
<minimumId value="extensional-case-4-filter-min"/>
|
|
637
|
+
<warningOnly value="true"/>
|
|
638
|
+
</assert>
|
|
639
|
+
</action>
|
|
640
|
+
</test>
|
|
641
|
+
|
|
642
|
+
<test id="2-5-ExpansionFilterIntensionalCase1">
|
|
643
|
+
<name value="Expansion with Filter Test intensional-case-1"/>
|
|
644
|
+
<description value="$expand operation with text filter test for ValueSet intensional-case-1."/>
|
|
645
|
+
|
|
646
|
+
<action>
|
|
647
|
+
<operation>
|
|
648
|
+
<type>
|
|
649
|
+
<code value="read"/>
|
|
650
|
+
</type>
|
|
651
|
+
<resource value="ValueSet"/>
|
|
652
|
+
<description value="Test read operation for ValueSet intensional-case-1."/>
|
|
653
|
+
<accept value="xml"/>
|
|
654
|
+
<params value="/${intensional-case-1-id}"/>
|
|
655
|
+
</operation>
|
|
656
|
+
</action>
|
|
657
|
+
<action>
|
|
658
|
+
<assert>
|
|
659
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
660
|
+
<response value="okay"/>
|
|
661
|
+
</assert>
|
|
662
|
+
</action>
|
|
663
|
+
<action>
|
|
664
|
+
<assert>
|
|
665
|
+
<description value="Confirm that the returned format is XML."/>
|
|
666
|
+
<contentType value="xml"/>
|
|
667
|
+
<warningOnly value="true"/>
|
|
668
|
+
</assert>
|
|
669
|
+
</action>
|
|
670
|
+
<action>
|
|
671
|
+
<assert>
|
|
672
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
673
|
+
<resource value="ValueSet"/>
|
|
674
|
+
<warningOnly value="true"/>
|
|
675
|
+
</assert>
|
|
676
|
+
</action>
|
|
677
|
+
<action>
|
|
678
|
+
<assert>
|
|
679
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
680
|
+
<warningOnly value="true"/>
|
|
681
|
+
</assert>
|
|
682
|
+
</action>
|
|
683
|
+
|
|
684
|
+
<action>
|
|
685
|
+
<operation>
|
|
686
|
+
<type>
|
|
687
|
+
<code value="$expand"/>
|
|
688
|
+
</type>
|
|
689
|
+
<resource value="ValueSet"/>
|
|
690
|
+
<description value="Test $expand operation with text filter 'exp' on ValueSet intensional-case-1."/>
|
|
691
|
+
<accept value="xml"/>
|
|
692
|
+
<encodeRequestUrl value="false"/>
|
|
693
|
+
<params value="/${intensional-case-1-id}/$expand?filter=exp"/>
|
|
694
|
+
</operation>
|
|
695
|
+
</action>
|
|
696
|
+
<action>
|
|
697
|
+
<assert>
|
|
698
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
699
|
+
<response value="okay"/>
|
|
700
|
+
</assert>
|
|
701
|
+
</action>
|
|
702
|
+
<action>
|
|
703
|
+
<assert>
|
|
704
|
+
<description value="Confirm that the returned format is XML."/>
|
|
705
|
+
<contentType value="xml"/>
|
|
706
|
+
<warningOnly value="true"/>
|
|
707
|
+
</assert>
|
|
708
|
+
</action>
|
|
709
|
+
<action>
|
|
710
|
+
<assert>
|
|
711
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
712
|
+
<resource value="ValueSet"/>
|
|
713
|
+
<warningOnly value="true"/>
|
|
714
|
+
</assert>
|
|
715
|
+
</action>
|
|
716
|
+
<action>
|
|
717
|
+
<assert>
|
|
718
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in intensional-case-1-filter-min."/>
|
|
719
|
+
<minimumId value="intensional-case-1-filter-min"/>
|
|
720
|
+
<warningOnly value="true"/>
|
|
721
|
+
</assert>
|
|
722
|
+
</action>
|
|
723
|
+
</test>
|
|
724
|
+
|
|
725
|
+
<test id="2-6-ExpansionFilterIntensionalCase2">
|
|
726
|
+
<name value="Expansion with Filter Test intensional-case-2"/>
|
|
727
|
+
<description value="$expand operation with text filter test for ValueSet intensional-case-2."/>
|
|
728
|
+
|
|
729
|
+
<action>
|
|
730
|
+
<operation>
|
|
731
|
+
<type>
|
|
732
|
+
<code value="read"/>
|
|
733
|
+
</type>
|
|
734
|
+
<resource value="ValueSet"/>
|
|
735
|
+
<description value="Test read operation for ValueSet intensional-case-2."/>
|
|
736
|
+
<accept value="xml"/>
|
|
737
|
+
<params value="/${intensional-case-2-id}"/>
|
|
738
|
+
</operation>
|
|
739
|
+
</action>
|
|
740
|
+
<action>
|
|
741
|
+
<assert>
|
|
742
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
743
|
+
<response value="okay"/>
|
|
744
|
+
</assert>
|
|
745
|
+
</action>
|
|
746
|
+
<action>
|
|
747
|
+
<assert>
|
|
748
|
+
<description value="Confirm that the returned format is XML."/>
|
|
749
|
+
<contentType value="xml"/>
|
|
750
|
+
<warningOnly value="true"/>
|
|
751
|
+
</assert>
|
|
752
|
+
</action>
|
|
753
|
+
<action>
|
|
754
|
+
<assert>
|
|
755
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
756
|
+
<resource value="ValueSet"/>
|
|
757
|
+
<warningOnly value="true"/>
|
|
758
|
+
</assert>
|
|
759
|
+
</action>
|
|
760
|
+
<action>
|
|
761
|
+
<assert>
|
|
762
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
763
|
+
<warningOnly value="true"/>
|
|
764
|
+
</assert>
|
|
765
|
+
</action>
|
|
766
|
+
|
|
767
|
+
<action>
|
|
768
|
+
<operation>
|
|
769
|
+
<type>
|
|
770
|
+
<code value="$expand"/>
|
|
771
|
+
</type>
|
|
772
|
+
<resource value="ValueSet"/>
|
|
773
|
+
<description value="Test $expand operation with text filter 'chronic' on ValueSet intensional-case-2."/>
|
|
774
|
+
<accept value="xml"/>
|
|
775
|
+
<encodeRequestUrl value="false"/>
|
|
776
|
+
<params value="/${intensional-case-2-id}/$expand?filter=chronic"/>
|
|
777
|
+
</operation>
|
|
778
|
+
</action>
|
|
779
|
+
<action>
|
|
780
|
+
<assert>
|
|
781
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
782
|
+
<response value="okay"/>
|
|
783
|
+
</assert>
|
|
784
|
+
</action>
|
|
785
|
+
<action>
|
|
786
|
+
<assert>
|
|
787
|
+
<description value="Confirm that the returned format is XML."/>
|
|
788
|
+
<contentType value="xml"/>
|
|
789
|
+
<warningOnly value="true"/>
|
|
790
|
+
</assert>
|
|
791
|
+
</action>
|
|
792
|
+
<action>
|
|
793
|
+
<assert>
|
|
794
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
795
|
+
<resource value="ValueSet"/>
|
|
796
|
+
<warningOnly value="true"/>
|
|
797
|
+
</assert>
|
|
798
|
+
</action>
|
|
799
|
+
<action>
|
|
800
|
+
<assert>
|
|
801
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in intensional-case-2-filter-min."/>
|
|
802
|
+
<minimumId value="intensional-case-2-filter-min"/>
|
|
803
|
+
<warningOnly value="true"/>
|
|
804
|
+
</assert>
|
|
805
|
+
</action>
|
|
806
|
+
</test>
|
|
807
|
+
|
|
808
|
+
<test id="2-7-ExpansionFilterIntensionalCase3">
|
|
809
|
+
<name value="Expansion with Filter Test intensional-case-3"/>
|
|
810
|
+
<description value="$expand operation with text filter test for ValueSet intensional-case-3."/>
|
|
811
|
+
|
|
812
|
+
<action>
|
|
813
|
+
<operation>
|
|
814
|
+
<type>
|
|
815
|
+
<code value="read"/>
|
|
816
|
+
</type>
|
|
817
|
+
<resource value="ValueSet"/>
|
|
818
|
+
<description value="Test read operation for ValueSet intensional-case-3."/>
|
|
819
|
+
<accept value="xml"/>
|
|
820
|
+
<params value="/${intensional-case-3-id}"/>
|
|
821
|
+
</operation>
|
|
822
|
+
</action>
|
|
823
|
+
<action>
|
|
824
|
+
<assert>
|
|
825
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
826
|
+
<response value="okay"/>
|
|
827
|
+
</assert>
|
|
828
|
+
</action>
|
|
829
|
+
<action>
|
|
830
|
+
<assert>
|
|
831
|
+
<description value="Confirm that the returned format is XML."/>
|
|
832
|
+
<contentType value="xml"/>
|
|
833
|
+
<warningOnly value="true"/>
|
|
834
|
+
</assert>
|
|
835
|
+
</action>
|
|
836
|
+
<action>
|
|
837
|
+
<assert>
|
|
838
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
839
|
+
<resource value="ValueSet"/>
|
|
840
|
+
<warningOnly value="true"/>
|
|
841
|
+
</assert>
|
|
842
|
+
</action>
|
|
843
|
+
<action>
|
|
844
|
+
<assert>
|
|
845
|
+
<validateProfileId value="ValueSetProfile"/>
|
|
846
|
+
<warningOnly value="true"/>
|
|
847
|
+
</assert>
|
|
848
|
+
</action>
|
|
849
|
+
|
|
850
|
+
<action>
|
|
851
|
+
<operation>
|
|
852
|
+
<type>
|
|
853
|
+
<code value="$expand"/>
|
|
854
|
+
</type>
|
|
855
|
+
<resource value="ValueSet"/>
|
|
856
|
+
<description value="Test $expand operation with text filter 'renin' on ValueSet intensional-case-3."/>
|
|
857
|
+
<accept value="xml"/>
|
|
858
|
+
<encodeRequestUrl value="false"/>
|
|
859
|
+
<params value="/${intensional-case-3-id}/$expand?filter=renin"/>
|
|
860
|
+
</operation>
|
|
861
|
+
</action>
|
|
862
|
+
<action>
|
|
863
|
+
<assert>
|
|
864
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
|
865
|
+
<operator value="equals"/>
|
|
866
|
+
<response value="okay"/>
|
|
867
|
+
<warningOnly value="true"/>
|
|
868
|
+
</assert>
|
|
869
|
+
</action>
|
|
870
|
+
<action>
|
|
871
|
+
<assert>
|
|
872
|
+
<description value="Confirm that the returned format is XML."/>
|
|
873
|
+
<contentType value="xml"/>
|
|
874
|
+
<warningOnly value="true"/>
|
|
875
|
+
</assert>
|
|
876
|
+
</action>
|
|
877
|
+
<action>
|
|
878
|
+
<assert>
|
|
879
|
+
<description value="Confirm that the returned resource type is ValueSet."/>
|
|
880
|
+
<resource value="ValueSet"/>
|
|
881
|
+
<warningOnly value="true"/>
|
|
882
|
+
</assert>
|
|
883
|
+
</action>
|
|
884
|
+
<action>
|
|
885
|
+
<assert>
|
|
886
|
+
<description value="Confirm that the returned ValueSet minimally contains the information in intensional-case-3-filter-min."/>
|
|
887
|
+
<minimumId value="intensional-case-3-filter-min"/>
|
|
888
|
+
<warningOnly value="true"/>
|
|
889
|
+
</assert>
|
|
890
|
+
</action>
|
|
891
|
+
</test>
|
|
892
|
+
|
|
893
|
+
<teardown>
|
|
894
|
+
<action>
|
|
895
|
+
<operation>
|
|
896
|
+
<type>
|
|
897
|
+
<code value="delete"/>
|
|
898
|
+
</type>
|
|
899
|
+
<resource value="ValueSet"/>
|
|
900
|
+
<targetId value="extensional-case-1-create-response"/>
|
|
901
|
+
</operation>
|
|
902
|
+
</action>
|
|
903
|
+
<action>
|
|
904
|
+
<operation>
|
|
905
|
+
<type>
|
|
906
|
+
<code value="delete"/>
|
|
907
|
+
</type>
|
|
908
|
+
<resource value="ValueSet"/>
|
|
909
|
+
<targetId value="extensional-case-2-create-response"/>
|
|
910
|
+
</operation>
|
|
911
|
+
</action>
|
|
912
|
+
<action>
|
|
913
|
+
<operation>
|
|
914
|
+
<type>
|
|
915
|
+
<code value="delete"/>
|
|
916
|
+
</type>
|
|
917
|
+
<resource value="ValueSet"/>
|
|
918
|
+
<targetId value="extensional-case-3-create-response"/>
|
|
919
|
+
</operation>
|
|
920
|
+
</action>
|
|
921
|
+
<action>
|
|
922
|
+
<operation>
|
|
923
|
+
<type>
|
|
924
|
+
<code value="delete"/>
|
|
925
|
+
</type>
|
|
926
|
+
<resource value="ValueSet"/>
|
|
927
|
+
<targetId value="extensional-case-4-create-response"/>
|
|
928
|
+
</operation>
|
|
929
|
+
</action>
|
|
930
|
+
<action>
|
|
931
|
+
<operation>
|
|
932
|
+
<type>
|
|
933
|
+
<code value="delete"/>
|
|
934
|
+
</type>
|
|
935
|
+
<resource value="ValueSet"/>
|
|
936
|
+
<targetId value="intensional-case-1-create-response"/>
|
|
937
|
+
</operation>
|
|
938
|
+
</action>
|
|
939
|
+
<action>
|
|
940
|
+
<operation>
|
|
941
|
+
<type>
|
|
942
|
+
<code value="delete"/>
|
|
943
|
+
</type>
|
|
944
|
+
<resource value="ValueSet"/>
|
|
945
|
+
<targetId value="intensional-case-2-create-response"/>
|
|
946
|
+
</operation>
|
|
947
|
+
</action>
|
|
948
|
+
<action>
|
|
949
|
+
<operation>
|
|
950
|
+
<type>
|
|
951
|
+
<code value="delete"/>
|
|
952
|
+
</type>
|
|
953
|
+
<resource value="ValueSet"/>
|
|
954
|
+
<targetId value="intensional-case-3-create-response"/>
|
|
955
|
+
</operation>
|
|
956
|
+
</action>
|
|
957
|
+
</teardown>
|
|
958
|
+
</TestScript>
|