org.projecthusky.common.hl7cdar2.CD Maven / Gradle / Ivy
/*
* This code is made available under the terms of the Eclipse Public License v1.0
* in the github project https://github.com/project-husky/husky there you also
* find a list of the contributors and the license information.
*
* This project has been developed further and modified by the joined working group Husky
* on the basis of the eHealth Connector opensource project from June 28, 2021,
* whereas medshare GmbH is the initial and main contributor/author of the eHealth Connector.
*
*/
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe http://java.sun.com/xml/jaxb
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2020.07.09 um 01:07:39 PM CEST
//
package org.projecthusky.common.hl7cdar2;
import org.checkerframework.checker.nullness.qual.NonNull;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* 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>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CD", propOrder = {"originalText", "qualifier", "translation"})
@XmlSeeAlso({BXITCD.class, SXCMCD.class, CE.class})
public class CD extends ANY {
protected ED originalText;
protected List qualifier;
protected List translation;
@XmlAttribute(name = "code")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String code;
@XmlAttribute(name = "codeSystem")
protected String codeSystem;
@XmlAttribute(name = "codeSystemName")
protected String codeSystemName;
@XmlAttribute(name = "codeSystemVersion")
protected String codeSystemVersion;
@XmlAttribute(name = "displayName")
protected String displayName;
public CD() {
}
public CD(final String code,
final String codeSystem,
final String codeSystemName,
final String displayName) {
this.code = code;
this.codeSystem = codeSystem;
this.codeSystemName = codeSystemName;
this.displayName = displayName;
}
/**
* Ruft den Wert der code-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getCode() {
return code;
}
/**
* Ruft den Wert der codeSystem-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getCodeSystem() {
return codeSystem;
}
/**
* Ruft den Wert der codeSystemName-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getCodeSystemName() {
return codeSystemName;
}
/**
* Ruft den Wert der codeSystemVersion-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getCodeSystemVersion() {
return codeSystemVersion;
}
/**
* Ruft den Wert der displayName-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getDisplayName() {
return displayName;
}
/**
* Ruft den Wert der originalText-Eigenschaft ab.
*
* @return possible object is {@link ED }
*/
public ED getOriginalText() {
return originalText;
}
/**
* 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 {@link CR }
*/
@NonNull
public List getQualifier() {
if (qualifier == null) {
qualifier = new ArrayList<>();
}
return this.qualifier;
}
/**
* 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 }
*/
@NonNull
public List getTranslation() {
if (translation == null) {
translation = new ArrayList<>();
}
return this.translation;
}
/**
* Legt den Wert der code-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setCode(String value) {
this.code = value;
}
/**
* Legt den Wert der codeSystem-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setCodeSystem(String value) {
this.codeSystem = value;
}
/**
* Legt den Wert der codeSystemName-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setCodeSystemName(String value) {
this.codeSystemName = value;
}
/**
* Legt den Wert der codeSystemVersion-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setCodeSystemVersion(String value) {
this.codeSystemVersion = value;
}
/**
* Legt den Wert der displayName-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setDisplayName(String value) {
this.displayName = value;
}
/**
* Legt den Wert der originalText-Eigenschaft fest.
*
* @param value allowed object is {@link ED }
*/
public void setOriginalText(ED value) {
this.originalText = value;
}
}