
Package ca.uhn.fhir.context.support
Class IValidationSupport.LookupCodeResult
java.lang.Object
ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
- Enclosing interface:
IValidationSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisFound()voidsetCodeDisplay(String theCodeDisplay) voidsetCodeIsAbstract(boolean theCodeIsAbstract) voidsetCodeSystemDisplayName(String theCodeSystemDisplayName) voidsetCodeSystemVersion(String theCodeSystemVersion) setErrorMessage(String theErrorMessage) setFound(boolean theFound) voidsetProperties(List<IValidationSupport.BaseConceptProperty> theProperties) setSearchedForCode(String theSearchedForCode) setSearchedForSystem(String theSearchedForSystem) voidtoParameters(FhirContext theContext, List<? extends IPrimitiveType<String>> thePropertyNamesToFilter) Converts the current LookupCodeResult instance into a IBaseParameters instance which is returned to the client of the $lookup operation.
-
Constructor Details
-
LookupCodeResult
public LookupCodeResult()Constructor
-
-
Method Details
-
getProperties
-
setProperties
-
getDesignations
-
getCodeDisplay
-
setCodeDisplay
-
getCodeSystemDisplayName
-
setCodeSystemDisplayName
-
getCodeSystemVersion
-
setCodeSystemVersion
-
getSearchedForCode
-
setSearchedForCode
-
getSearchedForSystem
-
setSearchedForSystem
-
isCodeIsAbstract
-
setCodeIsAbstract
-
isFound
-
setFound
-
throwNotFoundIfAppropriate
-
toParameters
public IBaseParameters toParameters(FhirContext theContext, List<? extends IPrimitiveType<String>> thePropertyNamesToFilter) Converts the current LookupCodeResult instance into a IBaseParameters instance which is returned to the client of the $lookup operation.- Parameters:
theContext- the FHIR context used for running the operationthePropertyNamesToFilter- the properties which are passed as parameter to filter the result.- Returns:
- the output for the lookup operation.
-
setErrorMessage
-
getErrorMessage
-
notFound
public static IValidationSupport.LookupCodeResult notFound(String theSearchedForSystem, String theSearchedForCode)
-