Class NamingSystem
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.NamingSystem
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class NamingSystem extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for NamingSystem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NamingSystem"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="name" type="{http://hl7.org/fhir}string"/> <element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/> <element name="kind" type="{http://hl7.org/fhir}NamingSystemType"/> <element name="date" type="{http://hl7.org/fhir}dateTime"/> <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="contact" type="{http://hl7.org/fhir}NamingSystem.Contact" maxOccurs="unbounded" minOccurs="0"/> <element name="responsible" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="usage" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="uniqueId" type="{http://hl7.org/fhir}NamingSystem.UniqueId" maxOccurs="unbounded"/> <element name="replacedBy" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<NamingSystemContact>contactprotected DateTimedateprotected Stringdescriptionprotected NamingSystemTypekindprotected Stringnameprotected Stringpublisherprotected ReferencereplacedByprotected Stringresponsibleprotected ConformanceResourceStatusstatusprotected CodeableConcepttypeprotected java.util.List<NamingSystemUniqueId>uniqueIdprotected Stringusageprotected java.util.List<CodeableConcept>useContext-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description NamingSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<NamingSystemContact>getContact()Gets the value of the contact property.DateTimegetDate()Gets the value of the date property.StringgetDescription()Gets the value of the description property.NamingSystemTypegetKind()Gets the value of the kind property.StringgetName()Gets the value of the name property.StringgetPublisher()Gets the value of the publisher property.ReferencegetReplacedBy()Gets the value of the replacedBy property.StringgetResponsible()Gets the value of the responsible property.ConformanceResourceStatusgetStatus()Gets the value of the status property.CodeableConceptgetType()Gets the value of the type property.java.util.List<NamingSystemUniqueId>getUniqueId()Gets the value of the uniqueId property.StringgetUsage()Gets the value of the usage property.java.util.List<CodeableConcept>getUseContext()Gets the value of the useContext property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDate(DateTime value)Sets the value of the date property.voidsetDescription(String value)Sets the value of the description property.voidsetKind(NamingSystemType value)Sets the value of the kind property.voidsetName(String value)Sets the value of the name property.voidsetPublisher(String value)Sets the value of the publisher property.voidsetReplacedBy(Reference value)Sets the value of the replacedBy property.voidsetResponsible(String value)Sets the value of the responsible property.voidsetStatus(ConformanceResourceStatus value)Sets the value of the status property.voidsetType(CodeableConcept value)Sets the value of the type property.voidsetUsage(String value)Sets the value of the usage property.java.lang.StringtoString()NamingSystemwithContact(java.util.Collection<NamingSystemContact> values)NamingSystemwithContact(NamingSystemContact... values)NamingSystemwithContained(java.util.Collection<ResourceContainer> values)NamingSystemwithContained(ResourceContainer... values)NamingSystemwithDate(DateTime value)NamingSystemwithDescription(String value)NamingSystemwithExtension(java.util.Collection<Extension> values)NamingSystemwithExtension(Extension... values)NamingSystemwithId(Id value)NamingSystemwithImplicitRules(Uri value)NamingSystemwithKind(NamingSystemType value)NamingSystemwithLanguage(Code value)NamingSystemwithMeta(Meta value)NamingSystemwithModifierExtension(java.util.Collection<Extension> values)NamingSystemwithModifierExtension(Extension... values)NamingSystemwithName(String value)NamingSystemwithPublisher(String value)NamingSystemwithReplacedBy(Reference value)NamingSystemwithResponsible(String value)NamingSystemwithStatus(ConformanceResourceStatus value)NamingSystemwithText(Narrative value)NamingSystemwithType(CodeableConcept value)NamingSystemwithUniqueId(java.util.Collection<NamingSystemUniqueId> values)NamingSystemwithUniqueId(NamingSystemUniqueId... values)NamingSystemwithUsage(String value)NamingSystemwithUseContext(java.util.Collection<CodeableConcept> values)NamingSystemwithUseContext(CodeableConcept... values)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
name
protected String name
-
status
protected ConformanceResourceStatus status
-
kind
protected NamingSystemType kind
-
date
protected DateTime date
-
publisher
protected String publisher
-
contact
protected java.util.List<NamingSystemContact> contact
-
responsible
protected String responsible
-
type
protected CodeableConcept type
-
description
protected String description
-
useContext
protected java.util.List<CodeableConcept> useContext
-
usage
protected String usage
-
uniqueId
protected java.util.List<NamingSystemUniqueId> uniqueId
-
replacedBy
protected Reference replacedBy
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getStatus
public ConformanceResourceStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
ConformanceResourceStatus
-
setStatus
public void setStatus(ConformanceResourceStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isConformanceResourceStatus
-
getKind
public NamingSystemType getKind()
Gets the value of the kind property.- Returns:
- possible object is
NamingSystemType
-
setKind
public void setKind(NamingSystemType value)
Sets the value of the kind property.- Parameters:
value- allowed object isNamingSystemType
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getPublisher
public String getPublisher()
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
public void setPublisher(String value)
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
getContact
public java.util.List<NamingSystemContact> getContact()
Gets the value of the contact property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the contact property.For example, to add a new item, do as follows:
getContact().add(newItem);Objects of the following type(s) are allowed in the list
NamingSystemContact
-
getResponsible
public String getResponsible()
Gets the value of the responsible property.- Returns:
- possible object is
String
-
setResponsible
public void setResponsible(String value)
Sets the value of the responsible property.- Parameters:
value- allowed object isString
-
getType
public CodeableConcept getType()
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
public void setType(CodeableConcept value)
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getUseContext
public java.util.List<CodeableConcept> getUseContext()
Gets the value of the useContext property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the useContext property.For example, to add a new item, do as follows:
getUseContext().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getUsage
public String getUsage()
Gets the value of the usage property.- Returns:
- possible object is
String
-
setUsage
public void setUsage(String value)
Sets the value of the usage property.- Parameters:
value- allowed object isString
-
getUniqueId
public java.util.List<NamingSystemUniqueId> getUniqueId()
Gets the value of the uniqueId property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the uniqueId property.For example, to add a new item, do as follows:
getUniqueId().add(newItem);Objects of the following type(s) are allowed in the list
NamingSystemUniqueId
-
getReplacedBy
public Reference getReplacedBy()
Gets the value of the replacedBy property.- Returns:
- possible object is
Reference
-
setReplacedBy
public void setReplacedBy(Reference value)
Sets the value of the replacedBy property.- Parameters:
value- allowed object isReference
-
withName
public NamingSystem withName(String value)
-
withStatus
public NamingSystem withStatus(ConformanceResourceStatus value)
-
withKind
public NamingSystem withKind(NamingSystemType value)
-
withDate
public NamingSystem withDate(DateTime value)
-
withPublisher
public NamingSystem withPublisher(String value)
-
withContact
public NamingSystem withContact(NamingSystemContact... values)
-
withContact
public NamingSystem withContact(java.util.Collection<NamingSystemContact> values)
-
withResponsible
public NamingSystem withResponsible(String value)
-
withType
public NamingSystem withType(CodeableConcept value)
-
withDescription
public NamingSystem withDescription(String value)
-
withUseContext
public NamingSystem withUseContext(CodeableConcept... values)
-
withUseContext
public NamingSystem withUseContext(java.util.Collection<CodeableConcept> values)
-
withUsage
public NamingSystem withUsage(String value)
-
withUniqueId
public NamingSystem withUniqueId(NamingSystemUniqueId... values)
-
withUniqueId
public NamingSystem withUniqueId(java.util.Collection<NamingSystemUniqueId> values)
-
withReplacedBy
public NamingSystem withReplacedBy(Reference value)
-
withText
public NamingSystem withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public NamingSystem withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public NamingSystem withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public NamingSystem withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public NamingSystem withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public NamingSystem withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public NamingSystem withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public NamingSystem withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public NamingSystem withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public NamingSystem withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public NamingSystem withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-