Package org.hl7.v3

Class SC


public class SC extends ST
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 Details

    • code

      protected String code
    • codeSystem

      protected String codeSystem
    • codeSystemName

      protected String codeSystemName
    • codeSystemVersion

      protected String codeSystemVersion
    • displayName

      protected String displayName
  • Constructor Details

    • SC

      public SC()
  • Method Details

    • getCode

      public String getCode()
      Gets the value of the code property.
      Returns:
      possible object is String
    • setCode

      public void setCode(String value)
      Sets the value of the code property.
      Parameters:
      value - allowed object is String
    • getCodeSystem

      public String getCodeSystem()
      Gets the value of the codeSystem property.
      Returns:
      possible object is String
    • setCodeSystem

      public void setCodeSystem(String value)
      Sets the value of the codeSystem property.
      Parameters:
      value - allowed object is String
    • getCodeSystemName

      public String getCodeSystemName()
      Gets the value of the codeSystemName property.
      Returns:
      possible object is String
    • setCodeSystemName

      public void setCodeSystemName(String value)
      Sets the value of the codeSystemName property.
      Parameters:
      value - allowed object is String
    • getCodeSystemVersion

      public String getCodeSystemVersion()
      Gets the value of the codeSystemVersion property.
      Returns:
      possible object is String
    • setCodeSystemVersion

      public void setCodeSystemVersion(String value)
      Sets the value of the codeSystemVersion property.
      Parameters:
      value - allowed object is String
    • getDisplayName

      public String getDisplayName()
      Gets the value of the displayName property.
      Returns:
      possible object is String
    • setDisplayName

      public void setDisplayName(String value)
      Sets the value of the displayName property.
      Parameters:
      value - allowed object is String
    • withCode

      public SC withCode(String value)
    • withCodeSystem

      public SC withCodeSystem(String value)
    • withCodeSystemName

      public SC withCodeSystemName(String value)
    • withCodeSystemVersion

      public SC withCodeSystemVersion(String value)
    • withDisplayName

      public SC withDisplayName(String value)
    • withMediaType

      public SC withMediaType(String value)
      Overrides:
      withMediaType in class ST
    • withLanguage

      public SC withLanguage(String value)
      Overrides:
      withLanguage in class ST
    • withCompression

      public SC withCompression(CompressionAlgorithm value)
      Overrides:
      withCompression in class ST
    • withIntegrityCheck

      public SC withIntegrityCheck(byte[] value)
      Overrides:
      withIntegrityCheck in class ST
    • withIntegrityCheckAlgorithm

      public SC withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value)
      Overrides:
      withIntegrityCheckAlgorithm in class ST
    • withContent

      public SC withContent(String... values)
      Overrides:
      withContent in class ST
    • withContent

      public SC withContent(Collection<String> values)
      Overrides:
      withContent in class ST
    • withRepresentation

      public SC withRepresentation(BinaryDataEncoding value)
      Overrides:
      withRepresentation in class ST
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class ST
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ST
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class ST