Class TypeConvertor

    • Method Detail

      • castToType

        public static DataType castToType​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToBoolean

        public static BooleanType castToBoolean​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToInteger

        public static IntegerType castToInteger​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToInteger64

        public static Integer64Type castToInteger64​(Base b)
                                             throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToDecimal

        public static DecimalType castToDecimal​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToInstant

        public static InstantType castToInstant​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToString

        public static StringType castToString​(Base b)
                                       throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToUri

        public static UriType castToUri​(Base b)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToUrl

        public static UrlType castToUrl​(Base b)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToCanonical

        public static CanonicalType castToCanonical​(Base b)
                                             throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToDate

        public static DateType castToDate​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToDateTime

        public static DateTimeType castToDateTime​(Base b)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToTime

        public static TimeType castToTime​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToCode

        public static CodeType castToCode​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToOid

        public static OidType castToOid​(Base b)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToId

        public static IdType castToId​(Base b)
                               throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToMarkdown

        public static MarkdownType castToMarkdown​(Base b)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToAnnotation

        public static Annotation castToAnnotation​(Base b)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToDosage

        public static Dosage castToDosage​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToAttachment

        public static Attachment castToAttachment​(Base b)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToIdentifier

        public static Identifier castToIdentifier​(Base b)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToPopulation

        public static Population castToPopulation​(Base b)
                                           throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToCoding

        public static Coding castToCoding​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToQuantity

        public static Quantity castToQuantity​(Base b)
                                       throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToMoney

        public static Money castToMoney​(Base b)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToDuration

        public static Duration castToDuration​(Base b)
                                       throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToRange

        public static Range castToRange​(Base b)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToPeriod

        public static Period castToPeriod​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToRatio

        public static Ratio castToRatio​(Base b)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToSampledData

        public static SampledData castToSampledData​(Base b)
                                             throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToSignature

        public static Signature castToSignature​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToHumanName

        public static HumanName castToHumanName​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToAddress

        public static Address castToAddress​(Base b)
                                     throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToContributor

        public static Contributor castToContributor​(Base b)
                                             throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToUsageContext

        public static UsageContext castToUsageContext​(Base b)
                                               throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToContactPoint

        public static ContactPoint castToContactPoint​(Base b)
                                               throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToTiming

        public static Timing castToTiming​(Base b)
                                   throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToReference

        public static Reference castToReference​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToMeta

        public static Meta castToMeta​(Base b)
                               throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToStatistic

        public static Statistic castToStatistic​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToExtension

        public static Extension castToExtension​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToResource

        public static Resource castToResource​(Base b)
                                       throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToNarrative

        public static Narrative castToNarrative​(Base b)
                                         throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • castToExpression

        public static Expression castToExpression​(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

        public static String castToXhtmlString​(Base b)
                                        throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException