Class DV_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.ICompositeType

public class DV_IDENTIFIER extends DATA_VALUE implements org.hl7.fhir.instance.model.api.ICompositeType
Type for representing identifiers of real-world entities. Typical identifiers include drivers licence number, social security number, veterans affairs number, prescription id, order id, and so on. DV_IDENTIFIER is used to represent any identifier of a real thing, issued by some authority or agency.
See Also:
  • Field Details

    • issuer

      protected StringType issuer
      Optional authority which issues the kind of id used in the id field of this object.
    • assigner

      protected StringType assigner
      Optional organisation that assigned the id to the item being identified.
    • id

      protected StringType id
      The identifier value. Often structured, according to the definition of the issuing authority?s rules.
    • type

      protected StringType type
      Optional identifier type, such as prescription, or Social Security Number. One day a controlled vocabulary might be possible for this.
  • Constructor Details

  • Method Details

    • getIssuerElement

      Returns:
      issuer (Optional authority which issues the kind of id used in the id field of this object.). This is the underlying object with id, value and extensions. The accessor "getIssuer" gives direct access to the value
    • hasIssuerElement

      public boolean hasIssuerElement()
    • hasIssuer

      public boolean hasIssuer()
    • setIssuerElement

      Parameters:
      value - issuer (Optional authority which issues the kind of id used in the id field of this object.). This is the underlying object with id, value and extensions. The accessor "getIssuer" gives direct access to the value
    • getIssuer

      public String getIssuer()
      Returns:
      Optional authority which issues the kind of id used in the id field of this object.
    • setIssuer

      public DV_IDENTIFIER setIssuer(String value)
      Parameters:
      value - Optional authority which issues the kind of id used in the id field of this object.
    • getAssignerElement

      Returns:
      assigner (Optional organisation that assigned the id to the item being identified.). This is the underlying object with id, value and extensions. The accessor "getAssigner" gives direct access to the value
    • hasAssignerElement

      public boolean hasAssignerElement()
    • hasAssigner

      public boolean hasAssigner()
    • setAssignerElement

      Parameters:
      value - assigner (Optional organisation that assigned the id to the item being identified.). This is the underlying object with id, value and extensions. The accessor "getAssigner" gives direct access to the value
    • getAssigner

      public String getAssigner()
      Returns:
      Optional organisation that assigned the id to the item being identified.
    • setAssigner

      Parameters:
      value - Optional organisation that assigned the id to the item being identified.
    • getIdElement

      Returns:
      id (The identifier value. Often structured, according to the definition of the issuing authority?s rules.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value
    • hasIdElement

      public boolean hasIdElement()
    • hasId

      public boolean hasId()
    • setIdElement

      Parameters:
      value - id (The identifier value. Often structured, according to the definition of the issuing authority?s rules.). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the value
    • getId

      public String getId()
      Returns:
      The identifier value. Often structured, according to the definition of the issuing authority?s rules.
    • setId

      public DV_IDENTIFIER setId(String value)
      Parameters:
      value - The identifier value. Often structured, according to the definition of the issuing authority?s rules.
    • getTypeElement

      Returns:
      type (Optional identifier type, such as prescription, or Social Security Number. One day a controlled vocabulary might be possible for this.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
    • hasTypeElement

      public boolean hasTypeElement()
    • hasType

      public boolean hasType()
    • setTypeElement

      Parameters:
      value - type (Optional identifier type, such as prescription, or Social Security Number. One day a controlled vocabulary might be possible for this.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
    • getType

      public String getType()
      Returns:
      Optional identifier type, such as prescription, or Social Security Number. One day a controlled vocabulary might be possible for this.
    • setType

      public DV_IDENTIFIER setType(String value)
      Parameters:
      value - Optional identifier type, such as prescription, or Social Security Number. One day a controlled vocabulary might be possible for this.
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Base
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Base
      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 class Base
      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 class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

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

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Base
      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 DATA_VALUE
      Returns:
      the FHIR type name of the instance (not the java class name)
    • copy

      public DV_IDENTIFIER copy()
      Specified by:
      copy in class DATA_VALUE
    • copyValues

      public void copyValues(DV_IDENTIFIER dst)
    • typedCopy

      protected DV_IDENTIFIER typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Base
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Base
    • isEmpty

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