java.lang.Object
org.projecthusky.common.hl7cdar2.ANY
org.projecthusky.common.hl7cdar2.CD
Direct Known Subclasses:
BXITCD, CE, SXCMCD

public class CD extends ANY
A concept descriptor represents any kind of concept usually by giving a code defined in a code system. A concept descriptor can contain the original text or phrase that served as the basis of the coding and one or more translations into different coding systems. A concept descriptor can also contain qualifiers to describe, e.g., the concept of a "left foot" as a postcoordinated term built from the primary code "FOOT" and the qualifier "LEFT". In exceptional cases, the concept descriptor need not contain a code but only the original text describing that concept.

Java-Klasse für CD complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.

 <complexType name="CD">
   <complexContent>
     <extension base="{urn:hl7-org:v3}ANY">
       <sequence>
         <element name="originalText" type="{urn:hl7-org:v3}ED" minOccurs="0"/>
         <element name="qualifier" type="{urn:hl7-org:v3}CR" maxOccurs="unbounded" minOccurs="0"/>
         <element name="translation" type="{urn:hl7-org:v3}CD" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <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

    • originalText

      protected ED originalText
    • qualifier

      protected List<CR> qualifier
    • translation

      protected List<CD> translation
    • code

      protected String code
    • codeSystem

      protected String codeSystem
    • codeSystemName

      protected String codeSystemName
    • codeSystemVersion

      protected String codeSystemVersion
    • displayName

      protected String displayName
  • Constructor Details

  • Method Details

    • getCode

      public String getCode()
      Ruft den Wert der code-Eigenschaft ab.
      Returns:
      possible object is String
    • getCodeSystem

      public String getCodeSystem()
      Ruft den Wert der codeSystem-Eigenschaft ab.
      Returns:
      possible object is String
    • getCodeSystemName

      public String getCodeSystemName()
      Ruft den Wert der codeSystemName-Eigenschaft ab.
      Returns:
      possible object is String
    • getCodeSystemVersion

      public String getCodeSystemVersion()
      Ruft den Wert der codeSystemVersion-Eigenschaft ab.
      Returns:
      possible object is String
    • getDisplayName

      public String getDisplayName()
      Ruft den Wert der displayName-Eigenschaft ab.
      Returns:
      possible object is String
    • getOriginalText

      public ED getOriginalText()
      Ruft den Wert der originalText-Eigenschaft ab.
      Returns:
      possible object is ED
    • getQualifier

      public @NonNull List<CR> getQualifier()
      Gets the value of the qualifier 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 set method for the qualifier property.

      For example, to add a new item, do as follows:

          getQualifier().add(newItem);
       

      Objects of the following type(s) are allowed in the list CR

    • getTranslation

      public @NonNull List<CD> getTranslation()
      Gets the value of the translation 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 set method for the translation property.

      For example, to add a new item, do as follows:

          getTranslation().add(newItem);
       

      Objects of the following type(s) are allowed in the list CD

    • setCode

      public void setCode(String value)
      Legt den Wert der code-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • setCodeSystem

      public void setCodeSystem(String value)
      Legt den Wert der codeSystem-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • setCodeSystemName

      public void setCodeSystemName(String value)
      Legt den Wert der codeSystemName-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • setCodeSystemVersion

      public void setCodeSystemVersion(String value)
      Legt den Wert der codeSystemVersion-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • setDisplayName

      public void setDisplayName(String value)
      Legt den Wert der displayName-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • setOriginalText

      public void setOriginalText(ED value)
      Legt den Wert der originalText-Eigenschaft fest.
      Parameters:
      value - allowed object is ED