Skip to content

Commit

Permalink
Merge pull request #64 from inferno-framework/fi-2825-default-validat…
Browse files Browse the repository at this point in the history
…or-notes

FI-2825: Describe default behavior in fhir_resource_validator
  • Loading branch information
dehall authored Nov 20, 2024
2 parents d6f6ac7 + 2bd1a59 commit ff2914f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/writing-tests/fhir-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ fhir_resource_validator :optional_validator_name do
end
```

The `url` defaults to reading from the `FHIR_RESOURCE_VALIDATOR_URL` environment variable, so if you
have not modified the validator service or environment variables, this line may be omitted.

If no `igs` are specified, the validator will only support validation against base FHIR definitions,
and attempting to validate against specific profile URLs will result in errors.

[`fhir_resource_validator` in the API
docs](/inferno-core/docs/Inferno/DSL/FHIRResourceValidation/ClassMethods.html#fhir_resource_validator-instance_method)

Expand Down

0 comments on commit ff2914f

Please sign in to comment.