riv.ehr.patientsummary._1.CD Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for CD complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CD">
* <complexContent>
* <extension base="{urn:riv:ehr:patientsummary:1}ANY">
* <sequence>
* <element name="displayName" type="{urn:riv:ehr:patientsummary:1}ST" minOccurs="0"/>
* <element name="originalText" type="{urn:riv:ehr:patientsummary:1}ED.TEXT" minOccurs="0"/>
* <element name="translation" type="{urn:riv:ehr:patientsummary:1}CD" maxOccurs="unbounded" minOccurs="0"/>
* <element name="source" type="{urn:riv:ehr:patientsummary:1}XReference" minOccurs="0"/>
* </sequence>
* <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="codeSystem" type="{urn:riv:ehr:patientsummary:1}Uid" />
* <attribute name="codeSystemName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="codeSystemVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="valueSet" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="valueSetVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="codingRationale" type="{urn:riv:ehr:patientsummary:1}set_CodingRationale" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CD", propOrder = {
"displayName",
"originalText",
"translation",
"source"
})
@XmlSeeAlso({
CDCV.class
})
public class CD
extends ANY
{
protected ST displayName;
protected EDTEXT originalText;
protected List translation;
protected XReference source;
@XmlAttribute(name = "code")
protected String code;
@XmlAttribute(name = "codeSystem")
protected String codeSystem;
@XmlAttribute(name = "codeSystemName")
protected String codeSystemName;
@XmlAttribute(name = "codeSystemVersion")
protected String codeSystemVersion;
@XmlAttribute(name = "valueSet")
protected String valueSet;
@XmlAttribute(name = "valueSetVersion")
protected String valueSetVersion;
@XmlAttribute(name = "codingRationale")
protected List codingRationale;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the displayName property.
*
* @return
* possible object is
* {@link ST }
*
*/
public ST getDisplayName() {
return displayName;
}
/**
* Sets the value of the displayName property.
*
* @param value
* allowed object is
* {@link ST }
*
*/
public void setDisplayName(ST value) {
this.displayName = value;
}
/**
* Gets the value of the originalText property.
*
* @return
* possible object is
* {@link EDTEXT }
*
*/
public EDTEXT getOriginalText() {
return originalText;
}
/**
* Sets the value of the originalText property.
*
* @param value
* allowed object is
* {@link EDTEXT }
*
*/
public void setOriginalText(EDTEXT value) {
this.originalText = value;
}
/**
* 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
* {@link CD }
*
*
*/
public List getTranslation() {
if (translation == null) {
translation = new ArrayList();
}
return this.translation;
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link XReference }
*
*/
public XReference getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link XReference }
*
*/
public void setSource(XReference value) {
this.source = value;
}
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCode(String value) {
this.code = value;
}
/**
* Gets the value of the codeSystem property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodeSystem() {
return codeSystem;
}
/**
* Sets the value of the codeSystem property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodeSystem(String value) {
this.codeSystem = value;
}
/**
* Gets the value of the codeSystemName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodeSystemName() {
return codeSystemName;
}
/**
* Sets the value of the codeSystemName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodeSystemName(String value) {
this.codeSystemName = value;
}
/**
* Gets the value of the codeSystemVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodeSystemVersion() {
return codeSystemVersion;
}
/**
* Sets the value of the codeSystemVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodeSystemVersion(String value) {
this.codeSystemVersion = value;
}
/**
* Gets the value of the valueSet property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValueSet() {
return valueSet;
}
/**
* Sets the value of the valueSet property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValueSet(String value) {
this.valueSet = value;
}
/**
* Gets the value of the valueSetVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValueSetVersion() {
return valueSetVersion;
}
/**
* Sets the value of the valueSetVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValueSetVersion(String value) {
this.valueSetVersion = value;
}
/**
* Gets the value of the codingRationale 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 codingRationale property.
*
*
* For example, to add a new item, do as follows:
*
* getCodingRationale().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodingRationale }
*
*
*/
public List getCodingRationale() {
if (codingRationale == null) {
codingRationale = new ArrayList();
}
return this.codingRationale;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}