
Package org.hl7.fhir.dstu3.model
Class Linkage
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.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 class
Linkage.LinkageItemComponent
static class
Linkage.LinkageType
static class
Linkage.LinkageTypeEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected BooleanType
active
Indicates whether the asserted set of linkages are considered to be "in effect".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.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
AUTHOR
Fluent Client search parameter constant for authorprotected 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.)static ca.uhn.fhir.model.api.Include
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_ITEM
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.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.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
ITEM
Fluent Client search parameter constant for itemstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
SOURCE
Fluent Client search parameter constant for sourcestatic String
SP_AUTHOR
Search parameter: authorstatic String
SP_ITEM
Search parameter: itemstatic String
SP_SOURCE
Search parameter: source-
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Linkage()
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, 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
-
active
protected BooleanType active
Indicates whether the asserted set of linkages are considered to be "in effect".
-
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_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".
-
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".
-
-
Constructor Detail
-
Linkage
public Linkage()
Constructor
-
-
Method Detail
-
getActiveElement
public BooleanType getActiveElement()
- Returns:
active
(Indicates whether the asserted set of linkages are considered to be "in effect".). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
hasActiveElement
public boolean hasActiveElement()
-
hasActive
public boolean hasActive()
-
setActiveElement
public Linkage setActiveElement(BooleanType value)
- Parameters:
value
-active
(Indicates whether the asserted set of linkages are considered to be "in effect".). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
getActive
public boolean getActive()
- Returns:
- Indicates whether the asserted set of linkages are considered to be "in effect".
-
setActive
public Linkage setActive(boolean value)
- Parameters:
value
- Indicates whether the asserted set of linkages are considered to be "in effect".
-
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:
author
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. (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
-author
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. (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.)
-
setItem
public Linkage setItem(List<Linkage.LinkageItemComponent> theItem)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasItem
public boolean hasItem()
-
addItem
public Linkage.LinkageItemComponent addItem()
-
addItem
public Linkage addItem(Linkage.LinkageItemComponent t)
-
getItemFirstRep
public Linkage.LinkageItemComponent getItemFirstRep()
- Returns:
- The first repetition of repeating field
item
, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public Linkage copy()
- Specified by:
copy
in classDomainResource
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-