Package com.ibm.fhir.model.resource
Class NamingSystem
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.NamingSystem
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class NamingSystem extends DomainResource
A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a "System" used within the Identifier and Coding data types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNamingSystem.Builderstatic classNamingSystem.UniqueIdIndicates how the system may be identified when referenced in electronic exchange.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static NamingSystem.Builderbuilder()booleanequals(Object obj)List<ContactDetail>getContact()Contact details to assist a user in finding and communicating with the publisher.DateTimegetDate()The date (and optionally time) when the naming system was published.MarkdowngetDescription()A free text natural language description of the naming system from a consumer's perspective.List<CodeableConcept>getJurisdiction()A legal or geographic region in which the naming system is intended to be used.NamingSystemTypegetKind()Indicates the purpose for the naming system - what kinds of things does it make unique?StringgetName()A natural language name identifying the naming system.StringgetPublisher()The name of the organization or individual that published the naming system.StringgetResponsible()The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.PublicationStatusgetStatus()The status of this naming system.CodeableConceptgetType()Categorizes a naming system for easier search by grouping related naming systems.List<NamingSystem.UniqueId>getUniqueId()Indicates how the system may be identified when referenced in electronic exchange.StringgetUsage()Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs.List<UsageContext>getUseContext()The content was developed with a focus and intent of supporting the contexts that are listed.booleanhasChildren()inthashCode()NamingSystem.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getName
public String getName()
A natural language name identifying the naming system. This name should be usable as an identifier for the module by machine processing applications such as code generation.- Returns:
- An immutable object of type
Stringthat is non-null.
-
getStatus
public PublicationStatus getStatus()
The status of this naming system. Enables tracking the life-cycle of the content.- Returns:
- An immutable object of type
PublicationStatusthat is non-null.
-
getKind
public NamingSystemType getKind()
Indicates the purpose for the naming system - what kinds of things does it make unique?- Returns:
- An immutable object of type
NamingSystemTypethat is non-null.
-
getDate
public DateTime getDate()
The date (and optionally time) when the naming system was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the naming system changes.- Returns:
- An immutable object of type
DateTimethat is non-null.
-
getPublisher
public String getPublisher()
The name of the organization or individual that published the naming system.- Returns:
- An immutable object of type
Stringthat may be null.
-
getContact
public List<ContactDetail> getContact()
Contact details to assist a user in finding and communicating with the publisher.- Returns:
- An unmodifiable list containing immutable objects of type
ContactDetailthat may be empty.
-
getResponsible
public String getResponsible()
The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.- Returns:
- An immutable object of type
Stringthat may be null.
-
getType
public CodeableConcept getType()
Categorizes a naming system for easier search by grouping related naming systems.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getDescription
public Markdown getDescription()
A free text natural language description of the naming system from a consumer's perspective. Details about what the namespace identifies including scope, granularity, version labeling, etc.- Returns:
- An immutable object of type
Markdownthat may be null.
-
getUseContext
public List<UsageContext> getUseContext()
The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate naming system instances.- Returns:
- An unmodifiable list containing immutable objects of type
UsageContextthat may be empty.
-
getJurisdiction
public List<CodeableConcept> getJurisdiction()
A legal or geographic region in which the naming system is intended to be used.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getUsage
public String getUsage()
Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc.- Returns:
- An immutable object of type
Stringthat may be null.
-
getUniqueId
public List<NamingSystem.UniqueId> getUniqueId()
Indicates how the system may be identified when referenced in electronic exchange.- Returns:
- An unmodifiable list containing immutable objects of type
NamingSystem.UniqueIdthat is non-empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public NamingSystem.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static NamingSystem.Builder builder()
-
-