| 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
R4 |
static FhirContext |
FhirContext.forR5()
Creates and returns a new FhirContext with version
R5 |
FhirContext |
FhirVersionEnum.newContext() |
| 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.LookupCodeResult |
IContextValidationSupport.lookupCode(FhirContext theContext,
String theSystem,
String theCode)
Look up a code using the system and code value
|
IBaseParameters |
IContextValidationSupport.LookupCodeResult.toParameters(FhirContext theContext,
List<? extends IPrimitiveType<String>> theProperties) |
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 |
|---|---|
boolean |
BaseThymeleafNarrativeGenerator.populateResourceNarrative(FhirContext theFhirContext,
IBaseResource theResource) |
boolean |
INarrativeGenerator.populateResourceNarrative(FhirContext theFhirContext,
IBaseResource theResource)
Generate any narratives for the given resource that have applicable
templates, and populates the appropriate field(s).
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
ThymeleafNarrativeGenerator.applyTemplate(FhirContext theFhirContext,
INarrativeTemplate theTemplate,
IBase theTargetContext) |
protected abstract String |
BaseNarrativeGenerator.applyTemplate(FhirContext theFhirContext,
INarrativeTemplate theTemplate,
IBase theTargetContext) |
List<INarrativeTemplate> |
INarrativeTemplateManifest.getTemplateByElement(FhirContext theFhirContext,
EnumSet<TemplateTypeEnum> theStyles,
IBase theElementValue) |
List<INarrativeTemplate> |
NarrativeTemplateManifest.getTemplateByElement(FhirContext theFhirContext,
EnumSet<TemplateTypeEnum> theStyles,
IBase theElement) |
List<INarrativeTemplate> |
INarrativeTemplateManifest.getTemplateByName(FhirContext theFhirContext,
EnumSet<TemplateTypeEnum> theStyles,
String theName) |
List<INarrativeTemplate> |
NarrativeTemplateManifest.getTemplateByName(FhirContext theFhirContext,
EnumSet<TemplateTypeEnum> theStyles,
String theName) |
List<INarrativeTemplate> |
INarrativeTemplateManifest.getTemplateByResourceName(FhirContext theFhirContext,
EnumSet<TemplateTypeEnum> theStyles,
String theResourceName) |
List<INarrativeTemplate> |
NarrativeTemplateManifest.getTemplateByResourceName(FhirContext theFhirContext,
EnumSet<TemplateTypeEnum> theStyles,
String theResourceName) |
boolean |
NullNarrativeGenerator.populateResourceNarrative(FhirContext theFhirContext,
IBaseResource theResource) |
boolean |
BaseNarrativeGenerator.populateResourceNarrative(FhirContext theFhirContext,
IBaseResource theResource) |
| 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(). |
RDFParser(FhirContext context,
IParserErrorHandler parserErrorHandler,
org.apache.jena.riot.Lang lang)
Do not use this constructor, the recommended way to obtain a new instance of the RDF parser is to invoke
newRDFParser(). |
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 |
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 IBase |
ParametersUtil.addParameterToParameters(FhirContext theContext,
IBaseParameters theParameters,
String theName)
Add a parameter with no value (typically because we'll be adding sub-parameters)
|
static void |
ParametersUtil.addParameterToParameters(FhirContext theContext,
IBaseParameters theParameters,
String theName,
Object theValue)
Add a paratemer value to a Parameters resource
|
static void |
ParametersUtil.addParameterToParameters(FhirContext theContext,
IBaseParameters theParameters,
String theName,
String thePrimitiveDatatype,
String theValue)
Add a paratemer value to a Parameters resource
|
static void |
ParametersUtil.addParameterToParametersBoolean(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
boolean theValue) |
static void |
ParametersUtil.addParameterToParametersCode(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theValue) |
static void |
ParametersUtil.addParameterToParametersInteger(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
int theValue) |
static void |
ParametersUtil.addParameterToParametersReference(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theReference) |
static void |
ParametersUtil.addParameterToParametersString(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theValue) |
static void |
ParametersUtil.addParameterToParametersUri(FhirContext theCtx,
IBaseParameters theParameters,
String theName,
String theValue) |
static void |
ParametersUtil.addPartCode(FhirContext theContext,
IBase theParameter,
String theName,
String theCode) |
static void |
ParametersUtil.addPartCoding(FhirContext theContext,
IBase theParameter,
String theName,
String theSystem,
String theCode,
String theDisplay) |
static void |
ParametersUtil.addPartString(FhirContext theContext,
IBase theParameter,
String theName,
String theValue) |
static IPrimitiveType<?> |
ParametersUtil.createCode(FhirContext theContext,
String theValue) |
static IPrimitiveType<?> |
ParametersUtil.createString(FhirContext theContext,
String theValue) |
static IPrimitiveType<?> |
ParametersUtil.createUri(FhirContext theContext,
String theValue) |
static List<String> |
SearchParameterUtil.getBaseAsStrings(FhirContext theContext,
IBaseResource theResource) |
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 String |
BundleUtil.getLinkUrlOfType(FhirContext theContext,
IBaseBundle theBundle,
String theLinkRelation) |
static List<String> |
ParametersUtil.getNamedParameterValuesAsString(FhirContext theCtx,
IBaseParameters theParameters,
String theParameterName) |
static IPrimitiveType<String> |
AttachmentUtil.getOrCreateContentType(FhirContext theContext,
ICompositeType theAttachment) |
static IPrimitiveType<byte[]> |
BinaryUtil.getOrCreateData(FhirContext theContext,
IBaseBinary theBinary)
Fetches the base64Binary value of Binary.data (or Binary.content on versions of
FHIR before R4), creating it if it does not already exist.
|
static IPrimitiveType<byte[]> |
AttachmentUtil.getOrCreateData(FhirContext theContext,
ICompositeType theAttachment)
Fetches the base64Binary value of Attachment.data, creating it if it does not
already exist.
|
static IPrimitiveType<String> |
AttachmentUtil.getOrCreateUrl(FhirContext theContext,
ICompositeType theAttachment) |
static IBaseReference |
BinaryUtil.getSecurityContext(FhirContext theCtx,
IBaseBinary theBinary) |
static Integer |
BundleUtil.getTotal(FhirContext theContext,
IBaseBundle theBundle) |
static boolean |
OperationOutcomeUtil.hasIssues(FhirContext theCtx,
IBaseOperationOutcome theOutcome)
Returns true if the given OperationOutcome has 1 or more Operation.issue repetitions
|
static IBaseBinary |
BinaryUtil.newBinary(FhirContext theCtx) |
static IBaseOperationOutcome |
OperationOutcomeUtil.newInstance(FhirContext theCtx) |
static IBaseParameters |
ParametersUtil.newInstance(FhirContext theContext) |
static RuntimeResourceDefinition |
UrlUtil.parseUrlResourceType(FhirContext theCtx,
String theUrl) |
static void |
AttachmentUtil.setContentType(FhirContext theContext,
ICompositeType theAttachment,
String theContentType) |
static void |
AttachmentUtil.setData(FhirContext theContext,
ICompositeType theAttachment,
byte[] theBytes) |
static void |
SubscriptionUtil.setReason(FhirContext theContext,
IBaseResource theSubscription,
String theMessage) |
static void |
BinaryUtil.setSecurityContext(FhirContext theCtx,
IBaseBinary theBinary,
String theSecurityContext) |
static void |
AttachmentUtil.setSize(FhirContext theContext,
ICompositeType theAttachment,
Integer theLength) |
static void |
SubscriptionUtil.setStatus(FhirContext theContext,
IBaseResource theSubscription,
String theStatus) |
static void |
BundleUtil.setTotal(FhirContext theContext,
IBaseBundle theBundle,
Integer theTotal) |
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,
ValidationOptions theOptions) |
static IValidationContext<IBaseResource> |
ValidationContext.forText(FhirContext theContext,
String theResourceBody,
ValidationOptions theOptions) |
| 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)
Constructor
|
Copyright © 2014–2019 University Health Network. All rights reserved.