Package com.ibm.fhir.model.type.code
Class IdentifierUse
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.IdentifierUse
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class IdentifierUse extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentifierUse.Builderstatic classIdentifierUse.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static IdentifierUseOFFICIALOfficialstatic IdentifierUseOLDOldstatic IdentifierUseSECONDARYSecondarystatic IdentifierUseTEMPTempstatic IdentifierUseUSUALUsual
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentifierUse.Builderbuilder()static Codecode(String value)Inherited factory method for creating IdentifierUse objects from a passed string value.booleanequals(Object obj)IdentifierUse.ValueSetgetValueAsEnumConstant()inthashCode()static IdentifierUseof(IdentifierUse.ValueSet value)Factory method for creating IdentifierUse objects from a passed enum value.static IdentifierUseof(String value)Factory method for creating IdentifierUse objects from a passed string value.static Stringstring(String value)Inherited factory method for creating IdentifierUse objects from a passed string value.IdentifierUse.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
USUAL
public static final IdentifierUse USUAL
UsualThe identifier recommended for display and use in real-world interactions.
-
OFFICIAL
public static final IdentifierUse OFFICIAL
OfficialThe identifier considered to be most trusted for the identification of this item. Sometimes also known as "primary" and "main". The determination of "official" is subjective and implementation guides often provide additional guidelines for use.
-
TEMP
public static final IdentifierUse TEMP
TempA temporary identifier.
-
SECONDARY
public static final IdentifierUse SECONDARY
SecondaryAn identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context.
-
OLD
public static final IdentifierUse OLD
OldThe identifier id no longer considered valid, but may be relevant for search purposes. E.g. Changes to identifier schemes, account merges, etc.
-
-
Method Detail
-
getValueAsEnumConstant
public IdentifierUse.ValueSet getValueAsEnumConstant()
-
of
public static IdentifierUse of(IdentifierUse.ValueSet value)
Factory method for creating IdentifierUse objects from a passed enum value.
-
of
public static IdentifierUse of(String value)
Factory method for creating IdentifierUse objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating IdentifierUse objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating IdentifierUse objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public IdentifierUse.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static IdentifierUse.Builder builder()
-
-