Package org.hl7.fhir.r4.model
Class Identifier
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.Type
-
- org.hl7.fhir.r4.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
An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentifier.IdentifierUsestatic classIdentifier.IdentifierUseEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceassignerOrganization that issued/manages the identifier.protected OrganizationassignerTargetThe actual object that is the target of the reference (Organization that issued/manages the identifier.)protected PeriodperiodTime period during which identifier is/was valid for use.protected UriTypesystemEstablishes the namespace for the value - that is, a URL that describes a set values that are unique.protected CodeableConcepttypeA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.protected Enumeration<Identifier.IdentifierUse>useThe purpose of this identifier.protected StringTypevalueThe 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.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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:
assignerThe 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-assignerThe 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:
listChildrenin classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Identifier copy()
-
copyValues
public void copyValues(Identifier dst)
-
typedCopy
protected Identifier typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classElement
-
-