service_base_url_test_kit 0.1.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 619db239e23eb6699a6847a837ec7840893d5939aee5efffb9f37ed15cf4cfa4
4
- data.tar.gz: 55648c6628c3ec98490aa1ff02af8de88c82ad169eaa2230e348c106c85bd471
3
+ metadata.gz: 2c3e929f95555e88914e24f5265dc78f3ee0e58ae8f080a296a4da792f06b7f7
4
+ data.tar.gz: 9c9bc6a0c4bae978785a839d49b10bcaf6f061de98279bf134d75ec7d64840fe
5
5
  SHA512:
6
- metadata.gz: adfb40eb360a33a88ab0ecdbf80e690b089b13a2e92d45cddb8174761354f51b8b71f53ef010d1ed4ceddbb2534fc576a01dbfb20bf08538087cbb6c9ae8049f
7
- data.tar.gz: a26014365cc48d8c9e707a5cdebeec43b34f9fddf0543db53b6ae1fee301102e9e4e092fe2bebadae82933036af00bcd94eadcf0fa6aabe3e238ee653da2851b
6
+ metadata.gz: 30e547da5a738f1caecddd25f9f23220fe5c4b5e1bf0f68d136181e6fab4789f28a10c8b0861ae02e6bff7735584520bbba2caffc678df80eded371479712d9e
7
+ data.tar.gz: '08924342ba7b6313b610e0f18363cb4bf266137952b81e97fc933e99d391c8efd91632317004c130830ae93902fae96ce4dc707eba91711099427cbc81d2e919'
@@ -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.0'
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
@@ -81,7 +81,7 @@ module ServiceBaseURLTestKit
81
81
  end
82
82
  my_bundle_route_handler = proc { [200, { 'Content-Type' => 'application/json' }, [my_bundle]] }
83
83
 
84
- # Serve a JSON file at INFERNO_PATH/custom/service_base_url_test_kit_suite/examples/filename
84
+ # Serve a JSON file at INFERNO_PATH/custom/service_base_url/examples/filename
85
85
  route :get, File.join('/examples/', filename), my_bundle_route_handler
86
86
  end
87
87
 
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.0
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-02-12 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