Package ca.uhn.fhir.context.support
Class IValidationSupport.LookupCodeResult
java.lang.Object
ca.uhn.fhir.context.support.IValidationSupport.LookupCodeResult
- Enclosing interface:
IValidationSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isFound()
void
setCodeDisplay
(String theCodeDisplay) void
setCodeIsAbstract
(boolean theCodeIsAbstract) void
setCodeSystemDisplayName
(String theCodeSystemDisplayName) void
setCodeSystemVersion
(String theCodeSystemVersion) setErrorMessage
(String theErrorMessage) setFound
(boolean theFound) void
setProperties
(List<IValidationSupport.BaseConceptProperty> theProperties) setSearchedForCode
(String theSearchedForCode) setSearchedForSystem
(String theSearchedForSystem) void
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.
-
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)
-