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,130 @@
|
|
1
|
+
---
|
2
|
+
:name: profile_communicationrequest
|
3
|
+
:class_name: ProfileCommunicationrequestSequence
|
4
|
+
:version: v2.0.1
|
5
|
+
:reformatted_version: v201
|
6
|
+
:resource: CommunicationRequest
|
7
|
+
:profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-communicationrequest
|
8
|
+
:profile_name: PAS CommunicationRequest
|
9
|
+
:profile_version: 2.0.1
|
10
|
+
:title: CommunicationRequest
|
11
|
+
:short_description: Verify support for the server capabilities required by the PAS
|
12
|
+
CommunicationRequest.
|
13
|
+
:interactions: []
|
14
|
+
:operations: []
|
15
|
+
:required_concepts:
|
16
|
+
- category
|
17
|
+
:must_supports:
|
18
|
+
:extensions:
|
19
|
+
- :id: CommunicationRequest.payload.extension:serviceLineNumber
|
20
|
+
:path: payload.extension
|
21
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-serviceLineNumber
|
22
|
+
- :id: CommunicationRequest.payload.extension:communicatedDiagnosis
|
23
|
+
:path: payload.extension
|
24
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-communicatedDiagnosis
|
25
|
+
- :id: CommunicationRequest.payload.extension:contentModifier
|
26
|
+
:path: payload.extension
|
27
|
+
:url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-contentModifier
|
28
|
+
:slices: []
|
29
|
+
:elements:
|
30
|
+
- :path: identifier
|
31
|
+
- :path: category
|
32
|
+
- :path: medium
|
33
|
+
- :path: payload
|
34
|
+
- :path: payload.content[x]
|
35
|
+
- :path: requester
|
36
|
+
:types:
|
37
|
+
- Reference
|
38
|
+
- :path: recipient
|
39
|
+
:types:
|
40
|
+
- Reference
|
41
|
+
- :path: sender
|
42
|
+
:types:
|
43
|
+
- Reference
|
44
|
+
:mandatory_elements:
|
45
|
+
- CommunicationRequest.status
|
46
|
+
- CommunicationRequest.payload.content[x]
|
47
|
+
:bindings:
|
48
|
+
- :type: code
|
49
|
+
:strength: preferred
|
50
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
51
|
+
:path: language
|
52
|
+
- :type: CodeableConcept
|
53
|
+
:strength: example
|
54
|
+
:system:
|
55
|
+
:path: statusReason
|
56
|
+
- :type: CodeableConcept
|
57
|
+
:strength: required
|
58
|
+
:system: https://valueset.x12.org/x217/005010/response/2000D/PWK/1/01/00/755
|
59
|
+
:path: category
|
60
|
+
- :type: code
|
61
|
+
:strength: required
|
62
|
+
:system: http://hl7.org/fhir/ValueSet/request-priority
|
63
|
+
:path: priority
|
64
|
+
- :type: CodeableConcept
|
65
|
+
:strength: extensible
|
66
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/PASCommunicationRequestMedium
|
67
|
+
:path: medium
|
68
|
+
- :type: CodeableConcept
|
69
|
+
:strength: example
|
70
|
+
:system: http://terminology.hl7.org/ValueSet/v3-ActReason
|
71
|
+
:path: reasonCode
|
72
|
+
- :type: CodeableConcept
|
73
|
+
:strength: required
|
74
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278DiagnosisCodes
|
75
|
+
:path: value
|
76
|
+
:extensions:
|
77
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-communicatedDiagnosis
|
78
|
+
- :type: CodeableConcept
|
79
|
+
:strength: required
|
80
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278DiagnosisInformationType
|
81
|
+
:path: value
|
82
|
+
:extensions:
|
83
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-contentModifier
|
84
|
+
:references:
|
85
|
+
- :path: CommunicationRequest.basedOn
|
86
|
+
:profiles:
|
87
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
88
|
+
- :path: CommunicationRequest.replaces
|
89
|
+
:profiles:
|
90
|
+
- http://hl7.org/fhir/StructureDefinition/CommunicationRequest
|
91
|
+
- :path: CommunicationRequest.subject
|
92
|
+
:profiles:
|
93
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
94
|
+
- http://hl7.org/fhir/StructureDefinition/Group
|
95
|
+
- :path: CommunicationRequest.about
|
96
|
+
:profiles:
|
97
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
98
|
+
- :path: CommunicationRequest.encounter
|
99
|
+
:profiles:
|
100
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
101
|
+
- :path: CommunicationRequest.requester
|
102
|
+
:profiles:
|
103
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
104
|
+
- :path: CommunicationRequest.recipient
|
105
|
+
:profiles:
|
106
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-practitioner
|
107
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-organization
|
108
|
+
- :path: CommunicationRequest.sender
|
109
|
+
:profiles:
|
110
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-requestor
|
111
|
+
- :path: CommunicationRequest.reasonReference
|
112
|
+
:profiles:
|
113
|
+
- http://hl7.org/fhir/StructureDefinition/Condition
|
114
|
+
- http://hl7.org/fhir/StructureDefinition/Observation
|
115
|
+
- http://hl7.org/fhir/StructureDefinition/DiagnosticReport
|
116
|
+
- http://hl7.org/fhir/StructureDefinition/DocumentReference
|
117
|
+
:tests:
|
118
|
+
- :id: pas_server_submit_response_v201_communication_request_must_support_test
|
119
|
+
:file_name: server_submit_response_communication_request_must_support_test.rb
|
120
|
+
:delayed_references:
|
121
|
+
- :path: requester
|
122
|
+
:resources:
|
123
|
+
- Organization
|
124
|
+
- :path: recipient
|
125
|
+
:resources:
|
126
|
+
- Practitioner
|
127
|
+
- Organization
|
128
|
+
- :path: sender
|
129
|
+
:resources:
|
130
|
+
- Organization
|
@@ -0,0 +1,58 @@
|
|
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 ServerSubmitResponseCommunicationRequestMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS CommunicationRequest are observed across all instances returned'
|
11
|
+
description %(
|
12
|
+
|
13
|
+
PAS server systems are required to be able to populate all
|
14
|
+
must support elements on instances of all profiles included in
|
15
|
+
responses, including instances of the PAS CommunicationRequest Profile.
|
16
|
+
This test checks all identified instances of the PAS CommunicationRequest
|
17
|
+
Profile on responses returned by the server to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* CommunicationRequest.category
|
21
|
+
* CommunicationRequest.identifier
|
22
|
+
* CommunicationRequest.medium
|
23
|
+
* CommunicationRequest.payload
|
24
|
+
* CommunicationRequest.payload.content[x]
|
25
|
+
* CommunicationRequest.payload.extension:communicatedDiagnosis
|
26
|
+
* CommunicationRequest.payload.extension:contentModifier
|
27
|
+
* CommunicationRequest.payload.extension:serviceLineNumber
|
28
|
+
* CommunicationRequest.recipient
|
29
|
+
* CommunicationRequest.requester
|
30
|
+
* CommunicationRequest.sender
|
31
|
+
)
|
32
|
+
|
33
|
+
id :pas_server_submit_response_v201_communication_request_must_support_test
|
34
|
+
|
35
|
+
def resource_type
|
36
|
+
'CommunicationRequest'
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.metadata
|
40
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
41
|
+
end
|
42
|
+
|
43
|
+
def scratch_resources
|
44
|
+
scratch[:submit_response_resources] ||= {}
|
45
|
+
end
|
46
|
+
|
47
|
+
def resources_of_interest
|
48
|
+
collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
|
49
|
+
collection.select { |res| res.resourceType == resource_type }
|
50
|
+
end
|
51
|
+
|
52
|
+
run do
|
53
|
+
perform_must_support_test(resources_of_interest)
|
54
|
+
validate_must_support
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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 ClientInquiryRequestCoverageMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS Coverage are observed across all instances submitted'
|
11
|
+
description %(
|
12
|
+
|
13
|
+
PAS client systems are required to be able to populate all
|
14
|
+
must support elements on instances of all profiles included in
|
15
|
+
requests, including instances of the PAS Coverage Profile.
|
16
|
+
This test checks all identified instances of the PAS Coverage
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* Coverage.beneficiary
|
21
|
+
* Coverage.identifier
|
22
|
+
* Coverage.payor
|
23
|
+
* Coverage.relationship
|
24
|
+
* Coverage.relationship.coding:X12Code
|
25
|
+
* Coverage.status
|
26
|
+
* Coverage.subscriber
|
27
|
+
* Coverage.subscriberId
|
28
|
+
)
|
29
|
+
|
30
|
+
id :pas_client_inquiry_request_v201_coverage_must_support_test
|
31
|
+
|
32
|
+
def resource_type
|
33
|
+
'Coverage'
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:inquiry_request_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
def resources_of_interest
|
45
|
+
collection = tagged_resources(INQUIRE_TAG).presence || all_scratch_resources
|
46
|
+
collection.select { |res| res.resourceType == resource_type }
|
47
|
+
end
|
48
|
+
|
49
|
+
run do
|
50
|
+
perform_must_support_test(resources_of_interest)
|
51
|
+
validate_must_support
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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 ClientSubmitRequestCoverageMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS Coverage are observed across all instances submitted'
|
11
|
+
description %(
|
12
|
+
|
13
|
+
PAS client systems are required to be able to populate all
|
14
|
+
must support elements on instances of all profiles included in
|
15
|
+
requests, including instances of the PAS Coverage Profile.
|
16
|
+
This test checks all identified instances of the PAS Coverage
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* Coverage.beneficiary
|
21
|
+
* Coverage.identifier
|
22
|
+
* Coverage.payor
|
23
|
+
* Coverage.relationship
|
24
|
+
* Coverage.relationship.coding:X12Code
|
25
|
+
* Coverage.status
|
26
|
+
* Coverage.subscriber
|
27
|
+
* Coverage.subscriberId
|
28
|
+
)
|
29
|
+
|
30
|
+
id :pas_client_submit_request_v201_coverage_must_support_test
|
31
|
+
|
32
|
+
def resource_type
|
33
|
+
'Coverage'
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:submit_request_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
def resources_of_interest
|
45
|
+
collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
|
46
|
+
collection.select { |res| res.resourceType == resource_type }
|
47
|
+
end
|
48
|
+
|
49
|
+
run do
|
50
|
+
perform_must_support_test(resources_of_interest)
|
51
|
+
validate_must_support
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
---
|
2
|
+
:name: profile_coverage
|
3
|
+
:class_name: ProfileCoverageSequence
|
4
|
+
:version: v2.0.1
|
5
|
+
:reformatted_version: v201
|
6
|
+
:resource: Coverage
|
7
|
+
:profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-coverage
|
8
|
+
:profile_name: PAS Coverage
|
9
|
+
:profile_version: 2.0.1
|
10
|
+
:title: Coverage
|
11
|
+
:short_description: Verify support for the server capabilities required by the PAS
|
12
|
+
Coverage.
|
13
|
+
:interactions: []
|
14
|
+
:operations: []
|
15
|
+
:required_concepts: []
|
16
|
+
:must_supports:
|
17
|
+
:extensions: []
|
18
|
+
:slices:
|
19
|
+
- :name: Coverage.relationship.coding:X12Code
|
20
|
+
:path: relationship.coding
|
21
|
+
:discriminator:
|
22
|
+
:type: value
|
23
|
+
:values:
|
24
|
+
- :path: "$this"
|
25
|
+
:value:
|
26
|
+
:elements:
|
27
|
+
- :path: identifier
|
28
|
+
- :path: status
|
29
|
+
- :path: subscriber
|
30
|
+
:types:
|
31
|
+
- Reference
|
32
|
+
- :path: subscriberId
|
33
|
+
- :path: beneficiary
|
34
|
+
:types:
|
35
|
+
- Reference
|
36
|
+
- :path: relationship
|
37
|
+
- :path: payor
|
38
|
+
:types:
|
39
|
+
- Reference
|
40
|
+
:mandatory_elements:
|
41
|
+
- Coverage.status
|
42
|
+
- Coverage.beneficiary
|
43
|
+
- Coverage.payor
|
44
|
+
- Coverage.class.type
|
45
|
+
- Coverage.class.value
|
46
|
+
- Coverage.costToBeneficiary.value[x]
|
47
|
+
- Coverage.costToBeneficiary.exception.type
|
48
|
+
:bindings:
|
49
|
+
- :type: code
|
50
|
+
:strength: preferred
|
51
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
52
|
+
:path: language
|
53
|
+
- :type: code
|
54
|
+
:strength: required
|
55
|
+
:system: http://hl7.org/fhir/ValueSet/fm-status
|
56
|
+
:path: status
|
57
|
+
- :type: CodeableConcept
|
58
|
+
:strength: preferred
|
59
|
+
:system: http://hl7.org/fhir/ValueSet/coverage-type
|
60
|
+
:path: type
|
61
|
+
- :type: CodeableConcept
|
62
|
+
:strength: extensible
|
63
|
+
:system: http://hl7.org/fhir/ValueSet/subscriber-relationship
|
64
|
+
:path: relationship
|
65
|
+
- :type: Coding
|
66
|
+
:strength: required
|
67
|
+
:system: https://valueset.x12.org/x217/005010/request/2000D/INS/1/02/00/1069
|
68
|
+
:path: relationship.coding
|
69
|
+
- :type: CodeableConcept
|
70
|
+
:strength: extensible
|
71
|
+
:system: http://hl7.org/fhir/ValueSet/coverage-class
|
72
|
+
:path: class.type
|
73
|
+
- :type: CodeableConcept
|
74
|
+
:strength: extensible
|
75
|
+
:system: http://hl7.org/fhir/ValueSet/coverage-copay-type
|
76
|
+
:path: costToBeneficiary.type
|
77
|
+
- :type: CodeableConcept
|
78
|
+
:strength: example
|
79
|
+
:system: http://hl7.org/fhir/ValueSet/coverage-financial-exception
|
80
|
+
:path: costToBeneficiary.exception.type
|
81
|
+
:references:
|
82
|
+
- :path: Coverage.policyHolder
|
83
|
+
:profiles:
|
84
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
85
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
86
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
87
|
+
- :path: Coverage.subscriber
|
88
|
+
:profiles:
|
89
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscriber
|
90
|
+
- :path: Coverage.beneficiary
|
91
|
+
:profiles:
|
92
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
93
|
+
- :path: Coverage.payor
|
94
|
+
:profiles:
|
95
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-insurer
|
96
|
+
- :path: Coverage.contract
|
97
|
+
:profiles:
|
98
|
+
- http://hl7.org/fhir/StructureDefinition/Contract
|
99
|
+
:tests:
|
100
|
+
- :id: pas_server_submit_request_v201_coverage_must_support_test
|
101
|
+
:file_name: server_submit_request_coverage_must_support_test.rb
|
102
|
+
- :id: pas_client_submit_request_v201_coverage_must_support_test
|
103
|
+
:file_name: client_submit_request_coverage_must_support_test.rb
|
104
|
+
- :id: pas_server_inquiry_request_v201_coverage_must_support_test
|
105
|
+
:file_name: server_inquiry_request_coverage_must_support_test.rb
|
106
|
+
- :id: pas_client_inquiry_request_v201_coverage_must_support_test
|
107
|
+
:file_name: client_inquiry_request_coverage_must_support_test.rb
|
108
|
+
:delayed_references:
|
109
|
+
- :path: payor
|
110
|
+
:resources:
|
111
|
+
- Organization
|
@@ -0,0 +1,55 @@
|
|
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 ServerInquiryRequestCoverageMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS Coverage 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 Coverage Profile.
|
16
|
+
This test checks all identified instances of the PAS Coverage
|
17
|
+
Profile on requests sent to the server to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* Coverage.beneficiary
|
21
|
+
* Coverage.identifier
|
22
|
+
* Coverage.payor
|
23
|
+
* Coverage.relationship
|
24
|
+
* Coverage.relationship.coding:X12Code
|
25
|
+
* Coverage.status
|
26
|
+
* Coverage.subscriber
|
27
|
+
* Coverage.subscriberId
|
28
|
+
)
|
29
|
+
|
30
|
+
id :pas_server_inquiry_request_v201_coverage_must_support_test
|
31
|
+
|
32
|
+
def resource_type
|
33
|
+
'Coverage'
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:inquire_request_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
def resources_of_interest
|
45
|
+
collection = tagged_resources(INQUIRE_TAG).presence || all_scratch_resources
|
46
|
+
collection.select { |res| res.resourceType == resource_type }
|
47
|
+
end
|
48
|
+
|
49
|
+
run do
|
50
|
+
perform_must_support_test(resources_of_interest)
|
51
|
+
validate_must_support
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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 ServerSubmitRequestCoverageMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS Coverage 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 Coverage Profile.
|
16
|
+
This test checks all identified instances of the PAS Coverage
|
17
|
+
Profile on requests sent to the server to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* Coverage.beneficiary
|
21
|
+
* Coverage.identifier
|
22
|
+
* Coverage.payor
|
23
|
+
* Coverage.relationship
|
24
|
+
* Coverage.relationship.coding:X12Code
|
25
|
+
* Coverage.status
|
26
|
+
* Coverage.subscriber
|
27
|
+
* Coverage.subscriberId
|
28
|
+
)
|
29
|
+
|
30
|
+
id :pas_server_submit_request_v201_coverage_must_support_test
|
31
|
+
|
32
|
+
def resource_type
|
33
|
+
'Coverage'
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:submit_request_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
def resources_of_interest
|
45
|
+
collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
|
46
|
+
collection.select { |res| res.resourceType == resource_type }
|
47
|
+
end
|
48
|
+
|
49
|
+
run do
|
50
|
+
perform_must_support_test(resources_of_interest)
|
51
|
+
validate_must_support
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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 ClientSubmitRequestDeviceRequestMustSupportTest < Inferno::Test
|
8
|
+
include DaVinciPASTestKit::MustSupportTest
|
9
|
+
|
10
|
+
title 'All must support elements for Profile PAS Device Request are observed across all instances submitted'
|
11
|
+
description %(
|
12
|
+
|
13
|
+
PAS client systems are required to be able to populate all
|
14
|
+
must support elements on instances of all profiles included in
|
15
|
+
requests, including instances of the PAS Device Request Profile.
|
16
|
+
This test checks all identified instances of the PAS Device Request
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
|
+
must support elements are observed:
|
19
|
+
|
20
|
+
* DeviceRequest.code[x]
|
21
|
+
* DeviceRequest.extension:coverage
|
22
|
+
* DeviceRequest.occurrence[x]
|
23
|
+
* DeviceRequest.subject
|
24
|
+
)
|
25
|
+
|
26
|
+
id :pas_client_submit_request_v201_device_request_must_support_test
|
27
|
+
|
28
|
+
def resource_type
|
29
|
+
'DeviceRequest'
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.metadata
|
33
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
34
|
+
end
|
35
|
+
|
36
|
+
def scratch_resources
|
37
|
+
scratch[:submit_request_resources] ||= {}
|
38
|
+
end
|
39
|
+
|
40
|
+
def resources_of_interest
|
41
|
+
collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
|
42
|
+
collection.select { |res| res.resourceType == resource_type }
|
43
|
+
end
|
44
|
+
|
45
|
+
run do
|
46
|
+
perform_must_support_test(resources_of_interest)
|
47
|
+
validate_must_support
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
---
|
2
|
+
:name: profile_devicerequest
|
3
|
+
:class_name: ProfileDevicerequestSequence
|
4
|
+
:version: v2.0.1
|
5
|
+
:reformatted_version: v201
|
6
|
+
:resource: DeviceRequest
|
7
|
+
:profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-devicerequest
|
8
|
+
:profile_name: PAS Device Request
|
9
|
+
:profile_version: 2.0.1
|
10
|
+
:title: Device Request
|
11
|
+
:short_description: Verify support for the server capabilities required by the PAS
|
12
|
+
Device Request.
|
13
|
+
:interactions: []
|
14
|
+
:operations: []
|
15
|
+
:required_concepts:
|
16
|
+
- codeCodeableConcept
|
17
|
+
:must_supports:
|
18
|
+
:extensions:
|
19
|
+
- :id: DeviceRequest.extension:coverage
|
20
|
+
:path: extension
|
21
|
+
:url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
|
22
|
+
:slices: []
|
23
|
+
:elements:
|
24
|
+
- :path: code[x]
|
25
|
+
- :path: subject
|
26
|
+
:types:
|
27
|
+
- Reference
|
28
|
+
- :path: occurrence[x]
|
29
|
+
:mandatory_elements:
|
30
|
+
- DeviceRequest.intent
|
31
|
+
- DeviceRequest.code[x]
|
32
|
+
- DeviceRequest.subject
|
33
|
+
:bindings:
|
34
|
+
- :type: code
|
35
|
+
:strength: preferred
|
36
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
37
|
+
:path: language
|
38
|
+
- :type: code
|
39
|
+
:strength: required
|
40
|
+
:system: http://hl7.org/fhir/ValueSet/request-status
|
41
|
+
:path: status
|
42
|
+
- :type: code
|
43
|
+
:strength: required
|
44
|
+
:system: http://hl7.org/fhir/ValueSet/request-priority
|
45
|
+
:path: priority
|
46
|
+
- :type: CodeableConcept
|
47
|
+
:strength: required
|
48
|
+
:system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType
|
49
|
+
:path: code
|
50
|
+
- :type: CodeableConcept
|
51
|
+
:strength: example
|
52
|
+
:system:
|
53
|
+
:path: parameter.code
|
54
|
+
- :type: CodeableConcept
|
55
|
+
:strength: example
|
56
|
+
:system: http://hl7.org/fhir/ValueSet/participant-role
|
57
|
+
:path: performerType
|
58
|
+
- :type: CodeableConcept
|
59
|
+
:strength: example
|
60
|
+
:system: http://hl7.org/fhir/ValueSet/condition-code
|
61
|
+
:path: reasonCode
|
62
|
+
:references:
|
63
|
+
- :path: DeviceRequest.basedOn
|
64
|
+
:profiles:
|
65
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
66
|
+
- :path: DeviceRequest.priorRequest
|
67
|
+
:profiles:
|
68
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
69
|
+
- :path: DeviceRequest.subject
|
70
|
+
:profiles:
|
71
|
+
- http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
|
72
|
+
- :path: DeviceRequest.encounter
|
73
|
+
:profiles:
|
74
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
75
|
+
- :path: DeviceRequest.requester
|
76
|
+
:profiles:
|
77
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
78
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
79
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
80
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
81
|
+
- :path: DeviceRequest.performer
|
82
|
+
:profiles:
|
83
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
84
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
85
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
86
|
+
- http://hl7.org/fhir/StructureDefinition/CareTeam
|
87
|
+
- http://hl7.org/fhir/StructureDefinition/HealthcareService
|
88
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
89
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
90
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
91
|
+
- :path: DeviceRequest.reasonReference
|
92
|
+
:profiles:
|
93
|
+
- http://hl7.org/fhir/StructureDefinition/Condition
|
94
|
+
- http://hl7.org/fhir/StructureDefinition/Observation
|
95
|
+
- http://hl7.org/fhir/StructureDefinition/DiagnosticReport
|
96
|
+
- http://hl7.org/fhir/StructureDefinition/DocumentReference
|
97
|
+
- :path: DeviceRequest.insurance
|
98
|
+
:profiles:
|
99
|
+
- http://hl7.org/fhir/StructureDefinition/Coverage
|
100
|
+
- http://hl7.org/fhir/StructureDefinition/ClaimResponse
|
101
|
+
- :path: DeviceRequest.supportingInfo
|
102
|
+
:profiles:
|
103
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
104
|
+
- :path: DeviceRequest.relevantHistory
|
105
|
+
:profiles:
|
106
|
+
- http://hl7.org/fhir/StructureDefinition/Provenance
|
107
|
+
:tests:
|
108
|
+
- :id: pas_server_submit_request_v201_device_request_must_support_test
|
109
|
+
:file_name: server_submit_request_device_request_must_support_test.rb
|
110
|
+
- :id: pas_client_submit_request_v201_device_request_must_support_test
|
111
|
+
:file_name: client_submit_request_device_request_must_support_test.rb
|
112
|
+
:delayed_references: []
|