Class ValidationOptions
java.lang.Object
org.hl7.fhir.utilities.validation.ValidationOptions
- Direct Known Subclasses:
TerminologyServiceOptions
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionValidationOptions(FhirPublication fhirVersion) ValidationOptions(FhirPublication fhirVersion, String language) -
Method Summary
Modifier and TypeMethodDescriptionaddLanguage(String language) copy()static ValidationOptionsdefaults()The language that the validation is in (for display name checking etc See also englishOKbooleanDon't know what this doesbooleanbooleanbooleanbooleanif the language is other than english, should the validator accept english as well?booleanbooleanTrue if this is called from a code context where there's no known code system (inferred from the value set)booleanbooleanTrue means that the validator will try to resolve the terminology request locally with the resources at hand There have been a few corner case code systems where the local code system from THO is wrongbooleantrue (which is default) means that the validator will use the server if it needs to for this request (there's a few corner cases where you want to turn this off?)booleansee {link}booleanDon't know exactly what this doessetActiveOnly(boolean activeOnly) setDisplayWarningMode(boolean displayWarningMode) setEnglishOk(boolean englishOk) setExampleOK(boolean exampleOK) setGuessSystem(boolean guessSystem) setLanguages(String language) voidsetR5BundleRelativeReferencePolicy(ValidationOptions.R5BundleRelativeReferencePolicy r5BundleRelativeReferencePolicy) setUseClient(boolean useClient) setUseServer(boolean useServer) setUseValueSetDisplays(boolean useValueSetDisplays) setVersionFlexible(boolean value) setVsAsUrl(boolean value) toJson()Only for additional bindingswithEnglishOk(boolean englishOk) withGuessSystem(boolean value) withLanguage(String language) withR5BundleRelativeReferencePolicy(ValidationOptions.R5BundleRelativeReferencePolicy r5BundleRelativeReferencePolicy) withUseClient(boolean value) withUseValueSetDisplays(boolean useValueSetDisplays) withVersionFlexible(boolean value)
-
Constructor Details
-
ValidationOptions
public ValidationOptions() -
ValidationOptions
-
ValidationOptions
-
-
Method Details
-
defaults
-
getLanguages
The language that the validation is in (for display name checking etc See also englishOK- Returns:
-
hasLanguages
-
isUseServer
true (which is default) means that the validator will use the server if it needs to for this request (there's a few corner cases where you want to turn this off?)- Returns:
-
isUseClient
True means that the validator will try to resolve the terminology request locally with the resources at hand There have been a few corner case code systems where the local code system from THO is wrong- Returns:
-
isGuessSystem
True if this is called from a code context where there's no known code system (inferred from the value set)- Returns:
-
isActiveOnly
-
getVsAsUrl
Don't know what this does- Returns:
-
isVersionFlexible
Don't know exactly what this does- Returns:
-
isUseValueSetDisplays
see {link}- Returns:
-
isMembershipOnly
-
isEnglishOk
if the language is other than english, should the validator accept english as well?- Returns:
-
withLanguage
-
withNoServer
-
withNoClient
-
withUseClient
-
withGuessSystem
-
withGuessSystem
-
withActiveOnly
-
withCheckValueSetOnly
Only for additional bindings -
withVsAsUrl
-
withVersionFlexible
-
withUseValueSetDisplays
-
withEnglishOk
-
addLanguage
-
setLanguages
-
setUseServer
-
setUseClient
-
setGuessSystem
-
setActiveOnly
-
setCheckValueSetOnly
-
setVsAsUrl
-
setVersionFlexible
-
setUseValueSetDisplays
-
setEnglishOk
-
isDisplayWarningMode
-
setDisplayWarningMode
-
isExampleOK
-
setExampleOK
-
withExampleOK
-
getR5BundleRelativeReferencePolicy
-
setR5BundleRelativeReferencePolicy
public void setR5BundleRelativeReferencePolicy(ValidationOptions.R5BundleRelativeReferencePolicy r5BundleRelativeReferencePolicy) -
withR5BundleRelativeReferencePolicy
public ValidationOptions withR5BundleRelativeReferencePolicy(ValidationOptions.R5BundleRelativeReferencePolicy r5BundleRelativeReferencePolicy) -
copy
-
toJson
-
langSummary
-
getFhirVersion
-