Package org.hl7.fhir.dstu2016may.model
Class Linkage
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.model.Linkage
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class Linkage extends DomainResource
Identifies two or more records (resource instances) that are referring to the same real-world "occurrence".- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkage.LinkageItemComponentstatic classLinkage.LinkageTypestatic classLinkage.LinkageTypeEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceauthorIdentifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.static ca.uhn.fhir.rest.gclient.ReferenceClientParamAUTHORFluent Client search parameter constant for authorprotected ResourceauthorTargetThe actual object that is the target of the reference (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.)static ca.uhn.fhir.model.api.IncludeINCLUDE_AUTHORConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ITEMConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SOURCEConstant for fluent queries to be used to add include statements.protected List<Linkage.LinkageItemComponent>itemIdentifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.static ca.uhn.fhir.rest.gclient.ReferenceClientParamITEMFluent Client search parameter constant for itemstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSOURCEFluent Client search parameter constant for sourcestatic StringSP_AUTHORSearch parameter: authorstatic StringSP_ITEMSearch parameter: itemstatic StringSP_SOURCESearch parameter: source-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Linkage()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseaddChild(String name)Linkage.LinkageItemComponentaddItem()LinkageaddItem(Linkage.LinkageItemComponent t)Linkagecopy()booleanequalsDeep(Base other)booleanequalsShallow(Base other)StringfhirType()ReferencegetAuthor()ResourcegetAuthorTarget()List<Linkage.LinkageItemComponent>getItem()Base[]getProperty(int hash, String name, boolean checkValid)ResourceTypegetResourceType()booleanhasAuthor()booleanhasItem()booleanisEmpty()protected voidlistChildren(List<Property> childrenList)BasemakeProperty(int hash, String name)make an instance of a property.LinkagesetAuthor(Reference value)LinkagesetAuthorTarget(Resource value)voidsetProperty(int hash, String name, Base value)voidsetProperty(String name, Base value)protected LinkagetypedCopy()-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
author
protected Reference author
Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.
-
authorTarget
protected Resource authorTarget
The actual object that is the target of the reference (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.)
-
item
protected List<Linkage.LinkageItemComponent> item
Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.
-
SP_AUTHOR
public static final String SP_AUTHOR
Search parameter: authorDescription: Author of the Linkage
Type: reference
Path: Linkage.author
- See Also:
- Constant Field Values
-
AUTHOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
Fluent Client search parameter constant for authorDescription: Author of the Linkage
Type: reference
Path: Linkage.author
-
INCLUDE_AUTHOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Linkage:author".
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter: sourceDescription: Matches on any item in the Linkage with a type of 'source'
Type: reference
Path: Linkage.item.resource
- See Also:
- Constant Field Values
-
SOURCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Fluent Client search parameter constant for sourceDescription: Matches on any item in the Linkage with a type of 'source'
Type: reference
Path: Linkage.item.resource
-
INCLUDE_SOURCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Linkage:source".
-
SP_ITEM
public static final String SP_ITEM
Search parameter: itemDescription: Matches on any item in the Linkage
Type: reference
Path: Linkage.item.resource
- See Also:
- Constant Field Values
-
ITEM
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM
Fluent Client search parameter constant for itemDescription: Matches on any item in the Linkage
Type: reference
Path: Linkage.item.resource
-
INCLUDE_ITEM
public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM
Constant for fluent queries to be used to add include statements. Specifies the path value of "Linkage:item".
-
-
Constructor Detail
-
Linkage
public Linkage()
Constructor
-
-
Method Detail
-
getAuthor
public Reference getAuthor()
- Returns:
author(Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.)
-
hasAuthor
public boolean hasAuthor()
-
setAuthor
public Linkage setAuthor(Reference value)
- Parameters:
value-author(Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.)
-
getAuthorTarget
public Resource getAuthorTarget()
- Returns:
authorThe 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. (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.)
-
setAuthorTarget
public Linkage setAuthorTarget(Resource value)
- Parameters:
value-authorThe 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. (Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.)
-
getItem
public List<Linkage.LinkageItemComponent> getItem()
- Returns:
item(Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.)
-
hasItem
public boolean hasItem()
-
addItem
public Linkage.LinkageItemComponent addItem()
- Returns:
item(Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.)
-
addItem
public Linkage addItem(Linkage.LinkageItemComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Linkage copy()
- Specified by:
copyin classDomainResource
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-