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