davinci_pas_test_kit 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/lib/davinci_pas_test_kit/client_suite.rb +289 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/claim_status/pas_claim_status_test.rb +109 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_response_attest.rb +39 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_test.rb +38 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_response_attest.rb +38 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb +43 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_must_support_test.rb +51 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_response_attest.rb +39 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_test.rb +35 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_response_attest.rb +39 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb +43 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_submit_must_support_test.rb +57 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_request_test.rb +31 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_validation_test.rb +18 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/nonconformant_pas_bundle.json +16 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_inquiry_error_test.rb +38 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_submission_error_test.rb +56 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/device_request_metadata.yml +112 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/medication_request_metadata.yml +183 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/nutrition_order_metadata.yml +109 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/pas_client_must_support_requirement_test.rb +117 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/pas_server_must_support_requirement_test.rb +116 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/service_request_metadata.yml +148 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_approval_group.rb +26 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_authentication_group.rb +49 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb +41 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb +56 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_error_group.rb +20 -0
- data/lib/davinci_pas_test_kit/ext/inferno_core/record_response_route.rb +98 -0
- data/lib/davinci_pas_test_kit/ext/inferno_core/request.rb +19 -0
- data/lib/davinci_pas_test_kit/ext/inferno_core/runnable.rb +18 -0
- data/lib/davinci_pas_test_kit/fhir_resource_navigation.rb +72 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_inquiry_request_beneficiary_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_submit_request_beneficiary_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml +162 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquiry_request_beneficiary_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquiry_response_beneficiary_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_request_beneficiary_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_response_beneficiary_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim/claim_operation_test.rb +67 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim/metadata.yml +577 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/claim_inquiry_operation_test.rb +57 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/client_inquiry_request_claim_inquiry_must_support_test.rb +95 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml +516 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/server_inquiry_request_claim_inquiry_must_support_test.rb +95 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb +102 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/metadata.yml +591 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb +102 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml +311 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/server_inquiry_response_claiminquiryresponse_must_support_test.rb +73 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/metadata.yml +318 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb +75 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pas_request_bundle_validation_test.rb +55 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_inquiry_request_bundle_validation_test.rb +55 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/metadata.yml +130 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb +58 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_inquiry_request_coverage_must_support_test.rb +55 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_submit_request_coverage_must_support_test.rb +55 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml +111 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_inquiry_request_coverage_must_support_test.rb +55 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_submit_request_coverage_must_support_test.rb +55 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/client_submit_request_device_request_must_support_test.rb +51 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/metadata.yml +112 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/server_submit_request_device_request_must_support_test.rb +51 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/client_submit_request_encounter_must_support_test.rb +67 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/metadata.yml +213 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/server_submit_request_encounter_must_support_test.rb +67 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_inquiry_request_insurer_must_support_test.rb +60 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_submit_request_insurer_must_support_test.rb +60 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml +104 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquiry_request_insurer_must_support_test.rb +60 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquiry_response_insurer_must_support_test.rb +60 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_request_insurer_must_support_test.rb +60 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_response_insurer_must_support_test.rb +60 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/client_submit_request_medication_request_must_support_test.rb +61 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/metadata.yml +183 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/server_submit_request_medication_request_must_support_test.rb +61 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/metadata.yml +5253 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/client_submit_request_nutrition_order_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/metadata.yml +109 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/server_submit_request_nutrition_order_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_inquiry_must_support_use_case_group.rb +51 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_submit_must_support_use_case_group.rb +61 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/client_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +77 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb +83 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml +67 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_inquiry_response_pas_inquiry_response_bundle_must_support_test.rb +52 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb +80 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/client_submit_request_pas_request_bundle_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/metadata.yml +77 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_pas_request_bundle_validation_test.rb +83 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_submit_request_pas_request_bundle_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/metadata.yml +71 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb +80 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_submit_response_pas_response_bundle_must_support_test.rb +52 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_approval_use_case_group.rb +59 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_denial_use_case_group.rb +59 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb +265 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_pended_use_case_group.rb +84 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_inquiry_request_practitioner_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_submit_request_practitioner_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml +74 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquiry_request_practitioner_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquiry_response_practitioner_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_request_practitioner_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_response_practitioner_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_inquiry_request_practitioner_role_must_support_test.rb +49 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_submit_request_practitioner_role_must_support_test.rb +49 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml +81 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquiry_request_practitioner_role_must_support_test.rb +49 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquiry_response_practitioner_role_must_support_test.rb +49 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_request_practitioner_role_must_support_test.rb +49 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_response_practitioner_role_must_support_test.rb +49 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_inquiry_request_requestor_must_support_test.rb +63 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_submit_request_requestor_must_support_test.rb +63 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml +107 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquiry_request_requestor_must_support_test.rb +63 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquiry_response_requestor_must_support_test.rb +63 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_request_requestor_must_support_test.rb +63 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_response_requestor_must_support_test.rb +63 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/resource_list.rb +54 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +236 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/client_submit_request_service_request_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/metadata.yml +148 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/server_submit_request_service_request_must_support_test.rb +53 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_inquiry_request_subscriber_must_support_test.rb +74 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb +74 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/metadata.yml +159 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_inquiry_request_subscriber_must_support_test.rb +74 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_submit_request_subscriber_must_support_test.rb +74 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml +192 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_inquiry_response_task_must_support_test.rb +61 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb +61 -0
- data/lib/davinci_pas_test_kit/generator/group_generator.rb +440 -0
- data/lib/davinci_pas_test_kit/generator/group_metadata.rb +73 -0
- data/lib/davinci_pas_test_kit/generator/group_metadata_extractor.rb +244 -0
- data/lib/davinci_pas_test_kit/generator/ig_loader.rb +78 -0
- data/lib/davinci_pas_test_kit/generator/ig_metadata.rb +66 -0
- data/lib/davinci_pas_test_kit/generator/ig_metadata_extractor.rb +54 -0
- data/lib/davinci_pas_test_kit/generator/ig_resources.rb +74 -0
- data/lib/davinci_pas_test_kit/generator/must_support_check_profiles.rb +86 -0
- data/lib/davinci_pas_test_kit/generator/must_support_metadata_extractor.rb +327 -0
- data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +155 -0
- data/lib/davinci_pas_test_kit/generator/naming.rb +50 -0
- data/lib/davinci_pas_test_kit/generator/operation_test_generator.rb +136 -0
- data/lib/davinci_pas_test_kit/generator/resource_list_generator.rb +59 -0
- data/lib/davinci_pas_test_kit/generator/suite_generator.rb +94 -0
- data/lib/davinci_pas_test_kit/generator/terminology_binding_metadata_extractor.rb +108 -0
- data/lib/davinci_pas_test_kit/generator/validation_test_generator.rb +181 -0
- data/lib/davinci_pas_test_kit/generator/value_extractor.rb +48 -0
- data/lib/davinci_pas_test_kit/generator.rb +80 -0
- data/lib/davinci_pas_test_kit/mock_server.rb +189 -0
- data/lib/davinci_pas_test_kit/must_support_test.rb +267 -0
- data/lib/davinci_pas_test_kit/pas_bundle_validation.rb +568 -0
- data/lib/davinci_pas_test_kit/tags.rb +7 -0
- data/lib/davinci_pas_test_kit/urls.rb +39 -0
- data/lib/davinci_pas_test_kit/user_input_response.rb +32 -0
- data/lib/davinci_pas_test_kit/validation_test.rb +58 -0
- data/lib/davinci_pas_test_kit/validator_suppressions.rb +143 -0
- data/lib/davinci_pas_test_kit/version.rb +5 -0
- data/lib/davinci_pas_test_kit.rb +2 -0
- metadata +281 -0
@@ -0,0 +1,591 @@
|
|
1
|
+
---
|
2
|
+
:name: profile_claim_update
|
3
|
+
:class_name: ProfileClaimUpdateSequence
|
4
|
+
:version: v2.0.1
|
5
|
+
:reformatted_version: v201
|
6
|
+
:resource: Claim
|
7
|
+
:profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim-update
|
8
|
+
:profile_name: PAS Claim Update
|
9
|
+
:profile_version: 2.0.1
|
10
|
+
:title: Claim Update
|
11
|
+
:short_description: Verify support for the server capabilities required by the PAS
|
12
|
+
Claim Update.
|
13
|
+
:interactions: []
|
14
|
+
:operations:
|
15
|
+
- :code: "$submit"
|
16
|
+
:expectation:
|
17
|
+
- :code: "$inquire"
|
18
|
+
:expectation:
|
19
|
+
:required_concepts:
|
20
|
+
- careTeam.role
|
21
|
+
- careTeam.qualification
|
22
|
+
- careTeam.role
|
23
|
+
- careTeam.qualification
|
24
|
+
- diagnosis.diagnosisCodeableConcept
|
25
|
+
- diagnosis.type
|
26
|
+
- accident.type
|
27
|
+
- item.extension.valueCodeableConcept
|
28
|
+
- item.revenue
|
29
|
+
- item.category
|
30
|
+
- item.productOrService
|
31
|
+
- item.modifier
|
32
|
+
- item.locationCodeableConcept
|
33
|
+
:must_supports:
|
34
|
+
:extensions:
|
35
|
+
- :id: Claim.extension:levelOfServiceType
|
36
|
+
:path: extension
|
37
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode
|
38
|
+
- :id: Claim.extension:encounter
|
39
|
+
:path: extension
|
40
|
+
:url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter
|
41
|
+
- :id: Claim.careTeam.extension:careTeamClaimScope
|
42
|
+
:path: careTeam.extension
|
43
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
|
44
|
+
- :id: Claim.careTeam:OverallClaimMember.extension:careTeamClaimScope
|
45
|
+
:path: careTeam.extension
|
46
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
|
47
|
+
- :id: Claim.careTeam:ItemClaimMember.extension:careTeamClaimScope
|
48
|
+
:path: careTeam.extension
|
49
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-careTeamClaimScope
|
50
|
+
- :id: Claim.diagnosis.extension:recordedDate
|
51
|
+
:path: diagnosis.extension
|
52
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate
|
53
|
+
- :id: Claim.item.extension:itemTraceNumber
|
54
|
+
:path: item.extension
|
55
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-itemTraceNumber
|
56
|
+
- :id: Claim.item.extension:authorizationNumber
|
57
|
+
:path: item.extension
|
58
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-authorizationNumber
|
59
|
+
- :id: Claim.item.extension:administrationReferenceNumber
|
60
|
+
:path: item.extension
|
61
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-administrationReferenceNumber
|
62
|
+
- :id: Claim.item.extension:requestType
|
63
|
+
:path: item.extension
|
64
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType
|
65
|
+
- :id: Claim.item.extension:certificationType
|
66
|
+
:path: item.extension
|
67
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType
|
68
|
+
- :id: Claim.item.extension:epsdtIndicator
|
69
|
+
:path: item.extension
|
70
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-epsdtIndicator
|
71
|
+
- :id: Claim.item.extension:nursingHomeResidentialStatus
|
72
|
+
:path: item.extension
|
73
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeResidentialStatus
|
74
|
+
- :id: Claim.item.extension:nursingHomeLevelOfCare
|
75
|
+
:path: item.extension
|
76
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare
|
77
|
+
- :id: Claim.item.extension:revenueUnitRateLimit
|
78
|
+
:path: item.extension
|
79
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-revenueUnitRateLimit
|
80
|
+
- :id: Claim.item.extension:requestedService
|
81
|
+
:path: item.extension
|
82
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-requestedService
|
83
|
+
:slices:
|
84
|
+
- :name: Claim.supportingInfo:AdditionalInformation
|
85
|
+
:path: supportingInfo
|
86
|
+
:discriminator:
|
87
|
+
:type: value
|
88
|
+
:values:
|
89
|
+
- :path: category
|
90
|
+
:value:
|
91
|
+
- :name: Claim.supportingInfo:MessageText
|
92
|
+
:path: supportingInfo
|
93
|
+
:discriminator:
|
94
|
+
:type: value
|
95
|
+
:values:
|
96
|
+
- :path: category
|
97
|
+
:value:
|
98
|
+
:elements:
|
99
|
+
- :path: identifier
|
100
|
+
- :path: insurer
|
101
|
+
:types:
|
102
|
+
- Reference
|
103
|
+
- :path: provider
|
104
|
+
:types:
|
105
|
+
- Reference
|
106
|
+
- :path: careTeam
|
107
|
+
- :path: careTeam.sequence
|
108
|
+
- :path: careTeam.provider
|
109
|
+
:types:
|
110
|
+
- Reference
|
111
|
+
- :path: careTeam.role
|
112
|
+
- :path: careTeam.qualification
|
113
|
+
- :path: supportingInfo
|
114
|
+
- :path: supportingInfo.category
|
115
|
+
- :path: supportingInfo.timing[x]
|
116
|
+
- :path: supportingInfo.category.coding.code
|
117
|
+
:fixed_value: additionalInformation
|
118
|
+
- :path: supportingInfo.sequence
|
119
|
+
- :path: supportingInfo.category.coding.code
|
120
|
+
:fixed_value: freeFormMessage
|
121
|
+
- :path: supportingInfo.value[x]
|
122
|
+
- :path: diagnosis
|
123
|
+
- :path: diagnosis.sequence
|
124
|
+
- :path: diagnosis.diagnosis[x]
|
125
|
+
- :path: diagnosis.type
|
126
|
+
- :path: insurance
|
127
|
+
- :path: insurance.sequence
|
128
|
+
- :path: insurance.coverage
|
129
|
+
:types:
|
130
|
+
- Reference
|
131
|
+
- :path: accident
|
132
|
+
- :path: accident.date
|
133
|
+
- :path: accident.type
|
134
|
+
- :path: item
|
135
|
+
- :path: item.sequence
|
136
|
+
- :path: item.careTeamSequence
|
137
|
+
- :path: item.diagnosisSequence
|
138
|
+
- :path: item.informationSequence
|
139
|
+
- :path: item.revenue
|
140
|
+
- :path: item.category
|
141
|
+
- :path: item.productOrService
|
142
|
+
- :path: item.modifier
|
143
|
+
- :path: item.serviced[x]
|
144
|
+
- :path: item.location[x]
|
145
|
+
- :path: item.quantity
|
146
|
+
- :path: item.unitPrice
|
147
|
+
:mandatory_elements:
|
148
|
+
- Claim.extension.url
|
149
|
+
- Claim.extension.value[x]
|
150
|
+
- Claim.identifier
|
151
|
+
- Claim.status
|
152
|
+
- Claim.type
|
153
|
+
- Claim.use
|
154
|
+
- Claim.patient
|
155
|
+
- Claim.created
|
156
|
+
- Claim.insurer
|
157
|
+
- Claim.provider
|
158
|
+
- Claim.priority
|
159
|
+
- Claim.payee.type
|
160
|
+
- Claim.careTeam.extension
|
161
|
+
- Claim.careTeam.sequence
|
162
|
+
- Claim.careTeam.provider
|
163
|
+
- Claim.careTeam.extension.url
|
164
|
+
- Claim.supportingInfo.sequence
|
165
|
+
- Claim.supportingInfo.category
|
166
|
+
- Claim.supportingInfo.timing[x]
|
167
|
+
- Claim.supportingInfo.value[x]
|
168
|
+
- Claim.diagnosis.sequence
|
169
|
+
- Claim.diagnosis.diagnosis[x]
|
170
|
+
- Claim.procedure.sequence
|
171
|
+
- Claim.procedure.procedure[x]
|
172
|
+
- Claim.insurance
|
173
|
+
- Claim.insurance.sequence
|
174
|
+
- Claim.insurance.focal
|
175
|
+
- Claim.insurance.coverage
|
176
|
+
- Claim.accident.date
|
177
|
+
- Claim.item
|
178
|
+
- Claim.item.extension.url
|
179
|
+
- Claim.item.sequence
|
180
|
+
- Claim.item.category
|
181
|
+
- Claim.item.productOrService
|
182
|
+
- Claim.item.detail.sequence
|
183
|
+
- Claim.item.detail.productOrService
|
184
|
+
- Claim.item.detail.subDetail.sequence
|
185
|
+
- Claim.item.detail.subDetail.productOrService
|
186
|
+
:bindings:
|
187
|
+
- :type: code
|
188
|
+
:strength: preferred
|
189
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
190
|
+
:path: language
|
191
|
+
- :type: code
|
192
|
+
:strength: required
|
193
|
+
:system: http://hl7.org/fhir/ValueSet/fm-status
|
194
|
+
:path: status
|
195
|
+
- :type: CodeableConcept
|
196
|
+
:strength: extensible
|
197
|
+
:system: http://hl7.org/fhir/ValueSet/claim-type
|
198
|
+
:path: type
|
199
|
+
- :type: CodeableConcept
|
200
|
+
:strength: example
|
201
|
+
:system: http://hl7.org/fhir/ValueSet/claim-subtype
|
202
|
+
:path: subType
|
203
|
+
- :type: code
|
204
|
+
:strength: required
|
205
|
+
:system: http://hl7.org/fhir/ValueSet/claim-use
|
206
|
+
:path: use
|
207
|
+
- :type: CodeableConcept
|
208
|
+
:strength: example
|
209
|
+
:system: http://hl7.org/fhir/ValueSet/process-priority
|
210
|
+
:path: priority
|
211
|
+
- :type: CodeableConcept
|
212
|
+
:strength: example
|
213
|
+
:system: http://hl7.org/fhir/ValueSet/fundsreserve
|
214
|
+
:path: fundsReserve
|
215
|
+
- :type: CodeableConcept
|
216
|
+
:strength: example
|
217
|
+
:system: http://hl7.org/fhir/ValueSet/related-claim-relationship
|
218
|
+
:path: related.relationship
|
219
|
+
- :type: CodeableConcept
|
220
|
+
:strength: example
|
221
|
+
:system: http://hl7.org/fhir/ValueSet/payeetype
|
222
|
+
:path: payee.type
|
223
|
+
- :type: CodeableConcept
|
224
|
+
:strength: example
|
225
|
+
:system: http://hl7.org/fhir/ValueSet/claim-careteamrole
|
226
|
+
:path: careTeam.role
|
227
|
+
- :type: CodeableConcept
|
228
|
+
:strength: example
|
229
|
+
:system: http://hl7.org/fhir/ValueSet/provider-qualification
|
230
|
+
:path: careTeam.qualification
|
231
|
+
- :type: CodeableConcept
|
232
|
+
:strength: required
|
233
|
+
:system: https://valueset.x12.org/x217/005010/request/2010EA/NM1/1/01/00/98
|
234
|
+
:path: careTeam.role
|
235
|
+
- :type: CodeableConcept
|
236
|
+
:strength: required
|
237
|
+
:system: https://valueset.x12.org/x217/005010/request/2010EA/PRV/1/03/00/127
|
238
|
+
:path: careTeam.qualification
|
239
|
+
- :type: CodeableConcept
|
240
|
+
:strength: required
|
241
|
+
:system: https://valueset.x12.org/x217/005010/request/2010F/NM1/1/01/00/98
|
242
|
+
:path: careTeam.role
|
243
|
+
- :type: CodeableConcept
|
244
|
+
:strength: required
|
245
|
+
:system: https://valueset.x12.org/x217/005010/request/2010F/PRV/1/03/00/127
|
246
|
+
:path: careTeam.qualification
|
247
|
+
- :type: CodeableConcept
|
248
|
+
:strength: extensible
|
249
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/PASSupportingInfoType
|
250
|
+
:path: supportingInfo.category
|
251
|
+
- :type: CodeableConcept
|
252
|
+
:strength: example
|
253
|
+
:system: http://hl7.org/fhir/ValueSet/claim-exception
|
254
|
+
:path: supportingInfo.code
|
255
|
+
- :type: CodeableConcept
|
256
|
+
:strength: example
|
257
|
+
:system: http://hl7.org/fhir/ValueSet/missing-tooth-reason
|
258
|
+
:path: supportingInfo.reason
|
259
|
+
- :type: CodeableConcept
|
260
|
+
:strength: example
|
261
|
+
:system: http://hl7.org/fhir/ValueSet/claim-informationcategory
|
262
|
+
:path: supportingInfo.category
|
263
|
+
- :type: CodeableConcept
|
264
|
+
:strength: example
|
265
|
+
:system: http://hl7.org/fhir/ValueSet/claim-exception
|
266
|
+
:path: supportingInfo.code
|
267
|
+
- :type: CodeableConcept
|
268
|
+
:strength: example
|
269
|
+
:system: http://hl7.org/fhir/ValueSet/missing-tooth-reason
|
270
|
+
:path: supportingInfo.reason
|
271
|
+
- :type: CodeableConcept
|
272
|
+
:strength: example
|
273
|
+
:system: http://hl7.org/fhir/ValueSet/claim-informationcategory
|
274
|
+
:path: supportingInfo.category
|
275
|
+
- :type: CodeableConcept
|
276
|
+
:strength: example
|
277
|
+
:system: http://hl7.org/fhir/ValueSet/claim-exception
|
278
|
+
:path: supportingInfo.code
|
279
|
+
- :type: CodeableConcept
|
280
|
+
:strength: example
|
281
|
+
:system: http://hl7.org/fhir/ValueSet/missing-tooth-reason
|
282
|
+
:path: supportingInfo.reason
|
283
|
+
- :type: CodeableConcept
|
284
|
+
:strength: example
|
285
|
+
:system: http://hl7.org/fhir/ValueSet/claim-informationcategory
|
286
|
+
:path: supportingInfo.category
|
287
|
+
- :type: CodeableConcept
|
288
|
+
:strength: example
|
289
|
+
:system: http://hl7.org/fhir/ValueSet/claim-exception
|
290
|
+
:path: supportingInfo.code
|
291
|
+
- :type: CodeableConcept
|
292
|
+
:strength: example
|
293
|
+
:system: http://hl7.org/fhir/ValueSet/missing-tooth-reason
|
294
|
+
:path: supportingInfo.reason
|
295
|
+
- :type: CodeableConcept
|
296
|
+
:strength: extensible
|
297
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/PASSupportingInfoType
|
298
|
+
:path: supportingInfo.category
|
299
|
+
- :type: CodeableConcept
|
300
|
+
:strength: example
|
301
|
+
:system: http://hl7.org/fhir/ValueSet/claim-exception
|
302
|
+
:path: supportingInfo.code
|
303
|
+
- :type: CodeableConcept
|
304
|
+
:strength: example
|
305
|
+
:system: http://hl7.org/fhir/ValueSet/missing-tooth-reason
|
306
|
+
:path: supportingInfo.reason
|
307
|
+
- :type: CodeableConcept
|
308
|
+
:strength: extensible
|
309
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/PASSupportingInfoType
|
310
|
+
:path: supportingInfo.category
|
311
|
+
- :type: CodeableConcept
|
312
|
+
:strength: example
|
313
|
+
:system: http://hl7.org/fhir/ValueSet/claim-exception
|
314
|
+
:path: supportingInfo.code
|
315
|
+
- :type: CodeableConcept
|
316
|
+
:strength: example
|
317
|
+
:system: http://hl7.org/fhir/ValueSet/missing-tooth-reason
|
318
|
+
:path: supportingInfo.reason
|
319
|
+
- :type: CodeableConcept
|
320
|
+
:strength: required
|
321
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278DiagnosisCodes
|
322
|
+
:path: diagnosis.diagnosis
|
323
|
+
- :type: CodeableConcept
|
324
|
+
:strength: required
|
325
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278DiagnosisType
|
326
|
+
:path: diagnosis.type
|
327
|
+
- :type: CodeableConcept
|
328
|
+
:strength: example
|
329
|
+
:system: http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission
|
330
|
+
:path: diagnosis.onAdmission
|
331
|
+
- :type: CodeableConcept
|
332
|
+
:strength: example
|
333
|
+
:system: http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup
|
334
|
+
:path: diagnosis.packageCode
|
335
|
+
- :type: CodeableConcept
|
336
|
+
:strength: example
|
337
|
+
:system: http://hl7.org/fhir/ValueSet/ex-procedure-type
|
338
|
+
:path: procedure.type
|
339
|
+
- :type: CodeableConcept
|
340
|
+
:strength: example
|
341
|
+
:system: http://hl7.org/fhir/ValueSet/icd-10-procedures
|
342
|
+
:path: procedure.procedure
|
343
|
+
- :type: CodeableConcept
|
344
|
+
:strength: required
|
345
|
+
:system: https://valueset.x12.org/x217/005010/request/2000E/UM/1/05/01/1362
|
346
|
+
:path: accident.type
|
347
|
+
- :type: CodeableConcept
|
348
|
+
:strength: required
|
349
|
+
:system: https://valueset.x12.org/x217/005010/request/2000F/SV2/1/09/00/1345
|
350
|
+
:path: item.extension.value
|
351
|
+
- :type: CodeableConcept
|
352
|
+
:strength: required
|
353
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/AHANUBCRevenueCodes
|
354
|
+
:path: item.revenue
|
355
|
+
- :type: CodeableConcept
|
356
|
+
:strength: required
|
357
|
+
:system: https://valueset.x12.org/x217/005010/request/2000F/UM/1/03/00/1365
|
358
|
+
:path: item.category
|
359
|
+
- :type: CodeableConcept
|
360
|
+
:strength: required
|
361
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType
|
362
|
+
:path: item.productOrService
|
363
|
+
- :type: CodeableConcept
|
364
|
+
:strength: required
|
365
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceModifierType
|
366
|
+
:path: item.modifier
|
367
|
+
- :type: CodeableConcept
|
368
|
+
:strength: example
|
369
|
+
:system: http://hl7.org/fhir/ValueSet/ex-program-code
|
370
|
+
:path: item.programCode
|
371
|
+
- :type: CodeableConcept
|
372
|
+
:strength: required
|
373
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278LocationType
|
374
|
+
:path: item.location
|
375
|
+
- :type: CodeableConcept
|
376
|
+
:strength: example
|
377
|
+
:system: http://hl7.org/fhir/ValueSet/tooth
|
378
|
+
:path: item.bodySite
|
379
|
+
- :type: CodeableConcept
|
380
|
+
:strength: example
|
381
|
+
:system: http://hl7.org/fhir/ValueSet/surface
|
382
|
+
:path: item.subSite
|
383
|
+
- :type: CodeableConcept
|
384
|
+
:strength: example
|
385
|
+
:system: http://hl7.org/fhir/ValueSet/ex-revenue-center
|
386
|
+
:path: item.detail.revenue
|
387
|
+
- :type: CodeableConcept
|
388
|
+
:strength: example
|
389
|
+
:system: http://hl7.org/fhir/ValueSet/ex-benefitcategory
|
390
|
+
:path: item.detail.category
|
391
|
+
- :type: CodeableConcept
|
392
|
+
:strength: example
|
393
|
+
:system: http://hl7.org/fhir/ValueSet/service-uscls
|
394
|
+
:path: item.detail.productOrService
|
395
|
+
- :type: CodeableConcept
|
396
|
+
:strength: example
|
397
|
+
:system: http://hl7.org/fhir/ValueSet/claim-modifiers
|
398
|
+
:path: item.detail.modifier
|
399
|
+
- :type: CodeableConcept
|
400
|
+
:strength: example
|
401
|
+
:system: http://hl7.org/fhir/ValueSet/ex-program-code
|
402
|
+
:path: item.detail.programCode
|
403
|
+
- :type: CodeableConcept
|
404
|
+
:strength: example
|
405
|
+
:system: http://hl7.org/fhir/ValueSet/ex-revenue-center
|
406
|
+
:path: item.detail.subDetail.revenue
|
407
|
+
- :type: CodeableConcept
|
408
|
+
:strength: example
|
409
|
+
:system: http://hl7.org/fhir/ValueSet/ex-benefitcategory
|
410
|
+
:path: item.detail.subDetail.category
|
411
|
+
- :type: CodeableConcept
|
412
|
+
:strength: example
|
413
|
+
:system: http://hl7.org/fhir/ValueSet/service-uscls
|
414
|
+
:path: item.detail.subDetail.productOrService
|
415
|
+
- :type: CodeableConcept
|
416
|
+
:strength: example
|
417
|
+
:system: http://hl7.org/fhir/ValueSet/claim-modifiers
|
418
|
+
:path: item.detail.subDetail.modifier
|
419
|
+
- :type: CodeableConcept
|
420
|
+
:strength: example
|
421
|
+
:system: http://hl7.org/fhir/ValueSet/ex-program-code
|
422
|
+
:path: item.detail.subDetail.programCode
|
423
|
+
- :type: CodeableConcept
|
424
|
+
:strength: required
|
425
|
+
:system: https://valueset.x12.org/x217/005010/request/2000E/UM/1/06/00/1338
|
426
|
+
:path: value
|
427
|
+
:extensions:
|
428
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-levelOfServiceCode
|
429
|
+
- :type: CodeableConcept
|
430
|
+
:strength: required
|
431
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278ConditionCategory
|
432
|
+
:path: value
|
433
|
+
:extensions:
|
434
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-conditionCode
|
435
|
+
- category
|
436
|
+
- :type: CodeableConcept
|
437
|
+
:strength: required
|
438
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278ConditionCode
|
439
|
+
:path: value
|
440
|
+
:extensions:
|
441
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-conditionCode
|
442
|
+
- code
|
443
|
+
- :type: CodeableConcept
|
444
|
+
:strength: required
|
445
|
+
:system: https://valueset.x12.org/x217/005010/request/2000E/CR6/1/01/00/923
|
446
|
+
:path: value
|
447
|
+
:extensions:
|
448
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-homeHealthCareInformation
|
449
|
+
- prognosis
|
450
|
+
- :type: code
|
451
|
+
:strength: required
|
452
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/PASInformationChangeMode
|
453
|
+
:path: value
|
454
|
+
:extensions:
|
455
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-infoChanged
|
456
|
+
- :type: CodeableConcept
|
457
|
+
:strength: required
|
458
|
+
:system: https://valueset.x12.org/x217/005010/request/2000E/UM/1/01/00/1525
|
459
|
+
:path: value
|
460
|
+
:extensions:
|
461
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceItemRequestType
|
462
|
+
- :type: CodeableConcept
|
463
|
+
:strength: required
|
464
|
+
:system: https://valueset.x12.org/x217/005010/request/2000F/UM/1/02/00/1322
|
465
|
+
:path: value
|
466
|
+
:extensions:
|
467
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-certificationType
|
468
|
+
- :type: CodeableConcept
|
469
|
+
:strength: required
|
470
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType
|
471
|
+
:path: value
|
472
|
+
:extensions:
|
473
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-productOrServiceCodeEnd
|
474
|
+
- :type: CodeableConcept
|
475
|
+
:strength: required
|
476
|
+
:system: https://valueset.x12.org/x217/005010/request/2000F/SV1/1/20/00/1337
|
477
|
+
:path: value
|
478
|
+
:extensions:
|
479
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-nursingHomeLevelOfCare
|
480
|
+
- :type: code
|
481
|
+
:strength: required
|
482
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/PASInformationChangeMode
|
483
|
+
:path: value
|
484
|
+
:extensions:
|
485
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-infoChanged
|
486
|
+
:references:
|
487
|
+
- :path: Claim.extension.value[x]
|
488
|
+
:profiles:
|
489
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-encounter
|
490
|
+
- :path: Claim.patient
|
491
|
+
:profiles:
|
492
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
493
|
+
- :path: Claim.enterer
|
494
|
+
:profiles:
|
495
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
496
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
497
|
+
- :path: Claim.insurer
|
498
|
+
:profiles:
|
499
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
500
|
+
- :path: Claim.provider
|
501
|
+
:profiles:
|
502
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor
|
503
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole
|
504
|
+
- :path: Claim.related.claim
|
505
|
+
:profiles:
|
506
|
+
- http://hl7.org/fhir/StructureDefinition/Claim
|
507
|
+
- :path: Claim.prescription
|
508
|
+
:profiles:
|
509
|
+
- http://hl7.org/fhir/StructureDefinition/DeviceRequest
|
510
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
511
|
+
- http://hl7.org/fhir/StructureDefinition/VisionPrescription
|
512
|
+
- :path: Claim.originalPrescription
|
513
|
+
:profiles:
|
514
|
+
- http://hl7.org/fhir/StructureDefinition/DeviceRequest
|
515
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
516
|
+
- http://hl7.org/fhir/StructureDefinition/VisionPrescription
|
517
|
+
- :path: Claim.payee.party
|
518
|
+
:profiles:
|
519
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
520
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
521
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
522
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
523
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
524
|
+
- :path: Claim.referral
|
525
|
+
:profiles:
|
526
|
+
- http://hl7.org/fhir/StructureDefinition/ServiceRequest
|
527
|
+
- :path: Claim.facility
|
528
|
+
:profiles:
|
529
|
+
- http://hl7.org/fhir/StructureDefinition/Location
|
530
|
+
- :path: Claim.careTeam.provider
|
531
|
+
:profiles:
|
532
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-organization
|
533
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitionerrole
|
534
|
+
- :path: Claim.careTeam.provider
|
535
|
+
:profiles:
|
536
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
537
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
538
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
539
|
+
- :path: Claim.careTeam.provider
|
540
|
+
:profiles:
|
541
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
542
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
543
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
544
|
+
- :path: Claim.supportingInfo.value[x]
|
545
|
+
:profiles:
|
546
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference
|
547
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
548
|
+
- :path: Claim.procedure.udi
|
549
|
+
:profiles:
|
550
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
551
|
+
- :path: Claim.insurance.coverage
|
552
|
+
:profiles:
|
553
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage
|
554
|
+
- :path: Claim.insurance.claimResponse
|
555
|
+
:profiles:
|
556
|
+
- http://hl7.org/fhir/StructureDefinition/ClaimResponse
|
557
|
+
- :path: Claim.item.udi
|
558
|
+
:profiles:
|
559
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
560
|
+
- :path: Claim.item.encounter
|
561
|
+
:profiles:
|
562
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
563
|
+
- :path: Claim.item.detail.udi
|
564
|
+
:profiles:
|
565
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
566
|
+
- :path: Claim.item.detail.subDetail.udi
|
567
|
+
:profiles:
|
568
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
569
|
+
:tests:
|
570
|
+
- :id: pas_server_submit_request_v201_claim_update_must_support_test
|
571
|
+
:file_name: server_submit_request_claim_update_must_support_test.rb
|
572
|
+
- :id: pas_client_submit_request_v201_claim_update_must_support_test
|
573
|
+
:file_name: client_submit_request_claim_update_must_support_test.rb
|
574
|
+
:delayed_references:
|
575
|
+
- :path: extension.value[x]
|
576
|
+
:resources:
|
577
|
+
- Encounter
|
578
|
+
- :path: insurer
|
579
|
+
:resources:
|
580
|
+
- Organization
|
581
|
+
- :path: provider
|
582
|
+
:resources:
|
583
|
+
- Organization
|
584
|
+
- PractitionerRole
|
585
|
+
- :path: careTeam.provider
|
586
|
+
:resources:
|
587
|
+
- Organization
|
588
|
+
- PractitionerRole
|
589
|
+
- :path: insurance.coverage
|
590
|
+
:resources:
|
591
|
+
- Coverage
|
@@ -0,0 +1,102 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
require_relative '../../../tags'
|
4
|
+
|
5
|
+
module DaVinciPASTestKit
|
6
|
+
module DaVinciPASV201
|
7
|
+
class ServerSubmitRequestClaimUpdateMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS Claim Update are observed across all instances submitted'
|
11
|
+
description %(
|
12
|
+
|
13
|
+
PAS server systems are required to be able to receive all
|
14
|
+
must support elements on instances of all profiles included in
|
15
|
+
requests, including instances of the PAS Claim Update Profile.
|
16
|
+
This test checks all identified instances of the PAS Claim Update
|
17
|
+
Profile on requests sent to the server to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* Claim.accident
|
21
|
+
* Claim.accident.date
|
22
|
+
* Claim.accident.type
|
23
|
+
* Claim.careTeam
|
24
|
+
* Claim.careTeam.extension:careTeamClaimScope
|
25
|
+
* Claim.careTeam.provider
|
26
|
+
* Claim.careTeam.qualification
|
27
|
+
* Claim.careTeam.role
|
28
|
+
* Claim.careTeam.sequence
|
29
|
+
* Claim.careTeam:ItemClaimMember.extension:careTeamClaimScope
|
30
|
+
* Claim.careTeam:OverallClaimMember.extension:careTeamClaimScope
|
31
|
+
* Claim.diagnosis
|
32
|
+
* Claim.diagnosis.diagnosis[x]
|
33
|
+
* Claim.diagnosis.extension:recordedDate
|
34
|
+
* Claim.diagnosis.sequence
|
35
|
+
* Claim.diagnosis.type
|
36
|
+
* Claim.extension:encounter
|
37
|
+
* Claim.extension:levelOfServiceType
|
38
|
+
* Claim.identifier
|
39
|
+
* Claim.insurance
|
40
|
+
* Claim.insurance.coverage
|
41
|
+
* Claim.insurance.sequence
|
42
|
+
* Claim.insurer
|
43
|
+
* Claim.item
|
44
|
+
* Claim.item.careTeamSequence
|
45
|
+
* Claim.item.category
|
46
|
+
* Claim.item.diagnosisSequence
|
47
|
+
* Claim.item.extension:administrationReferenceNumber
|
48
|
+
* Claim.item.extension:authorizationNumber
|
49
|
+
* Claim.item.extension:certificationType
|
50
|
+
* Claim.item.extension:epsdtIndicator
|
51
|
+
* Claim.item.extension:itemTraceNumber
|
52
|
+
* Claim.item.extension:nursingHomeLevelOfCare
|
53
|
+
* Claim.item.extension:nursingHomeResidentialStatus
|
54
|
+
* Claim.item.extension:requestType
|
55
|
+
* Claim.item.extension:requestedService
|
56
|
+
* Claim.item.extension:revenueUnitRateLimit
|
57
|
+
* Claim.item.informationSequence
|
58
|
+
* Claim.item.location[x]
|
59
|
+
* Claim.item.modifier
|
60
|
+
* Claim.item.productOrService
|
61
|
+
* Claim.item.quantity
|
62
|
+
* Claim.item.revenue
|
63
|
+
* Claim.item.sequence
|
64
|
+
* Claim.item.serviced[x]
|
65
|
+
* Claim.item.unitPrice
|
66
|
+
* Claim.provider
|
67
|
+
* Claim.supportingInfo
|
68
|
+
* Claim.supportingInfo.category
|
69
|
+
* Claim.supportingInfo.category.coding.code
|
70
|
+
* Claim.supportingInfo.sequence
|
71
|
+
* Claim.supportingInfo.timing[x]
|
72
|
+
* Claim.supportingInfo.value[x]
|
73
|
+
* Claim.supportingInfo:AdditionalInformation
|
74
|
+
* Claim.supportingInfo:MessageText
|
75
|
+
)
|
76
|
+
|
77
|
+
id :pas_server_submit_request_v201_claim_update_must_support_test
|
78
|
+
|
79
|
+
def resource_type
|
80
|
+
'Claim'
|
81
|
+
end
|
82
|
+
|
83
|
+
def self.metadata
|
84
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
85
|
+
end
|
86
|
+
|
87
|
+
def scratch_resources
|
88
|
+
scratch[:submit_request_resources] ||= {}
|
89
|
+
end
|
90
|
+
|
91
|
+
def resources_of_interest
|
92
|
+
collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
|
93
|
+
collection.select { |res| res.resourceType == resource_type }
|
94
|
+
end
|
95
|
+
|
96
|
+
run do
|
97
|
+
perform_must_support_test(resources_of_interest)
|
98
|
+
validate_must_support
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|