| Modifier and Type | Method and Description |
|---|---|
static FhirContext |
FhirContext.forDstu2_1()
Creates and returns a new FhirContext with version
DSTU2 (2016 May DSTU3 Snapshot) |
static FhirContext |
FhirContext.forDstu2()
Creates and returns a new FhirContext with version
DSTU2 |
static FhirContext |
FhirContext.forDstu2Hl7Org()
Creates and returns a new FhirContext with version
DSTU2 (using the Reference
Implementation Structures) |
static FhirContext |
FhirContext.forDstu3()
Creates and returns a new FhirContext with version
DSTU3 |
static FhirContext |
FhirContext.forR4()
Creates and returns a new FhirContext with version
DSTU3 |
| Modifier and Type | Method and Description |
|---|---|
void |
RuntimeCompositeDatatypeDefinition.sealAndInitialize(FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
void |
RuntimeExtensionDtDefinition.sealAndInitialize(FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
void |
RuntimeResourceDefinition.sealAndInitialize(FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
| Constructor and Description |
|---|
BaseRuntimeElementCompositeDefinition(String theName,
Class<? extends T> theImplementingClass,
boolean theStandardType,
FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
ProvidedResourceScanner(FhirContext theContext)
Constructor
|
RuntimeChildResourceBlockDefinition(FhirContext theContext,
Field theField,
Child theChildAnnotation,
Description theDescriptionAnnotation,
String theElementName,
Class<? extends IBase> theResourceBlockType) |
RuntimeCompositeDatatypeDefinition(DatatypeDef theDef,
Class<? extends ICompositeType> theImplementingClass,
boolean theStandardType,
FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
RuntimeExtensionDtDefinition(DatatypeDef theDef,
Class<? extends ICompositeType> theImplementingClass,
boolean theStandardType,
FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
RuntimeResourceBlockDefinition(String theName,
Class<? extends IBase> theImplementingClass,
boolean theStandardType,
FhirContext theContext,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
RuntimeResourceDefinition(FhirContext theContext,
String theResourceName,
Class<? extends IBaseResource> theClass,
ResourceDef theResourceAnnotation,
boolean theStandardType,
Map<Class<? extends IBase>,BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
EVS_OUT |
IContextValidationSupport.expandValueSet(FhirContext theContext,
EVS_IN theInclude)
Expands the given portion of a ValueSet
|
List<IBaseResource> |
IContextValidationSupport.fetchAllConformanceResources(FhirContext theContext)
Load and return all conformance resources associated with this
validation support module.
|
List<SDT> |
IContextValidationSupport.fetchAllStructureDefinitions(FhirContext theContext)
Load and return all possible structure definitions
|
CST |
IContextValidationSupport.fetchCodeSystem(FhirContext theContext,
String theSystem)
Fetch a code system by ID
|
<T extends IBaseResource> |
IContextValidationSupport.fetchResource(FhirContext theContext,
Class<T> theClass,
String theUri)
Loads a resource needed by the validation (a StructureDefinition, or a
ValueSet)
|
SDT |
IContextValidationSupport.fetchStructureDefinition(FhirContext theCtx,
String theUrl) |
boolean |
IContextValidationSupport.isCodeSystemSupported(FhirContext theContext,
String theSystem)
Returns
true if codes in the given code system can be expanded
or validated |
IContextValidationSupport.CodeValidationResult<CDCT,IST> |
IContextValidationSupport.validateCode(FhirContext theContext,
String theCodeSystem,
String theCode,
String theDisplay)
Validates that the given code exists and if possible returns a display
name.
|
| Modifier and Type | Method and Description |
|---|---|
IFluentPath |
IFhirVersion.createFluentPathExecutor(FhirContext theFhirContext) |
String |
IQueryParameterType.getValueAsQueryToken(FhirContext theContext)
Returns a representation of this parameter's value as it will be represented "over the wire".
|
IVersionSpecificBundleFactory |
IFhirVersion.newBundleFactory(FhirContext theContext) |
void |
IQueryParameterType.setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theValue)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
void |
IQueryParameterAnd.setValuesAsQueryTokens(FhirContext theContext,
String theParamName,
List<QualifiedParamList> theParameters)
See FHIR specification
2.2.2 Search SearchParameter Types
for information on the token format
|
void |
IQueryParameterOr.setValuesAsQueryTokens(FhirContext theContext,
String theParamName,
QualifiedParamList theParameters) |
| Modifier and Type | Method and Description |
|---|---|
String |
BaseIdentifierDt.getValueAsQueryToken(FhirContext theContext)
Returns a representation of this parameter's value as it will be represented "over the wire".
|
String |
BaseQuantityDt.getValueAsQueryToken(FhirContext theContext) |
String |
BaseCodingDt.getValueAsQueryToken(FhirContext theContext)
Returns a representation of this parameter's value as it will be represented "over the wire".
|
void |
BaseIdentifierDt.setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theParameter)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
void |
BaseQuantityDt.setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theValue) |
void |
BaseCodingDt.setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theParameter)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
| Modifier and Type | Method and Description |
|---|---|
String |
StringDt.getValueAsQueryToken(FhirContext theContext)
Returns a representation of this parameter's value as it will be represented "over the wire".
|
void |
StringDt.setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theValue)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
| Constructor and Description |
|---|
ViewGenerator(FhirContext theFhirContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseThymeleafNarrativeGenerator.generateNarrative(FhirContext theContext,
IBaseResource theResource,
INarrative theNarrative) |
void |
INarrativeGenerator.generateNarrative(FhirContext theContext,
IBaseResource theResource,
INarrative theNarrative) |
| Constructor and Description |
|---|
NarrativeAttributeProcessor(FhirContext theContext,
String theDialectPrefix) |
| Constructor and Description |
|---|
BaseParser(FhirContext theContext,
IParserErrorHandler theParserErrorHandler)
Constructor
|
JsonParser(FhirContext theContext,
IParserErrorHandler theParserErrorHandler)
Do not use this constructor, the recommended way to obtain a new instance of the JSON parser is to invoke
newJsonParser(). |
XmlParser(FhirContext theContext,
IParserErrorHandler theParserErrorHandler)
Do not use this constructor, the recommended way to obtain a new instance of the XML parser is to invoke
newXmlParser(). |
| Modifier and Type | Method and Description |
|---|---|
abstract IParser |
EncodingEnum.newParser(FhirContext theContext) |
| Constructor and Description |
|---|
QualifiedParamList(IQueryParameterOr<?> theNextOr,
FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
FhirContext |
IRequestDetails.getFhirContext() |
| Modifier and Type | Method and Description |
|---|---|
FhirContext |
IRestfulClient.getFhirContext()
Returns the FHIR context associated with this client
|
| Modifier and Type | Method and Description |
|---|---|
IHttpRequest |
IHttpClient.createBinaryRequest(FhirContext theContext,
IBaseBinary theBinary)
Create a binary request
|
IHttpRequest |
IHttpClient.createByteRequest(FhirContext theContext,
String theContents,
String theContentType,
EncodingEnum theEncoding)
Create a byte request
|
IHttpRequest |
IHttpClient.createGetRequest(FhirContext theContext,
EncodingEnum theEncoding)
Create a normal http get request
|
IHttpRequest |
IHttpClient.createParamRequest(FhirContext theContext,
Map<String,List<String>> theParams,
EncodingEnum theEncoding)
Create a parameter request
|
static String |
HttpClientUtil.createUserAgentString(FhirContext theContext,
String theClientType) |
| Modifier and Type | Method and Description |
|---|---|
String |
CompositeCriterion.getParameterValue(FhirContext theContext) |
String |
ICriterionInternal.getParameterValue(FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
ParameterUtil.findIdParameterIndex(Method theMethod,
FhirContext theContext) |
Class<? extends IBaseResource> |
ReferenceParam.getResourceType(FhirContext theCtx) |
static IQueryParameterAnd<?> |
ParameterUtil.parseQueryParams(FhirContext theContext,
RestSearchParameterTypeEnum paramType,
String theUnqualifiedParamName,
List<QualifiedParamList> theParameters)
This is a utility method intended provided to help the JPA module.
|
static IQueryParameterAnd<?> |
ParameterUtil.parseQueryParams(FhirContext theContext,
RuntimeSearchParam theParamDef,
String theUnqualifiedParamName,
List<QualifiedParamList> theParameters)
This is a utility method intended provided to help the JPA module.
|
void |
DateRangeParam.setValuesAsQueryTokens(FhirContext theContext,
String theParamName,
List<QualifiedParamList> theParameters) |
void |
BaseAndListParam.setValuesAsQueryTokens(FhirContext theContext,
String theParamName,
List<QualifiedParamList> theParameters) |
void |
DateParam.setValuesAsQueryTokens(FhirContext theContext,
String theParamName,
QualifiedParamList theParameters) |
DateParam |
ReferenceParam.toDateParam(FhirContext theContext)
Returns a new param containing the same value as this param, but with the type copnverted
to
DateParam. |
NumberParam |
ReferenceParam.toNumberParam(FhirContext theContext)
Returns a new param containing the same value as this param, but with the type copnverted
to
NumberParam. |
QuantityParam |
ReferenceParam.toQuantityParam(FhirContext theContext)
Returns a new param containing the same value as this param, but with the type copnverted
to
QuantityParam. |
StringParam |
ReferenceParam.toStringParam(FhirContext theContext)
Returns a new param containing the same value as this param, but with the type copnverted
to
StringParam. |
TokenParam |
ReferenceParam.toTokenParam(FhirContext theContext)
Returns a new param containing the same value as this param, but with the type copnverted
to
TokenParam. |
| Modifier and Type | Method and Description |
|---|---|
List<IQueryParameterOr<?>> |
QueryParameterAndBinder.encode(FhirContext theContext,
IQueryParameterAnd<?> theString) |
List<IQueryParameterOr<?>> |
QueryParameterOrBinder.encode(FhirContext theContext,
IQueryParameterOr<?> theValue) |
List<IQueryParameterOr<?>> |
QueryParameterTypeBinder.encode(FhirContext theContext,
IQueryParameterType theValue) |
List<IQueryParameterOr<?>> |
IParamBinder.encode(FhirContext theContext,
T theString) |
T |
IParamBinder.parse(FhirContext theContext,
String theName,
List<QualifiedParamList> theList) |
IQueryParameterAnd<?> |
QueryParameterAndBinder.parse(FhirContext theContext,
String theParamName,
List<QualifiedParamList> theString) |
IQueryParameterOr<?> |
QueryParameterOrBinder.parse(FhirContext theContext,
String theParamName,
List<QualifiedParamList> theString) |
IQueryParameterType |
QueryParameterTypeBinder.parse(FhirContext theContext,
String theParamName,
List<QualifiedParamList> theParams) |
| Constructor and Description |
|---|
UnprocessableEntityException(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome)
Constructor which accepts an
IBaseOperationOutcome resource which will be supplied in the response |
| Modifier and Type | Method and Description |
|---|---|
static void |
OperationOutcomeUtil.addIssue(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome,
String theSeverity,
String theDetails,
String theLocation,
String theCode)
Add an issue to an OperationOutcome
|
static void |
ParametersUtil.addParameterToParameters(FhirContext theContext,
IBaseResource theTargetResource,
Object sourceClientArgument,
String theName) |
static IPrimitiveType<?> |
ParametersUtil.createString(FhirContext theContext,
String theValue) |
static List<org.apache.commons.lang3.tuple.Pair<String,IBaseResource>> |
BundleUtil.getBundleEntryUrlsAndResources(FhirContext theContext,
IBaseBundle theBundle) |
static String |
BundleUtil.getBundleType(FhirContext theContext,
IBaseBundle theBundle) |
static String |
OperationOutcomeUtil.getFirstIssueDetails(FhirContext theCtx,
IBaseOperationOutcome theOutcome) |
static String |
OperationOutcomeUtil.getFirstIssueLocation(FhirContext theCtx,
IBaseOperationOutcome theOutcome) |
static boolean |
OperationOutcomeUtil.hasIssues(FhirContext theCtx,
IBaseOperationOutcome theOutcome)
Returns true if the given OperationOutcome has 1 or more Operation.issue repetitions
|
static IBaseOperationOutcome |
OperationOutcomeUtil.newInstance(FhirContext theCtx) |
static IBaseParameters |
ParametersUtil.newInstance(FhirContext theContext) |
static List<BundleUtil.BundleEntryParts> |
BundleUtil.toListOfEntries(FhirContext theContext,
IBaseBundle theBundle)
Extract all of the resources from a given bundle
|
static List<IBaseResource> |
BundleUtil.toListOfResources(FhirContext theContext,
IBaseBundle theBundle)
Extract all of the resources from a given bundle
|
static <T extends IBaseResource> |
BundleUtil.toListOfResourcesOfType(FhirContext theContext,
IBaseBundle theBundle,
Class<T> theTypeToInclude)
Extract all of the resources of a given type from a given bundle
|
| Constructor and Description |
|---|
FhirTerser(FhirContext theContext) |
ResourceReferenceInfo(FhirContext theContext,
IBaseResource theOwningResource,
List<String> thePathToElement,
IBaseReference theElement) |
| Modifier and Type | Method and Description |
|---|---|
FhirContext |
IValidationContext.getFhirContext() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IBaseResource> |
ValidationContext.forResource(FhirContext theContext,
T theResource) |
static IValidationContext<IBaseResource> |
ValidationContext.forText(FhirContext theContext,
String theResourceBody) |
| Constructor and Description |
|---|
FhirValidator(FhirContext theFhirContext)
Constructor (this should not be called directly, but rather
newValidator() should be called to obtain an instance of FhirValidator) |
SchemaBaseValidator(FhirContext theContext) |
ValidationFailureException(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome) |
ValidationResult(FhirContext theCtx,
List<SingleValidationMessage> theMessages) |
| Modifier and Type | Method and Description |
|---|---|
static IValidatorModule |
SchematronProvider.getSchematronValidatorInstance(FhirContext myContext) |
static boolean |
SchematronProvider.isSchematronAvailable(FhirContext theFhirContext) |
| Constructor and Description |
|---|
SchematronBaseValidator(FhirContext theContext) |
Copyright © 2014–2017 University Health Network. All rights reserved.