service_base_url_test_kit 0.1.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 619db239e23eb6699a6847a837ec7840893d5939aee5efffb9f37ed15cf4cfa4
4
- data.tar.gz: 55648c6628c3ec98490aa1ff02af8de88c82ad169eaa2230e348c106c85bd471
3
+ metadata.gz: 9ffc8388386fb4a40cc4fd90999bfe34e8984b22c64d4ddd26f570184b58376d
4
+ data.tar.gz: aa10cdf0856818dc96813e1f75c9ee02cd38899868ad772cd9105b139186d36c
5
5
  SHA512:
6
- metadata.gz: adfb40eb360a33a88ab0ecdbf80e690b089b13a2e92d45cddb8174761354f51b8b71f53ef010d1ed4ceddbb2534fc576a01dbfb20bf08538087cbb6c9ae8049f
7
- data.tar.gz: a26014365cc48d8c9e707a5cdebeec43b34f9fddf0543db53b6ae1fee301102e9e4e092fe2bebadae82933036af00bcd94eadcf0fa6aabe3e238ee653da2851b
6
+ metadata.gz: 805e95a41f4fdaef58fde70e1e7f5cbba74626ea32b49568aabe736fbeba95b30ac0ec7c3461f900925a839fb3b7d5d769358a0204181283cc58447946912af5
7
+ data.tar.gz: 436893f8217d45279dadb906a934905d4269a8740536423e2b720caf688a70c99ab047b70e002608834d8586173eb05d87aae512f4286f834c31f5f4ba870da6
@@ -0,0 +1,172 @@
1
+ {
2
+ "resourceType": "Bundle",
3
+ "id": "example-endpoints-r4",
4
+ "type": "collection",
5
+ "entry": [
6
+ {
7
+ "fullUrl" : "https://example.com/base/Endpoint/example-endpoint-1",
8
+ "resource": {
9
+ "resourceType": "Endpoint",
10
+ "id": "example-endpoint-1",
11
+ "name" : "Example Endpoint 1",
12
+ "status": "active",
13
+ "connectionType" : {
14
+ "system" : "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
15
+ "code" : "direct-project"
16
+ },
17
+ "payloadType" : [
18
+ {
19
+ "coding" : [
20
+ {
21
+ "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
22
+ "code" : "urn:hl7-org:sdwg:ccda-structuredBody:1.1"
23
+ }
24
+ ]
25
+ }
26
+ ],
27
+ "address": "<%= Inferno::Application['base_url'] %>/custom/service_base_url/examples/CapabilityStatement"
28
+ }
29
+ },
30
+ {
31
+ "fullUrl" : "https://example.com/base/Organization/example-organization-1",
32
+ "resource": {
33
+ "resourceType": "Organization",
34
+ "id": "example-organization-1",
35
+ "name": "Test Medical Center 1",
36
+ "active": true,
37
+ "identifier" : [
38
+ {
39
+ "system" : "http://hl7.org/fhir/sid/us-npi",
40
+ "value" : "1407071236"
41
+ }
42
+ ],
43
+ "address": [
44
+ {
45
+ "line": [
46
+ "5414 Hilpert Pines"
47
+ ],
48
+ "city": "Abbigailburgh",
49
+ "state": "MA",
50
+ "postalCode": "43926-0428",
51
+ "country": "United States of America"
52
+ }
53
+ ],
54
+ "endpoint" : [
55
+ {
56
+ "reference" : "Endpoint/example-endpoint-1"
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "fullUrl" : "https://example.com/base/Endpoint/example-endpoint-2",
63
+ "resource": {
64
+ "resourceType": "Endpoint",
65
+ "id": "example-endpoint-2",
66
+ "name" : "Example Endpoint 2",
67
+ "status": "active",
68
+ "connectionType" : {
69
+ "system" : "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
70
+ "code" : "direct-project"
71
+ },
72
+ "payloadType" : [
73
+ {
74
+ "coding" : [
75
+ {
76
+ "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
77
+ "code" : "urn:hl7-org:sdwg:ccda-structuredBody:1.1"
78
+ }
79
+ ]
80
+ }
81
+ ],
82
+ "address": "<%= Inferno::Application['base_url'] %>/custom/service_base_url/examples/CapabilityStatement"
83
+ }
84
+ },
85
+ {
86
+ "fullUrl" : "https://example.com/base/Organization/example-organization-2",
87
+ "resource": {
88
+ "resourceType": "Organization",
89
+ "id": "example-organization-2",
90
+ "name": "Test Medical Center 2",
91
+ "active": true,
92
+ "identifier" : [
93
+ {
94
+ "system" : "http://hl7.org/fhir/sid/us-npi",
95
+ "value" : "1376083733"
96
+ }
97
+ ],
98
+ "address": [
99
+ {
100
+ "line": [
101
+ "45 Konopelski Alley"
102
+ ],
103
+ "city": "Schuppefort",
104
+ "state": "NY",
105
+ "postalCode": "99473",
106
+ "country": "United States of America"
107
+ }
108
+ ],
109
+ "endpoint" : [
110
+ {
111
+ "reference" : "Endpoint/example-endpoint-2"
112
+ }
113
+ ]
114
+ }
115
+ },
116
+ {
117
+ "fullUrl" : "https://example.com/base/Endpoint/example-endpoint-3",
118
+ "resource": {
119
+ "resourceType": "Endpoint",
120
+ "id": "example-endpoint-3",
121
+ "name" : "Example Endpoint 3",
122
+ "status": "active",
123
+ "connectionType" : {
124
+ "system" : "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
125
+ "code" : "direct-project"
126
+ },
127
+ "payloadType" : [
128
+ {
129
+ "coding" : [
130
+ {
131
+ "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
132
+ "code" : "urn:hl7-org:sdwg:ccda-structuredBody:1.1"
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ "address": "<%= Inferno::Application['base_url'] %>/custom/service_base_url/examples/CapabilityStatement"
138
+ }
139
+ },
140
+ {
141
+ "fullUrl" : "https://example.com/base/Organization/example-organization-3",
142
+ "resource": {
143
+ "resourceType": "Organization",
144
+ "id": "example-organization-3",
145
+ "name": "Test Medical Center 3",
146
+ "active": true,
147
+ "identifier" : [
148
+ {
149
+ "system" : "http://hl7.org/fhir/sid/us-npi",
150
+ "value" : "1407071210"
151
+ }
152
+ ],
153
+ "address": [
154
+ {
155
+ "line": [
156
+ "254 Lueilwitz Lodge"
157
+ ],
158
+ "city": "Larsonport",
159
+ "state": "CA",
160
+ "postalCode": "40378-1800",
161
+ "country": "United States of America"
162
+ }
163
+ ],
164
+ "endpoint" : [
165
+ {
166
+ "reference" : "Endpoint/example-endpoint-3"
167
+ }
168
+ ]
169
+ }
170
+ }
171
+ ]
172
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ServiceBaseURLTestKit
4
- VERSION = '0.1.0'
4
+ VERSION = '0.9.1'
5
5
  end
@@ -4,7 +4,7 @@ require 'erb'
4
4
 
5
5
  module ServiceBaseURLTestKit
6
6
  class ServiceBaseURLTestSuite < Inferno::TestSuite
7
- id :service_base_url_test_kit_suite
7
+ id :service_base_url
8
8
  title 'Service Base URL Test Suite'
9
9
  description %(
10
10
  This test kit provides a draft set of tests to validate conformance to
@@ -36,11 +36,6 @@ module ServiceBaseURLTestKit
36
36
  - Collected into a Bundle resource formatted according to the standard
37
37
  adopted in FHIR v4.0.1: § 170.215\(a\) for publication
38
38
 
39
- This test kit is provided as a preview for feedback and is not currently
40
- intended for certification. A version of these tests will be migrated into
41
- a future version of the [ONC (g)(10) Standardized API Test
42
- Kit](https://github.com/onc-healthit/onc-certification-g10-test-kit).
43
-
44
39
  While these tests do not specifically verify conformance to
45
40
  [Patient-Access
46
41
  Brands](https://build.fhir.org/ig/HL7/smart-app-launch/brands.html) within
@@ -81,7 +76,7 @@ module ServiceBaseURLTestKit
81
76
  end
82
77
  my_bundle_route_handler = proc { [200, { 'Content-Type' => 'application/json' }, [my_bundle]] }
83
78
 
84
- # Serve a JSON file at INFERNO_PATH/custom/service_base_url_test_kit_suite/examples/filename
79
+ # Serve a JSON file at INFERNO_PATH/custom/service_base_url/examples/filename
85
80
  route :get, File.join('/examples/', filename), my_bundle_route_handler
86
81
  end
87
82
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: service_base_url_test_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inferno Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-05 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inferno_core
@@ -90,6 +90,7 @@ files:
90
90
  - LICENSE
91
91
  - lib/service_base_url_test_kit.rb
92
92
  - lib/service_base_url_test_kit/examples/CapabilityStatement.json
93
+ - lib/service_base_url_test_kit/examples/testBundleValid.json.erb
93
94
  - lib/service_base_url_test_kit/service_base_url_retrieve_group.rb
94
95
  - lib/service_base_url_test_kit/service_base_url_test_group.rb
95
96
  - lib/service_base_url_test_kit/service_base_url_validate_group.rb