Class 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
    • Field Detail

      • 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.
      • period

        protected Period period
        Time period during which identifier is/was valid for use.
      • assigner

        protected Reference assigner
        Organization that issued/manages the identifier.
      • assignerTarget

        protected Organization assignerTarget
        The actual object that is the target of the reference (Organization that issued/manages the identifier.)
    • Constructor Detail

    • Method Detail

      • hasUse

        public boolean hasUse()
      • 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
      • 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
      • 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.)
      • 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.)
      • getProperty

        public Base[] getProperty​(int hash,
                                  String name,
                                  boolean checkValid)
                           throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        getProperty in class Element
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addChild

        public Base addChild​(String name)
                      throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        addChild in class Element
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • fhirType

        public String fhirType()
        Specified by:
        fhirType in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        fhirType in class Element
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class Element