org.projecthusky.common.hl7cdar2.POCDMT000040ClinicalDocument 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;
/**
*
* Java-Klasse für POCD_MT000040.ClinicalDocument complex type.
*
*
* Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="POCD_MT000040.ClinicalDocument">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="realmCode" type="{urn:hl7-org:v3}CS" maxOccurs="unbounded" minOccurs="0"/>
* <element name="typeId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.typeId"/>
* <element name="templateId" type="{urn:hl7-org:v3}II" maxOccurs="unbounded" minOccurs="0"/>
* <element name="id" type="{urn:hl7-org:v3}II"/>
* <element name="code" type="{urn:hl7-org:v3}CE"/>
* <element name="title" type="{urn:hl7-org:v3}ST" minOccurs="0"/>
* <element name="effectiveTime" type="{urn:hl7-org:v3}TS"/>
* <element name="confidentialityCode" type="{urn:hl7-org:v3}CE"/>
* <element name="languageCode" type="{urn:hl7-org:v3}CS" minOccurs="0"/>
* <element name="setId" type="{urn:hl7-org:v3}II" minOccurs="0"/>
* <element name="versionNumber" type="{urn:hl7-org:v3}INT" minOccurs="0"/>
* <element name="copyTime" type="{urn:hl7-org:v3}TS" minOccurs="0"/>
* <element name="recordTarget" type="{urn:hl7-org:v3}POCD_MT000040.RecordTarget" maxOccurs="unbounded"/>
* <element name="author" type="{urn:hl7-org:v3}POCD_MT000040.Author" maxOccurs="unbounded"/>
* <element name="dataEnterer" type="{urn:hl7-org:v3}POCD_MT000040.DataEnterer" minOccurs="0"/>
* <element name="informant" type="{urn:hl7-org:v3}POCD_MT000040.Informant12" maxOccurs="unbounded" minOccurs="0"/>
* <element name="custodian" type="{urn:hl7-org:v3}POCD_MT000040.Custodian"/>
* <element name="informationRecipient" type="{urn:hl7-org:v3}POCD_MT000040.InformationRecipient" maxOccurs="unbounded" minOccurs="0"/>
* <element name="legalAuthenticator" type="{urn:hl7-org:v3}POCD_MT000040.LegalAuthenticator" minOccurs="0"/>
* <element name="authenticator" type="{urn:hl7-org:v3}POCD_MT000040.Authenticator" maxOccurs="unbounded" minOccurs="0"/>
* <element name="participant" type="{urn:hl7-org:v3}POCD_MT000040.Participant1" maxOccurs="unbounded" minOccurs="0"/>
* <element name="inFulfillmentOf" type="{urn:hl7-org:v3}POCD_MT000040.InFulfillmentOf" maxOccurs="unbounded" minOccurs="0"/>
* <element name="documentationOf" type="{urn:hl7-org:v3}POCD_MT000040.DocumentationOf" maxOccurs="unbounded" minOccurs="0"/>
* <element name="relatedDocument" type="{urn:hl7-org:v3}POCD_MT000040.RelatedDocument" maxOccurs="unbounded" minOccurs="0"/>
* <element name="authorization" type="{urn:hl7-org:v3}POCD_MT000040.Authorization" maxOccurs="unbounded" minOccurs="0"/>
* <element name="componentOf" type="{urn:hl7-org:v3}POCD_MT000040.Component1" minOccurs="0"/>
* <element name="component" type="{urn:hl7-org:v3}POCD_MT000040.Component2"/>
* </sequence>
* <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
* <attribute name="classCode" type="{urn:hl7-org:v3}ActClinicalDocument" fixed="DOCCLIN" />
* <attribute name="moodCode" type="{urn:hl7-org:v3}ActMood" fixed="EVN" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "POCD_MT000040.ClinicalDocument", propOrder = {"realmCode", "typeId", "templateId",
"id", "code", "title", "effectiveTime", "confidentialityCode", "languageCode", "setId",
"versionNumber", "copyTime", "recordTarget", "author", "dataEnterer", "informant",
"custodian", "informationRecipient", "legalAuthenticator", "authenticator", "participant",
"inFulfillmentOf", "documentationOf", "relatedDocument", "authorization", "componentOf",
"component"})
// Fix Tony Schaller, medshare GmbH: adding root element for serialization
@XmlRootElement(name = "ClinicalDocument", namespace = "urn:hl7-org:v3")
public class POCDMT000040ClinicalDocument {
protected List authenticator;
@XmlElement(required = true)
protected List author;
protected List authorization;
@XmlAttribute(name = "classCode")
protected ActClinicalDocument classCode;
@XmlElement(required = true)
protected CE code;
@XmlElement(required = true)
protected POCDMT000040Component2 component;
protected POCDMT000040Component1 componentOf;
@XmlElement(required = true)
protected CE confidentialityCode;
protected TS copyTime;
@XmlElement(required = true)
protected POCDMT000040Custodian custodian;
protected POCDMT000040DataEnterer dataEnterer;
protected List documentationOf;
@XmlElement(required = true)
protected TS effectiveTime;
@XmlElement(required = true)
protected II id;
@XmlAttribute(name = "ID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String idAttr;
protected List informant;
protected List informationRecipient;
protected List inFulfillmentOf;
protected CS languageCode;
protected POCDMT000040LegalAuthenticator legalAuthenticator;
@XmlAttribute(name = "moodCode")
protected List moodCode;
@XmlAttribute(name = "nullFlavor")
protected List nullFlavor;
protected List participant;
protected List realmCode;
@XmlElement(required = true)
protected List recordTarget;
protected List relatedDocument;
protected II setId;
protected List templateId;
protected ST title;
@XmlElement(required = true)
protected POCDMT000040InfrastructureRootTypeId typeId;
protected INT versionNumber;
/**
* Gets the value of the authenticator 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 authenticator property.
*
*
* For example, to add a new item, do as follows:
* getAuthenticator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040Authenticator }
*/
@NonNull
public List getAuthenticator() {
if (authenticator == null) {
authenticator = new ArrayList<>();
}
return this.authenticator;
}
/**
* Gets the value of the author 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 author property.
*
*
* For example, to add a new item, do as follows:
* getAuthor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040Author }
*/
@NonNull
public List getAuthor() {
if (author == null) {
author = new ArrayList<>();
}
return this.author;
}
/**
* Gets the value of the authorization 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 authorization property.
*
*
* For example, to add a new item, do as follows:
* getAuthorization().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040Authorization }
*/
@NonNull
public List getAuthorization() {
if (authorization == null) {
authorization = new ArrayList<>();
}
return this.authorization;
}
/**
* Ruft den Wert der classCode-Eigenschaft ab.
*
* @return possible object is {@link ActClinicalDocument }
*/
@NonNull
public ActClinicalDocument getClassCode() {
if (classCode == null) {
return ActClinicalDocument.DOCCLIN;
} else {
return classCode;
}
}
/**
* Ruft den Wert der code-Eigenschaft ab.
*
* @return possible object is {@link CE }
*/
public CE getCode() {
return code;
}
/**
* Ruft den Wert der component-Eigenschaft ab.
*
* @return possible object is {@link POCDMT000040Component2 }
*/
public POCDMT000040Component2 getComponent() {
return component;
}
/**
* Ruft den Wert der componentOf-Eigenschaft ab.
*
* @return possible object is {@link POCDMT000040Component1 }
*/
public POCDMT000040Component1 getComponentOf() {
return componentOf;
}
/**
* Ruft den Wert der confidentialityCode-Eigenschaft ab.
*
* @return possible object is {@link CE }
*/
public CE getConfidentialityCode() {
return confidentialityCode;
}
/**
* Ruft den Wert der copyTime-Eigenschaft ab.
*
* @return possible object is {@link TS }
*/
public TS getCopyTime() {
return copyTime;
}
/**
* Ruft den Wert der custodian-Eigenschaft ab.
*
* @return possible object is {@link POCDMT000040Custodian }
*/
public POCDMT000040Custodian getCustodian() {
return custodian;
}
/**
* Ruft den Wert der dataEnterer-Eigenschaft ab.
*
* @return possible object is {@link POCDMT000040DataEnterer }
*/
public POCDMT000040DataEnterer getDataEnterer() {
return dataEnterer;
}
/**
* Gets the value of the documentationOf 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 documentationOf property.
*
*
* For example, to add a new item, do as follows:
* getDocumentationOf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040DocumentationOf }
*/
@NonNull
public List getDocumentationOf() {
if (documentationOf == null) {
documentationOf = new ArrayList<>();
}
return this.documentationOf;
}
/**
* Ruft den Wert der effectiveTime-Eigenschaft ab.
*
* @return possible object is {@link TS }
*/
public TS getEffectiveTime() {
return effectiveTime;
}
/**
* Ruft den Wert der id-Eigenschaft ab.
*
* @return possible object is {@link II }
*/
public II getId() {
return id;
}
/**
* Ruft den Wert der idAttr-Eigenschaft ab.
*
* @return possible object is {@link String }
*/
public String getIDAttr() {
return idAttr;
}
/**
* Gets the value of the informant 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 informant property.
*
*
* For example, to add a new item, do as follows:
* getInformant().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040Informant12 }
*/
@NonNull
public List getInformant() {
if (informant == null) {
informant = new ArrayList<>();
}
return this.informant;
}
/**
* Gets the value of the informationRecipient 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 informationRecipient property.
*
*
* For example, to add a new item, do as follows:
* getInformationRecipient().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040InformationRecipient }
*/
@NonNull
public List getInformationRecipient() {
if (informationRecipient == null) {
informationRecipient = new ArrayList<>();
}
return this.informationRecipient;
}
/**
* Gets the value of the inFulfillmentOf 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 inFulfillmentOf property.
*
*
* For example, to add a new item, do as follows:
* getInFulfillmentOf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040InFulfillmentOf }
*/
@NonNull
public List getInFulfillmentOf() {
if (inFulfillmentOf == null) {
inFulfillmentOf = new ArrayList<>();
}
return this.inFulfillmentOf;
}
/**
* Ruft den Wert der languageCode-Eigenschaft ab.
*
* @return possible object is {@link CS }
*/
public CS getLanguageCode() {
return languageCode;
}
/**
* Ruft den Wert der legalAuthenticator-Eigenschaft ab.
*
* @return possible object is {@link POCDMT000040LegalAuthenticator }
*/
public POCDMT000040LegalAuthenticator getLegalAuthenticator() {
return legalAuthenticator;
}
/**
* Gets the value of the moodCode 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 moodCode property.
*
*
* For example, to add a new item, do as follows:
* getMoodCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link String }
*/
@NonNull
public List getMoodCode() {
if (moodCode == null) {
moodCode = new ArrayList<>();
}
return this.moodCode;
}
/**
* Gets the value of the nullFlavor 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 nullFlavor property.
*
*
* For example, to add a new item, do as follows:
* getNullFlavor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link String }
*/
@NonNull
public List getNullFlavor() {
if (nullFlavor == null) {
nullFlavor = new ArrayList<>();
}
return this.nullFlavor;
}
/**
* Gets the value of the participant 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 participant property.
*
*
* For example, to add a new item, do as follows:
* getParticipant().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040Participant1 }
*/
@NonNull
public List getParticipant() {
if (participant == null) {
participant = new ArrayList<>();
}
return this.participant;
}
/**
* Gets the value of the realmCode 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 realmCode property.
*
*
* For example, to add a new item, do as follows:
* getRealmCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link CS }
*/
@NonNull
public List getRealmCode() {
if (realmCode == null) {
realmCode = new ArrayList<>();
}
return this.realmCode;
}
/**
* Gets the value of the recordTarget 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 recordTarget property.
*
*
* For example, to add a new item, do as follows:
* getRecordTarget().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040RecordTarget }
*/
@NonNull
public List getRecordTarget() {
if (recordTarget == null) {
recordTarget = new ArrayList<>();
}
return this.recordTarget;
}
/**
* Gets the value of the relatedDocument 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 relatedDocument property.
*
*
* For example, to add a new item, do as follows:
* getRelatedDocument().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link POCDMT000040RelatedDocument }
*/
@NonNull
public List getRelatedDocument() {
if (relatedDocument == null) {
relatedDocument = new ArrayList<>();
}
return this.relatedDocument;
}
/**
* Ruft den Wert der setId-Eigenschaft ab.
*
* @return possible object is {@link II }
*/
public II getSetId() {
return setId;
}
/**
* Gets the value of the templateId 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 templateId property.
*
*
* For example, to add a new item, do as follows:
* getTemplateId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list {@link II }
*/
@NonNull
public List getTemplateId() {
if (templateId == null) {
templateId = new ArrayList<>();
}
return this.templateId;
}
/**
* Ruft den Wert der title-Eigenschaft ab.
*
* @return possible object is {@link ST }
*/
public ST getTitle() {
return title;
}
/**
* Ruft den Wert der typeId-Eigenschaft ab.
*
* @return possible object is {@link POCDMT000040InfrastructureRootTypeId }
*/
public POCDMT000040InfrastructureRootTypeId getTypeId() {
return typeId;
}
/**
* Ruft den Wert der versionNumber-Eigenschaft ab.
*
* @return possible object is {@link INT }
*/
public INT getVersionNumber() {
return versionNumber;
}
/**
* Legt den Wert der classCode-Eigenschaft fest.
*
* @param value allowed object is {@link ActClinicalDocument }
*/
public void setClassCode(ActClinicalDocument value) {
this.classCode = value;
}
/**
* Legt den Wert der code-Eigenschaft fest.
*
* @param value allowed object is {@link CE }
*/
public void setCode(CE value) {
this.code = value;
}
/**
* Legt den Wert der component-Eigenschaft fest.
*
* @param value allowed object is {@link POCDMT000040Component2 }
*/
public void setComponent(POCDMT000040Component2 value) {
this.component = value;
}
/**
* Legt den Wert der componentOf-Eigenschaft fest.
*
* @param value allowed object is {@link POCDMT000040Component1 }
*/
public void setComponentOf(POCDMT000040Component1 value) {
this.componentOf = value;
}
/**
* Legt den Wert der confidentialityCode-Eigenschaft fest.
*
* @param value allowed object is {@link CE }
*/
public void setConfidentialityCode(CE value) {
this.confidentialityCode = value;
}
/**
* Legt den Wert der copyTime-Eigenschaft fest.
*
* @param value allowed object is {@link TS }
*/
public void setCopyTime(TS value) {
this.copyTime = value;
}
/**
* Legt den Wert der custodian-Eigenschaft fest.
*
* @param value allowed object is {@link POCDMT000040Custodian }
*/
public void setCustodian(POCDMT000040Custodian value) {
this.custodian = value;
}
/**
* Legt den Wert der dataEnterer-Eigenschaft fest.
*
* @param value allowed object is {@link POCDMT000040DataEnterer }
*/
public void setDataEnterer(POCDMT000040DataEnterer value) {
this.dataEnterer = value;
}
/**
* Legt den Wert der effectiveTime-Eigenschaft fest.
*
* @param value allowed object is {@link TS }
*/
public void setEffectiveTime(TS value) {
this.effectiveTime = value;
}
/**
* Legt den Wert der id-Eigenschaft fest.
*
* @param value allowed object is {@link II }
*/
public void setId(II value) {
this.id = value;
}
/**
* Legt den Wert der idAttr-Eigenschaft fest.
*
* @param value allowed object is {@link String }
*/
public void setIDAttr(String value) {
this.idAttr = value;
}
/**
* Legt den Wert der languageCode-Eigenschaft fest.
*
* @param value allowed object is {@link CS }
*/
public void setLanguageCode(CS value) {
this.languageCode = value;
}
/**
* Legt den Wert der legalAuthenticator-Eigenschaft fest.
*
* @param value allowed object is {@link POCDMT000040LegalAuthenticator }
*/
public void setLegalAuthenticator(POCDMT000040LegalAuthenticator value) {
this.legalAuthenticator = value;
}
/**
* Legt den Wert der setId-Eigenschaft fest.
*
* @param value allowed object is {@link II }
*/
public void setSetId(II value) {
this.setId = value;
}
/**
* Legt den Wert der title-Eigenschaft fest.
*
* @param value allowed object is {@link ST }
*/
public void setTitle(ST value) {
this.title = value;
}
/**
* Legt den Wert der typeId-Eigenschaft fest.
*
* @param value allowed object is {@link POCDMT000040InfrastructureRootTypeId }
*/
public void setTypeId(POCDMT000040InfrastructureRootTypeId value) {
this.typeId = value;
}
/**
* Legt den Wert der versionNumber-Eigenschaft fest.
*
* @param value allowed object is {@link INT }
*/
public void setVersionNumber(INT value) {
this.versionNumber = value;
}
}