public abstract class Base extends Object implements Serializable, org.hl7.fhir.instance.model.api.IBase, ca.uhn.fhir.model.api.IElement
| Constructor and Description |
|---|
Base() |
public Base()
public Object getUserData(String name)
getUserData in interface org.hl7.fhir.instance.model.api.IBasepublic void setUserData(String name, Object value)
setUserData in interface org.hl7.fhir.instance.model.api.IBasepublic void clearUserData(String name)
public void setUserDataINN(String name, Object value)
public boolean hasUserData(String name)
public String getUserString(String name)
public int getUserInt(String name)
public boolean hasFormatComment()
hasFormatComment in interface org.hl7.fhir.instance.model.api.IBasepublic List<String> getFormatCommentsPre()
getFormatCommentsPre in interface org.hl7.fhir.instance.model.api.IBasepublic List<String> getFormatCommentsPost()
getFormatCommentsPost in interface org.hl7.fhir.instance.model.api.IBasepublic boolean isPrimitive()
public boolean isBooleanPrimitive()
public boolean hasPrimitiveValue()
public String primitiveValue()
public boolean isDateTime()
public BaseDateTimeType dateTimeValue()
public abstract String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBaseprotected abstract void listChildren(List<Property> result)
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic List<Property> children()
Type, and examine the valuepublic Property getChildByName(String name)
public List<Base> listChildrenByName(String name) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Base[] listChildrenByName(String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic boolean equalsDeep(Base other)
public boolean equalsShallow(Base other)
public static boolean compareDeep(String s1, String s2, boolean allowNull)
public static boolean compareDeep(List<? extends Base> e1, List<? extends Base> e2, boolean allowNull)
public static boolean compareDeep(Base e1, Base e2, boolean allowNull)
public static boolean compareDeep(org.hl7.fhir.utilities.xhtml.XhtmlNode div1, org.hl7.fhir.utilities.xhtml.XhtmlNode div2, boolean allowNull)
public static boolean compareValues(List<? extends PrimitiveType> e1, List<? extends PrimitiveType> e2, boolean allowNull)
public static boolean compareValues(PrimitiveType e1, PrimitiveType e2, boolean allowNull)
public Type castToType(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic BooleanType castToBoolean(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic IntegerType castToInteger(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic DecimalType castToDecimal(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Base64BinaryType castToBase64Binary(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic InstantType castToInstant(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic StringType castToString(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic UriType castToUri(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic UrlType castToUrl(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic CanonicalType castToCanonical(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic DateType castToDate(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic DateTimeType castToDateTime(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic TimeType castToTime(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic CodeType castToCode(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic OidType castToOid(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic IdType castToId(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic UnsignedIntType castToUnsignedInt(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic PositiveIntType castToPositiveInt(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic MarkdownType castToMarkdown(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Annotation castToAnnotation(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Dosage castToDosage(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Attachment castToAttachment(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Identifier castToIdentifier(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic CodeableConcept castToCodeableConcept(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Population castToPopulation(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Coding castToCoding(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Quantity castToQuantity(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Money castToMoney(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Duration castToDuration(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic SimpleQuantity castToSimpleQuantity(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Range castToRange(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Period castToPeriod(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Ratio castToRatio(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic SampledData castToSampledData(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Signature castToSignature(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic HumanName castToHumanName(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Address castToAddress(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic ContactDetail castToContactDetail(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Contributor castToContributor(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic UsageContext castToUsageContext(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic RelatedArtifact castToRelatedArtifact(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic ContactPoint castToContactPoint(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Timing castToTiming(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Reference castToReference(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Meta castToMeta(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic MarketingStatus castToMarketingStatus(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic ProductShelfLife castToProductShelfLife(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic ProdCharacteristic castToProdCharacteristic(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic SubstanceAmount castToSubstanceAmount(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Extension castToExtension(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Resource castToResource(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Narrative castToNarrative(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic ElementDefinition castToElementDefinition(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic DataRequirement castToDataRequirement(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Expression castToExpression(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic ParameterDefinition castToParameterDefinition(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic TriggerDefinition castToTriggerDefinition(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic org.hl7.fhir.utilities.xhtml.XhtmlNode castToXhtml(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String castToXhtmlString(Base b) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionprotected boolean isMetadataBased()
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic boolean isResource()
public Property getNamedProperty(String _name) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.