davinci_crd_test_kit 0.14.1 → 0.15.0
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 +4 -4
- data/config/presets/{inferno_crd_server_suite.json.erb → client_against_inferno_crd_server_suite.json.erb} +0 -33
- data/config/presets/{ri_crd_request_generator.json.erb → client_against_ri_crd_request_generator.json.erb} +1 -14
- data/config/presets/client_v221_against_inferno_crd_server_suite.json.erb +96 -0
- data/config/presets/client_v221_against_ri_br_provider.json.erb +31 -0
- data/config/presets/{ri_crd_request_generator.json_v221.json.erb → client_v221_against_ri_crd_request_generator.json.erb} +1 -1
- data/config/presets/{inferno_crd_client_suite.json.erb → server_against_inferno_crd_client_suite.json.erb} +0 -43
- data/config/presets/{ri_crd_server.json.erb → server_against_ri_crd_server.json.erb} +1 -44
- data/config/presets/{inferno_crd_client_suite_v221.json.erb → server_v221_against_inferno_crd_client_suite.json.erb} +1 -62
- data/config/presets/{inferno_crd_client_suite_prefetch_subset_v221.json.erb → server_v221_against_inferno_crd_client_suite_prefetch_subset.json.erb} +1 -47
- data/config/presets/server_v221_against_inferno_g31_suite.json.erb +49 -0
- data/lib/davinci_crd_test_kit/client/client_base_urls.rb +5 -0
- data/lib/davinci_crd_test_kit/client/client_input_helper.rb +102 -0
- data/lib/davinci_crd_test_kit/client/client_wait_messages.rb +68 -0
- data/lib/davinci_crd_test_kit/client/cross_hook_helper.rb +26 -0
- data/lib/davinci_crd_test_kit/client/endpoints/custom_service_response.rb +32 -17
- data/lib/davinci_crd_test_kit/client/endpoints/hook_request_data_access.rb +228 -0
- data/lib/davinci_crd_test_kit/client/endpoints/hook_request_endpoint.rb +172 -56
- data/lib/davinci_crd_test_kit/client/endpoints/mock_service_response.rb +29 -29
- data/lib/davinci_crd_test_kit/client/endpoints/scenario_service_response.rb +54 -0
- data/lib/davinci_crd_test_kit/client/endpoints/v201_hook_request_data_gathering.rb +219 -0
- data/lib/davinci_crd_test_kit/client/endpoints/v221_hook_request_data_gathering.rb +172 -0
- data/lib/davinci_crd_test_kit/client/jwt_claim_types.rb +28 -0
- data/lib/davinci_crd_test_kit/client/multi_request_message_helper.rb +1 -1
- data/lib/davinci_crd_test_kit/client/prefetched_coverage_payer_helper.rb +81 -0
- data/lib/davinci_crd_test_kit/client/prefetched_coverage_value.rb +14 -0
- data/lib/davinci_crd_test_kit/client/tagged_request_load_helper.rb +14 -25
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/retrieve_jwks_test.rb +36 -24
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_header_test.rb +14 -4
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_payload_test.rb +42 -22
- data/lib/davinci_crd_test_kit/client/v2.0.1/cds-services-v201.json +21 -21
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_appointment_book_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_encounter_discharge_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_encounter_start_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_fhir_api_group.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_hooks_group.rb +7 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_dispatch_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_select_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_sign_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/crd_client_suite.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/appointment_book_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/encounter_discharge_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/encounter_start_receive_request_test.rb +8 -29
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_dispatch_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_select_receive_request_test.rb +8 -29
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_sign_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_coverage_information.rb +3 -36
- data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_external_reference.rb +3 -36
- data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_instructions.rb +3 -36
- data/lib/davinci_crd_test_kit/client/v2.0.1/registration/client_registration_verification_test.rb +3 -7
- data/lib/davinci_crd_test_kit/client/v2.0.1/registration/client_service_registration_attestation_test.rb +11 -3
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_fetched_data_test.rb +4 -13
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_optional_fields_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_prefetch_equals_queried_test.rb +3 -13
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/client_display_cards_attest.rb +7 -17
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/inferno_response_validation.rb +4 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_coverage_info_update_test.rb +10 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_crd_update_verification_group.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/attestation_instructions.rb +10 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_coverage_based_invocation_attestation_test.rb +44 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_data_element_expectations_attestation_test.rb +44 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_hook_invocation_logging_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_must_support_use_attestation_test.rb +41 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_prefetch_key_omission_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_resource_identifiers_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_response_case_distinction_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_security_and_privacy_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_workflow_integration_attestation_test.rb +44 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/decode_auth_token_test.rb +4 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/retrieve_jwks_test.rb +47 -26
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_header_test.rb +32 -6
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_payload_test.rb +60 -33
- data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-prefetch-subset-v221.json +48 -48
- data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-v221.json +51 -51
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_appointment_book_group.rb +24 -15
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_attestations_group.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_group.rb +28 -9
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_interaction_group.rb +106 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_discharge_group.rb +20 -11
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_start_group.rb +20 -11
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_fhir_api_group.rb +39 -15
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_hooks_group.rb +16 -19
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_long_running_hook_group.rb +5 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_multiple_payers_hook_group.rb +40 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_dispatch_group.rb +23 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_select_group.rb +19 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_sign_group.rb +23 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_registration_group.rb +7 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_scenarios_group.rb +32 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_self_pay_hook_group.rb +34 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_unknown_content_hook_group.rb +34 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_user_access_level_group.rb +82 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/crd_client_suite.rb +26 -6
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_card_must_support_coverage_information_test.rb +5 -5
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_fhirpath_collection_as_comma_delimited_string_test.rb +7 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_hook_instances_unique_test.rb +3 -11
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_jwt_ids_unique_test.rb +89 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_location_address_propagation_test.rb +65 -31
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_order_types_signed_test.rb +101 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_prefetch_complete_and_subset_test.rb +13 -35
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb +17 -116
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/base_hook_invocation_receive_request_test.rb +182 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/cross_hooks_receive_request_test.rb +126 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_discharge_receive_request_test.rb +17 -117
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_start_receive_request_test.rb +17 -117
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_dispatch_receive_request_test.rb +17 -125
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb +17 -125
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_sign_receive_request_test.rb +17 -125
- data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_long_running_receive_request_test.rb +52 -32
- data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_skip_long_running_attestation_test.rb +12 -12
- data/lib/davinci_crd_test_kit/client/v2.2.1/multiple_payers/client_multiple_payers_request_verification_test.rb +215 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/multiple_payers/client_multiple_payers_workflow_test.rb +71 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/appointment_must_support_test.rb +84 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/appointment_reference_resolution_test.rb +82 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/client_cross_hook_must_support_group.rb +181 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/communication_request_must_support_test.rb +69 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/communication_request_reference_resolution_test.rb +79 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/coverage_must_support_test.rb +73 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/coverage_reference_resolution_test.rb +67 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/device_must_support_test.rb +59 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/device_request_must_support_test.rb +72 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/device_request_reference_resolution_test.rb +76 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/encounter_must_support_test.rb +83 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/encounter_reference_resolution_test.rb +76 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/location_must_support_test.rb +63 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/location_reference_resolution_test.rb +60 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/medication_must_support_test.rb +54 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/medication_request_must_support_test.rb +95 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/medication_request_reference_resolution_test.rb +79 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/nutrition_order_must_support_test.rb +136 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/nutrition_order_reference_resolution_test.rb +67 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/organization_must_support_test.rb +66 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/organization_reference_resolution_test.rb +60 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/patient_must_support_test.rb +69 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/practitioner_must_support_test.rb +65 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/practitioner_role_must_support_test.rb +60 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/practitioner_role_reference_resolution_test.rb +66 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/service_request_must_support_test.rb +93 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/service_request_reference_resolution_test.rb +81 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/vision_prescription_must_support_test.rb +79 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/vision_prescription_reference_resolution_test.rb +65 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/request_must_support_reference_resolution.rb +379 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/request_must_support_scope.rb +66 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/request_must_support_with_attestation_option.rb +331 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/registration/client_registration_verification_test.rb +16 -30
- data/lib/davinci_crd_test_kit/client/v2.2.1/registration/client_service_registration_attestation_test.rb +84 -39
- data/lib/davinci_crd_test_kit/client/v2.2.1/self_pay/client_self_pay_workflow_test.rb +62 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/unknown_content/client_unknown_content_attestation_test.rb +99 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/unknown_content/client_unknown_content_receive_request_test.rb +67 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_api_access_test.rb +124 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_prefetch_scope_test.rb +85 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_receive_request_test.rb +92 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_same_scenario_test.rb +340 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_target_reference.rb +16 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_conformance_test.rb +64 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_coverage_verification_test.rb +31 -73
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_data_fetch_verification_test.rb +13 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_granted_scopes_test.rb +8 -8
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_complete_test.rb +12 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_profiles_test.rb +3 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_requested_version_test.rb +17 -5
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_secured_transport_test.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/client_display_cards_attest.rb +59 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/hook_response_support_coverage_information_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/inferno_response_validation.rb +13 -11
- data/lib/davinci_crd_test_kit/cross_suite/base_urls.rb +12 -0
- data/lib/davinci_crd_test_kit/cross_suite/cards_identification.rb +18 -2
- data/lib/davinci_crd_test_kit/cross_suite/fhirpath_on_cds_request.rb +10 -9
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/appointment_with_order/metadata.yml +67 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/appointment_without_order/metadata.yml +150 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/communication_request/metadata.yml +71 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/coverage/metadata.yml +71 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/device/metadata.yml +22 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/device_request/metadata.yml +85 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/encounter/metadata.yml +82 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/hrex_organization/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/location/metadata.yml +27 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/medication/metadata.yml +17 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/medication_request/metadata.yml +166 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/nutrition_order/metadata.yml +166 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/organization/metadata.yml +42 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/patient/metadata.yml +29 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/practitioner/metadata.yml +37 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/practitioner_role/metadata.yml +36 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/service_request/metadata.yml +202 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_allergyintolerance/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_condition_encounter_diagnosis/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_condition_problems_health_concerns/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_diagnosticreport_lab/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_diagnosticreport_note/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_documentreference/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_location/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_organization/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_patient/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_practitioner/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_procedure/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/vision_prescription/metadata.yml +66 -0
- data/lib/davinci_crd_test_kit/cross_suite/hook_request_field_validation.rb +3 -2
- data/lib/davinci_crd_test_kit/cross_suite/hook_request_resource_extraction.rb +121 -0
- data/lib/davinci_crd_test_kit/cross_suite/logical_models_override_helper.rb +47 -22
- data/lib/davinci_crd_test_kit/cross_suite/must_support_references.rb +49 -0
- data/lib/davinci_crd_test_kit/cross_suite/must_support_slice_matching.rb +50 -0
- data/lib/davinci_crd_test_kit/cross_suite/prefetch_completeness_checker.rb +75 -39
- data/lib/davinci_crd_test_kit/cross_suite/prefetch_profile_validation.rb +2 -0
- data/lib/davinci_crd_test_kit/cross_suite/profile_metadata.rb +75 -0
- data/lib/davinci_crd_test_kit/cross_suite/requests_logical_model_validation.rb +45 -36
- data/lib/davinci_crd_test_kit/cross_suite/resource_identity.rb +183 -0
- data/lib/davinci_crd_test_kit/cross_suite/response_logical_model_validation.rb +48 -41
- data/lib/davinci_crd_test_kit/cross_suite/short_circuit_interaction.rb +28 -0
- data/lib/davinci_crd_test_kit/cross_suite/tags.rb +18 -1
- data/lib/davinci_crd_test_kit/generator/crd_must_support_metadata_extractor.rb +147 -0
- data/lib/davinci_crd_test_kit/generator/must_support_metadata_generator.rb +207 -0
- data/lib/davinci_crd_test_kit/generator/must_support_test_generator.rb +249 -0
- data/lib/davinci_crd_test_kit/generator/templates/must_support_group.rb.erb +118 -0
- data/lib/davinci_crd_test_kit/generator/templates/must_support_test.rb.erb +22 -0
- data/lib/davinci_crd_test_kit/generator/templates/reference_resolution_test.rb.erb +22 -0
- data/lib/davinci_crd_test_kit/igs/davinci_crd_2.2.1.tgz +0 -0
- data/lib/davinci_crd_test_kit/igs/davinci_hrex_1.2.0.tgz +0 -0
- data/lib/davinci_crd_test_kit/metadata.rb +2 -2
- data/lib/davinci_crd_test_kit/requirements/cds-hooks_3.0.0-ballot_requirements.xlsx +0 -0
- data/lib/davinci_crd_test_kit/requirements/davinci_crd_test_kit_requirements.csv +9 -4
- data/lib/davinci_crd_test_kit/requirements/generated/crd_client_requirements_coverage.csv +107 -107
- data/lib/davinci_crd_test_kit/requirements/generated/crd_client_v221_requirements_coverage.csv +107 -102
- data/lib/davinci_crd_test_kit/requirements/generated/crd_server_requirements_coverage.csv +18 -18
- data/lib/davinci_crd_test_kit/requirements/generated/crd_server_v221_requirements_coverage.csv +36 -32
- data/lib/davinci_crd_test_kit/requirements/hl7.fhir.us.davinci-crd_2.2.1_requirements.xlsx +0 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_create_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_delete_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_read_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_request_handler.rb +6 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_search_endpoint.rb +21 -12
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_update_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr_endpoints.rb +3 -0
- data/lib/davinci_crd_test_kit/server/server_abstract_invoke_hook_test.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.0.1/crd_server_suite.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.0.1/server_hooks_group.rb +5 -5
- data/lib/davinci_crd_test_kit/server/v2.2.1/discovery/discovery_standard_prefetch_expressions_test.rb +1 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/must_support/supported_us_core_versions_test.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_appointment_book_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_demonstrate_hook_response_group.rb +3 -3
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_encounter_discharge_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_encounter_start_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_hooks_group.rb +5 -5
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_dispatch_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_select_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_sign_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_required_card_response_validation_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/coverage_not_found_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/no_active_coverage_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/no_member_found_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/technical_issues_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_context_validation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_no_custom_extensions_test.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_optional_fields_validation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_required_fields_validation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/version.rb +2 -2
- metadata +132 -16
- data/config/presets/inferno_crd_server_suite_v221.json.erb +0 -94
- data/lib/davinci_crd_test_kit/client/endpoints/gather_response_generation_data.rb +0 -410
- data/lib/davinci_crd_test_kit/server/resource_extractor.rb +0 -68
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: MedicationRequest
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest
|
|
4
|
+
:profile_name: CRD Medication Request
|
|
5
|
+
:profile_version: 2.2.1
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions:
|
|
8
|
+
- :id: MedicationRequest.extension:Coverage-Information
|
|
9
|
+
:slice_name: Coverage-Information
|
|
10
|
+
:path: extension
|
|
11
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
|
|
12
|
+
:modifier_extension: false
|
|
13
|
+
- :id: MedicationRequest.medication[x]:medicationCodeableConcept.extension:BillingOptions
|
|
14
|
+
:slice_name: BillingOptions
|
|
15
|
+
:path: medication[x].extension
|
|
16
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options
|
|
17
|
+
:modifier_extension: false
|
|
18
|
+
:slices:
|
|
19
|
+
- :slice_id: MedicationRequest.category:encounterType
|
|
20
|
+
:slice_name: encounterType
|
|
21
|
+
:path: category
|
|
22
|
+
:discriminator:
|
|
23
|
+
:type: requiredBinding
|
|
24
|
+
:path: ''
|
|
25
|
+
:values:
|
|
26
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
27
|
+
:code: AMB
|
|
28
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
29
|
+
:code: EMER
|
|
30
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
31
|
+
:code: FLD
|
|
32
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
33
|
+
:code: HH
|
|
34
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
35
|
+
:code: IMP
|
|
36
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
37
|
+
:code: ACUTE
|
|
38
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
39
|
+
:code: NONAC
|
|
40
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
41
|
+
:code: OBSENC
|
|
42
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
43
|
+
:code: PRENC
|
|
44
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
45
|
+
:code: SS
|
|
46
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
47
|
+
:code: VR
|
|
48
|
+
- :slice_id: MedicationRequest.category:serviceType
|
|
49
|
+
:slice_name: serviceType
|
|
50
|
+
:path: category
|
|
51
|
+
:discriminator:
|
|
52
|
+
:type: requiredBinding
|
|
53
|
+
:path: ''
|
|
54
|
+
:values:
|
|
55
|
+
- :system: https://codesystem.x12.org/005010/1365
|
|
56
|
+
- :slice_id: MedicationRequest.category:us-core
|
|
57
|
+
:slice_name: us-core
|
|
58
|
+
:path: category
|
|
59
|
+
:discriminator:
|
|
60
|
+
:type: requiredBinding
|
|
61
|
+
:path: ''
|
|
62
|
+
:values:
|
|
63
|
+
- :system: http://terminology.hl7.org/CodeSystem/medicationrequest-category
|
|
64
|
+
:code: inpatient
|
|
65
|
+
- :system: http://terminology.hl7.org/CodeSystem/medicationrequest-category
|
|
66
|
+
:code: outpatient
|
|
67
|
+
- :system: http://terminology.hl7.org/CodeSystem/medicationrequest-category
|
|
68
|
+
:code: community
|
|
69
|
+
- :system: http://terminology.hl7.org/CodeSystem/medicationrequest-category
|
|
70
|
+
:code: discharge
|
|
71
|
+
- :slice_id: MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsPeriod
|
|
72
|
+
:slice_name: boundsPeriod
|
|
73
|
+
:path: dosageInstruction.timing.repeat.bounds[x]
|
|
74
|
+
:discriminator:
|
|
75
|
+
:type: type
|
|
76
|
+
:code: Period
|
|
77
|
+
- :slice_id: MedicationRequest.medication[x]:medicationCodeableConcept
|
|
78
|
+
:slice_name: medicationCodeableConcept
|
|
79
|
+
:path: medication[x]
|
|
80
|
+
:discriminator:
|
|
81
|
+
:type: type
|
|
82
|
+
:code: CodeableConcept
|
|
83
|
+
- :slice_id: MedicationRequest.medication[x]:medicationReference
|
|
84
|
+
:slice_name: medicationReference
|
|
85
|
+
:path: medication[x]
|
|
86
|
+
:discriminator:
|
|
87
|
+
:type: type
|
|
88
|
+
:code: Reference
|
|
89
|
+
:elements:
|
|
90
|
+
- :path: authoredOn
|
|
91
|
+
- :path: category
|
|
92
|
+
- :path: contained
|
|
93
|
+
- :path: dispenseRequest
|
|
94
|
+
- :path: dispenseRequest.numberOfRepeatsAllowed
|
|
95
|
+
- :path: dispenseRequest.performer
|
|
96
|
+
:types:
|
|
97
|
+
- Reference
|
|
98
|
+
:target_profiles:
|
|
99
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization
|
|
100
|
+
- :path: dispenseRequest.quantity
|
|
101
|
+
- :path: dosageInstruction
|
|
102
|
+
- :path: dosageInstruction.doseAndRate
|
|
103
|
+
- :path: dosageInstruction.doseAndRate.doseQuantity
|
|
104
|
+
:original_path: dosageInstruction.doseAndRate.dose[x]
|
|
105
|
+
- :path: dosageInstruction.text
|
|
106
|
+
- :path: dosageInstruction.timing
|
|
107
|
+
- :path: dosageInstruction.timing.event
|
|
108
|
+
- :path: dosageInstruction.timing.repeat
|
|
109
|
+
- :path: dosageInstruction.timing.repeat.count
|
|
110
|
+
- :path: dosageInstruction.timing.repeat.duration
|
|
111
|
+
- :path: dosageInstruction.timing.repeat.durationUnit
|
|
112
|
+
- :path: dosageInstruction.timing.repeat.frequency
|
|
113
|
+
- :path: dosageInstruction.timing.repeat.period
|
|
114
|
+
- :path: dosageInstruction.timing.repeat.periodUnit
|
|
115
|
+
- :path: encounter
|
|
116
|
+
:types:
|
|
117
|
+
- Reference
|
|
118
|
+
:target_profiles:
|
|
119
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter
|
|
120
|
+
- :path: identifier
|
|
121
|
+
- :path: intent
|
|
122
|
+
- :path: medication[x]
|
|
123
|
+
:types:
|
|
124
|
+
- Reference
|
|
125
|
+
- :path: performer
|
|
126
|
+
:types:
|
|
127
|
+
- Reference
|
|
128
|
+
:target_profiles:
|
|
129
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
130
|
+
- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole
|
|
131
|
+
- :path: priorPrescription
|
|
132
|
+
:types:
|
|
133
|
+
- Reference
|
|
134
|
+
:target_profiles:
|
|
135
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest
|
|
136
|
+
- :path: reasonCode
|
|
137
|
+
- :path: reasonReference
|
|
138
|
+
:types:
|
|
139
|
+
- Reference
|
|
140
|
+
:allowed_target_profiles:
|
|
141
|
+
- http://hl7.org/fhir/StructureDefinition/Condition
|
|
142
|
+
- http://hl7.org/fhir/StructureDefinition/Observation
|
|
143
|
+
- :path: reportedBoolean
|
|
144
|
+
:original_path: reported[x]
|
|
145
|
+
- :path: reportedReference
|
|
146
|
+
:original_path: reported[x]
|
|
147
|
+
:types:
|
|
148
|
+
- Reference
|
|
149
|
+
:allowed_target_profiles:
|
|
150
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient
|
|
151
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
152
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization
|
|
153
|
+
- :path: requester
|
|
154
|
+
:types:
|
|
155
|
+
- Reference
|
|
156
|
+
:target_profiles:
|
|
157
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
158
|
+
- :path: status
|
|
159
|
+
- :path: subject
|
|
160
|
+
:types:
|
|
161
|
+
- Reference
|
|
162
|
+
:target_profiles:
|
|
163
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|7.0.0
|
|
164
|
+
- :path: substitution
|
|
165
|
+
:choices: []
|
|
166
|
+
:recursive_elements: []
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: NutritionOrder
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder
|
|
4
|
+
:profile_name: CRD Nutrition Order
|
|
5
|
+
:profile_version: 2.2.1
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions:
|
|
8
|
+
- :id: NutritionOrder.extension:Coverage-Information
|
|
9
|
+
:slice_name: Coverage-Information
|
|
10
|
+
:path: extension
|
|
11
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
|
|
12
|
+
:modifier_extension: false
|
|
13
|
+
- :id: NutritionOrder.extension:EncounterCategory
|
|
14
|
+
:slice_name: EncounterCategory
|
|
15
|
+
:path: extension
|
|
16
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category
|
|
17
|
+
:modifier_extension: false
|
|
18
|
+
- :id: NutritionOrder.extension:ServiceCategory
|
|
19
|
+
:slice_name: ServiceCategory
|
|
20
|
+
:path: extension
|
|
21
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category
|
|
22
|
+
:modifier_extension: false
|
|
23
|
+
:slices:
|
|
24
|
+
- :slice_id: NutritionOrder.enteralFormula.administration.rate[x]:rateRatio
|
|
25
|
+
:slice_name: rateRatio
|
|
26
|
+
:path: enteralFormula.administration.rate[x]
|
|
27
|
+
:discriminator:
|
|
28
|
+
:type: type
|
|
29
|
+
:code: Ratio
|
|
30
|
+
- :slice_id: NutritionOrder.enteralFormula.administration.schedule.repeat.bounds[x]:boundsPeriod
|
|
31
|
+
:slice_name: boundsPeriod
|
|
32
|
+
:path: enteralFormula.administration.schedule.repeat.bounds[x]
|
|
33
|
+
:discriminator:
|
|
34
|
+
:type: type
|
|
35
|
+
:code: Period
|
|
36
|
+
- :slice_id: NutritionOrder.oralDiet.schedule.repeat.bounds[x]:boundsPeriod
|
|
37
|
+
:slice_name: boundsPeriod
|
|
38
|
+
:path: oralDiet.schedule.repeat.bounds[x]
|
|
39
|
+
:discriminator:
|
|
40
|
+
:type: type
|
|
41
|
+
:code: Period
|
|
42
|
+
- :slice_id: NutritionOrder.supplement.schedule.repeat.bounds[x]:boundsPeriod
|
|
43
|
+
:slice_name: boundsPeriod
|
|
44
|
+
:path: supplement.schedule.repeat.bounds[x]
|
|
45
|
+
:discriminator:
|
|
46
|
+
:type: type
|
|
47
|
+
:code: Period
|
|
48
|
+
:elements:
|
|
49
|
+
- :path: allergyIntolerance
|
|
50
|
+
:types:
|
|
51
|
+
- Reference
|
|
52
|
+
:target_profiles:
|
|
53
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|7.0.0
|
|
54
|
+
- :path: contained
|
|
55
|
+
- :path: dateTime
|
|
56
|
+
- :path: encounter
|
|
57
|
+
:types:
|
|
58
|
+
- Reference
|
|
59
|
+
:target_profiles:
|
|
60
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter
|
|
61
|
+
- :path: enteralFormula
|
|
62
|
+
- :path: enteralFormula.additiveType
|
|
63
|
+
- :path: enteralFormula.administration
|
|
64
|
+
- :path: enteralFormula.administration.quantity
|
|
65
|
+
- :path: enteralFormula.administration.schedule
|
|
66
|
+
- :path: enteralFormula.administration.schedule.event
|
|
67
|
+
- :path: enteralFormula.administration.schedule.repeat
|
|
68
|
+
- :path: enteralFormula.administration.schedule.repeat.count
|
|
69
|
+
- :path: enteralFormula.administration.schedule.repeat.duration
|
|
70
|
+
- :path: enteralFormula.administration.schedule.repeat.durationUnit
|
|
71
|
+
- :path: enteralFormula.administration.schedule.repeat.frequency
|
|
72
|
+
- :path: enteralFormula.administration.schedule.repeat.period
|
|
73
|
+
- :path: enteralFormula.administration.schedule.repeat.periodUnit
|
|
74
|
+
- :path: enteralFormula.baseFormulaType
|
|
75
|
+
- :path: enteralFormula.caloricDensity
|
|
76
|
+
- :path: enteralFormula.routeofAdministration
|
|
77
|
+
- :path: excludeFoodModifier
|
|
78
|
+
- :path: foodPreferenceModifier
|
|
79
|
+
- :path: identifier
|
|
80
|
+
- :path: oralDiet
|
|
81
|
+
- :path: oralDiet.nutrient
|
|
82
|
+
- :path: oralDiet.nutrient.modifier
|
|
83
|
+
- :path: oralDiet.schedule
|
|
84
|
+
- :path: oralDiet.schedule.event
|
|
85
|
+
- :path: oralDiet.schedule.repeat
|
|
86
|
+
- :path: oralDiet.schedule.repeat.count
|
|
87
|
+
- :path: oralDiet.schedule.repeat.duration
|
|
88
|
+
- :path: oralDiet.schedule.repeat.durationUnit
|
|
89
|
+
- :path: oralDiet.schedule.repeat.frequency
|
|
90
|
+
- :path: oralDiet.schedule.repeat.period
|
|
91
|
+
- :path: oralDiet.schedule.repeat.periodUnit
|
|
92
|
+
- :path: oralDiet.texture
|
|
93
|
+
- :path: oralDiet.texture.foodType
|
|
94
|
+
- :path: oralDiet.texture.modifier
|
|
95
|
+
- :path: oralDiet.type
|
|
96
|
+
- :path: orderer
|
|
97
|
+
:types:
|
|
98
|
+
- Reference
|
|
99
|
+
:target_profiles:
|
|
100
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
101
|
+
- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole
|
|
102
|
+
- :path: patient
|
|
103
|
+
:types:
|
|
104
|
+
- Reference
|
|
105
|
+
:target_profiles:
|
|
106
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient
|
|
107
|
+
- :path: status
|
|
108
|
+
- :path: supplement
|
|
109
|
+
- :path: supplement.quantity
|
|
110
|
+
- :path: supplement.schedule
|
|
111
|
+
- :path: supplement.schedule.event
|
|
112
|
+
- :path: supplement.schedule.repeat
|
|
113
|
+
- :path: supplement.schedule.repeat.count
|
|
114
|
+
- :path: supplement.schedule.repeat.duration
|
|
115
|
+
- :path: supplement.schedule.repeat.durationUnit
|
|
116
|
+
- :path: supplement.schedule.repeat.frequency
|
|
117
|
+
- :path: supplement.schedule.repeat.period
|
|
118
|
+
- :path: supplement.schedule.repeat.periodUnit
|
|
119
|
+
- :path: supplement.type
|
|
120
|
+
:choices:
|
|
121
|
+
- :element: event
|
|
122
|
+
:paths:
|
|
123
|
+
- oralDiet.schedule.event
|
|
124
|
+
- supplement.schedule.event
|
|
125
|
+
- enteralFormula.administration.schedule.event
|
|
126
|
+
- :element: repeat
|
|
127
|
+
:paths:
|
|
128
|
+
- oralDiet.schedule.repeat
|
|
129
|
+
- supplement.schedule.repeat
|
|
130
|
+
- enteralFormula.administration.schedule.repeat
|
|
131
|
+
- :element: repeat.bounds[x]:boundsPeriod
|
|
132
|
+
:slice_names:
|
|
133
|
+
- NutritionOrder.oralDiet.schedule.repeat.bounds[x]:boundsPeriod
|
|
134
|
+
- NutritionOrder.supplement.schedule.repeat.bounds[x]:boundsPeriod
|
|
135
|
+
- NutritionOrder.enteralFormula.administration.schedule.repeat.bounds[x]:boundsPeriod
|
|
136
|
+
- :element: repeat.count
|
|
137
|
+
:paths:
|
|
138
|
+
- oralDiet.schedule.repeat.count
|
|
139
|
+
- supplement.schedule.repeat.count
|
|
140
|
+
- enteralFormula.administration.schedule.repeat.count
|
|
141
|
+
- :element: repeat.duration
|
|
142
|
+
:paths:
|
|
143
|
+
- oralDiet.schedule.repeat.duration
|
|
144
|
+
- supplement.schedule.repeat.duration
|
|
145
|
+
- enteralFormula.administration.schedule.repeat.duration
|
|
146
|
+
- :element: repeat.durationUnit
|
|
147
|
+
:paths:
|
|
148
|
+
- oralDiet.schedule.repeat.durationUnit
|
|
149
|
+
- supplement.schedule.repeat.durationUnit
|
|
150
|
+
- enteralFormula.administration.schedule.repeat.durationUnit
|
|
151
|
+
- :element: repeat.frequency
|
|
152
|
+
:paths:
|
|
153
|
+
- oralDiet.schedule.repeat.frequency
|
|
154
|
+
- supplement.schedule.repeat.frequency
|
|
155
|
+
- enteralFormula.administration.schedule.repeat.frequency
|
|
156
|
+
- :element: repeat.period
|
|
157
|
+
:paths:
|
|
158
|
+
- oralDiet.schedule.repeat.period
|
|
159
|
+
- supplement.schedule.repeat.period
|
|
160
|
+
- enteralFormula.administration.schedule.repeat.period
|
|
161
|
+
- :element: repeat.periodUnit
|
|
162
|
+
:paths:
|
|
163
|
+
- oralDiet.schedule.repeat.periodUnit
|
|
164
|
+
- supplement.schedule.repeat.periodUnit
|
|
165
|
+
- enteralFormula.administration.schedule.repeat.periodUnit
|
|
166
|
+
:recursive_elements: []
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: Organization
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization
|
|
4
|
+
:profile_name: CRD Organization
|
|
5
|
+
:profile_version: 2.2.1
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions: []
|
|
8
|
+
:slices:
|
|
9
|
+
- :slice_id: Organization.identifier:NPI
|
|
10
|
+
:slice_name: NPI
|
|
11
|
+
:path: identifier
|
|
12
|
+
:discriminator:
|
|
13
|
+
:type: patternIdentifier
|
|
14
|
+
:path: ''
|
|
15
|
+
:system: http://hl7.org/fhir/sid/us-npi
|
|
16
|
+
- :slice_id: Organization.identifier:tin
|
|
17
|
+
:slice_name: tin
|
|
18
|
+
:path: identifier
|
|
19
|
+
:discriminator:
|
|
20
|
+
:type: patternIdentifier
|
|
21
|
+
:path: ''
|
|
22
|
+
:system: urn:oid:2.16.840.1.113883.4.4
|
|
23
|
+
:elements:
|
|
24
|
+
- :path: active
|
|
25
|
+
- :path: address
|
|
26
|
+
- :path: address.city
|
|
27
|
+
- :path: address.country
|
|
28
|
+
- :path: address.line
|
|
29
|
+
- :path: address.postalCode
|
|
30
|
+
- :path: address.state
|
|
31
|
+
- :path: identifier
|
|
32
|
+
- :path: name
|
|
33
|
+
- :path: partOf
|
|
34
|
+
:types:
|
|
35
|
+
- Reference
|
|
36
|
+
:target_profiles:
|
|
37
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization
|
|
38
|
+
- :path: telecom
|
|
39
|
+
- :path: telecom.system
|
|
40
|
+
- :path: telecom.value
|
|
41
|
+
:choices: []
|
|
42
|
+
:recursive_elements: []
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: Patient
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient
|
|
4
|
+
:profile_name: CRD Patient
|
|
5
|
+
:profile_version: 2.2.1
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions: []
|
|
8
|
+
:slices: []
|
|
9
|
+
:elements:
|
|
10
|
+
- :path: address
|
|
11
|
+
- :path: address.city
|
|
12
|
+
- :path: address.country
|
|
13
|
+
- :path: address.line
|
|
14
|
+
- :path: address.postalCode
|
|
15
|
+
- :path: address.state
|
|
16
|
+
- :path: birthDate
|
|
17
|
+
- :path: communication.language
|
|
18
|
+
- :path: gender
|
|
19
|
+
- :path: identifier
|
|
20
|
+
- :path: identifier.system
|
|
21
|
+
- :path: identifier.value
|
|
22
|
+
- :path: name
|
|
23
|
+
- :path: name.family
|
|
24
|
+
- :path: name.given
|
|
25
|
+
- :path: telecom.system
|
|
26
|
+
- :path: telecom.use
|
|
27
|
+
- :path: telecom.value
|
|
28
|
+
:choices: []
|
|
29
|
+
:recursive_elements: []
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: Practitioner
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
4
|
+
:profile_name: CRD Practitioner
|
|
5
|
+
:profile_version: 2.2.1
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions: []
|
|
8
|
+
:slices:
|
|
9
|
+
- :slice_id: Practitioner.identifier:NPI
|
|
10
|
+
:slice_name: NPI
|
|
11
|
+
:path: identifier
|
|
12
|
+
:discriminator:
|
|
13
|
+
:type: patternIdentifier
|
|
14
|
+
:path: ''
|
|
15
|
+
:system: http://hl7.org/fhir/sid/us-npi
|
|
16
|
+
- :slice_id: Practitioner.identifier:tin
|
|
17
|
+
:slice_name: tin
|
|
18
|
+
:path: identifier
|
|
19
|
+
:discriminator:
|
|
20
|
+
:type: patternIdentifier
|
|
21
|
+
:path: ''
|
|
22
|
+
:system: urn:oid:2.16.840.1.113883.4.4
|
|
23
|
+
:elements:
|
|
24
|
+
- :path: address
|
|
25
|
+
- :path: address.city
|
|
26
|
+
- :path: address.country
|
|
27
|
+
- :path: address.line
|
|
28
|
+
- :path: address.postalCode
|
|
29
|
+
- :path: address.state
|
|
30
|
+
- :path: identifier
|
|
31
|
+
- :path: name
|
|
32
|
+
- :path: name.family
|
|
33
|
+
- :path: telecom
|
|
34
|
+
- :path: telecom.system
|
|
35
|
+
- :path: telecom.value
|
|
36
|
+
:choices: []
|
|
37
|
+
:recursive_elements: []
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: PractitionerRole
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole
|
|
4
|
+
:profile_name: HRex PractitionerRole Profile
|
|
5
|
+
:profile_version: 1.2.0
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions: []
|
|
8
|
+
:slices: []
|
|
9
|
+
:elements:
|
|
10
|
+
- :path: code
|
|
11
|
+
- :path: endpoint
|
|
12
|
+
:types:
|
|
13
|
+
- Reference
|
|
14
|
+
:allowed_target_profiles:
|
|
15
|
+
- http://hl7.org/fhir/StructureDefinition/Endpoint
|
|
16
|
+
- :path: location
|
|
17
|
+
:types:
|
|
18
|
+
- Reference
|
|
19
|
+
:target_profiles:
|
|
20
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|7.0.0
|
|
21
|
+
- :path: organization
|
|
22
|
+
:types:
|
|
23
|
+
- Reference
|
|
24
|
+
:target_profiles:
|
|
25
|
+
- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization
|
|
26
|
+
- :path: practitioner
|
|
27
|
+
:types:
|
|
28
|
+
- Reference
|
|
29
|
+
:target_profiles:
|
|
30
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0
|
|
31
|
+
- :path: specialty
|
|
32
|
+
- :path: telecom
|
|
33
|
+
- :path: telecom.system
|
|
34
|
+
- :path: telecom.value
|
|
35
|
+
:choices: []
|
|
36
|
+
:recursive_elements: []
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
---
|
|
2
|
+
:resource: ServiceRequest
|
|
3
|
+
:profile_url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest
|
|
4
|
+
:profile_name: CRD Service Request
|
|
5
|
+
:profile_version: 2.2.1
|
|
6
|
+
:must_supports:
|
|
7
|
+
:extensions:
|
|
8
|
+
- :id: ServiceRequest.code.extension:BillingOptions
|
|
9
|
+
:slice_name: BillingOptions
|
|
10
|
+
:path: code.extension
|
|
11
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-billing-options
|
|
12
|
+
:modifier_extension: false
|
|
13
|
+
- :id: ServiceRequest.extension:Coverage-Information
|
|
14
|
+
:slice_name: Coverage-Information
|
|
15
|
+
:path: extension
|
|
16
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
|
|
17
|
+
:modifier_extension: false
|
|
18
|
+
- :id: ServiceRequest.performerType.extension:codeOptions
|
|
19
|
+
:slice_name: codeOptions
|
|
20
|
+
:path: performerType.extension
|
|
21
|
+
:url: http://hl7.org/fhir/StructureDefinition/codeOptions
|
|
22
|
+
:modifier_extension: false
|
|
23
|
+
:slices:
|
|
24
|
+
- :slice_id: ServiceRequest.category:encounterType
|
|
25
|
+
:slice_name: encounterType
|
|
26
|
+
:path: category
|
|
27
|
+
:discriminator:
|
|
28
|
+
:type: requiredBinding
|
|
29
|
+
:path: ''
|
|
30
|
+
:values:
|
|
31
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
32
|
+
:code: AMB
|
|
33
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
34
|
+
:code: EMER
|
|
35
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
36
|
+
:code: FLD
|
|
37
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
38
|
+
:code: HH
|
|
39
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
40
|
+
:code: IMP
|
|
41
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
42
|
+
:code: ACUTE
|
|
43
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
44
|
+
:code: NONAC
|
|
45
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
46
|
+
:code: OBSENC
|
|
47
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
48
|
+
:code: PRENC
|
|
49
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
50
|
+
:code: SS
|
|
51
|
+
- :system: http://terminology.hl7.org/CodeSystem/v3-ActCode
|
|
52
|
+
:code: VR
|
|
53
|
+
- :slice_id: ServiceRequest.category:serviceType
|
|
54
|
+
:slice_name: serviceType
|
|
55
|
+
:path: category
|
|
56
|
+
:discriminator:
|
|
57
|
+
:type: requiredBinding
|
|
58
|
+
:path: ''
|
|
59
|
+
:values:
|
|
60
|
+
- :system: https://codesystem.x12.org/005010/1365
|
|
61
|
+
- :slice_id: ServiceRequest.category:us-core
|
|
62
|
+
:slice_name: us-core
|
|
63
|
+
:path: category
|
|
64
|
+
:discriminator:
|
|
65
|
+
:type: requiredBinding
|
|
66
|
+
:path: ''
|
|
67
|
+
:values:
|
|
68
|
+
- :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
|
|
69
|
+
:code: sdoh
|
|
70
|
+
- :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
|
|
71
|
+
:code: functional-status
|
|
72
|
+
- :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
|
|
73
|
+
:code: disability-status
|
|
74
|
+
- :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
|
|
75
|
+
:code: cognitive-status
|
|
76
|
+
- :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
|
|
77
|
+
:code: treatment-intervention-preference
|
|
78
|
+
- :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category
|
|
79
|
+
:code: care-experience-preference
|
|
80
|
+
- :system: http://snomed.info/sct
|
|
81
|
+
:code: '386053000'
|
|
82
|
+
- :system: http://snomed.info/sct
|
|
83
|
+
:code: '410606002'
|
|
84
|
+
- :system: http://snomed.info/sct
|
|
85
|
+
:code: '108252007'
|
|
86
|
+
- :system: http://snomed.info/sct
|
|
87
|
+
:code: '363679005'
|
|
88
|
+
- :system: http://snomed.info/sct
|
|
89
|
+
:code: '409063005'
|
|
90
|
+
- :system: http://snomed.info/sct
|
|
91
|
+
:code: '409073007'
|
|
92
|
+
- :system: http://snomed.info/sct
|
|
93
|
+
:code: '387713003'
|
|
94
|
+
- :slice_id: ServiceRequest.locationCode.coding:cms
|
|
95
|
+
:slice_name: cms
|
|
96
|
+
:path: locationCode.coding
|
|
97
|
+
:discriminator:
|
|
98
|
+
:type: requiredBinding
|
|
99
|
+
:path: ''
|
|
100
|
+
:values:
|
|
101
|
+
- :system: https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set
|
|
102
|
+
- :slice_id: ServiceRequest.locationCode.coding:nubc
|
|
103
|
+
:slice_name: nubc
|
|
104
|
+
:path: locationCode.coding
|
|
105
|
+
:discriminator:
|
|
106
|
+
:type: requiredBinding
|
|
107
|
+
:path: ''
|
|
108
|
+
:values:
|
|
109
|
+
- :system: https://www.nubc.org/CodeSystem/TypeOfBill
|
|
110
|
+
- :slice_id: ServiceRequest.locationCode.coding:nucc
|
|
111
|
+
:slice_name: nucc
|
|
112
|
+
:path: locationCode.coding
|
|
113
|
+
:discriminator:
|
|
114
|
+
:type: requiredBinding
|
|
115
|
+
:path: ''
|
|
116
|
+
:values:
|
|
117
|
+
- :system: http://nucc.org/provider-taxonomy
|
|
118
|
+
- :slice_id: ServiceRequest.occurrenceTiming.repeat.bounds[x]:boundsPeriod
|
|
119
|
+
:slice_name: boundsPeriod
|
|
120
|
+
:path: occurrenceTiming.repeat.bounds[x]
|
|
121
|
+
:discriminator:
|
|
122
|
+
:type: type
|
|
123
|
+
:code: Period
|
|
124
|
+
- :slice_id: ServiceRequest.reasonCode.coding:ICD10
|
|
125
|
+
:slice_name: ICD10
|
|
126
|
+
:path: reasonCode.coding
|
|
127
|
+
:discriminator:
|
|
128
|
+
:type: requiredBinding
|
|
129
|
+
:path: ''
|
|
130
|
+
:values:
|
|
131
|
+
- :system: http://hl7.org/fhir/sid/icd-10-cm
|
|
132
|
+
:elements:
|
|
133
|
+
- :path: authoredOn
|
|
134
|
+
- :path: basedOn
|
|
135
|
+
:types:
|
|
136
|
+
- Reference
|
|
137
|
+
:allowed_target_profiles:
|
|
138
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest
|
|
139
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest
|
|
140
|
+
- :path: category
|
|
141
|
+
- :path: code
|
|
142
|
+
- :path: contained
|
|
143
|
+
- :path: doNotPerform
|
|
144
|
+
- :path: encounter
|
|
145
|
+
:types:
|
|
146
|
+
- Reference
|
|
147
|
+
:target_profiles:
|
|
148
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter
|
|
149
|
+
- :path: identifier
|
|
150
|
+
- :path: intent
|
|
151
|
+
- :path: locationCode
|
|
152
|
+
- :path: locationReference
|
|
153
|
+
:types:
|
|
154
|
+
- Reference
|
|
155
|
+
:target_profiles:
|
|
156
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-location
|
|
157
|
+
- :path: occurrencePeriod
|
|
158
|
+
:original_path: occurrence[x]
|
|
159
|
+
- :path: occurrenceTiming
|
|
160
|
+
:original_path: occurrence[x]
|
|
161
|
+
- :path: occurrenceTiming.event
|
|
162
|
+
- :path: occurrenceTiming.repeat
|
|
163
|
+
- :path: occurrenceTiming.repeat.count
|
|
164
|
+
- :path: occurrenceTiming.repeat.duration
|
|
165
|
+
- :path: occurrenceTiming.repeat.durationUnit
|
|
166
|
+
- :path: occurrenceTiming.repeat.frequency
|
|
167
|
+
- :path: occurrenceTiming.repeat.period
|
|
168
|
+
- :path: occurrenceTiming.repeat.periodUnit
|
|
169
|
+
- :path: performer
|
|
170
|
+
:types:
|
|
171
|
+
- Reference
|
|
172
|
+
:target_profiles:
|
|
173
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
174
|
+
- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole
|
|
175
|
+
- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization
|
|
176
|
+
- :path: performerType
|
|
177
|
+
- :path: quantity[x]
|
|
178
|
+
- :path: reasonCode
|
|
179
|
+
- :path: reasonReference
|
|
180
|
+
:types:
|
|
181
|
+
- Reference
|
|
182
|
+
:allowed_target_profiles:
|
|
183
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns|7.0.0
|
|
184
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis|7.0.0
|
|
185
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|7.0.0
|
|
186
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|7.0.0
|
|
187
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|7.0.0
|
|
188
|
+
- http://hl7.org/fhir/StructureDefinition/Observation
|
|
189
|
+
- :path: requester
|
|
190
|
+
:types:
|
|
191
|
+
- Reference
|
|
192
|
+
:target_profiles:
|
|
193
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner
|
|
194
|
+
- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole
|
|
195
|
+
- :path: status
|
|
196
|
+
- :path: subject
|
|
197
|
+
:types:
|
|
198
|
+
- Reference
|
|
199
|
+
:target_profiles:
|
|
200
|
+
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient
|
|
201
|
+
:choices: []
|
|
202
|
+
:recursive_elements: []
|