public class TokenOrListParam extends Object
| Constructor and Description |
|---|
TokenOrListParam()
Create a new empty token "OR list"
|
TokenOrListParam(String theSystem,
String... theValues)
Create a new token "OR list" with a single token, or multiple tokens which have the same system value
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(BaseCodingDt theCodingDt)
Convenience method which adds a token to this OR list using the system and code from a coding
|
void |
add(BaseIdentifierDt theIdentifierDt)
Convenience method which adds a token to this OR list using the system and value from an identifier
|
MT |
add(PT theParameter) |
void |
add(String theSystem,
String theValue)
Add a new token to this list
|
TokenOrListParam |
addOr(TokenParam theParameter) |
boolean |
doesCodingListMatch(List<? extends BaseCodingDt> theCodings) |
List<BaseCodingDt> |
getListAsCodings() |
List<PT> |
getValuesAsQueryTokens() |
void |
setValuesAsQueryTokens(FhirContext theContext,
String theParamName,
QualifiedParamList theParameters) |
public TokenOrListParam()
public TokenOrListParam(String theSystem, String... theValues)
theSystem - The system to use for the one token to pre-populate in this listtheValues - The values to use for the one token to pre-populate in this listpublic void add(BaseCodingDt theCodingDt)
public void add(BaseIdentifierDt theIdentifierDt)
public void add(String theSystem, String theValue)
theSystem - The system to use for the one token to pre-populate in this listtheValue - The value to use for the one token to pre-populate in this listpublic List<BaseCodingDt> getListAsCodings()
public boolean doesCodingListMatch(List<? extends BaseCodingDt> theCodings)
public TokenOrListParam addOr(TokenParam theParameter)
public void setValuesAsQueryTokens(FhirContext theContext, String theParamName, QualifiedParamList theParameters)
setValuesAsQueryTokens in interface IQueryParameterOr<PT extends IQueryParameterType>public MT add(PT theParameter)
public List<PT> getValuesAsQueryTokens()
getValuesAsQueryTokens in interface IQueryParameterOr<PT extends IQueryParameterType>Copyright © 2014–2017 University Health Network. All rights reserved.