Skip to content

Commit

Permalink
FI-1995: Changes for HL7 validator v6.0.21 (#449)
Browse files Browse the repository at this point in the history
* FI-1995: support the messages as produced by the most recent HL7 validator

* FI-1995: bump validator to release v2.3.0
  • Loading branch information
dehall committed Aug 8, 2023
1 parent cabc507 commit d8d9446
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose.background.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
version: '3'
services:
validator_service:
image: infernocommunity/fhir-validator-service:v2.2.1
image: infernocommunity/fhir-validator-service:v2.3.0
environment:
- DISABLE_TX= true
- DISPLAY_ISSUES_ARE_WARNINGS=true
volumes:
- ./lib/onc_certification_g10_test_kit/igs:/home/igs
# fhir_validator_app:
Expand Down
1 change: 1 addition & 0 deletions lib/onc_certification_g10_test_kit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class G10CertificationSuite < Inferno::TestSuite
message.type == 'error' && (
message.message.match?(/\A\S+: \S+: Unknown Code/) ||
message.message.match?(/\A\S+: \S+: None of the codings provided are in the value set/) ||
message.message.match?(/\A\S+: \S+: The code provided \(\S*\) is not in the value set/) ||
message.message.match?(/\A\S+: \S+: The Coding provided \(\S*\) is not in the value set/)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ONCCertificationG10TestKit
class ConfigurationChecker
EXPECTED_VALIDATOR_VERSION = '2.2.1'.freeze
EXPECTED_VALIDATOR_VERSION = '2.3.0'.freeze

def configuration_messages
validator_version_message + terminology_messages + version_message
Expand Down

0 comments on commit d8d9446

Please sign in to comment.