Package org.hl7.fhir.r5.model
Class TypeConvertor
java.lang.Object
org.hl7.fhir.r5.model.TypeConvertor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Address
static Annotation
static Attachment
static Availability
static Base64BinaryType
static BooleanType
static CanonicalType
static CodeType
castToCode
(Base b) static CodeableConcept
static CodeableReference
static Coding
castToCoding
(Base b) static ContactDetail
static ContactPoint
static Contributor
static Count
castToCount
(Base b) static DataRequirement
static DateType
castToDate
(Base b) static DateTimeType
static DecimalType
static Dosage
castToDosage
(Base b) static Duration
static ElementDefinition
static Expression
static ExtendedContactDetail
static Extension
static HumanName
static IdType
static Identifier
static InstantType
static IntegerType
static Integer64Type
static MarkdownType
static MarketingStatus
static Meta
castToMeta
(Base b) static MonetaryComponent
static Money
castToMoney
(Base b) static Narrative
static OidType
static OrderedDistribution
static ParameterDefinition
static Period
castToPeriod
(Base b) static PositiveIntType
static ProdCharacteristic
static ProductShelfLife
static Quantity
static Range
castToRange
(Base b) static Ratio
castToRatio
(Base b) static Reference
static RelatedArtifact
static Resource
static SampledData
static Signature
static SimpleQuantity
static Statistic
static StringType
castToString
(Base b) static SubstanceAmount
static TimeType
castToTime
(Base b) static Timing
castToTiming
(Base b) static TriggerDefinition
static DataType
castToType
(Base b) static UnsignedIntType
static UriType
static UrlType
static UsageContext
static VirtualServiceDetail
static org.hl7.fhir.utilities.xhtml.XhtmlNode
castToXhtml
(Base b) static String
-
Constructor Details
-
TypeConvertor
public TypeConvertor()
-
-
Method Details
-
castToType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToBoolean
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToInteger
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToInteger64
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToDecimal
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToBase64Binary
public static Base64BinaryType castToBase64Binary(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToInstant
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToString
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToUri
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToUrl
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCanonical
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToDate
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToDateTime
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToTime
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCode
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToOid
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToId
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToUnsignedInt
public static UnsignedIntType castToUnsignedInt(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToPositiveInt
public static PositiveIntType castToPositiveInt(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToMarkdown
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToAnnotation
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToDosage
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToAttachment
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToIdentifier
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCodeableConcept
public static CodeableConcept castToCodeableConcept(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCodeableReference
public static CodeableReference castToCodeableReference(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCoding
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToQuantity
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCount
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToMoney
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToDuration
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToSimpleQuantity
public static SimpleQuantity castToSimpleQuantity(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToRange
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToPeriod
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToRatio
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToSampledData
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToSignature
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToHumanName
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToAddress
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToContactDetail
public static ContactDetail castToContactDetail(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToContributor
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToUsageContext
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToRelatedArtifact
public static RelatedArtifact castToRelatedArtifact(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToContactPoint
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToTiming
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToReference
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToMeta
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToMarketingStatus
public static MarketingStatus castToMarketingStatus(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToStatistic
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToOrderedDistribution
public static OrderedDistribution castToOrderedDistribution(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToProductShelfLife
public static ProductShelfLife castToProductShelfLife(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToProdCharacteristic
public static ProdCharacteristic castToProdCharacteristic(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToSubstanceAmount
public static SubstanceAmount castToSubstanceAmount(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToExtension
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToNarrative
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToElementDefinition
public static ElementDefinition castToElementDefinition(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToDataRequirement
public static DataRequirement castToDataRequirement(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToExpression
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToParameterDefinition
public static ParameterDefinition castToParameterDefinition(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToTriggerDefinition
public static TriggerDefinition castToTriggerDefinition(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToExtendedContactDetail
public static ExtendedContactDetail castToExtendedContactDetail(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToXhtml
public static org.hl7.fhir.utilities.xhtml.XhtmlNode castToXhtml(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToXhtmlString
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToVirtualServiceDetail
public static VirtualServiceDetail castToVirtualServiceDetail(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToAvailability
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToMonetaryComponent
public static MonetaryComponent castToMonetaryComponent(Base b) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-