Package org.hl7.fhir.r5.model
Class TypeConvertor
java.lang.Object
org.hl7.fhir.r5.model.TypeConvertor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Addressstatic Annotationstatic Attachmentstatic Base64BinaryTypestatic BooleanTypestatic CanonicalTypestatic CodeTypecastToCode(Base b) static CodeableConceptstatic CodeableReferencestatic CodingcastToCoding(Base b) static ContactDetailstatic ContactPointstatic Contributorstatic DataRequirementstatic DateTypecastToDate(Base b) static DateTimeTypestatic DecimalTypestatic DosagecastToDosage(Base b) static Durationstatic ElementDefinitionstatic Expressionstatic Extensionstatic HumanNamestatic IdTypestatic Identifierstatic InstantTypestatic IntegerTypestatic Integer64Typestatic MarkdownTypestatic MarketingStatusstatic MetacastToMeta(Base b) static MoneycastToMoney(Base b) static Narrativestatic OidTypestatic OrderedDistributionstatic ParameterDefinitionstatic PeriodcastToPeriod(Base b) static Populationstatic PositiveIntTypestatic ProdCharacteristicstatic ProductShelfLifestatic Quantitystatic RangecastToRange(Base b) static RatiocastToRatio(Base b) static Referencestatic RelatedArtifactstatic Resourcestatic SampledDatastatic Signaturestatic SimpleQuantitystatic Statisticstatic StringTypecastToString(Base b) static SubstanceAmountstatic TimeTypecastToTime(Base b) static TimingcastToTiming(Base b) static TriggerDefinitionstatic DataTypecastToType(Base b) static UnsignedIntTypestatic UriTypestatic UrlTypestatic UsageContextstatic org.hl7.fhir.utilities.xhtml.XhtmlNodecastToXhtml(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
-
castToPopulation
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToCoding
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
castToQuantity
- 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
-
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
-