Package org.hl7.v3
Class CR
java.lang.Object
org.hl7.v3.ANY
org.hl7.v3.CR
A concept qualifier code with optionally named role.
Both qualifier role and value codes must be defined by
the coding system. For example, if SNOMED RT defines a
concept "leg", a role relation "has-laterality", and
another concept "left", the concept role relation allows
to add the qualifier "has-laterality: left" to a primary
code "leg" to construct the meaning "left leg".
Java class for CR complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CR">
<complexContent>
<extension base="{urn:hl7-org:v3}ANY">
<sequence>
<element name="name" type="{urn:hl7-org:v3}CV" minOccurs="0"/>
<element name="value" type="{urn:hl7-org:v3}CD" minOccurs="0"/>
</sequence>
<attribute name="inverted" type="{urn:hl7-org:v3}bn" default="false" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class org.hl7.v3.ANY
nullFlavor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Gets the value of the name property.getValue()Gets the value of the value property.inthashCode()booleanGets the value of the inverted property.voidsetInverted(Boolean value) Sets the value of the inverted property.voidSets the value of the name property.voidSets the value of the value property.toString()Generates a String representation of the contents of this type.withInverted(Boolean value) withNullFlavor(String... values) withNullFlavor(Collection<String> values) Methods inherited from class org.hl7.v3.ANY
getNullFlavor
-
Field Details
-
name
-
value
-
inverted
-
-
Constructor Details
-
CR
public CR()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
CV
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isCV
-
getValue
Gets the value of the value property.- Returns:
- possible object is
CD
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isCD
-
isInverted
public boolean isInverted()Gets the value of the inverted property.- Returns:
- possible object is
Boolean
-
setInverted
Sets the value of the inverted property.- Parameters:
value- allowed object isBoolean
-
withName
-
withValue
-
withInverted
-
withNullFlavor
- Overrides:
withNullFlavorin classANY
-
withNullFlavor
- Overrides:
withNullFlavorin classANY
-
equals
-
hashCode
public int hashCode() -
toString
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-