Package org.hl7.v3
Class SC
java.lang.Object
org.hl7.v3.BIN
org.hl7.v3.ED
org.hl7.v3.ST
org.hl7.v3.SC
An ST that optionally may have a code attached.
The text must always be present if a code is present. The
code is often a local code.
Java class for SC complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SC">
<complexContent>
<extension base="{urn:hl7-org:v3}ST">
<attribute name="code" type="{urn:hl7-org:v3}cs" />
<attribute name="codeSystem" type="{urn:hl7-org:v3}uid" />
<attribute name="codeSystemName" type="{urn:hl7-org:v3}st" />
<attribute name="codeSystemVersion" type="{urn:hl7-org:v3}st" />
<attribute name="displayName" type="{urn:hl7-org:v3}st" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.hl7.v3.ED
compression, integrityCheck, integrityCheckAlgorithm, language, mediaTypeFields inherited from class org.hl7.v3.BIN
content, representation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()Gets the value of the code property.Gets the value of the codeSystem property.Gets the value of the codeSystemName property.Gets the value of the codeSystemVersion property.Gets the value of the displayName property.inthashCode()voidSets the value of the code property.voidsetCodeSystem(String value) Sets the value of the codeSystem property.voidsetCodeSystemName(String value) Sets the value of the codeSystemName property.voidsetCodeSystemVersion(String value) Sets the value of the codeSystemVersion property.voidsetDisplayName(String value) Sets the value of the displayName property.toString()Generates a String representation of the contents of this type.withCodeSystem(String value) withCodeSystemName(String value) withCodeSystemVersion(String value) withContent(String... values) withContent(Collection<String> values) withDisplayName(String value) withIntegrityCheck(byte[] value) withLanguage(String value) withMediaType(String value) Methods inherited from class org.hl7.v3.ED
getCompression, getIntegrityCheck, getIntegrityCheckAlgorithm, getLanguage, getMediaType, setCompression, setIntegrityCheck, setIntegrityCheckAlgorithm, setLanguage, setMediaTypeMethods inherited from class org.hl7.v3.BIN
getContent, getRepresentation, setRepresentation
-
Field Details
-
code
-
codeSystem
-
codeSystemName
-
codeSystemVersion
-
displayName
-
-
Constructor Details
-
SC
public SC()
-
-
Method Details
-
getCode
Gets the value of the code property.- Returns:
- possible object is
String
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isString
-
getCodeSystem
Gets the value of the codeSystem property.- Returns:
- possible object is
String
-
setCodeSystem
Sets the value of the codeSystem property.- Parameters:
value- allowed object isString
-
getCodeSystemName
Gets the value of the codeSystemName property.- Returns:
- possible object is
String
-
setCodeSystemName
Sets the value of the codeSystemName property.- Parameters:
value- allowed object isString
-
getCodeSystemVersion
Gets the value of the codeSystemVersion property.- Returns:
- possible object is
String
-
setCodeSystemVersion
Sets the value of the codeSystemVersion property.- Parameters:
value- allowed object isString
-
getDisplayName
Gets the value of the displayName property.- Returns:
- possible object is
String
-
setDisplayName
Sets the value of the displayName property.- Parameters:
value- allowed object isString
-
withCode
-
withCodeSystem
-
withCodeSystemName
-
withCodeSystemVersion
-
withDisplayName
-
withMediaType
- Overrides:
withMediaTypein classST
-
withLanguage
- Overrides:
withLanguagein classST
-
withCompression
- Overrides:
withCompressionin classST
-
withIntegrityCheck
- Overrides:
withIntegrityCheckin classST
-
withIntegrityCheckAlgorithm
- Overrides:
withIntegrityCheckAlgorithmin classST
-
withContent
- Overrides:
withContentin classST
-
withContent
- Overrides:
withContentin classST
-
withRepresentation
- Overrides:
withRepresentationin classST
-
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
-