plan_executor 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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,1835 @@
|
|
1
|
+
<TestScript xmlns="http://hl7.org/fhir">
|
2
|
+
<id value="track2-ts-suite3-validate-code-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 3: A set of membership tests for each of the valuesets. Check, for each
|
13
|
+
value set, a valid code, and various kinds of invalid codes. Some value sets have
|
14
|
+
additional variations. In all cases, the code to test is passed as code, system
|
15
|
+
and (optionally) display parameters in the URL. These tests are highly
|
16
|
+
repetitive. Overview of value sets:
|
17
|
+
</p>
|
18
|
+
<ul>
|
19
|
+
<li>extensional-case-1: An enumeration of codes from a FHIR defined code system</li>
|
20
|
+
<li>extensional-case-2: An enumeration of codes from LOINC</li>
|
21
|
+
<li>extensional-case-3: An enumeration of codes from SNOMED </li>
|
22
|
+
<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>
|
23
|
+
<li>intensional-case-1: A selection of codes from LOINC by their system value</li>
|
24
|
+
<li>intensional-case-2: A selection of codes from SNOMED based on subsumption</li>
|
25
|
+
<li>intensional-case-3: All clinical findings from SNOMED (based on subsumption) - a value set that is too large to expand</li>
|
26
|
+
</ul>
|
27
|
+
</div>
|
28
|
+
</text>
|
29
|
+
|
30
|
+
<url value="http://wildfhir.aegis.net/fhir/TestScript/track2-ts-suite3-validate-code-server-id"/>
|
31
|
+
<name value="FHIR Connectathon 11 - Track 2 - Terminology Services - Suite 3"/>
|
32
|
+
<status value="draft"/>
|
33
|
+
<publisher value="AEGIS.net, Inc."/>
|
34
|
+
<contact>
|
35
|
+
<name value="Touchstone Support"/>
|
36
|
+
<telecom>
|
37
|
+
<system value="email"/>
|
38
|
+
<value value="Touchstone_Support@aegis.net"/>
|
39
|
+
<use value="work"/>
|
40
|
+
</telecom>
|
41
|
+
</contact>
|
42
|
+
<date value="2015-12-30"/>
|
43
|
+
<description value="FHIR Connectathon 11 - Track 2 - Terminology Services - Suite 3 - A set of membership validation tests for each of the 7 ValueSet fixtures. Checks are performed for valid codes and various invalid codes. Setup creates the ValueSet resources with server defined resource ids."/>
|
44
|
+
<useContext>
|
45
|
+
<coding>
|
46
|
+
<system value="urn:iso:std:iso:3166"/>
|
47
|
+
<code value="US"/>
|
48
|
+
<display value="United States of America (the)"/>
|
49
|
+
</coding>
|
50
|
+
</useContext>
|
51
|
+
<requirements value="ValueSet Create, Read and Expand Operations"/>
|
52
|
+
<copyright value="© AEGIS.net, Inc. 2015+"/>
|
53
|
+
|
54
|
+
<metadata>
|
55
|
+
<capability>
|
56
|
+
<required value="true"/>
|
57
|
+
<description value="ValueSet create, read and expand operations"/>
|
58
|
+
<link value="http://hl7.org/fhir/2016Jan/http.html#create"/>
|
59
|
+
<link value="http://hl7.org/fhir/2016Jan/valueset-operations.html#validate-code"/>
|
60
|
+
<link value="http://hl7.org/fhir/2016Jan/valueset.html"/>
|
61
|
+
<conformance>
|
62
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite3Conformance.xml" />
|
63
|
+
</conformance>
|
64
|
+
</capability>
|
65
|
+
</metadata>
|
66
|
+
|
67
|
+
<fixture id="extensional-case-1">
|
68
|
+
<resource>
|
69
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-1.xml"/>
|
70
|
+
</resource>
|
71
|
+
</fixture>
|
72
|
+
<fixture id="extensional-case-2">
|
73
|
+
<resource>
|
74
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-2.xml"/>
|
75
|
+
</resource>
|
76
|
+
</fixture>
|
77
|
+
<fixture id="extensional-case-3">
|
78
|
+
<resource>
|
79
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-3.xml"/>
|
80
|
+
</resource>
|
81
|
+
</fixture>
|
82
|
+
<fixture id="extensional-case-4">
|
83
|
+
<resource>
|
84
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-4.xml"/>
|
85
|
+
</resource>
|
86
|
+
</fixture>
|
87
|
+
<fixture id="intensional-case-1">
|
88
|
+
<resource>
|
89
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-1.xml"/>
|
90
|
+
</resource>
|
91
|
+
</fixture>
|
92
|
+
<fixture id="intensional-case-2">
|
93
|
+
<resource>
|
94
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-2.xml"/>
|
95
|
+
</resource>
|
96
|
+
</fixture>
|
97
|
+
<fixture id="intensional-case-3">
|
98
|
+
<resource>
|
99
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-3.xml"/>
|
100
|
+
</resource>
|
101
|
+
</fixture>
|
102
|
+
|
103
|
+
<fixture id="suite3-valid-min">
|
104
|
+
<resource>
|
105
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/suite3-valid-min.xml"/>
|
106
|
+
</resource>
|
107
|
+
</fixture>
|
108
|
+
<fixture id="suite3-invalid-min">
|
109
|
+
<resource>
|
110
|
+
<reference value="/Connectathon11/Track2-Terminology/_reference/output/suite3-invalid-min.xml"/>
|
111
|
+
</resource>
|
112
|
+
</fixture>
|
113
|
+
|
114
|
+
<profile id="ParametersProfile">
|
115
|
+
<reference value="http://hl7.org/fhir/StructureDefinition/Parameters"/>
|
116
|
+
</profile>
|
117
|
+
<profile id="ValueSetProfile">
|
118
|
+
<reference value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
|
119
|
+
</profile>
|
120
|
+
|
121
|
+
<variable>
|
122
|
+
<name value="extensional-case-1-id"/>
|
123
|
+
<path value="ValueSet/id" />
|
124
|
+
<sourceId value="extensional-case-1-create-response"/>
|
125
|
+
</variable>
|
126
|
+
<variable>
|
127
|
+
<name value="extensional-case-2-id"/>
|
128
|
+
<path value="ValueSet/id" />
|
129
|
+
<sourceId value="extensional-case-2-create-response"/>
|
130
|
+
</variable>
|
131
|
+
<variable>
|
132
|
+
<name value="extensional-case-3-id"/>
|
133
|
+
<path value="ValueSet/id" />
|
134
|
+
<sourceId value="extensional-case-3-create-response"/>
|
135
|
+
</variable>
|
136
|
+
<variable>
|
137
|
+
<name value="extensional-case-4-id"/>
|
138
|
+
<path value="ValueSet/id" />
|
139
|
+
<sourceId value="extensional-case-4-create-response"/>
|
140
|
+
</variable>
|
141
|
+
<variable>
|
142
|
+
<name value="intensional-case-1-id"/>
|
143
|
+
<path value="ValueSet/id" />
|
144
|
+
<sourceId value="intensional-case-1-create-response"/>
|
145
|
+
</variable>
|
146
|
+
<variable>
|
147
|
+
<name value="intensional-case-2-id"/>
|
148
|
+
<path value="ValueSet/id" />
|
149
|
+
<sourceId value="intensional-case-2-create-response"/>
|
150
|
+
</variable>
|
151
|
+
<variable>
|
152
|
+
<name value="intensional-case-3-id"/>
|
153
|
+
<path value="ValueSet/id" />
|
154
|
+
<sourceId value="intensional-case-3-create-response"/>
|
155
|
+
</variable>
|
156
|
+
|
157
|
+
<setup id="CreateRequiredResources">
|
158
|
+
<action>
|
159
|
+
<operation>
|
160
|
+
<type>
|
161
|
+
<code value="create"/>
|
162
|
+
</type>
|
163
|
+
<accept value="xml"/>
|
164
|
+
<contentType value="xml"/>
|
165
|
+
<responseId value="extensional-case-1-create-response"/>
|
166
|
+
<sourceId value="extensional-case-1"/>
|
167
|
+
</operation>
|
168
|
+
</action>
|
169
|
+
<action>
|
170
|
+
<assert>
|
171
|
+
<operator value="in"/>
|
172
|
+
<responseCode value="201"/>
|
173
|
+
</assert>
|
174
|
+
</action>
|
175
|
+
|
176
|
+
<action>
|
177
|
+
<operation>
|
178
|
+
<type>
|
179
|
+
<code value="create"/>
|
180
|
+
</type>
|
181
|
+
<accept value="xml"/>
|
182
|
+
<contentType value="xml"/>
|
183
|
+
<responseId value="extensional-case-2-create-response"/>
|
184
|
+
<sourceId value="extensional-case-2"/>
|
185
|
+
</operation>
|
186
|
+
</action>
|
187
|
+
<action>
|
188
|
+
<assert>
|
189
|
+
<operator value="in"/>
|
190
|
+
<responseCode value="201"/>
|
191
|
+
</assert>
|
192
|
+
</action>
|
193
|
+
|
194
|
+
<action>
|
195
|
+
<operation>
|
196
|
+
<type>
|
197
|
+
<code value="create"/>
|
198
|
+
</type>
|
199
|
+
<accept value="xml"/>
|
200
|
+
<contentType value="xml"/>
|
201
|
+
<responseId value="extensional-case-3-create-response"/>
|
202
|
+
<sourceId value="extensional-case-3"/>
|
203
|
+
</operation>
|
204
|
+
</action>
|
205
|
+
<action>
|
206
|
+
<assert>
|
207
|
+
<operator value="in"/>
|
208
|
+
<responseCode value="201"/>
|
209
|
+
</assert>
|
210
|
+
</action>
|
211
|
+
|
212
|
+
<action>
|
213
|
+
<operation>
|
214
|
+
<type>
|
215
|
+
<code value="create"/>
|
216
|
+
</type>
|
217
|
+
<accept value="xml"/>
|
218
|
+
<contentType value="xml"/>
|
219
|
+
<responseId value="extensional-case-4-create-response"/>
|
220
|
+
<sourceId value="extensional-case-4"/>
|
221
|
+
</operation>
|
222
|
+
</action>
|
223
|
+
<action>
|
224
|
+
<assert>
|
225
|
+
<operator value="in"/>
|
226
|
+
<responseCode value="201"/>
|
227
|
+
</assert>
|
228
|
+
</action>
|
229
|
+
|
230
|
+
<action>
|
231
|
+
<operation>
|
232
|
+
<type>
|
233
|
+
<code value="create"/>
|
234
|
+
</type>
|
235
|
+
<accept value="xml"/>
|
236
|
+
<contentType value="xml"/>
|
237
|
+
<responseId value="intensional-case-1-create-response"/>
|
238
|
+
<sourceId value="intensional-case-1"/>
|
239
|
+
</operation>
|
240
|
+
</action>
|
241
|
+
<action>
|
242
|
+
<assert>
|
243
|
+
<operator value="in"/>
|
244
|
+
<responseCode value="201"/>
|
245
|
+
</assert>
|
246
|
+
</action>
|
247
|
+
|
248
|
+
<action>
|
249
|
+
<operation>
|
250
|
+
<type>
|
251
|
+
<code value="create"/>
|
252
|
+
</type>
|
253
|
+
<accept value="xml"/>
|
254
|
+
<contentType value="xml"/>
|
255
|
+
<responseId value="intensional-case-2-create-response"/>
|
256
|
+
<sourceId value="intensional-case-2"/>
|
257
|
+
</operation>
|
258
|
+
</action>
|
259
|
+
<action>
|
260
|
+
<assert>
|
261
|
+
<operator value="in"/>
|
262
|
+
<responseCode value="201"/>
|
263
|
+
</assert>
|
264
|
+
</action>
|
265
|
+
|
266
|
+
<action>
|
267
|
+
<operation>
|
268
|
+
<type>
|
269
|
+
<code value="create"/>
|
270
|
+
</type>
|
271
|
+
<accept value="xml"/>
|
272
|
+
<contentType value="xml"/>
|
273
|
+
<responseId value="intensional-case-3-create-response"/>
|
274
|
+
<sourceId value="intensional-case-3"/>
|
275
|
+
</operation>
|
276
|
+
</action>
|
277
|
+
<action>
|
278
|
+
<assert>
|
279
|
+
<operator value="in"/>
|
280
|
+
<responseCode value="201"/>
|
281
|
+
</assert>
|
282
|
+
</action>
|
283
|
+
</setup>
|
284
|
+
|
285
|
+
<test id="3-1-a-ValidateExtensionalCase1">
|
286
|
+
<name value="Test 3-1-a Validate extensional-case-1 valid"/>
|
287
|
+
<description value="Check that the code {http://hl7.org/fhir/patient-contact-relationship}emergency is in the value set."/>
|
288
|
+
|
289
|
+
<action>
|
290
|
+
<operation>
|
291
|
+
<type>
|
292
|
+
<code value="$validate-code"/>
|
293
|
+
</type>
|
294
|
+
<resource value="ValueSet"/>
|
295
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-1 for a valid code."/>
|
296
|
+
<accept value="xml"/>
|
297
|
+
<encodeRequestUrl value="false"/>
|
298
|
+
<params value="/${extensional-case-1-id}/$validate-code?system=http://hl7.org/fhir/patient-contact-relationship&code=emergency"/>
|
299
|
+
</operation>
|
300
|
+
</action>
|
301
|
+
<action>
|
302
|
+
<assert>
|
303
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
304
|
+
<response value="okay"/>
|
305
|
+
<warningOnly value="true"/>
|
306
|
+
</assert>
|
307
|
+
</action>
|
308
|
+
<action>
|
309
|
+
<assert>
|
310
|
+
<description value="Confirm that the returned format is XML."/>
|
311
|
+
<contentType value="xml"/>
|
312
|
+
<warningOnly value="true"/>
|
313
|
+
</assert>
|
314
|
+
</action>
|
315
|
+
<action>
|
316
|
+
<assert>
|
317
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
318
|
+
<resource value="Parameters"/>
|
319
|
+
<warningOnly value="true"/>
|
320
|
+
</assert>
|
321
|
+
</action>
|
322
|
+
<action>
|
323
|
+
<assert>
|
324
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
325
|
+
<minimumId value="suite3-valid-min"/>
|
326
|
+
</assert>
|
327
|
+
</action>
|
328
|
+
</test>
|
329
|
+
|
330
|
+
<test id="3-1-b-ValidateExtensionalCase1">
|
331
|
+
<name value="Test 3-1-b Validate extensional-case-1 invalid system"/>
|
332
|
+
<description value="Check that the code {http://hl7.org/fhir/patient-contact-relationshipX}emergency is not in the value set."/>
|
333
|
+
|
334
|
+
<action>
|
335
|
+
<operation>
|
336
|
+
<type>
|
337
|
+
<code value="$validate-code"/>
|
338
|
+
</type>
|
339
|
+
<resource value="ValueSet"/>
|
340
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-1 for an invalid code."/>
|
341
|
+
<accept value="xml"/>
|
342
|
+
<encodeRequestUrl value="false"/>
|
343
|
+
<params value="/${extensional-case-1-id}/$validate-code?system=http://hl7.org/fhir/patient-contact-relationshipX&code=emergency"/>
|
344
|
+
</operation>
|
345
|
+
</action>
|
346
|
+
<action>
|
347
|
+
<assert>
|
348
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
349
|
+
<response value="okay"/>
|
350
|
+
<warningOnly value="true"/>
|
351
|
+
</assert>
|
352
|
+
</action>
|
353
|
+
<action>
|
354
|
+
<assert>
|
355
|
+
<description value="Confirm that the returned format is XML."/>
|
356
|
+
<contentType value="xml"/>
|
357
|
+
<warningOnly value="true"/>
|
358
|
+
</assert>
|
359
|
+
</action>
|
360
|
+
<action>
|
361
|
+
<assert>
|
362
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
363
|
+
<resource value="Parameters"/>
|
364
|
+
<warningOnly value="true"/>
|
365
|
+
</assert>
|
366
|
+
</action>
|
367
|
+
<action>
|
368
|
+
<assert>
|
369
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
370
|
+
<minimumId value="suite3-invalid-min"/>
|
371
|
+
</assert>
|
372
|
+
</action>
|
373
|
+
</test>
|
374
|
+
|
375
|
+
<test id="3-1-c-ValidateExtensionalCase1">
|
376
|
+
<name value="Test 3-1-c Validate extensional-case-1 invalid code"/>
|
377
|
+
<description value="Check that the code {http://hl7.org/fhir/patient-contact-relationship}emergencyX is not in the value set."/>
|
378
|
+
|
379
|
+
<action>
|
380
|
+
<operation>
|
381
|
+
<type>
|
382
|
+
<code value="$validate-code"/>
|
383
|
+
</type>
|
384
|
+
<resource value="ValueSet"/>
|
385
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-1 for an invalid code."/>
|
386
|
+
<accept value="xml"/>
|
387
|
+
<encodeRequestUrl value="false"/>
|
388
|
+
<params value="/${extensional-case-1-id}/$validate-code?system=http://hl7.org/fhir/patient-contact-relationship&code=emergencyX"/>
|
389
|
+
</operation>
|
390
|
+
</action>
|
391
|
+
<action>
|
392
|
+
<assert>
|
393
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
394
|
+
<response value="okay"/>
|
395
|
+
<warningOnly value="true"/>
|
396
|
+
</assert>
|
397
|
+
</action>
|
398
|
+
<action>
|
399
|
+
<assert>
|
400
|
+
<description value="Confirm that the returned format is XML."/>
|
401
|
+
<contentType value="xml"/>
|
402
|
+
<warningOnly value="true"/>
|
403
|
+
</assert>
|
404
|
+
</action>
|
405
|
+
<action>
|
406
|
+
<assert>
|
407
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
408
|
+
<resource value="Parameters"/>
|
409
|
+
<warningOnly value="true"/>
|
410
|
+
</assert>
|
411
|
+
</action>
|
412
|
+
<action>
|
413
|
+
<assert>
|
414
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
415
|
+
<minimumId value="suite3-invalid-min"/>
|
416
|
+
</assert>
|
417
|
+
</action>
|
418
|
+
</test>
|
419
|
+
|
420
|
+
<test id="3-2-a-ValidateExtensionalCase2">
|
421
|
+
<name value="Test 3-2-a Validate extensional-case-2 valid"/>
|
422
|
+
<description value="Check that the code {http://loinc.org}11378-7 'Systolic blood pressure at First encounter' is in the value set."/>
|
423
|
+
|
424
|
+
<action>
|
425
|
+
<operation>
|
426
|
+
<type>
|
427
|
+
<code value="$validate-code"/>
|
428
|
+
</type>
|
429
|
+
<resource value="ValueSet"/>
|
430
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-2 for a valid code."/>
|
431
|
+
<accept value="xml"/>
|
432
|
+
<encodeRequestUrl value="false"/>
|
433
|
+
<params value="/${extensional-case-2-id}/$validate-code?system=http://loinc.org&code=11378-7&display=Systolic%20blood%20pressure%20at%20First%20encounter"/>
|
434
|
+
</operation>
|
435
|
+
</action>
|
436
|
+
<action>
|
437
|
+
<assert>
|
438
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
439
|
+
<response value="okay"/>
|
440
|
+
<warningOnly value="true"/>
|
441
|
+
</assert>
|
442
|
+
</action>
|
443
|
+
<action>
|
444
|
+
<assert>
|
445
|
+
<description value="Confirm that the returned format is XML."/>
|
446
|
+
<contentType value="xml"/>
|
447
|
+
<warningOnly value="true"/>
|
448
|
+
</assert>
|
449
|
+
</action>
|
450
|
+
<action>
|
451
|
+
<assert>
|
452
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
453
|
+
<resource value="Parameters"/>
|
454
|
+
<warningOnly value="true"/>
|
455
|
+
</assert>
|
456
|
+
</action>
|
457
|
+
<action>
|
458
|
+
<assert>
|
459
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
460
|
+
<minimumId value="suite3-valid-min"/>
|
461
|
+
</assert>
|
462
|
+
</action>
|
463
|
+
</test>
|
464
|
+
|
465
|
+
<test id="3-2-b-ValidateExtensionalCase2">
|
466
|
+
<name value="Test 3-2-b Validate extensional-case-2 valid code invalid display"/>
|
467
|
+
<description value="Check that the code {http://loinc.org}11378-7 'Systolic blood pressure at First encounter' is in the value set, but supply a wrong display."/>
|
468
|
+
|
469
|
+
<action>
|
470
|
+
<operation>
|
471
|
+
<type>
|
472
|
+
<code value="$validate-code"/>
|
473
|
+
</type>
|
474
|
+
<resource value="ValueSet"/>
|
475
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-2 for an invalid display."/>
|
476
|
+
<accept value="xml"/>
|
477
|
+
<encodeRequestUrl value="false"/>
|
478
|
+
<params value="/${extensional-case-2-id}/$validate-code?system=http://loinc.org&code=11378-7&display=Systolic%20blood%20pressure%20at%20First%20encounterX"/>
|
479
|
+
</operation>
|
480
|
+
</action>
|
481
|
+
<action>
|
482
|
+
<assert>
|
483
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
484
|
+
<response value="okay"/>
|
485
|
+
<warningOnly value="true"/>
|
486
|
+
</assert>
|
487
|
+
</action>
|
488
|
+
<action>
|
489
|
+
<assert>
|
490
|
+
<description value="Confirm that the returned format is XML."/>
|
491
|
+
<contentType value="xml"/>
|
492
|
+
<warningOnly value="true"/>
|
493
|
+
</assert>
|
494
|
+
</action>
|
495
|
+
<action>
|
496
|
+
<assert>
|
497
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
498
|
+
<resource value="Parameters"/>
|
499
|
+
<warningOnly value="true"/>
|
500
|
+
</assert>
|
501
|
+
</action>
|
502
|
+
<action>
|
503
|
+
<assert>
|
504
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
505
|
+
<minimumId value="suite3-invalid-min"/>
|
506
|
+
</assert>
|
507
|
+
</action>
|
508
|
+
</test>
|
509
|
+
|
510
|
+
<test id="3-2-c-ValidateExtensionalCase2">
|
511
|
+
<name value="Test 3-2-c Validate extensional-case-2 invalid system"/>
|
512
|
+
<description value="Check that the code {http://loinc.orgX}11378-7 'Systolic blood pressure at First encounter' is not in the value set."/>
|
513
|
+
|
514
|
+
<action>
|
515
|
+
<operation>
|
516
|
+
<type>
|
517
|
+
<code value="$validate-code"/>
|
518
|
+
</type>
|
519
|
+
<resource value="ValueSet"/>
|
520
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-2 for a code not in the value set."/>
|
521
|
+
<accept value="xml"/>
|
522
|
+
<encodeRequestUrl value="false"/>
|
523
|
+
<params value="/${extensional-case-2-id}/$validate-code?system=http://loinc.orgX&code=11378-7"/>
|
524
|
+
</operation>
|
525
|
+
</action>
|
526
|
+
<action>
|
527
|
+
<assert>
|
528
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
529
|
+
<response value="okay"/>
|
530
|
+
<warningOnly value="true"/>
|
531
|
+
</assert>
|
532
|
+
</action>
|
533
|
+
<action>
|
534
|
+
<assert>
|
535
|
+
<description value="Confirm that the returned format is XML."/>
|
536
|
+
<contentType value="xml"/>
|
537
|
+
<warningOnly value="true"/>
|
538
|
+
</assert>
|
539
|
+
</action>
|
540
|
+
<action>
|
541
|
+
<assert>
|
542
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
543
|
+
<resource value="Parameters"/>
|
544
|
+
<warningOnly value="true"/>
|
545
|
+
</assert>
|
546
|
+
</action>
|
547
|
+
<action>
|
548
|
+
<assert>
|
549
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
550
|
+
<minimumId value="suite3-invalid-min"/>
|
551
|
+
</assert>
|
552
|
+
</action>
|
553
|
+
</test>
|
554
|
+
|
555
|
+
<test id="3-2-d-ValidateExtensionalCase2">
|
556
|
+
<name value="Test 3-2-d Validate extensional-case-2 invalid code"/>
|
557
|
+
<description value="Check that the code {http://loinc.org}11378-7X 'Systolic blood pressure at First encounter' is not in the value set."/>
|
558
|
+
|
559
|
+
<action>
|
560
|
+
<operation>
|
561
|
+
<type>
|
562
|
+
<code value="$validate-code"/>
|
563
|
+
</type>
|
564
|
+
<resource value="ValueSet"/>
|
565
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-2 for a code not in the value set."/>
|
566
|
+
<accept value="xml"/>
|
567
|
+
<encodeRequestUrl value="false"/>
|
568
|
+
<params value="/${extensional-case-2-id}/$validate-code?system=http://loinc.org&code=11378-7X"/>
|
569
|
+
</operation>
|
570
|
+
</action>
|
571
|
+
<action>
|
572
|
+
<assert>
|
573
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
574
|
+
<response value="okay"/>
|
575
|
+
<warningOnly value="true"/>
|
576
|
+
</assert>
|
577
|
+
</action>
|
578
|
+
<action>
|
579
|
+
<assert>
|
580
|
+
<description value="Confirm that the returned format is XML."/>
|
581
|
+
<contentType value="xml"/>
|
582
|
+
<warningOnly value="true"/>
|
583
|
+
</assert>
|
584
|
+
</action>
|
585
|
+
<action>
|
586
|
+
<assert>
|
587
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
588
|
+
<resource value="Parameters"/>
|
589
|
+
<warningOnly value="true"/>
|
590
|
+
</assert>
|
591
|
+
</action>
|
592
|
+
<action>
|
593
|
+
<assert>
|
594
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
595
|
+
<minimumId value="suite3-invalid-min"/>
|
596
|
+
</assert>
|
597
|
+
</action>
|
598
|
+
</test>
|
599
|
+
|
600
|
+
<test id="3-2-e-ValidateExtensionalCase2">
|
601
|
+
<name value="Test 3-2-e Validate extensional-case-2 valid code not in valid set"/>
|
602
|
+
<description value="Check that the code {http://loinc.org}13457-7 is not in the value set."/>
|
603
|
+
|
604
|
+
<action>
|
605
|
+
<operation>
|
606
|
+
<type>
|
607
|
+
<code value="$validate-code"/>
|
608
|
+
</type>
|
609
|
+
<resource value="ValueSet"/>
|
610
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-2 for a code not in the value set."/>
|
611
|
+
<accept value="xml"/>
|
612
|
+
<encodeRequestUrl value="false"/>
|
613
|
+
<params value="/${extensional-case-2-id}/$validate-code?system=http://loinc.org&code=13457-7"/>
|
614
|
+
</operation>
|
615
|
+
</action>
|
616
|
+
<action>
|
617
|
+
<assert>
|
618
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
619
|
+
<response value="okay"/>
|
620
|
+
<warningOnly value="true"/>
|
621
|
+
</assert>
|
622
|
+
</action>
|
623
|
+
<action>
|
624
|
+
<assert>
|
625
|
+
<description value="Confirm that the returned format is XML."/>
|
626
|
+
<contentType value="xml"/>
|
627
|
+
<warningOnly value="true"/>
|
628
|
+
</assert>
|
629
|
+
</action>
|
630
|
+
<action>
|
631
|
+
<assert>
|
632
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
633
|
+
<resource value="Parameters"/>
|
634
|
+
<warningOnly value="true"/>
|
635
|
+
</assert>
|
636
|
+
</action>
|
637
|
+
<action>
|
638
|
+
<assert>
|
639
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
640
|
+
<minimumId value="suite3-invalid-min"/>
|
641
|
+
</assert>
|
642
|
+
</action>
|
643
|
+
</test>
|
644
|
+
|
645
|
+
<test id="3-3-a-ValidateExtensionalCase3">
|
646
|
+
<name value="Test 3-3-a Validate extensional-case-3 valid"/>
|
647
|
+
<description value="Check that the code {http://snomed.info/sct}371037005 'Systolic dysfunction' is in the value set."/>
|
648
|
+
|
649
|
+
<action>
|
650
|
+
<operation>
|
651
|
+
<type>
|
652
|
+
<code value="$validate-code"/>
|
653
|
+
</type>
|
654
|
+
<resource value="ValueSet"/>
|
655
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-3 for a valid code."/>
|
656
|
+
<accept value="xml"/>
|
657
|
+
<encodeRequestUrl value="false"/>
|
658
|
+
<params value="/${extensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=371037005&display=Systolic%20dysfunction"/>
|
659
|
+
</operation>
|
660
|
+
</action>
|
661
|
+
<action>
|
662
|
+
<assert>
|
663
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
664
|
+
<response value="okay"/>
|
665
|
+
<warningOnly value="true"/>
|
666
|
+
</assert>
|
667
|
+
</action>
|
668
|
+
<action>
|
669
|
+
<assert>
|
670
|
+
<description value="Confirm that the returned format is XML."/>
|
671
|
+
<contentType value="xml"/>
|
672
|
+
<warningOnly value="true"/>
|
673
|
+
</assert>
|
674
|
+
</action>
|
675
|
+
<action>
|
676
|
+
<assert>
|
677
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
678
|
+
<resource value="Parameters"/>
|
679
|
+
<warningOnly value="true"/>
|
680
|
+
</assert>
|
681
|
+
</action>
|
682
|
+
<action>
|
683
|
+
<assert>
|
684
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
685
|
+
<minimumId value="suite3-valid-min"/>
|
686
|
+
</assert>
|
687
|
+
</action>
|
688
|
+
</test>
|
689
|
+
|
690
|
+
<test id="3-3-b-ValidateExtensionalCase3">
|
691
|
+
<name value="Test 3-3-b Validate extensional-case-3 valid code invalid display"/>
|
692
|
+
<description value="Check that the code {http://snomed.info/sct}371037005 'Systolic dysfunction' is in the value set, but give the wrong display."/>
|
693
|
+
|
694
|
+
<action>
|
695
|
+
<operation>
|
696
|
+
<type>
|
697
|
+
<code value="$validate-code"/>
|
698
|
+
</type>
|
699
|
+
<resource value="ValueSet"/>
|
700
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-3 for an invalid display."/>
|
701
|
+
<accept value="xml"/>
|
702
|
+
<encodeRequestUrl value="false"/>
|
703
|
+
<params value="/${extensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=371037005&display=Systolic%20dysfunctionX"/>
|
704
|
+
</operation>
|
705
|
+
</action>
|
706
|
+
<action>
|
707
|
+
<assert>
|
708
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
709
|
+
<response value="okay"/>
|
710
|
+
<warningOnly value="true"/>
|
711
|
+
</assert>
|
712
|
+
</action>
|
713
|
+
<action>
|
714
|
+
<assert>
|
715
|
+
<description value="Confirm that the returned format is XML."/>
|
716
|
+
<contentType value="xml"/>
|
717
|
+
<warningOnly value="true"/>
|
718
|
+
</assert>
|
719
|
+
</action>
|
720
|
+
<action>
|
721
|
+
<assert>
|
722
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
723
|
+
<resource value="Parameters"/>
|
724
|
+
<warningOnly value="true"/>
|
725
|
+
</assert>
|
726
|
+
</action>
|
727
|
+
<action>
|
728
|
+
<assert>
|
729
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
730
|
+
<minimumId value="suite3-invalid-min"/>
|
731
|
+
</assert>
|
732
|
+
</action>
|
733
|
+
</test>
|
734
|
+
|
735
|
+
<test id="3-3-c-ValidateExtensionalCase3">
|
736
|
+
<name value="Test 3-3-c Validate extensional-case-3 invalid system"/>
|
737
|
+
<description value="Check that the code {http://snomed.info/sctX}371037005 is not in the value set."/>
|
738
|
+
|
739
|
+
<action>
|
740
|
+
<operation>
|
741
|
+
<type>
|
742
|
+
<code value="$validate-code"/>
|
743
|
+
</type>
|
744
|
+
<resource value="ValueSet"/>
|
745
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-3 for a code not in the value set."/>
|
746
|
+
<accept value="xml"/>
|
747
|
+
<encodeRequestUrl value="false"/>
|
748
|
+
<params value="/${extensional-case-3-id}/$validate-code?system=http://snomed.info/sctX&code=371037005"/>
|
749
|
+
</operation>
|
750
|
+
</action>
|
751
|
+
<action>
|
752
|
+
<assert>
|
753
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
754
|
+
<response value="okay"/>
|
755
|
+
<warningOnly value="true"/>
|
756
|
+
</assert>
|
757
|
+
</action>
|
758
|
+
<action>
|
759
|
+
<assert>
|
760
|
+
<description value="Confirm that the returned format is XML."/>
|
761
|
+
<contentType value="xml"/>
|
762
|
+
<warningOnly value="true"/>
|
763
|
+
</assert>
|
764
|
+
</action>
|
765
|
+
<action>
|
766
|
+
<assert>
|
767
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
768
|
+
<resource value="Parameters"/>
|
769
|
+
<warningOnly value="true"/>
|
770
|
+
</assert>
|
771
|
+
</action>
|
772
|
+
<action>
|
773
|
+
<assert>
|
774
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
775
|
+
<minimumId value="suite3-invalid-min"/>
|
776
|
+
</assert>
|
777
|
+
</action>
|
778
|
+
</test>
|
779
|
+
|
780
|
+
<test id="3-3-d-ValidateExtensionalCase3">
|
781
|
+
<name value="Test 3-3-d Validate extensional-case-3 invalid code"/>
|
782
|
+
<description value="Check that the code {http://snomed.info/sct}371037005X is not in the value set."/>
|
783
|
+
|
784
|
+
<action>
|
785
|
+
<operation>
|
786
|
+
<type>
|
787
|
+
<code value="$validate-code"/>
|
788
|
+
</type>
|
789
|
+
<resource value="ValueSet"/>
|
790
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-3 for a code not in the value set."/>
|
791
|
+
<accept value="xml"/>
|
792
|
+
<encodeRequestUrl value="false"/>
|
793
|
+
<params value="/${extensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=371037005X"/>
|
794
|
+
</operation>
|
795
|
+
</action>
|
796
|
+
<action>
|
797
|
+
<assert>
|
798
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
799
|
+
<response value="okay"/>
|
800
|
+
<warningOnly value="true"/>
|
801
|
+
</assert>
|
802
|
+
</action>
|
803
|
+
<action>
|
804
|
+
<assert>
|
805
|
+
<description value="Confirm that the returned format is XML."/>
|
806
|
+
<contentType value="xml"/>
|
807
|
+
<warningOnly value="true"/>
|
808
|
+
</assert>
|
809
|
+
</action>
|
810
|
+
<action>
|
811
|
+
<assert>
|
812
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
813
|
+
<resource value="Parameters"/>
|
814
|
+
<warningOnly value="true"/>
|
815
|
+
</assert>
|
816
|
+
</action>
|
817
|
+
<action>
|
818
|
+
<assert>
|
819
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
820
|
+
<minimumId value="suite3-invalid-min"/>
|
821
|
+
</assert>
|
822
|
+
</action>
|
823
|
+
</test>
|
824
|
+
|
825
|
+
<test id="3-3-e-ValidateExtensionalCase3">
|
826
|
+
<name value="Test 3-3-e Validate extensional-case-3 valid code not in valid set"/>
|
827
|
+
<description value="Check that the code {http://snomed.info/sct}102261002 is not in the value set."/>
|
828
|
+
|
829
|
+
<action>
|
830
|
+
<operation>
|
831
|
+
<type>
|
832
|
+
<code value="$validate-code"/>
|
833
|
+
</type>
|
834
|
+
<resource value="ValueSet"/>
|
835
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-3 for a code not in the value set."/>
|
836
|
+
<accept value="xml"/>
|
837
|
+
<encodeRequestUrl value="false"/>
|
838
|
+
<params value="/${extensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=102261002"/>
|
839
|
+
</operation>
|
840
|
+
</action>
|
841
|
+
<action>
|
842
|
+
<assert>
|
843
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
844
|
+
<response value="okay"/>
|
845
|
+
<warningOnly value="true"/>
|
846
|
+
</assert>
|
847
|
+
</action>
|
848
|
+
<action>
|
849
|
+
<assert>
|
850
|
+
<description value="Confirm that the returned format is XML."/>
|
851
|
+
<contentType value="xml"/>
|
852
|
+
<warningOnly value="true"/>
|
853
|
+
</assert>
|
854
|
+
</action>
|
855
|
+
<action>
|
856
|
+
<assert>
|
857
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
858
|
+
<resource value="Parameters"/>
|
859
|
+
<warningOnly value="true"/>
|
860
|
+
</assert>
|
861
|
+
</action>
|
862
|
+
<action>
|
863
|
+
<assert>
|
864
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
865
|
+
<minimumId value="suite3-invalid-min"/>
|
866
|
+
</assert>
|
867
|
+
</action>
|
868
|
+
</test>
|
869
|
+
|
870
|
+
<test id="3-4-a-ValidateExtensionalCase4">
|
871
|
+
<name value="Test 3-4-a Validate extensional-case-4 valid"/>
|
872
|
+
<description value="Check that the code {http://hl7.org/fhir/v3/RoleCode}CHILD 'child' is in the value set."/>
|
873
|
+
|
874
|
+
<action>
|
875
|
+
<operation>
|
876
|
+
<type>
|
877
|
+
<code value="$validate-code"/>
|
878
|
+
</type>
|
879
|
+
<resource value="ValueSet"/>
|
880
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-4 for a valid code."/>
|
881
|
+
<accept value="xml"/>
|
882
|
+
<encodeRequestUrl value="false"/>
|
883
|
+
<params value="/${extensional-case-4-id}/$validate-code?system=http://hl7.org/fhir/v3/RoleCode&code=CHILD&display=child"/>
|
884
|
+
</operation>
|
885
|
+
</action>
|
886
|
+
<action>
|
887
|
+
<assert>
|
888
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
889
|
+
<response value="okay"/>
|
890
|
+
<warningOnly value="true"/>
|
891
|
+
</assert>
|
892
|
+
</action>
|
893
|
+
<action>
|
894
|
+
<assert>
|
895
|
+
<description value="Confirm that the returned format is XML."/>
|
896
|
+
<contentType value="xml"/>
|
897
|
+
<warningOnly value="true"/>
|
898
|
+
</assert>
|
899
|
+
</action>
|
900
|
+
<action>
|
901
|
+
<assert>
|
902
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
903
|
+
<resource value="Parameters"/>
|
904
|
+
<warningOnly value="true"/>
|
905
|
+
</assert>
|
906
|
+
</action>
|
907
|
+
<action>
|
908
|
+
<assert>
|
909
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
910
|
+
<minimumId value="suite3-valid-min"/>
|
911
|
+
</assert>
|
912
|
+
</action>
|
913
|
+
</test>
|
914
|
+
|
915
|
+
<test id="3-4-b-ValidateExtensionalCase4">
|
916
|
+
<name value="Test 3-4-b Validate extensional-case-4 valid code invalid display"/>
|
917
|
+
<description value="Check that the code {http://hl7.org/fhir/v3/RoleCode}CHILD 'child' is in the value set, but give the wrong display."/>
|
918
|
+
|
919
|
+
<action>
|
920
|
+
<operation>
|
921
|
+
<type>
|
922
|
+
<code value="$validate-code"/>
|
923
|
+
</type>
|
924
|
+
<resource value="ValueSet"/>
|
925
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-4 for an invalid display."/>
|
926
|
+
<accept value="xml"/>
|
927
|
+
<encodeRequestUrl value="false"/>
|
928
|
+
<params value="/${extensional-case-4-id}/$validate-code?system=http://hl7.org/fhir/v3/RoleCode&code=CHILD&display=childX"/>
|
929
|
+
</operation>
|
930
|
+
</action>
|
931
|
+
<action>
|
932
|
+
<assert>
|
933
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
934
|
+
<response value="okay"/>
|
935
|
+
<warningOnly value="true"/>
|
936
|
+
</assert>
|
937
|
+
</action>
|
938
|
+
<action>
|
939
|
+
<assert>
|
940
|
+
<description value="Confirm that the returned format is XML."/>
|
941
|
+
<contentType value="xml"/>
|
942
|
+
<warningOnly value="true"/>
|
943
|
+
</assert>
|
944
|
+
</action>
|
945
|
+
<action>
|
946
|
+
<assert>
|
947
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
948
|
+
<resource value="Parameters"/>
|
949
|
+
<warningOnly value="true"/>
|
950
|
+
</assert>
|
951
|
+
</action>
|
952
|
+
<action>
|
953
|
+
<assert>
|
954
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
955
|
+
<minimumId value="suite3-invalid-min"/>
|
956
|
+
</assert>
|
957
|
+
</action>
|
958
|
+
</test>
|
959
|
+
|
960
|
+
<test id="3-4-c-ValidateExtensionalCase4">
|
961
|
+
<name value="Test 3-4-c Validate extensional-case-4 invalid system"/>
|
962
|
+
<description value="Check that the code {http://hl7.org/fhir/v3/RoleCodeX}CHILD is not in the value set."/>
|
963
|
+
|
964
|
+
<action>
|
965
|
+
<operation>
|
966
|
+
<type>
|
967
|
+
<code value="$validate-code"/>
|
968
|
+
</type>
|
969
|
+
<resource value="ValueSet"/>
|
970
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-4 for a code not in the value set."/>
|
971
|
+
<accept value="xml"/>
|
972
|
+
<encodeRequestUrl value="false"/>
|
973
|
+
<params value="/${extensional-case-4-id}/$validate-code?system=http://hl7.org/fhir/v3/RoleCodeX&code=CHILD"/>
|
974
|
+
</operation>
|
975
|
+
</action>
|
976
|
+
<action>
|
977
|
+
<assert>
|
978
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
979
|
+
<response value="okay"/>
|
980
|
+
<warningOnly value="true"/>
|
981
|
+
</assert>
|
982
|
+
</action>
|
983
|
+
<action>
|
984
|
+
<assert>
|
985
|
+
<description value="Confirm that the returned format is XML."/>
|
986
|
+
<contentType value="xml"/>
|
987
|
+
<warningOnly value="true"/>
|
988
|
+
</assert>
|
989
|
+
</action>
|
990
|
+
<action>
|
991
|
+
<assert>
|
992
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
993
|
+
<resource value="Parameters"/>
|
994
|
+
<warningOnly value="true"/>
|
995
|
+
</assert>
|
996
|
+
</action>
|
997
|
+
<action>
|
998
|
+
<assert>
|
999
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1000
|
+
<minimumId value="suite3-invalid-min"/>
|
1001
|
+
</assert>
|
1002
|
+
</action>
|
1003
|
+
</test>
|
1004
|
+
|
1005
|
+
<test id="3-4-d-ValidateExtensionalCase4">
|
1006
|
+
<name value="Test 3-4-d Validate extensional-case-4 invalid code"/>
|
1007
|
+
<description value="Check that the code {http://hl7.org/fhir/v3/RoleCode}child is not in the value set (note: this coding system is case sensitive, so 'CHILD' is valid, but 'child' is not."/>
|
1008
|
+
|
1009
|
+
<action>
|
1010
|
+
<operation>
|
1011
|
+
<type>
|
1012
|
+
<code value="$validate-code"/>
|
1013
|
+
</type>
|
1014
|
+
<resource value="ValueSet"/>
|
1015
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-4 for a code not in the value set."/>
|
1016
|
+
<accept value="xml"/>
|
1017
|
+
<encodeRequestUrl value="false"/>
|
1018
|
+
<params value="/${extensional-case-4-id}/$validate-code?system=http://hl7.org/fhir/v3/RoleCode&code=child"/>
|
1019
|
+
</operation>
|
1020
|
+
</action>
|
1021
|
+
<action>
|
1022
|
+
<assert>
|
1023
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1024
|
+
<response value="okay"/>
|
1025
|
+
<warningOnly value="true"/>
|
1026
|
+
</assert>
|
1027
|
+
</action>
|
1028
|
+
<action>
|
1029
|
+
<assert>
|
1030
|
+
<description value="Confirm that the returned format is XML."/>
|
1031
|
+
<contentType value="xml"/>
|
1032
|
+
<warningOnly value="true"/>
|
1033
|
+
</assert>
|
1034
|
+
</action>
|
1035
|
+
<action>
|
1036
|
+
<assert>
|
1037
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1038
|
+
<resource value="Parameters"/>
|
1039
|
+
<warningOnly value="true"/>
|
1040
|
+
</assert>
|
1041
|
+
</action>
|
1042
|
+
<action>
|
1043
|
+
<assert>
|
1044
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1045
|
+
<minimumId value="suite3-invalid-min"/>
|
1046
|
+
</assert>
|
1047
|
+
</action>
|
1048
|
+
</test>
|
1049
|
+
|
1050
|
+
<test id="3-4-e-ValidateExtensionalCase4">
|
1051
|
+
<name value="Test 3-4-e Validate extensional-case-4 valid code not in valid set"/>
|
1052
|
+
<description value="Check that the code {http://hl7.org/fhir/v3/RoleCode}FULLINS is not in the value set."/>
|
1053
|
+
|
1054
|
+
<action>
|
1055
|
+
<operation>
|
1056
|
+
<type>
|
1057
|
+
<code value="$validate-code"/>
|
1058
|
+
</type>
|
1059
|
+
<resource value="ValueSet"/>
|
1060
|
+
<description value="Test $validate-code operation on ValueSet extensional-case-4 for a code not in the value set."/>
|
1061
|
+
<accept value="xml"/>
|
1062
|
+
<encodeRequestUrl value="false"/>
|
1063
|
+
<params value="/${extensional-case-4-id}/$validate-code?system=http://hl7.org/fhir/v3/RoleCode&code=FULLINS"/>
|
1064
|
+
</operation>
|
1065
|
+
</action>
|
1066
|
+
<action>
|
1067
|
+
<assert>
|
1068
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1069
|
+
<response value="okay"/>
|
1070
|
+
<warningOnly value="true"/>
|
1071
|
+
</assert>
|
1072
|
+
</action>
|
1073
|
+
<action>
|
1074
|
+
<assert>
|
1075
|
+
<description value="Confirm that the returned format is XML."/>
|
1076
|
+
<contentType value="xml"/>
|
1077
|
+
<warningOnly value="true"/>
|
1078
|
+
</assert>
|
1079
|
+
</action>
|
1080
|
+
<action>
|
1081
|
+
<assert>
|
1082
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1083
|
+
<resource value="Parameters"/>
|
1084
|
+
<warningOnly value="true"/>
|
1085
|
+
</assert>
|
1086
|
+
</action>
|
1087
|
+
<action>
|
1088
|
+
<assert>
|
1089
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1090
|
+
<minimumId value="suite3-invalid-min"/>
|
1091
|
+
</assert>
|
1092
|
+
</action>
|
1093
|
+
</test>
|
1094
|
+
|
1095
|
+
<test id="3-5-a-ValidateIntensionalCase1">
|
1096
|
+
<name value="Test 3-5-a Validate intensional-case-1 valid"/>
|
1097
|
+
<description value="Check that the code {http://loinc.org}11377-9 'Diastolic blood pressure at First encounter' is in the value set."/>
|
1098
|
+
|
1099
|
+
<action>
|
1100
|
+
<operation>
|
1101
|
+
<type>
|
1102
|
+
<code value="$validate-code"/>
|
1103
|
+
</type>
|
1104
|
+
<resource value="ValueSet"/>
|
1105
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-1 for a valid code."/>
|
1106
|
+
<accept value="xml"/>
|
1107
|
+
<encodeRequestUrl value="false"/>
|
1108
|
+
<params value="/${intensional-case-1-id}/$validate-code?system=http://loinc.org&code=11377-9&display=Diastolic%20blood%20pressure%20at%20First%20encounter"/>
|
1109
|
+
</operation>
|
1110
|
+
</action>
|
1111
|
+
<action>
|
1112
|
+
<assert>
|
1113
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1114
|
+
<response value="okay"/>
|
1115
|
+
<warningOnly value="true"/>
|
1116
|
+
</assert>
|
1117
|
+
</action>
|
1118
|
+
<action>
|
1119
|
+
<assert>
|
1120
|
+
<description value="Confirm that the returned format is XML."/>
|
1121
|
+
<contentType value="xml"/>
|
1122
|
+
<warningOnly value="true"/>
|
1123
|
+
</assert>
|
1124
|
+
</action>
|
1125
|
+
<action>
|
1126
|
+
<assert>
|
1127
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1128
|
+
<resource value="Parameters"/>
|
1129
|
+
<warningOnly value="true"/>
|
1130
|
+
</assert>
|
1131
|
+
</action>
|
1132
|
+
<action>
|
1133
|
+
<assert>
|
1134
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
1135
|
+
<minimumId value="suite3-valid-min"/>
|
1136
|
+
</assert>
|
1137
|
+
</action>
|
1138
|
+
</test>
|
1139
|
+
|
1140
|
+
<test id="3-5-b-ValidateIntensionalCase1">
|
1141
|
+
<name value="Test 3-5-b Validate intensional-case-1 valid code invalid display"/>
|
1142
|
+
<description value="Check that the code {http://loinc.org}11377-9 'Diastolic blood pressure at First encounter' is in the value set, but supply a wrong display."/>
|
1143
|
+
|
1144
|
+
<action>
|
1145
|
+
<operation>
|
1146
|
+
<type>
|
1147
|
+
<code value="$validate-code"/>
|
1148
|
+
</type>
|
1149
|
+
<resource value="ValueSet"/>
|
1150
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-1 for an invalid display."/>
|
1151
|
+
<accept value="xml"/>
|
1152
|
+
<encodeRequestUrl value="false"/>
|
1153
|
+
<params value="/${intensional-case-1-id}/$validate-code?system=http://loinc.org&code=11377-9&display=Diastolic%20blood%20pressure%20at%20First%20encounterX"/>
|
1154
|
+
</operation>
|
1155
|
+
</action>
|
1156
|
+
<action>
|
1157
|
+
<assert>
|
1158
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1159
|
+
<response value="okay"/>
|
1160
|
+
<warningOnly value="true"/>
|
1161
|
+
</assert>
|
1162
|
+
</action>
|
1163
|
+
<action>
|
1164
|
+
<assert>
|
1165
|
+
<description value="Confirm that the returned format is XML."/>
|
1166
|
+
<contentType value="xml"/>
|
1167
|
+
<warningOnly value="true"/>
|
1168
|
+
</assert>
|
1169
|
+
</action>
|
1170
|
+
<action>
|
1171
|
+
<assert>
|
1172
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1173
|
+
<resource value="Parameters"/>
|
1174
|
+
<warningOnly value="true"/>
|
1175
|
+
</assert>
|
1176
|
+
</action>
|
1177
|
+
<action>
|
1178
|
+
<assert>
|
1179
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1180
|
+
<minimumId value="suite3-invalid-min"/>
|
1181
|
+
</assert>
|
1182
|
+
</action>
|
1183
|
+
</test>
|
1184
|
+
|
1185
|
+
<test id="3-5-c-ValidateIntensionalCase1">
|
1186
|
+
<name value="Test 3-5-c Validate intensional-case-1 invalid system"/>
|
1187
|
+
<description value="Check that the code {http://loinc.orgX}11377-9 is not in the value set."/>
|
1188
|
+
|
1189
|
+
<action>
|
1190
|
+
<operation>
|
1191
|
+
<type>
|
1192
|
+
<code value="$validate-code"/>
|
1193
|
+
</type>
|
1194
|
+
<resource value="ValueSet"/>
|
1195
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-1 for a code not in the value set."/>
|
1196
|
+
<accept value="xml"/>
|
1197
|
+
<encodeRequestUrl value="false"/>
|
1198
|
+
<params value="/${intensional-case-1-id}/$validate-code?system=http://loinc.orgX&code=11377-9"/>
|
1199
|
+
</operation>
|
1200
|
+
</action>
|
1201
|
+
<action>
|
1202
|
+
<assert>
|
1203
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1204
|
+
<response value="okay"/>
|
1205
|
+
<warningOnly value="true"/>
|
1206
|
+
</assert>
|
1207
|
+
</action>
|
1208
|
+
<action>
|
1209
|
+
<assert>
|
1210
|
+
<description value="Confirm that the returned format is XML."/>
|
1211
|
+
<contentType value="xml"/>
|
1212
|
+
<warningOnly value="true"/>
|
1213
|
+
</assert>
|
1214
|
+
</action>
|
1215
|
+
<action>
|
1216
|
+
<assert>
|
1217
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1218
|
+
<resource value="Parameters"/>
|
1219
|
+
<warningOnly value="true"/>
|
1220
|
+
</assert>
|
1221
|
+
</action>
|
1222
|
+
<action>
|
1223
|
+
<assert>
|
1224
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1225
|
+
<minimumId value="suite3-invalid-min"/>
|
1226
|
+
</assert>
|
1227
|
+
</action>
|
1228
|
+
</test>
|
1229
|
+
|
1230
|
+
<test id="3-5-d-ValidateIntensionalCase1">
|
1231
|
+
<name value="Test 3-5-d Validate intensional-case-1 invalid code"/>
|
1232
|
+
<description value="Check that the code {http://loinc.org}11377-9X is not in the value set."/>
|
1233
|
+
|
1234
|
+
<action>
|
1235
|
+
<operation>
|
1236
|
+
<type>
|
1237
|
+
<code value="$validate-code"/>
|
1238
|
+
</type>
|
1239
|
+
<resource value="ValueSet"/>
|
1240
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-1 for a code not in the value set."/>
|
1241
|
+
<accept value="xml"/>
|
1242
|
+
<encodeRequestUrl value="false"/>
|
1243
|
+
<params value="/${intensional-case-1-id}/$validate-code?system=http://loinc.org&code=11377-9X"/>
|
1244
|
+
</operation>
|
1245
|
+
</action>
|
1246
|
+
<action>
|
1247
|
+
<assert>
|
1248
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1249
|
+
<response value="okay"/>
|
1250
|
+
<warningOnly value="true"/>
|
1251
|
+
</assert>
|
1252
|
+
</action>
|
1253
|
+
<action>
|
1254
|
+
<assert>
|
1255
|
+
<description value="Confirm that the returned format is XML."/>
|
1256
|
+
<contentType value="xml"/>
|
1257
|
+
<warningOnly value="true"/>
|
1258
|
+
</assert>
|
1259
|
+
</action>
|
1260
|
+
<action>
|
1261
|
+
<assert>
|
1262
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1263
|
+
<resource value="Parameters"/>
|
1264
|
+
<warningOnly value="true"/>
|
1265
|
+
</assert>
|
1266
|
+
</action>
|
1267
|
+
<action>
|
1268
|
+
<assert>
|
1269
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1270
|
+
<minimumId value="suite3-invalid-min"/>
|
1271
|
+
</assert>
|
1272
|
+
</action>
|
1273
|
+
</test>
|
1274
|
+
|
1275
|
+
<test id="3-5-e-ValidateIntensionalCase1">
|
1276
|
+
<name value="Test 3-5-e Validate intensional-case-1 valid code not in valid set"/>
|
1277
|
+
<description value="Check that the code {http://loinc.org}13457-7 is not in the value set."/>
|
1278
|
+
|
1279
|
+
<action>
|
1280
|
+
<operation>
|
1281
|
+
<type>
|
1282
|
+
<code value="$validate-code"/>
|
1283
|
+
</type>
|
1284
|
+
<resource value="ValueSet"/>
|
1285
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-1 for a code not in the value set."/>
|
1286
|
+
<accept value="xml"/>
|
1287
|
+
<encodeRequestUrl value="false"/>
|
1288
|
+
<params value="/${intensional-case-1-id}/$validate-code?system=http://loinc.org&code=13457-7"/>
|
1289
|
+
</operation>
|
1290
|
+
</action>
|
1291
|
+
<action>
|
1292
|
+
<assert>
|
1293
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1294
|
+
<response value="okay"/>
|
1295
|
+
<warningOnly value="true"/>
|
1296
|
+
</assert>
|
1297
|
+
</action>
|
1298
|
+
<action>
|
1299
|
+
<assert>
|
1300
|
+
<description value="Confirm that the returned format is XML."/>
|
1301
|
+
<contentType value="xml"/>
|
1302
|
+
<warningOnly value="true"/>
|
1303
|
+
</assert>
|
1304
|
+
</action>
|
1305
|
+
<action>
|
1306
|
+
<assert>
|
1307
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1308
|
+
<resource value="Parameters"/>
|
1309
|
+
<warningOnly value="true"/>
|
1310
|
+
</assert>
|
1311
|
+
</action>
|
1312
|
+
<action>
|
1313
|
+
<assert>
|
1314
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1315
|
+
<minimumId value="suite3-invalid-min"/>
|
1316
|
+
</assert>
|
1317
|
+
</action>
|
1318
|
+
</test>
|
1319
|
+
|
1320
|
+
<test id="3-6-a-ValidateIntensionalCase2">
|
1321
|
+
<name value="Test 3-6-a Validate intensional-case-2 valid"/>
|
1322
|
+
<description value="Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set."/>
|
1323
|
+
|
1324
|
+
<action>
|
1325
|
+
<operation>
|
1326
|
+
<type>
|
1327
|
+
<code value="$validate-code"/>
|
1328
|
+
</type>
|
1329
|
+
<resource value="ValueSet"/>
|
1330
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-2 for a valid code."/>
|
1331
|
+
<accept value="xml"/>
|
1332
|
+
<encodeRequestUrl value="false"/>
|
1333
|
+
<params value="/${intensional-case-2-id}/$validate-code?system=http://snomed.info/sct&code=8762007&display=Chronic%20hypertension%20in%20obstetric%20context%20(disorder)"/>
|
1334
|
+
</operation>
|
1335
|
+
</action>
|
1336
|
+
<action>
|
1337
|
+
<assert>
|
1338
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1339
|
+
<response value="okay"/>
|
1340
|
+
<warningOnly value="true"/>
|
1341
|
+
</assert>
|
1342
|
+
</action>
|
1343
|
+
<action>
|
1344
|
+
<assert>
|
1345
|
+
<description value="Confirm that the returned format is XML."/>
|
1346
|
+
<contentType value="xml"/>
|
1347
|
+
<warningOnly value="true"/>
|
1348
|
+
</assert>
|
1349
|
+
</action>
|
1350
|
+
<action>
|
1351
|
+
<assert>
|
1352
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1353
|
+
<resource value="Parameters"/>
|
1354
|
+
<warningOnly value="true"/>
|
1355
|
+
</assert>
|
1356
|
+
</action>
|
1357
|
+
<action>
|
1358
|
+
<assert>
|
1359
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
1360
|
+
<minimumId value="suite3-valid-min"/>
|
1361
|
+
</assert>
|
1362
|
+
</action>
|
1363
|
+
</test>
|
1364
|
+
|
1365
|
+
<test id="3-6-b-ValidateIntensionalCase2">
|
1366
|
+
<name value="Test 3-6-b Validate intensional-case-2 valid code invalid display"/>
|
1367
|
+
<description value="Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set, but give the wrong display."/>
|
1368
|
+
|
1369
|
+
<action>
|
1370
|
+
<operation>
|
1371
|
+
<type>
|
1372
|
+
<code value="$validate-code"/>
|
1373
|
+
</type>
|
1374
|
+
<resource value="ValueSet"/>
|
1375
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-2 for an invalid display."/>
|
1376
|
+
<accept value="xml"/>
|
1377
|
+
<encodeRequestUrl value="false"/>
|
1378
|
+
<params value="/${intensional-case-2-id}/$validate-code?system=http://snomed.info/sct&code=8762007&display=Chronic%20hypertension%20in%20obstetric%20context%20(disorder)X"/>
|
1379
|
+
</operation>
|
1380
|
+
</action>
|
1381
|
+
<action>
|
1382
|
+
<assert>
|
1383
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1384
|
+
<response value="okay"/>
|
1385
|
+
<warningOnly value="true"/>
|
1386
|
+
</assert>
|
1387
|
+
</action>
|
1388
|
+
<action>
|
1389
|
+
<assert>
|
1390
|
+
<description value="Confirm that the returned format is XML."/>
|
1391
|
+
<contentType value="xml"/>
|
1392
|
+
<warningOnly value="true"/>
|
1393
|
+
</assert>
|
1394
|
+
</action>
|
1395
|
+
<action>
|
1396
|
+
<assert>
|
1397
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1398
|
+
<resource value="Parameters"/>
|
1399
|
+
<warningOnly value="true"/>
|
1400
|
+
</assert>
|
1401
|
+
</action>
|
1402
|
+
<action>
|
1403
|
+
<assert>
|
1404
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1405
|
+
<minimumId value="suite3-invalid-min"/>
|
1406
|
+
</assert>
|
1407
|
+
</action>
|
1408
|
+
</test>
|
1409
|
+
|
1410
|
+
<test id="3-6-c-ValidateIntensionalCase2">
|
1411
|
+
<name value="Test 3-6-c Validate intensional-case-2 invalid system"/>
|
1412
|
+
<description value="Check that the code {http://snomed.info/sctX}8762007 is not in the value set."/>
|
1413
|
+
|
1414
|
+
<action>
|
1415
|
+
<operation>
|
1416
|
+
<type>
|
1417
|
+
<code value="$validate-code"/>
|
1418
|
+
</type>
|
1419
|
+
<resource value="ValueSet"/>
|
1420
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-2 for a code not in the value set."/>
|
1421
|
+
<accept value="xml"/>
|
1422
|
+
<encodeRequestUrl value="false"/>
|
1423
|
+
<params value="/${intensional-case-2-id}/$validate-code?system=http://snomed.info/sctX&code=8762007"/>
|
1424
|
+
</operation>
|
1425
|
+
</action>
|
1426
|
+
<action>
|
1427
|
+
<assert>
|
1428
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1429
|
+
<response value="okay"/>
|
1430
|
+
<warningOnly value="true"/>
|
1431
|
+
</assert>
|
1432
|
+
</action>
|
1433
|
+
<action>
|
1434
|
+
<assert>
|
1435
|
+
<description value="Confirm that the returned format is XML."/>
|
1436
|
+
<contentType value="xml"/>
|
1437
|
+
<warningOnly value="true"/>
|
1438
|
+
</assert>
|
1439
|
+
</action>
|
1440
|
+
<action>
|
1441
|
+
<assert>
|
1442
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1443
|
+
<resource value="Parameters"/>
|
1444
|
+
<warningOnly value="true"/>
|
1445
|
+
</assert>
|
1446
|
+
</action>
|
1447
|
+
<action>
|
1448
|
+
<assert>
|
1449
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1450
|
+
<minimumId value="suite3-invalid-min"/>
|
1451
|
+
</assert>
|
1452
|
+
</action>
|
1453
|
+
</test>
|
1454
|
+
|
1455
|
+
<test id="3-6-d-ValidateIntensionalCase2">
|
1456
|
+
<name value="Test 3-6-d Validate intensional-case-2 invalid code"/>
|
1457
|
+
<description value="Check that the code {http://snomed.info/sct}8762007X is not in the value set."/>
|
1458
|
+
|
1459
|
+
<action>
|
1460
|
+
<operation>
|
1461
|
+
<type>
|
1462
|
+
<code value="$validate-code"/>
|
1463
|
+
</type>
|
1464
|
+
<resource value="ValueSet"/>
|
1465
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-2 for a code not in the value set."/>
|
1466
|
+
<accept value="xml"/>
|
1467
|
+
<encodeRequestUrl value="false"/>
|
1468
|
+
<params value="/${intensional-case-2-id}/$validate-code?system=http://snomed.info/sct&code=8762007X"/>
|
1469
|
+
</operation>
|
1470
|
+
</action>
|
1471
|
+
<action>
|
1472
|
+
<assert>
|
1473
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1474
|
+
<response value="okay"/>
|
1475
|
+
<warningOnly value="true"/>
|
1476
|
+
</assert>
|
1477
|
+
</action>
|
1478
|
+
<action>
|
1479
|
+
<assert>
|
1480
|
+
<description value="Confirm that the returned format is XML."/>
|
1481
|
+
<contentType value="xml"/>
|
1482
|
+
<warningOnly value="true"/>
|
1483
|
+
</assert>
|
1484
|
+
</action>
|
1485
|
+
<action>
|
1486
|
+
<assert>
|
1487
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1488
|
+
<resource value="Parameters"/>
|
1489
|
+
<warningOnly value="true"/>
|
1490
|
+
</assert>
|
1491
|
+
</action>
|
1492
|
+
<action>
|
1493
|
+
<assert>
|
1494
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1495
|
+
<minimumId value="suite3-invalid-min"/>
|
1496
|
+
</assert>
|
1497
|
+
</action>
|
1498
|
+
</test>
|
1499
|
+
|
1500
|
+
<test id="3-6-e-ValidateIntensionalCase2">
|
1501
|
+
<name value="Test 3-6-e Validate intensional-case-2 valid code not in valid set"/>
|
1502
|
+
<description value="Check that the code {http://snomed.info/sct}102261002 is not in the value set."/>
|
1503
|
+
|
1504
|
+
<action>
|
1505
|
+
<operation>
|
1506
|
+
<type>
|
1507
|
+
<code value="$validate-code"/>
|
1508
|
+
</type>
|
1509
|
+
<resource value="ValueSet"/>
|
1510
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-2 for a code not in the value set."/>
|
1511
|
+
<accept value="xml"/>
|
1512
|
+
<encodeRequestUrl value="false"/>
|
1513
|
+
<params value="/${intensional-case-2-id}/$validate-code?system=http://snomed.info/sct&code=102261002"/>
|
1514
|
+
</operation>
|
1515
|
+
</action>
|
1516
|
+
<action>
|
1517
|
+
<assert>
|
1518
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1519
|
+
<response value="okay"/>
|
1520
|
+
<warningOnly value="true"/>
|
1521
|
+
</assert>
|
1522
|
+
</action>
|
1523
|
+
<action>
|
1524
|
+
<assert>
|
1525
|
+
<description value="Confirm that the returned format is XML."/>
|
1526
|
+
<contentType value="xml"/>
|
1527
|
+
<warningOnly value="true"/>
|
1528
|
+
</assert>
|
1529
|
+
</action>
|
1530
|
+
<action>
|
1531
|
+
<assert>
|
1532
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1533
|
+
<resource value="Parameters"/>
|
1534
|
+
<warningOnly value="true"/>
|
1535
|
+
</assert>
|
1536
|
+
</action>
|
1537
|
+
<action>
|
1538
|
+
<assert>
|
1539
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1540
|
+
<minimumId value="suite3-invalid-min"/>
|
1541
|
+
</assert>
|
1542
|
+
</action>
|
1543
|
+
</test>
|
1544
|
+
|
1545
|
+
<test id="3-7-a-ValidateIntensionalCase3">
|
1546
|
+
<name value="Test 3-7-a Validate intensional-case-3 valid"/>
|
1547
|
+
<description value="Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set."/>
|
1548
|
+
|
1549
|
+
<action>
|
1550
|
+
<operation>
|
1551
|
+
<type>
|
1552
|
+
<code value="$validate-code"/>
|
1553
|
+
</type>
|
1554
|
+
<resource value="ValueSet"/>
|
1555
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-3 for a valid code."/>
|
1556
|
+
<accept value="xml"/>
|
1557
|
+
<encodeRequestUrl value="false"/>
|
1558
|
+
<params value="/${intensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=8762007&display=Chronic%20hypertension%20in%20obstetric%20context%20(disorder)"/>
|
1559
|
+
</operation>
|
1560
|
+
</action>
|
1561
|
+
<action>
|
1562
|
+
<assert>
|
1563
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1564
|
+
<response value="okay"/>
|
1565
|
+
<warningOnly value="true"/>
|
1566
|
+
</assert>
|
1567
|
+
</action>
|
1568
|
+
<action>
|
1569
|
+
<assert>
|
1570
|
+
<description value="Confirm that the returned format is XML."/>
|
1571
|
+
<contentType value="xml"/>
|
1572
|
+
<warningOnly value="true"/>
|
1573
|
+
</assert>
|
1574
|
+
</action>
|
1575
|
+
<action>
|
1576
|
+
<assert>
|
1577
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1578
|
+
<resource value="Parameters"/>
|
1579
|
+
<warningOnly value="true"/>
|
1580
|
+
</assert>
|
1581
|
+
</action>
|
1582
|
+
<action>
|
1583
|
+
<assert>
|
1584
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-valid-min."/>
|
1585
|
+
<minimumId value="suite3-valid-min"/>
|
1586
|
+
</assert>
|
1587
|
+
</action>
|
1588
|
+
</test>
|
1589
|
+
|
1590
|
+
<test id="3-7-b-ValidateIntensionalCase3">
|
1591
|
+
<name value="Test 3-7-b Validate intensional-case-3 valid code invalid display"/>
|
1592
|
+
<description value="Check that the code {http://snomed.info/sct}8762007 'Chronic hypertension in obstetric context (disorder)' is in the value set, but give the wrong display."/>
|
1593
|
+
|
1594
|
+
<action>
|
1595
|
+
<operation>
|
1596
|
+
<type>
|
1597
|
+
<code value="$validate-code"/>
|
1598
|
+
</type>
|
1599
|
+
<resource value="ValueSet"/>
|
1600
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-3 for an invalid display."/>
|
1601
|
+
<accept value="xml"/>
|
1602
|
+
<encodeRequestUrl value="false"/>
|
1603
|
+
<params value="/${intensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=8762007&display=Chronic%20hypertension%20in%20obstetric%20context%20(disorder)X"/>
|
1604
|
+
</operation>
|
1605
|
+
</action>
|
1606
|
+
<action>
|
1607
|
+
<assert>
|
1608
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1609
|
+
<response value="okay"/>
|
1610
|
+
<warningOnly value="true"/>
|
1611
|
+
</assert>
|
1612
|
+
</action>
|
1613
|
+
<action>
|
1614
|
+
<assert>
|
1615
|
+
<description value="Confirm that the returned format is XML."/>
|
1616
|
+
<contentType value="xml"/>
|
1617
|
+
<warningOnly value="true"/>
|
1618
|
+
</assert>
|
1619
|
+
</action>
|
1620
|
+
<action>
|
1621
|
+
<assert>
|
1622
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1623
|
+
<resource value="Parameters"/>
|
1624
|
+
<warningOnly value="true"/>
|
1625
|
+
</assert>
|
1626
|
+
</action>
|
1627
|
+
<action>
|
1628
|
+
<assert>
|
1629
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1630
|
+
<minimumId value="suite3-invalid-min"/>
|
1631
|
+
</assert>
|
1632
|
+
</action>
|
1633
|
+
</test>
|
1634
|
+
|
1635
|
+
<test id="3-7-c-ValidateIntensionalCase3">
|
1636
|
+
<name value="Test 3-7-c Validate intensional-case-3 invalid system"/>
|
1637
|
+
<description value="Check that the code {http://snomed.info/sctX}8762007 is not in the value set."/>
|
1638
|
+
|
1639
|
+
<action>
|
1640
|
+
<operation>
|
1641
|
+
<type>
|
1642
|
+
<code value="$validate-code"/>
|
1643
|
+
</type>
|
1644
|
+
<resource value="ValueSet"/>
|
1645
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-3 for a code not in the value set."/>
|
1646
|
+
<accept value="xml"/>
|
1647
|
+
<encodeRequestUrl value="false"/>
|
1648
|
+
<params value="/${intensional-case-3-id}/$validate-code?system=http://snomed.info/sctX&code=8762007"/>
|
1649
|
+
</operation>
|
1650
|
+
</action>
|
1651
|
+
<action>
|
1652
|
+
<assert>
|
1653
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1654
|
+
<response value="okay"/>
|
1655
|
+
<warningOnly value="true"/>
|
1656
|
+
</assert>
|
1657
|
+
</action>
|
1658
|
+
<action>
|
1659
|
+
<assert>
|
1660
|
+
<description value="Confirm that the returned format is XML."/>
|
1661
|
+
<contentType value="xml"/>
|
1662
|
+
<warningOnly value="true"/>
|
1663
|
+
</assert>
|
1664
|
+
</action>
|
1665
|
+
<action>
|
1666
|
+
<assert>
|
1667
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1668
|
+
<resource value="Parameters"/>
|
1669
|
+
<warningOnly value="true"/>
|
1670
|
+
</assert>
|
1671
|
+
</action>
|
1672
|
+
<action>
|
1673
|
+
<assert>
|
1674
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1675
|
+
<minimumId value="suite3-invalid-min"/>
|
1676
|
+
</assert>
|
1677
|
+
</action>
|
1678
|
+
</test>
|
1679
|
+
|
1680
|
+
<test id="3-7-d-ValidateIntensionalCase3">
|
1681
|
+
<name value="Test 3-7-d Validate intensional-case-3 invalid code"/>
|
1682
|
+
<description value="Check that the code {http://snomed.info/sct}8762007X is not in the value set."/>
|
1683
|
+
|
1684
|
+
<action>
|
1685
|
+
<operation>
|
1686
|
+
<type>
|
1687
|
+
<code value="$validate-code"/>
|
1688
|
+
</type>
|
1689
|
+
<resource value="ValueSet"/>
|
1690
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-3 for a code not in the value set."/>
|
1691
|
+
<accept value="xml"/>
|
1692
|
+
<encodeRequestUrl value="false"/>
|
1693
|
+
<params value="/${intensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=8762007X"/>
|
1694
|
+
</operation>
|
1695
|
+
</action>
|
1696
|
+
<action>
|
1697
|
+
<assert>
|
1698
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1699
|
+
<response value="okay"/>
|
1700
|
+
<warningOnly value="true"/>
|
1701
|
+
</assert>
|
1702
|
+
</action>
|
1703
|
+
<action>
|
1704
|
+
<assert>
|
1705
|
+
<description value="Confirm that the returned format is XML."/>
|
1706
|
+
<contentType value="xml"/>
|
1707
|
+
<warningOnly value="true"/>
|
1708
|
+
</assert>
|
1709
|
+
</action>
|
1710
|
+
<action>
|
1711
|
+
<assert>
|
1712
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1713
|
+
<resource value="Parameters"/>
|
1714
|
+
<warningOnly value="true"/>
|
1715
|
+
</assert>
|
1716
|
+
</action>
|
1717
|
+
<action>
|
1718
|
+
<assert>
|
1719
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1720
|
+
<minimumId value="suite3-invalid-min"/>
|
1721
|
+
</assert>
|
1722
|
+
</action>
|
1723
|
+
</test>
|
1724
|
+
|
1725
|
+
<test id="3-7-e-ValidateIntensionalCase3">
|
1726
|
+
<name value="Test 3-7-e Validate intensional-case-3 valid code not in valid set"/>
|
1727
|
+
<description value="Check that the code {http://snomed.info/sct}102261002 is not in the value set."/>
|
1728
|
+
|
1729
|
+
<action>
|
1730
|
+
<operation>
|
1731
|
+
<type>
|
1732
|
+
<code value="$validate-code"/>
|
1733
|
+
</type>
|
1734
|
+
<resource value="ValueSet"/>
|
1735
|
+
<description value="Test $validate-code operation on ValueSet intensional-case-3 for a code not in the value set."/>
|
1736
|
+
<accept value="xml"/>
|
1737
|
+
<encodeRequestUrl value="false"/>
|
1738
|
+
<params value="/${intensional-case-3-id}/$validate-code?system=http://snomed.info/sct&code=102261002"/>
|
1739
|
+
</operation>
|
1740
|
+
</action>
|
1741
|
+
<action>
|
1742
|
+
<assert>
|
1743
|
+
<description value="Confirm that the returned HTTP status is 200(OK)."/>
|
1744
|
+
<response value="okay"/>
|
1745
|
+
<warningOnly value="true"/>
|
1746
|
+
</assert>
|
1747
|
+
</action>
|
1748
|
+
<action>
|
1749
|
+
<assert>
|
1750
|
+
<description value="Confirm that the returned format is XML."/>
|
1751
|
+
<contentType value="xml"/>
|
1752
|
+
<warningOnly value="true"/>
|
1753
|
+
</assert>
|
1754
|
+
</action>
|
1755
|
+
<action>
|
1756
|
+
<assert>
|
1757
|
+
<description value="Confirm that the returned resource type is Parameters."/>
|
1758
|
+
<resource value="Parameters"/>
|
1759
|
+
<warningOnly value="true"/>
|
1760
|
+
</assert>
|
1761
|
+
</action>
|
1762
|
+
<action>
|
1763
|
+
<assert>
|
1764
|
+
<description value="Confirm that the returned Parameters minimally contains the information in suite3-invalid-min."/>
|
1765
|
+
<minimumId value="suite3-invalid-min"/>
|
1766
|
+
</assert>
|
1767
|
+
</action>
|
1768
|
+
</test>
|
1769
|
+
|
1770
|
+
<teardown>
|
1771
|
+
<action>
|
1772
|
+
<operation>
|
1773
|
+
<type>
|
1774
|
+
<code value="delete"/>
|
1775
|
+
</type>
|
1776
|
+
<resource value="ValueSet"/>
|
1777
|
+
<targetId value="extensional-case-1-create-response"/>
|
1778
|
+
</operation>
|
1779
|
+
</action>
|
1780
|
+
<action>
|
1781
|
+
<operation>
|
1782
|
+
<type>
|
1783
|
+
<code value="delete"/>
|
1784
|
+
</type>
|
1785
|
+
<resource value="ValueSet"/>
|
1786
|
+
<targetId value="extensional-case-2-create-response"/>
|
1787
|
+
</operation>
|
1788
|
+
</action>
|
1789
|
+
<action>
|
1790
|
+
<operation>
|
1791
|
+
<type>
|
1792
|
+
<code value="delete"/>
|
1793
|
+
</type>
|
1794
|
+
<resource value="ValueSet"/>
|
1795
|
+
<targetId value="extensional-case-3-create-response"/>
|
1796
|
+
</operation>
|
1797
|
+
</action>
|
1798
|
+
<action>
|
1799
|
+
<operation>
|
1800
|
+
<type>
|
1801
|
+
<code value="delete"/>
|
1802
|
+
</type>
|
1803
|
+
<resource value="ValueSet"/>
|
1804
|
+
<targetId value="extensional-case-4-create-response"/>
|
1805
|
+
</operation>
|
1806
|
+
</action>
|
1807
|
+
<action>
|
1808
|
+
<operation>
|
1809
|
+
<type>
|
1810
|
+
<code value="delete"/>
|
1811
|
+
</type>
|
1812
|
+
<resource value="ValueSet"/>
|
1813
|
+
<targetId value="intensional-case-1-create-response"/>
|
1814
|
+
</operation>
|
1815
|
+
</action>
|
1816
|
+
<action>
|
1817
|
+
<operation>
|
1818
|
+
<type>
|
1819
|
+
<code value="delete"/>
|
1820
|
+
</type>
|
1821
|
+
<resource value="ValueSet"/>
|
1822
|
+
<targetId value="intensional-case-2-create-response"/>
|
1823
|
+
</operation>
|
1824
|
+
</action>
|
1825
|
+
<action>
|
1826
|
+
<operation>
|
1827
|
+
<type>
|
1828
|
+
<code value="delete"/>
|
1829
|
+
</type>
|
1830
|
+
<resource value="ValueSet"/>
|
1831
|
+
<targetId value="intensional-case-3-create-response"/>
|
1832
|
+
</operation>
|
1833
|
+
</action>
|
1834
|
+
</teardown>
|
1835
|
+
</TestScript>
|