service_base_url_test_kit 0.9.1 → 0.10.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a699526f6d06f8063e2d7036a51aba54fe68d2c2c9f160440517ecb34aea65e
|
|
4
|
+
data.tar.gz: 509c6f78c00322be2603803f3d138c3ec39b34fd0e18888a9df5b201293c7a72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cd8a0ee15f013e8da8a531b0f8c95a8f838927615096456a32f96f0032a2e31ce7f7722988c51e5779bc85b33b45f2d8491fbd1ce64cf0a06496068e85418fc
|
|
7
|
+
data.tar.gz: fd5cf2fd1794d0204f9b15da318560a61225a8017871dc301117117aec6500fe31ab5ec4c577de3bc257f5967df326203708798fcff9a5068c038277432401c1
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType" : "Bundle",
|
|
3
|
+
"id" : "example1",
|
|
4
|
+
"type" : "collection",
|
|
5
|
+
"timestamp" : "2023-09-05T20:00:43.241070-07:00",
|
|
6
|
+
"entry" : [{
|
|
7
|
+
"fullUrl" : "https://fhir.labs.example.com/Organization/examplelabs",
|
|
8
|
+
"resource" : {
|
|
9
|
+
"resourceType" : "Organization",
|
|
10
|
+
"id" : "examplelabs",
|
|
11
|
+
"extension" : [{
|
|
12
|
+
"extension" : [{
|
|
13
|
+
"url" : "brandLogo",
|
|
14
|
+
"valueUrl" : "https://labs.example.com/images/logo.svg"
|
|
15
|
+
}],
|
|
16
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/organization-brand"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"extension" : [{
|
|
20
|
+
"url" : "portalName",
|
|
21
|
+
"valueString" : "Example Labs HealthCentral Portal"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"url" : "portalUrl",
|
|
25
|
+
"valueUrl" : "https://healthcentral.labs.example.com"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"url" : "portalLogo",
|
|
29
|
+
"valueUrl" : "https://healthcentral.labs.example.com/logo.png"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"url" : "portalEndpoint",
|
|
33
|
+
"valueReference" : {
|
|
34
|
+
"reference" : "Endpoint/examplelabs",
|
|
35
|
+
"display" : "FHIR R4 Endpoint for ExampleLabs Brand"
|
|
36
|
+
}
|
|
37
|
+
}],
|
|
38
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/organization-portal"
|
|
39
|
+
}],
|
|
40
|
+
"identifier" : [{
|
|
41
|
+
"system" : "urn:ietf:rfc:3986",
|
|
42
|
+
"value" : "https://examplelabs.org"
|
|
43
|
+
}],
|
|
44
|
+
"active" : true,
|
|
45
|
+
"type" : [{
|
|
46
|
+
"coding" : [{
|
|
47
|
+
"system" : "http://hl7.org/fhir/smart-app-launch/CodeSystem/patient-access-category",
|
|
48
|
+
"code" : "laboratory",
|
|
49
|
+
"display" : "Laboratory"
|
|
50
|
+
}]
|
|
51
|
+
}],
|
|
52
|
+
"name" : "ExampleLabs",
|
|
53
|
+
"alias" : ["ExampleLabs Alaska",
|
|
54
|
+
"...(more here)...",
|
|
55
|
+
"ExampleLabs Wisconsin"],
|
|
56
|
+
"telecom" : [{
|
|
57
|
+
"system" : "url",
|
|
58
|
+
"value" : "https://labs.example.com"
|
|
59
|
+
}],
|
|
60
|
+
"address" : [{
|
|
61
|
+
"line" : ["4015 Lake Otis Pkwy"],
|
|
62
|
+
"city" : "Anchorage",
|
|
63
|
+
"state" : "AK",
|
|
64
|
+
"postalCode" : "99508"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"state" : "...(more here)..."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"line" : ["123 Main St"],
|
|
71
|
+
"city" : "Madison",
|
|
72
|
+
"state" : "WI",
|
|
73
|
+
"postalCode" : "53726"
|
|
74
|
+
}]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"fullUrl" : "https://fhir.labs.example.com/Endpoint/examplelabs",
|
|
79
|
+
"resource" : {
|
|
80
|
+
"resourceType" : "Endpoint",
|
|
81
|
+
"id" : "examplelabs",
|
|
82
|
+
"extension" : [{
|
|
83
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version",
|
|
84
|
+
"valueCode" : "4.0.1"
|
|
85
|
+
}],
|
|
86
|
+
"status" : "active",
|
|
87
|
+
"connectionType" : {
|
|
88
|
+
"system" : "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
|
|
89
|
+
"code" : "hl7-fhir-rest"
|
|
90
|
+
},
|
|
91
|
+
"name" : "FHIR R4 Endpoint for ExampleLabs",
|
|
92
|
+
"contact" : [{
|
|
93
|
+
"system" : "url",
|
|
94
|
+
"value" : "https://dev-portal.labs.example.com"
|
|
95
|
+
}],
|
|
96
|
+
"payloadType" : [{
|
|
97
|
+
"coding" : [{
|
|
98
|
+
"system" : "http://terminology.hl7.org/CodeSystem/endpoint-payload-type",
|
|
99
|
+
"code" : "none"
|
|
100
|
+
}]
|
|
101
|
+
}],
|
|
102
|
+
"address" : "<%= ENV['INFERNO_HOST'] %>/custom/service_base_url_test_kit_suite/examples/CapabilityStatement"
|
|
103
|
+
}
|
|
104
|
+
}]
|
|
105
|
+
}
|
|
@@ -80,12 +80,15 @@ module ServiceBaseURLTestKit
|
|
|
80
80
|
route :get, File.join('/examples/', filename), my_bundle_route_handler
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
VALIDATION_MESSAGE_FILTERS = [
|
|
84
|
+
/A resource should have narrative for robust management/,
|
|
85
|
+
/\A\S+: \S+: URL value '.*' does not resolve/
|
|
86
|
+
]
|
|
86
87
|
|
|
88
|
+
# All FHIR validation requests will use this FHIR validator
|
|
89
|
+
fhir_resource_validator :default do
|
|
87
90
|
exclude_message do |message|
|
|
88
|
-
|
|
91
|
+
VALIDATION_MESSAGE_FILTERS.any? { |filter| filter.match? message.message }
|
|
89
92
|
end
|
|
90
93
|
end
|
|
91
94
|
|
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.
|
|
4
|
+
version: 0.10.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-
|
|
11
|
+
date: 2024-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: inferno_core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.4.
|
|
19
|
+
version: 0.4.37
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.4.
|
|
26
|
+
version: 0.4.37
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: database_cleaner-sequel
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -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/SmartAccessBrand.json.erb
|
|
93
94
|
- lib/service_base_url_test_kit/examples/testBundleValid.json.erb
|
|
94
95
|
- lib/service_base_url_test_kit/service_base_url_retrieve_group.rb
|
|
95
96
|
- lib/service_base_url_test_kit/service_base_url_test_group.rb
|
|
@@ -116,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
117
|
- !ruby/object:Gem::Version
|
|
117
118
|
version: '0'
|
|
118
119
|
requirements: []
|
|
119
|
-
rubygems_version: 3.
|
|
120
|
+
rubygems_version: 3.5.10
|
|
120
121
|
signing_key:
|
|
121
122
|
specification_version: 4
|
|
122
123
|
summary: Inferno Service Base URL Test Kit
|