Package dev.dsf.fhir.adapter
Class ResourceOrganization
java.lang.Object
dev.dsf.fhir.adapter.ResourceOrganization
- All Implemented Interfaces:
ThymeleafContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoSetAdditionalVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Organization resource) protected final voiddoSetVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Organization resource) protected final Stringformat(Date date, DateTimeFormatter formatter) protected final StringformatDate(Date date) protected final StringformatDateTime(Date date) protected final StringformatLastUpdated(org.hl7.fhir.r4.model.Resource resource) protected final StringformatLastUpdated(org.hl7.fhir.r4.model.Resource resource, DateTimeFormatter formatter) protected final <E extends org.hl7.fhir.r4.model.Base>
BooleangetBoolean(E resource, Predicate<E> hasBoolean, Function<E, org.hl7.fhir.r4.model.BooleanType> getBoolean) protected final <E extends org.hl7.fhir.r4.model.Base>
Stringprotected final <E extends org.hl7.fhir.r4.model.Base>
StringgetDateTime(E resource, Predicate<E> hasDateTime, Function<E, org.hl7.fhir.r4.model.DateTimeType> getDateTime) protected final <E extends org.hl7.fhir.r4.model.Base>
BigDecimalgetDecimal(E resource, Predicate<E> hasDecimal, Function<E, org.hl7.fhir.r4.model.DecimalType> getDecimal) protected final <E extends org.hl7.fhir.r4.model.Base>
StringgetEnumeration(E resource, Predicate<E> hasEnumeration, Function<E, org.hl7.fhir.r4.model.Enumeration<?>> getEnumeration) protected final <E extends org.hl7.fhir.r4.model.Base>
List<ElementSystemValue>getIdentifiers(E resource, Predicate<E> hasIdentifier, Function<E, List<org.hl7.fhir.r4.model.Identifier>> getIdentifier) protected final <E extends org.hl7.fhir.r4.model.Base>
IntegergetInteger(E resource, Predicate<E> hasInteger, Function<E, org.hl7.fhir.r4.model.IntegerType> getInteger) Class<org.hl7.fhir.r4.model.Organization>protected final <E extends org.hl7.fhir.r4.model.Base>
StringgetString(E resource, Predicate<E> hasString, Function<E, org.hl7.fhir.r4.model.StringType> getString) protected final <E extends org.hl7.fhir.r4.model.Base>
Stringprotected final <E extends org.hl7.fhir.r4.model.Base>
Stringprotected final <E extends org.hl7.fhir.r4.model.Base,T>
TgetValue(E resource, Predicate<E> hasValue, Function<E, ? extends org.hl7.fhir.r4.model.PrimitiveType<T>> getValue) booleanisResourceSupported(String requestPathLastElement) protected final <E> List<E>nullIfEmpty(List<E> list) final voidsetVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Resource resource) toElement(org.hl7.fhir.r4.model.Organization resource)
-
Constructor Details
-
ResourceOrganization
public ResourceOrganization()
-
-
Method Details
-
toElement
protected dev.dsf.fhir.adapter.ResourceOrganization.Element toElement(org.hl7.fhir.r4.model.Organization resource) -
isResourceSupported
-
doSetVariables
protected final void doSetVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Organization resource) -
doSetAdditionalVariables
protected void doSetAdditionalVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Organization resource) -
getResourceType
- Specified by:
getResourceTypein interfaceThymeleafContext
-
getHtmlFragment
- Specified by:
getHtmlFragmentin interfaceThymeleafContext
-
setVariables
public final void setVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Resource resource) - Specified by:
setVariablesin interfaceThymeleafContext
-
formatDate
-
formatDateTime
-
format
-
formatLastUpdated
-
formatLastUpdated
protected final String formatLastUpdated(org.hl7.fhir.r4.model.Resource resource, DateTimeFormatter formatter) -
nullIfEmpty
-
getValue
-
getString
-
getDate
-
getDateTime
-
getBoolean
-
getUri
-
getUrl
-
getInteger
-
getDecimal
protected final <E extends org.hl7.fhir.r4.model.Base> BigDecimal getDecimal(E resource, Predicate<E> hasDecimal, Function<E, org.hl7.fhir.r4.model.DecimalType> getDecimal) -
getEnumeration
-
getIdentifiers
protected final <E extends org.hl7.fhir.r4.model.Base> List<ElementSystemValue> getIdentifiers(E resource, Predicate<E> hasIdentifier, Function<E, List<org.hl7.fhir.r4.model.Identifier>> getIdentifier)
-