public static class Patient.PatientLinkComponent extends BackboneElement implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
other
The other patient resource that the link refers to.
|
protected Resource |
otherTarget
The actual object that is the target of the reference (The other patient resource that the link refers to.)
|
protected Enumeration<Patient.LinkType> |
type
The type of link between this patient resource and another patient resource.
|
modifierExtension| Constructor and Description |
|---|
PatientLinkComponent()
Constructor
|
PatientLinkComponent(Reference other,
Enumeration<Patient.LinkType> type)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Patient.PatientLinkComponent |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Reference |
getOther() |
Resource |
getOtherTarget() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
Patient.LinkType |
getType() |
Enumeration<Patient.LinkType> |
getTypeElement() |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasOther() |
boolean |
hasType() |
boolean |
hasTypeElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Patient.PatientLinkComponent |
setOther(Reference value) |
Patient.PatientLinkComponent |
setOtherTarget(Resource value) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
Patient.PatientLinkComponent |
setType(Patient.LinkType value) |
Patient.PatientLinkComponent |
setTypeElement(Enumeration<Patient.LinkType> value) |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentaddExtension, getExtension, hasExtensionaddModifierExtension, getModifierExtension, hasModifierExtensionprotected Resource otherTarget
protected Enumeration<Patient.LinkType> type
public PatientLinkComponent()
public PatientLinkComponent(Reference other, Enumeration<Patient.LinkType> type)
public Reference getOther()
other (The other patient resource that the link refers to.)public boolean hasOther()
public Patient.PatientLinkComponent setOther(Reference value)
value - other (The other patient resource that the link refers to.)public Resource getOtherTarget()
other The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The other patient resource that the link refers to.)public Patient.PatientLinkComponent setOtherTarget(Resource value)
value - other The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The other patient resource that the link refers to.)public Enumeration<Patient.LinkType> getTypeElement()
type (The type of link between this patient resource and another patient resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Patient.PatientLinkComponent setTypeElement(Enumeration<Patient.LinkType> value)
value - type (The type of link between this patient resource and another patient resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Patient.LinkType getType()
public Patient.PatientLinkComponent setType(Patient.LinkType value)
value - The type of link between this patient resource and another patient resource.protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class BackboneElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BackboneElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BackboneElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class BackboneElementFHIRExceptionpublic Patient.PatientLinkComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2017 University Health Network. All rights reserved.