
Package org.hl7.fhir.dstu3.model
Class Identifier
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.Element
-
- org.hl7.fhir.dstu3.model.Type
-
- org.hl7.fhir.dstu3.model.Identifier
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.ICompositeType
public class Identifier extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
A technical identifier - identifies some entity uniquely and unambiguously.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Identifier.IdentifierUse
static class
Identifier.IdentifierUseEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected Reference
assigner
Organization that issued/manages the identifier.protected Organization
assignerTarget
The actual object that is the target of the reference (Organization that issued/manages the identifier.)protected Period
period
Time period during which identifier is/was valid for use.protected UriType
system
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.protected CodeableConcept
type
A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.protected Enumeration<Identifier.IdentifierUse>
use
The purpose of this identifier.protected StringType
value
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
-
Constructor Summary
Constructors Constructor Description Identifier()
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
-
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, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
use
protected Enumeration<Identifier.IdentifierUse> use
The purpose of this identifier.
-
type
protected CodeableConcept type
A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
-
system
protected UriType system
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
-
value
protected StringType value
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
-
assignerTarget
protected Organization assignerTarget
The actual object that is the target of the reference (Organization that issued/manages the identifier.)
-
-
Constructor Detail
-
Identifier
public Identifier()
Constructor
-
-
Method Detail
-
getUseElement
public Enumeration<Identifier.IdentifierUse> getUseElement()
- Returns:
use
(The purpose of this identifier.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
hasUseElement
public boolean hasUseElement()
-
hasUse
public boolean hasUse()
-
setUseElement
public Identifier setUseElement(Enumeration<Identifier.IdentifierUse> value)
- Parameters:
value
-use
(The purpose of this identifier.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
getUse
public Identifier.IdentifierUse getUse()
- Returns:
- The purpose of this identifier.
-
setUse
public Identifier setUse(Identifier.IdentifierUse value)
- Parameters:
value
- The purpose of this identifier.
-
getType
public CodeableConcept getType()
- Returns:
type
(A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.)
-
hasType
public boolean hasType()
-
setType
public Identifier setType(CodeableConcept value)
- Parameters:
value
-type
(A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.)
-
getSystemElement
public UriType getSystemElement()
- Returns:
system
(Establishes the namespace for the value - that is, a URL that describes a set values that are unique.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
hasSystemElement
public boolean hasSystemElement()
-
hasSystem
public boolean hasSystem()
-
setSystemElement
public Identifier setSystemElement(UriType value)
- Parameters:
value
-system
(Establishes the namespace for the value - that is, a URL that describes a set values that are unique.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
getSystem
public String getSystem()
- Returns:
- Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
-
setSystem
public Identifier setSystem(String value)
- Parameters:
value
- Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
-
getValueElement
public StringType getValueElement()
- Returns:
value
(The portion of the identifier typically relevant to the user and which is unique within the context of the system.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
hasValueElement
public boolean hasValueElement()
-
hasValue
public boolean hasValue()
-
setValueElement
public Identifier setValueElement(StringType value)
- Parameters:
value
-value
(The portion of the identifier typically relevant to the user and which is unique within the context of the system.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
getValue
public String getValue()
- Returns:
- The portion of the identifier typically relevant to the user and which is unique within the context of the system.
-
setValue
public Identifier setValue(String value)
- Parameters:
value
- The portion of the identifier typically relevant to the user and which is unique within the context of the system.
-
getPeriod
public Period getPeriod()
- Returns:
period
(Time period during which identifier is/was valid for use.)
-
hasPeriod
public boolean hasPeriod()
-
setPeriod
public Identifier setPeriod(Period value)
- Parameters:
value
-period
(Time period during which identifier is/was valid for use.)
-
getAssigner
public Reference getAssigner()
- Returns:
assigner
(Organization that issued/manages the identifier.)
-
hasAssigner
public boolean hasAssigner()
-
setAssigner
public Identifier setAssigner(Reference value)
- Parameters:
value
-assigner
(Organization that issued/manages the identifier.)
-
getAssignerTarget
public Organization getAssignerTarget()
- Returns:
assigner
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. (Organization that issued/manages the identifier.)
-
setAssignerTarget
public Identifier setAssignerTarget(Organization value)
- Parameters:
value
-assigner
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. (Organization that issued/manages the identifier.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classElement
- 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 classElement
- 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 classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Identifier copy()
-
typedCopy
protected Identifier typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classElement
-
-