diff --git a/pom.xml b/pom.xml index a71852e..534910b 100644 --- a/pom.xml +++ b/pom.xml @@ -14,8 +14,12 @@ QDM Service for MADiE 17 + + 2.5.0 17 17 + 4.0.1 + 3.0.0 3.21.2 3.0.1 madie-checkstyle.xml @@ -23,6 +27,8 @@ 3.2.2 3.11.0 3.0.5 + + 1.5.5.Final 10.1 2.21.1 @@ -69,6 +75,18 @@ packaging-utility 0.2.2 + + + org.codehaus.mojo + jaxb2-maven-plugin + ${jxbmavenplugin.version} + + + + org.mapstruct + mapstruct + ${org.mapstruct.version} + org.springframework.boot spring-boot-starter-test @@ -79,6 +97,7 @@ spring-security-test test + @@ -98,6 +117,9 @@ org.apache.maven.plugins maven-checkstyle-plugin ${mvn.checkstyle.version} + + **/generated/**/*, **/MeasureMapper.java, **/MeasureMapperImpl.java + com.puppycrawl.tools @@ -149,7 +171,7 @@ INSTRUCTION COVEREDRATIO - 0.9 + @@ -210,7 +232,7 @@ ${java.version} - **/vsac/nlm/nih/gov/*.java + **/generated/**/* ${project.basedir}/src/main/java/generated @@ -247,12 +269,63 @@ + + + org.apache.cxf + cxf-xjc-plugin + 3.3.0 + + + org.apache.cxf.xjcplugins:cxf-xjc-dv:3.2.3 + + ${basedir}/src/main/java + + + ${basedir}/src/main/resources/schemas/SimpleXML-QDM-5-6.xsd + + generated.gov.cms.madie.simplexml + + + + + + xjc + + xsdtojava + + generate-sources + + + + org.apache.maven.plugins maven-compiler-plugin - ${maven.compiler.source} - ${maven.compiler.target} + ${java.version} + ${java.version} + + + org.mapstruct + mapstruct-processor + ${org.mapstruct.version} + + + org.projectlombok + lombok + ${lombok.version} + + + org.projectlombok + lombok-mapstruct-binding + 0.2.0 + + + + + -Amapstruct.defaultComponentModel=spring + + diff --git a/src/main/java/generated/gov/cms/madie/simplexml/AllUsedCQLLibsType.java b/src/main/java/generated/gov/cms/madie/simplexml/AllUsedCQLLibsType.java new file mode 100644 index 0000000..9e1a692 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/AllUsedCQLLibsType.java @@ -0,0 +1,57 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for allUsedCQLLibsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "allUsedCQLLibsType", + propOrder = {"lib"}) +public class AllUsedCQLLibsType { + + @XmlElement(required = true) + protected LibType lib; + + /** + * Gets the value of the lib property. + * + * @return possible object is {@link LibType } + */ + public LibType getLib() { + return lib; + } + + /** + * Sets the value of the lib property. + * + * @param value allowed object is {@link LibType } + */ + public void setLib(LibType value) { + this.lib = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ArgumentType.java b/src/main/java/generated/gov/cms/madie/simplexml/ArgumentType.java new file mode 100644 index 0000000..e9cca40 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ArgumentType.java @@ -0,0 +1,164 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for argumentType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "argumentType", + propOrder = {"value"}) +public class ArgumentType { + + @XmlValue protected String value; + + @XmlAttribute(name = "argumentName") + protected String argumentName; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "qdmDataType") + protected String qdmDataType; + + @XmlAttribute(name = "otherType") + protected String otherType; + + @XmlAttribute(name = "type") + protected String type; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the argumentName property. + * + * @return possible object is {@link String } + */ + public String getArgumentName() { + return argumentName; + } + + /** + * Sets the value of the argumentName property. + * + * @param value allowed object is {@link String } + */ + public void setArgumentName(String value) { + this.argumentName = value; + } + + /** + * 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; + } + + /** + * Gets the value of the qdmDataType property. + * + * @return possible object is {@link String } + */ + public String getQdmDataType() { + return qdmDataType; + } + + /** + * Sets the value of the qdmDataType property. + * + * @param value allowed object is {@link String } + */ + public void setQdmDataType(String value) { + this.qdmDataType = value; + } + + /** + * Gets the value of the otherType property. + * + * @return possible object is {@link String } + */ + public String getOtherType() { + return otherType; + } + + /** + * Sets the value of the otherType property. + * + * @param value allowed object is {@link String } + */ + public void setOtherType(String value) { + this.otherType = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link String } + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link String } + */ + public void setType(String value) { + this.type = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ArgumentsType.java b/src/main/java/generated/gov/cms/madie/simplexml/ArgumentsType.java new file mode 100644 index 0000000..9e43718 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ArgumentsType.java @@ -0,0 +1,57 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for argumentsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "argumentsType", + propOrder = {"argument"}) +public class ArgumentsType { + + @XmlElement(required = true) + protected ArgumentType argument; + + /** + * Gets the value of the argument property. + * + * @return possible object is {@link ArgumentType } + */ + public ArgumentType getArgument() { + return argument; + } + + /** + * Sets the value of the argument property. + * + * @param value allowed object is {@link ArgumentType } + */ + public void setArgument(ArgumentType value) { + this.argument = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ClauseType.java b/src/main/java/generated/gov/cms/madie/simplexml/ClauseType.java new file mode 100644 index 0000000..5fdb242 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ClauseType.java @@ -0,0 +1,165 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElementRef; +import jakarta.xml.bind.annotation.XmlElementRefs; +import jakarta.xml.bind.annotation.XmlMixed; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for clauseType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "clauseType", + propOrder = {"content"}) +public class ClauseType { + + @XmlElementRefs({ + @XmlElementRef(name = "cqldefinition", type = JAXBElement.class, required = false), + @XmlElementRef(name = "cqlaggfunction", type = JAXBElement.class, required = false) + }) + @XmlMixed + protected List content; + + @XmlAttribute(name = "displayName") + protected String displayName; + + @XmlAttribute(name = "isInGrouping") + protected String isInGrouping; + + @XmlAttribute(name = "type") + protected String type; + + @XmlAttribute(name = "uuid") + protected String uuid; + + /** + * Gets the value of the content 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 content property. + * + *

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

+   * getContent().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link JAXBElement }{@code <}{@link + * CqlaggfunctionType }{@code >} {@link JAXBElement }{@code <}{@link CqldefinitionType }{@code >} + * {@link String } + * + * @return The value of the content property. + */ + public List getContent() { + if (content == null) { + content = new ArrayList<>(); + } + return this.content; + } + + /** + * Gets the value of the displayName property. + * + * @return possible object is {@link String } + */ + public String getDisplayName() { + return displayName; + } + + /** + * Sets the value of the displayName property. + * + * @param value allowed object is {@link String } + */ + public void setDisplayName(String value) { + this.displayName = value; + } + + /** + * Gets the value of the isInGrouping property. + * + * @return possible object is {@link String } + */ + public String getIsInGrouping() { + return isInGrouping; + } + + /** + * Sets the value of the isInGrouping property. + * + * @param value allowed object is {@link String } + */ + public void setIsInGrouping(String value) { + this.isInGrouping = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link String } + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link String } + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CodeSystemType.java b/src/main/java/generated/gov/cms/madie/simplexml/CodeSystemType.java new file mode 100644 index 0000000..c31e9b7 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CodeSystemType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for codeSystemType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "codeSystemType", + propOrder = {"value"}) +public class CodeSystemType { + + @XmlValue protected String value; + + @XmlAttribute(name = "codeSystem") + protected String codeSystem; + + @XmlAttribute(name = "codeSystemName") + protected String codeSystemName; + + @XmlAttribute(name = "codeSystemVersion") + protected String codeSystemVersion; + + @XmlAttribute(name = "id") + protected String id; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = 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 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CodeSystemsType.java b/src/main/java/generated/gov/cms/madie/simplexml/CodeSystemsType.java new file mode 100644 index 0000000..d679aab --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CodeSystemsType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for codeSystemsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "codeSystemsType", + propOrder = {"codeSystem"}) +public class CodeSystemsType { + + protected List codeSystem; + + /** + * Gets the value of the codeSystem 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 codeSystem property. + * + *

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

+   * getCodeSystem().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link CodeSystemType } + * + * @return The value of the codeSystem property. + */ + public List getCodeSystem() { + if (codeSystem == null) { + codeSystem = new ArrayList<>(); + } + return this.codeSystem; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CodeType.java b/src/main/java/generated/gov/cms/madie/simplexml/CodeType.java new file mode 100644 index 0000000..1c32d83 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CodeType.java @@ -0,0 +1,296 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for codeType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "codeType", + propOrder = {"value"}) +public class CodeType { + + @XmlValue protected String value; + + @XmlAttribute(name = "codeIdentifier") + protected String codeIdentifier; + + @XmlAttribute(name = "codeName") + protected String codeName; + + @XmlAttribute(name = "codeOID") + protected String codeOID; + + @XmlAttribute(name = "codeSystemName") + protected String codeSystemName; + + @XmlAttribute(name = "codeSystemOID") + protected String codeSystemOID; + + @XmlAttribute(name = "codeSystemVersion") + protected String codeSystemVersion; + + @XmlAttribute(name = "displayName") + protected String displayName; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "isCodeSystemVersionIncluded") + protected String isCodeSystemVersionIncluded; + + @XmlAttribute(name = "isValidatedWithVsac") + protected String isValidatedWithVsac; + + @XmlAttribute(name = "readOnly") + protected String readOnly; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the codeIdentifier property. + * + * @return possible object is {@link String } + */ + public String getCodeIdentifier() { + return codeIdentifier; + } + + /** + * Sets the value of the codeIdentifier property. + * + * @param value allowed object is {@link String } + */ + public void setCodeIdentifier(String value) { + this.codeIdentifier = value; + } + + /** + * Gets the value of the codeName property. + * + * @return possible object is {@link String } + */ + public String getCodeName() { + return codeName; + } + + /** + * Sets the value of the codeName property. + * + * @param value allowed object is {@link String } + */ + public void setCodeName(String value) { + this.codeName = value; + } + + /** + * Gets the value of the codeOID property. + * + * @return possible object is {@link String } + */ + public String getCodeOID() { + return codeOID; + } + + /** + * Sets the value of the codeOID property. + * + * @param value allowed object is {@link String } + */ + public void setCodeOID(String value) { + this.codeOID = 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 codeSystemOID property. + * + * @return possible object is {@link String } + */ + public String getCodeSystemOID() { + return codeSystemOID; + } + + /** + * Sets the value of the codeSystemOID property. + * + * @param value allowed object is {@link String } + */ + public void setCodeSystemOID(String value) { + this.codeSystemOID = 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 displayName property. + * + * @return possible object is {@link String } + */ + public String getDisplayName() { + return displayName; + } + + /** + * Sets the value of the displayName property. + * + * @param value allowed object is {@link String } + */ + public void setDisplayName(String value) { + this.displayName = value; + } + + /** + * 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; + } + + /** + * Gets the value of the isCodeSystemVersionIncluded property. + * + * @return possible object is {@link String } + */ + public String getIsCodeSystemVersionIncluded() { + return isCodeSystemVersionIncluded; + } + + /** + * Sets the value of the isCodeSystemVersionIncluded property. + * + * @param value allowed object is {@link String } + */ + public void setIsCodeSystemVersionIncluded(String value) { + this.isCodeSystemVersionIncluded = value; + } + + /** + * Gets the value of the isValidatedWithVsac property. + * + * @return possible object is {@link String } + */ + public String getIsValidatedWithVsac() { + return isValidatedWithVsac; + } + + /** + * Sets the value of the isValidatedWithVsac property. + * + * @param value allowed object is {@link String } + */ + public void setIsValidatedWithVsac(String value) { + this.isValidatedWithVsac = value; + } + + /** + * Gets the value of the readOnly property. + * + * @return possible object is {@link String } + */ + public String getReadOnly() { + return readOnly; + } + + /** + * Sets the value of the readOnly property. + * + * @param value allowed object is {@link String } + */ + public void setReadOnly(String value) { + this.readOnly = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CodesType.java b/src/main/java/generated/gov/cms/madie/simplexml/CodesType.java new file mode 100644 index 0000000..13146d4 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CodesType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for codesType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "codesType", + propOrder = {"code"}) +public class CodesType { + + protected List code; + + /** + * Gets the value of the code 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 code property. + * + *

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

+   * getCode().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link CodeType } + * + * @return The value of the code property. + */ + public List getCode() { + if (code == null) { + code = new ArrayList<>(); + } + return this.code; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CqlLookUpType.java b/src/main/java/generated/gov/cms/madie/simplexml/CqlLookUpType.java new file mode 100644 index 0000000..9ae3fdf --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CqlLookUpType.java @@ -0,0 +1,312 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for cqlLookUpType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "cqlLookUpType", + propOrder = { + "library", + "version", + "usingModel", + "usingModelVersion", + "cqlContext", + "codeSystems", + "valuesets", + "codes", + "parameters", + "definitions", + "functions", + "includeLibrarys" + }) +public class CqlLookUpType { + + @XmlElement(required = true) + protected String library; + + @XmlElement(required = true) + protected String version; + + @XmlElement(required = true) + protected String usingModel; + + @XmlElement(required = true) + protected String usingModelVersion; + + @XmlElement(required = true) + protected String cqlContext; + + @XmlElement(required = true) + protected CodeSystemsType codeSystems; + + @XmlElement(required = true) + protected ValuesetsType valuesets; + + @XmlElement(required = true) + protected CodesType codes; + + @XmlElement(required = true) + protected ParametersType parameters; + + @XmlElement(required = true) + protected DefinitionsType definitions; + + @XmlElement(required = true) + protected FunctionsType functions; + + @XmlElement(required = true) + protected IncludeLibrarysType includeLibrarys; + + /** + * Gets the value of the library property. + * + * @return possible object is {@link String } + */ + public String getLibrary() { + return library; + } + + /** + * Sets the value of the library property. + * + * @param value allowed object is {@link String } + */ + public void setLibrary(String value) { + this.library = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the usingModel property. + * + * @return possible object is {@link String } + */ + public String getUsingModel() { + return usingModel; + } + + /** + * Sets the value of the usingModel property. + * + * @param value allowed object is {@link String } + */ + public void setUsingModel(String value) { + this.usingModel = value; + } + + /** + * Gets the value of the usingModelVersion property. + * + * @return possible object is {@link String } + */ + public String getUsingModelVersion() { + return usingModelVersion; + } + + /** + * Sets the value of the usingModelVersion property. + * + * @param value allowed object is {@link String } + */ + public void setUsingModelVersion(String value) { + this.usingModelVersion = value; + } + + /** + * Gets the value of the cqlContext property. + * + * @return possible object is {@link String } + */ + public String getCqlContext() { + return cqlContext; + } + + /** + * Sets the value of the cqlContext property. + * + * @param value allowed object is {@link String } + */ + public void setCqlContext(String value) { + this.cqlContext = value; + } + + /** + * Gets the value of the codeSystems property. + * + * @return possible object is {@link CodeSystemsType } + */ + public CodeSystemsType getCodeSystems() { + return codeSystems; + } + + /** + * Sets the value of the codeSystems property. + * + * @param value allowed object is {@link CodeSystemsType } + */ + public void setCodeSystems(CodeSystemsType value) { + this.codeSystems = value; + } + + /** + * Gets the value of the valuesets property. + * + * @return possible object is {@link ValuesetsType } + */ + public ValuesetsType getValuesets() { + return valuesets; + } + + /** + * Sets the value of the valuesets property. + * + * @param value allowed object is {@link ValuesetsType } + */ + public void setValuesets(ValuesetsType value) { + this.valuesets = value; + } + + /** + * Gets the value of the codes property. + * + * @return possible object is {@link CodesType } + */ + public CodesType getCodes() { + return codes; + } + + /** + * Sets the value of the codes property. + * + * @param value allowed object is {@link CodesType } + */ + public void setCodes(CodesType value) { + this.codes = value; + } + + /** + * Gets the value of the parameters property. + * + * @return possible object is {@link ParametersType } + */ + public ParametersType getParameters() { + return parameters; + } + + /** + * Sets the value of the parameters property. + * + * @param value allowed object is {@link ParametersType } + */ + public void setParameters(ParametersType value) { + this.parameters = value; + } + + /** + * Gets the value of the definitions property. + * + * @return possible object is {@link DefinitionsType } + */ + public DefinitionsType getDefinitions() { + return definitions; + } + + /** + * Sets the value of the definitions property. + * + * @param value allowed object is {@link DefinitionsType } + */ + public void setDefinitions(DefinitionsType value) { + this.definitions = value; + } + + /** + * Gets the value of the functions property. + * + * @return possible object is {@link FunctionsType } + */ + public FunctionsType getFunctions() { + return functions; + } + + /** + * Sets the value of the functions property. + * + * @param value allowed object is {@link FunctionsType } + */ + public void setFunctions(FunctionsType value) { + this.functions = value; + } + + /** + * Gets the value of the includeLibrarys property. + * + * @return possible object is {@link IncludeLibrarysType } + */ + public IncludeLibrarysType getIncludeLibrarys() { + return includeLibrarys; + } + + /** + * Sets the value of the includeLibrarys property. + * + * @param value allowed object is {@link IncludeLibrarysType } + */ + public void setIncludeLibrarys(IncludeLibrarysType value) { + this.includeLibrarys = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CqlaggfunctionType.java b/src/main/java/generated/gov/cms/madie/simplexml/CqlaggfunctionType.java new file mode 100644 index 0000000..2f41af9 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CqlaggfunctionType.java @@ -0,0 +1,80 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for cqlaggfunctionType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "cqlaggfunctionType", + propOrder = {"cqlfunction"}) +public class CqlaggfunctionType { + + @XmlElement(required = true) + protected CqlfunctionType cqlfunction; + + @XmlAttribute(name = "displayName") + protected String displayName; + + /** + * Gets the value of the cqlfunction property. + * + * @return possible object is {@link CqlfunctionType } + */ + public CqlfunctionType getCqlfunction() { + return cqlfunction; + } + + /** + * Sets the value of the cqlfunction property. + * + * @param value allowed object is {@link CqlfunctionType } + */ + public void setCqlfunction(CqlfunctionType value) { + this.cqlfunction = value; + } + + /** + * Gets the value of the displayName property. + * + * @return possible object is {@link String } + */ + public String getDisplayName() { + return displayName; + } + + /** + * Sets the value of the displayName property. + * + * @param value allowed object is {@link String } + */ + public void setDisplayName(String value) { + this.displayName = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CqldefinitionType.java b/src/main/java/generated/gov/cms/madie/simplexml/CqldefinitionType.java new file mode 100644 index 0000000..4c1ca6a --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CqldefinitionType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for cqldefinitionType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "cqldefinitionType", + propOrder = {"value"}) +public class CqldefinitionType { + + @XmlValue protected String value; + + @XmlAttribute(name = "displayName") + protected String displayName; + + @XmlAttribute(name = "uuid") + protected String uuid; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the displayName property. + * + * @return possible object is {@link String } + */ + public String getDisplayName() { + return displayName; + } + + /** + * Sets the value of the displayName property. + * + * @param value allowed object is {@link String } + */ + public void setDisplayName(String value) { + this.displayName = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/CqlfunctionType.java b/src/main/java/generated/gov/cms/madie/simplexml/CqlfunctionType.java new file mode 100644 index 0000000..af99ab7 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/CqlfunctionType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for cqlfunctionType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "cqlfunctionType", + propOrder = {"value"}) +public class CqlfunctionType { + + @XmlValue protected String value; + + @XmlAttribute(name = "displayName") + protected String displayName; + + @XmlAttribute(name = "uuid") + protected String uuid; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the displayName property. + * + * @return possible object is {@link String } + */ + public String getDisplayName() { + return displayName; + } + + /** + * Sets the value of the displayName property. + * + * @param value allowed object is {@link String } + */ + public void setDisplayName(String value) { + this.displayName = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/DefinitionType.java b/src/main/java/generated/gov/cms/madie/simplexml/DefinitionType.java new file mode 100644 index 0000000..913c84b --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/DefinitionType.java @@ -0,0 +1,190 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for definitionType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "definitionType", + propOrder = {"logic", "comment"}) +public class DefinitionType { + + @XmlElement(required = true) + protected String logic; + + @XmlElement(required = true) + protected String comment; + + @XmlAttribute(name = "context") + protected String context; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "popDefinition") + protected String popDefinition; + + @XmlAttribute(name = "supplDataElement") + protected String supplDataElement; + + /** + * Gets the value of the logic property. + * + * @return possible object is {@link String } + */ + public String getLogic() { + return logic; + } + + /** + * Sets the value of the logic property. + * + * @param value allowed object is {@link String } + */ + public void setLogic(String value) { + this.logic = value; + } + + /** + * Gets the value of the comment property. + * + * @return possible object is {@link String } + */ + public String getComment() { + return comment; + } + + /** + * Sets the value of the comment property. + * + * @param value allowed object is {@link String } + */ + public void setComment(String value) { + this.comment = value; + } + + /** + * Gets the value of the context property. + * + * @return possible object is {@link String } + */ + public String getContext() { + return context; + } + + /** + * Sets the value of the context property. + * + * @param value allowed object is {@link String } + */ + public void setContext(String value) { + this.context = value; + } + + /** + * 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; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the popDefinition property. + * + * @return possible object is {@link String } + */ + public String getPopDefinition() { + return popDefinition; + } + + /** + * Sets the value of the popDefinition property. + * + * @param value allowed object is {@link String } + */ + public void setPopDefinition(String value) { + this.popDefinition = value; + } + + /** + * Gets the value of the supplDataElement property. + * + * @return possible object is {@link String } + */ + public String getSupplDataElement() { + return supplDataElement; + } + + /** + * Sets the value of the supplDataElement property. + * + * @param value allowed object is {@link String } + */ + public void setSupplDataElement(String value) { + this.supplDataElement = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/DefinitionsType.java b/src/main/java/generated/gov/cms/madie/simplexml/DefinitionsType.java new file mode 100644 index 0000000..5812e5c --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/DefinitionsType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for definitionsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "definitionsType", + propOrder = {"definition"}) +public class DefinitionsType { + + protected List definition; + + /** + * Gets the value of the definition 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 definition property. + * + *

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

+   * getDefinition().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link DefinitionType } + * + * @return The value of the definition property. + */ + public List getDefinition() { + if (definition == null) { + definition = new ArrayList<>(); + } + return this.definition; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/DeveloperType.java b/src/main/java/generated/gov/cms/madie/simplexml/DeveloperType.java new file mode 100644 index 0000000..0b4325b --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/DeveloperType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for developerType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "developerType", + propOrder = {"value"}) +public class DeveloperType { + + @XmlValue protected String value; + + @XmlAttribute(name = "id") + protected String id; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/DevelopersType.java b/src/main/java/generated/gov/cms/madie/simplexml/DevelopersType.java new file mode 100644 index 0000000..7aac710 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/DevelopersType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for developersType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "developersType", + propOrder = {"developer"}) +public class DevelopersType { + + protected List developer; + + /** + * Gets the value of the developer 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 developer property. + * + *

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

+   * getDeveloper().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link DeveloperType } + * + * @return The value of the developer property. + */ + public List getDeveloper() { + if (developer == null) { + developer = new ArrayList<>(); + } + return this.developer; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ElementLookUpType.java b/src/main/java/generated/gov/cms/madie/simplexml/ElementLookUpType.java new file mode 100644 index 0000000..b58bb1b --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ElementLookUpType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for elementLookUpType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "elementLookUpType", + propOrder = {"qdm"}) +public class ElementLookUpType { + + protected List qdm; + + /** + * Gets the value of the qdm 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 qdm property. + * + *

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

+   * getQdm().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link QdmType } + * + * @return The value of the qdm property. + */ + public List getQdm() { + if (qdm == null) { + qdm = new ArrayList<>(); + } + return this.qdm; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/EndorsementType.java b/src/main/java/generated/gov/cms/madie/simplexml/EndorsementType.java new file mode 100644 index 0000000..aba8e3a --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/EndorsementType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for endorsementType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "endorsementType", + propOrder = {"value"}) +public class EndorsementType { + + @XmlValue protected String value; + + @XmlAttribute(name = "id") + protected String id; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/FinalizedDateType.java b/src/main/java/generated/gov/cms/madie/simplexml/FinalizedDateType.java new file mode 100644 index 0000000..6939040 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/FinalizedDateType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for finalizedDateType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "finalizedDateType", + propOrder = {"value"}) +public class FinalizedDateType { + + @XmlValue protected String value; + + @XmlAttribute(name = "value") + protected String valueAttribute; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the valueAttribute property. + * + * @return possible object is {@link String } + */ + public String getValueAttribute() { + return valueAttribute; + } + + /** + * Sets the value of the valueAttribute property. + * + * @param value allowed object is {@link String } + */ + public void setValueAttribute(String value) { + this.valueAttribute = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/FunctionType.java b/src/main/java/generated/gov/cms/madie/simplexml/FunctionType.java new file mode 100644 index 0000000..7ab8728 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/FunctionType.java @@ -0,0 +1,212 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for functionType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *         
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "functionType", + propOrder = {"logic", "comment", "arguments"}) +public class FunctionType { + + @XmlElement(required = true) + protected String logic; + + @XmlElement(required = true) + protected String comment; + + @XmlElement(required = true) + protected ArgumentsType arguments; + + @XmlAttribute(name = "context") + protected String context; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "popDefinition") + protected String popDefinition; + + @XmlAttribute(name = "supplDataElement") + protected String supplDataElement; + + /** + * Gets the value of the logic property. + * + * @return possible object is {@link String } + */ + public String getLogic() { + return logic; + } + + /** + * Sets the value of the logic property. + * + * @param value allowed object is {@link String } + */ + public void setLogic(String value) { + this.logic = value; + } + + /** + * Gets the value of the comment property. + * + * @return possible object is {@link String } + */ + public String getComment() { + return comment; + } + + /** + * Sets the value of the comment property. + * + * @param value allowed object is {@link String } + */ + public void setComment(String value) { + this.comment = value; + } + + /** + * Gets the value of the arguments property. + * + * @return possible object is {@link ArgumentsType } + */ + public ArgumentsType getArguments() { + return arguments; + } + + /** + * Sets the value of the arguments property. + * + * @param value allowed object is {@link ArgumentsType } + */ + public void setArguments(ArgumentsType value) { + this.arguments = value; + } + + /** + * Gets the value of the context property. + * + * @return possible object is {@link String } + */ + public String getContext() { + return context; + } + + /** + * Sets the value of the context property. + * + * @param value allowed object is {@link String } + */ + public void setContext(String value) { + this.context = value; + } + + /** + * 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; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the popDefinition property. + * + * @return possible object is {@link String } + */ + public String getPopDefinition() { + return popDefinition; + } + + /** + * Sets the value of the popDefinition property. + * + * @param value allowed object is {@link String } + */ + public void setPopDefinition(String value) { + this.popDefinition = value; + } + + /** + * Gets the value of the supplDataElement property. + * + * @return possible object is {@link String } + */ + public String getSupplDataElement() { + return supplDataElement; + } + + /** + * Sets the value of the supplDataElement property. + * + * @param value allowed object is {@link String } + */ + public void setSupplDataElement(String value) { + this.supplDataElement = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/FunctionsType.java b/src/main/java/generated/gov/cms/madie/simplexml/FunctionsType.java new file mode 100644 index 0000000..4d3fdaf --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/FunctionsType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for functionsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "functionsType", + propOrder = {"function"}) +public class FunctionsType { + + protected List function; + + /** + * Gets the value of the function 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 function property. + * + *

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

+   * getFunction().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link FunctionType } + * + * @return The value of the function property. + */ + public List getFunction() { + if (function == null) { + function = new ArrayList<>(); + } + return this.function; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/GroupType.java b/src/main/java/generated/gov/cms/madie/simplexml/GroupType.java new file mode 100644 index 0000000..a68f98e --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/GroupType.java @@ -0,0 +1,108 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for groupType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "groupType", + propOrder = {"clause"}) +public class GroupType { + + protected List clause; + + @XmlAttribute(name = "sequence") + protected String sequence; + + @XmlAttribute(name = "ucum") + protected String ucum; + + /** + * Gets the value of the clause 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 clause property. + * + *

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

+   * getClause().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link ClauseType } + * + * @return The value of the clause property. + */ + public List getClause() { + if (clause == null) { + clause = new ArrayList<>(); + } + return this.clause; + } + + /** + * Gets the value of the sequence property. + * + * @return possible object is {@link String } + */ + public String getSequence() { + return sequence; + } + + /** + * Sets the value of the sequence property. + * + * @param value allowed object is {@link String } + */ + public void setSequence(String value) { + this.sequence = value; + } + + /** + * Gets the value of the ucum property. + * + * @return possible object is {@link String } + */ + public String getUcum() { + return ucum; + } + + /** + * Sets the value of the ucum property. + * + * @param value allowed object is {@link String } + */ + public void setUcum(String value) { + this.ucum = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/IncludeLibraryType.java b/src/main/java/generated/gov/cms/madie/simplexml/IncludeLibraryType.java new file mode 100644 index 0000000..32eafa9 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/IncludeLibraryType.java @@ -0,0 +1,186 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for includeLibraryType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "includeLibraryType", + propOrder = {"value"}) +public class IncludeLibraryType { + + @XmlValue protected String value; + + @XmlAttribute(name = "cqlLibRefId") + protected String cqlLibRefId; + + @XmlAttribute(name = "cqlLibRefName") + protected String cqlLibRefName; + + @XmlAttribute(name = "cqlVersion") + protected String cqlVersion; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "qdmVersion") + protected String qdmVersion; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the cqlLibRefId property. + * + * @return possible object is {@link String } + */ + public String getCqlLibRefId() { + return cqlLibRefId; + } + + /** + * Sets the value of the cqlLibRefId property. + * + * @param value allowed object is {@link String } + */ + public void setCqlLibRefId(String value) { + this.cqlLibRefId = value; + } + + /** + * Gets the value of the cqlLibRefName property. + * + * @return possible object is {@link String } + */ + public String getCqlLibRefName() { + return cqlLibRefName; + } + + /** + * Sets the value of the cqlLibRefName property. + * + * @param value allowed object is {@link String } + */ + public void setCqlLibRefName(String value) { + this.cqlLibRefName = value; + } + + /** + * Gets the value of the cqlVersion property. + * + * @return possible object is {@link String } + */ + public String getCqlVersion() { + return cqlVersion; + } + + /** + * Sets the value of the cqlVersion property. + * + * @param value allowed object is {@link String } + */ + public void setCqlVersion(String value) { + this.cqlVersion = value; + } + + /** + * 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; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the qdmVersion property. + * + * @return possible object is {@link String } + */ + public String getQdmVersion() { + return qdmVersion; + } + + /** + * Sets the value of the qdmVersion property. + * + * @param value allowed object is {@link String } + */ + public void setQdmVersion(String value) { + this.qdmVersion = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/IncludeLibrarysType.java b/src/main/java/generated/gov/cms/madie/simplexml/IncludeLibrarysType.java new file mode 100644 index 0000000..2926faa --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/IncludeLibrarysType.java @@ -0,0 +1,57 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for includeLibrarysType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "includeLibrarysType", + propOrder = {"includeLibrary"}) +public class IncludeLibrarysType { + + @XmlElement(required = true) + protected IncludeLibraryType includeLibrary; + + /** + * Gets the value of the includeLibrary property. + * + * @return possible object is {@link IncludeLibraryType } + */ + public IncludeLibraryType getIncludeLibrary() { + return includeLibrary; + } + + /** + * Sets the value of the includeLibrary property. + * + * @param value allowed object is {@link IncludeLibraryType } + */ + public void setIncludeLibrary(IncludeLibraryType value) { + this.includeLibrary = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/LibType.java b/src/main/java/generated/gov/cms/madie/simplexml/LibType.java new file mode 100644 index 0000000..f306d31 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/LibType.java @@ -0,0 +1,208 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for libType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "libType", + propOrder = {"value"}) +public class LibType { + + @XmlValue protected String value; + + @XmlAttribute(name = "alias") + protected String alias; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "isComponent") + protected String isComponent; + + @XmlAttribute(name = "isUnUsedGrandChild") + protected String isUnUsedGrandChild; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "setId") + protected String setId; + + @XmlAttribute(name = "version") + protected String version; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the alias property. + * + * @return possible object is {@link String } + */ + public String getAlias() { + return alias; + } + + /** + * Sets the value of the alias property. + * + * @param value allowed object is {@link String } + */ + public void setAlias(String value) { + this.alias = value; + } + + /** + * 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; + } + + /** + * Gets the value of the isComponent property. + * + * @return possible object is {@link String } + */ + public String getIsComponent() { + return isComponent; + } + + /** + * Sets the value of the isComponent property. + * + * @param value allowed object is {@link String } + */ + public void setIsComponent(String value) { + this.isComponent = value; + } + + /** + * Gets the value of the isUnUsedGrandChild property. + * + * @return possible object is {@link String } + */ + public String getIsUnUsedGrandChild() { + return isUnUsedGrandChild; + } + + /** + * Sets the value of the isUnUsedGrandChild property. + * + * @param value allowed object is {@link String } + */ + public void setIsUnUsedGrandChild(String value) { + this.isUnUsedGrandChild = value; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the setId property. + * + * @return possible object is {@link String } + */ + public String getSetId() { + return setId; + } + + /** + * Sets the value of the setId property. + * + * @param value allowed object is {@link String } + */ + public void setSetId(String value) { + this.setId = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(String value) { + this.version = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/MeasureDetailsType.java b/src/main/java/generated/gov/cms/madie/simplexml/MeasureDetailsType.java new file mode 100644 index 0000000..f9261e4 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/MeasureDetailsType.java @@ -0,0 +1,1025 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for measureDetailsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "measureDetailsType", + propOrder = { + "uuid", + "cqlUUID", + "title", + "measureModel", + "shortTitle", + "emeasureid", + "guid", + "version", + "cbeid", + "period", + "steward", + "experimental", + "populationBasis", + "developers", + "endorsement", + "description", + "copyright", + "disclaimer", + "scoring", + "patientBasedIndicator", + "types", + "stratification", + "riskAdjustment", + "aggregation", + "rationale", + "recommendations", + "improvementNotations", + "references", + "definitions", + "guidance", + "transmissionFormat", + "initialPopDescription", + "denominatorDescription", + "denominatorExclusionsDescription", + "numeratorDescription", + "numeratorExclusionsDescription", + "denominatorExceptionsDescription", + "measurePopulationDescription", + "measurePopulationExclusionsDescription", + "measureObservationsDescription", + "supplementalData", + "qualityMeasureSet", + "finalizedDate" + }) +public class MeasureDetailsType { + + @XmlElement(required = true) + protected String uuid; + + @XmlElement(required = true) + protected String cqlUUID; + + @XmlElement(required = true) + protected String title; + + @XmlElement(required = true) + protected String measureModel; + + @XmlElement(required = true) + protected String shortTitle; + + @XmlElement(required = true) + protected String emeasureid; + + @XmlElement(required = true) + protected String guid; + + @XmlElement(required = true) + protected String version; + + @XmlElement(required = true) + protected String cbeid; + + @XmlElement(required = true) + protected PeriodType period; + + @XmlElement(required = true) + protected StewardType steward; + + @XmlElement(required = true) + protected String experimental; + + @XmlElement(required = true) + protected String populationBasis; + + @XmlElement(required = true) + protected DevelopersType developers; + + @XmlElement(required = true) + protected EndorsementType endorsement; + + @XmlElement(required = true) + protected String description; + + @XmlElement(required = true) + protected String copyright; + + @XmlElement(required = true) + protected String disclaimer; + + @XmlElement(required = true) + protected ScoringType scoring; + + @XmlElement(required = true) + protected String patientBasedIndicator; + + @XmlElement(required = true) + protected TypesType types; + + @XmlElement(required = true) + protected String stratification; + + @XmlElement(required = true) + protected String riskAdjustment; + + @XmlElement(required = true) + protected String aggregation; + + @XmlElement(required = true) + protected String rationale; + + @XmlElement(required = true) + protected String recommendations; + + @XmlElement(required = true) + protected String improvementNotations; + + @XmlElement(required = true) + protected ReferencesType references; + + @XmlElement(required = true) + protected String definitions; + + @XmlElement(required = true) + protected String guidance; + + @XmlElement(required = true) + protected String transmissionFormat; + + @XmlElement(required = true) + protected String initialPopDescription; + + @XmlElement(required = true) + protected String denominatorDescription; + + @XmlElement(required = true) + protected String denominatorExclusionsDescription; + + @XmlElement(required = true) + protected String numeratorDescription; + + @XmlElement(required = true) + protected String numeratorExclusionsDescription; + + @XmlElement(required = true) + protected String denominatorExceptionsDescription; + + @XmlElement(required = true) + protected String measurePopulationDescription; + + @XmlElement(required = true) + protected String measurePopulationExclusionsDescription; + + @XmlElement(required = true) + protected String measureObservationsDescription; + + @XmlElement(required = true) + protected String supplementalData; + + @XmlElement(required = true) + protected QualityMeasureSetType qualityMeasureSet; + + @XmlElement(required = true) + protected FinalizedDateType finalizedDate; + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } + + /** + * Gets the value of the cqlUUID property. + * + * @return possible object is {@link String } + */ + public String getCqlUUID() { + return cqlUUID; + } + + /** + * Sets the value of the cqlUUID property. + * + * @param value allowed object is {@link String } + */ + public void setCqlUUID(String value) { + this.cqlUUID = value; + } + + /** + * Gets the value of the title property. + * + * @return possible object is {@link String } + */ + public String getTitle() { + return title; + } + + /** + * Sets the value of the title property. + * + * @param value allowed object is {@link String } + */ + public void setTitle(String value) { + this.title = value; + } + + /** + * Gets the value of the measureModel property. + * + * @return possible object is {@link String } + */ + public String getMeasureModel() { + return measureModel; + } + + /** + * Sets the value of the measureModel property. + * + * @param value allowed object is {@link String } + */ + public void setMeasureModel(String value) { + this.measureModel = value; + } + + /** + * Gets the value of the shortTitle property. + * + * @return possible object is {@link String } + */ + public String getShortTitle() { + return shortTitle; + } + + /** + * Sets the value of the shortTitle property. + * + * @param value allowed object is {@link String } + */ + public void setShortTitle(String value) { + this.shortTitle = value; + } + + /** + * Gets the value of the emeasureid property. + * + * @return possible object is {@link String } + */ + public String getEmeasureid() { + return emeasureid; + } + + /** + * Sets the value of the emeasureid property. + * + * @param value allowed object is {@link String } + */ + public void setEmeasureid(String value) { + this.emeasureid = value; + } + + /** + * Gets the value of the guid property. + * + * @return possible object is {@link String } + */ + public String getGuid() { + return guid; + } + + /** + * Sets the value of the guid property. + * + * @param value allowed object is {@link String } + */ + public void setGuid(String value) { + this.guid = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the cbeid property. + * + * @return possible object is {@link String } + */ + public String getCbeid() { + return cbeid; + } + + /** + * Sets the value of the cbeid property. + * + * @param value allowed object is {@link String } + */ + public void setCbeid(String value) { + this.cbeid = value; + } + + /** + * Gets the value of the period property. + * + * @return possible object is {@link PeriodType } + */ + public PeriodType getPeriod() { + return period; + } + + /** + * Sets the value of the period property. + * + * @param value allowed object is {@link PeriodType } + */ + public void setPeriod(PeriodType value) { + this.period = value; + } + + /** + * Gets the value of the steward property. + * + * @return possible object is {@link StewardType } + */ + public StewardType getSteward() { + return steward; + } + + /** + * Sets the value of the steward property. + * + * @param value allowed object is {@link StewardType } + */ + public void setSteward(StewardType value) { + this.steward = value; + } + + /** + * Gets the value of the experimental property. + * + * @return possible object is {@link String } + */ + public String getExperimental() { + return experimental; + } + + /** + * Sets the value of the experimental property. + * + * @param value allowed object is {@link String } + */ + public void setExperimental(String value) { + this.experimental = value; + } + + /** + * Gets the value of the populationBasis property. + * + * @return possible object is {@link String } + */ + public String getPopulationBasis() { + return populationBasis; + } + + /** + * Sets the value of the populationBasis property. + * + * @param value allowed object is {@link String } + */ + public void setPopulationBasis(String value) { + this.populationBasis = value; + } + + /** + * Gets the value of the developers property. + * + * @return possible object is {@link DevelopersType } + */ + public DevelopersType getDevelopers() { + return developers; + } + + /** + * Sets the value of the developers property. + * + * @param value allowed object is {@link DevelopersType } + */ + public void setDevelopers(DevelopersType value) { + this.developers = value; + } + + /** + * Gets the value of the endorsement property. + * + * @return possible object is {@link EndorsementType } + */ + public EndorsementType getEndorsement() { + return endorsement; + } + + /** + * Sets the value of the endorsement property. + * + * @param value allowed object is {@link EndorsementType } + */ + public void setEndorsement(EndorsementType value) { + this.endorsement = value; + } + + /** + * Gets the value of the description property. + * + * @return possible object is {@link String } + */ + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value allowed object is {@link String } + */ + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the copyright property. + * + * @return possible object is {@link String } + */ + public String getCopyright() { + return copyright; + } + + /** + * Sets the value of the copyright property. + * + * @param value allowed object is {@link String } + */ + public void setCopyright(String value) { + this.copyright = value; + } + + /** + * Gets the value of the disclaimer property. + * + * @return possible object is {@link String } + */ + public String getDisclaimer() { + return disclaimer; + } + + /** + * Sets the value of the disclaimer property. + * + * @param value allowed object is {@link String } + */ + public void setDisclaimer(String value) { + this.disclaimer = value; + } + + /** + * Gets the value of the scoring property. + * + * @return possible object is {@link ScoringType } + */ + public ScoringType getScoring() { + return scoring; + } + + /** + * Sets the value of the scoring property. + * + * @param value allowed object is {@link ScoringType } + */ + public void setScoring(ScoringType value) { + this.scoring = value; + } + + /** + * Gets the value of the patientBasedIndicator property. + * + * @return possible object is {@link String } + */ + public String getPatientBasedIndicator() { + return patientBasedIndicator; + } + + /** + * Sets the value of the patientBasedIndicator property. + * + * @param value allowed object is {@link String } + */ + public void setPatientBasedIndicator(String value) { + this.patientBasedIndicator = value; + } + + /** + * Gets the value of the types property. + * + * @return possible object is {@link TypesType } + */ + public TypesType getTypes() { + return types; + } + + /** + * Sets the value of the types property. + * + * @param value allowed object is {@link TypesType } + */ + public void setTypes(TypesType value) { + this.types = value; + } + + /** + * Gets the value of the stratification property. + * + * @return possible object is {@link String } + */ + public String getStratification() { + return stratification; + } + + /** + * Sets the value of the stratification property. + * + * @param value allowed object is {@link String } + */ + public void setStratification(String value) { + this.stratification = value; + } + + /** + * Gets the value of the riskAdjustment property. + * + * @return possible object is {@link String } + */ + public String getRiskAdjustment() { + return riskAdjustment; + } + + /** + * Sets the value of the riskAdjustment property. + * + * @param value allowed object is {@link String } + */ + public void setRiskAdjustment(String value) { + this.riskAdjustment = value; + } + + /** + * Gets the value of the aggregation property. + * + * @return possible object is {@link String } + */ + public String getAggregation() { + return aggregation; + } + + /** + * Sets the value of the aggregation property. + * + * @param value allowed object is {@link String } + */ + public void setAggregation(String value) { + this.aggregation = value; + } + + /** + * Gets the value of the rationale property. + * + * @return possible object is {@link String } + */ + public String getRationale() { + return rationale; + } + + /** + * Sets the value of the rationale property. + * + * @param value allowed object is {@link String } + */ + public void setRationale(String value) { + this.rationale = value; + } + + /** + * Gets the value of the recommendations property. + * + * @return possible object is {@link String } + */ + public String getRecommendations() { + return recommendations; + } + + /** + * Sets the value of the recommendations property. + * + * @param value allowed object is {@link String } + */ + public void setRecommendations(String value) { + this.recommendations = value; + } + + /** + * Gets the value of the improvementNotations property. + * + * @return possible object is {@link String } + */ + public String getImprovementNotations() { + return improvementNotations; + } + + /** + * Sets the value of the improvementNotations property. + * + * @param value allowed object is {@link String } + */ + public void setImprovementNotations(String value) { + this.improvementNotations = value; + } + + /** + * Gets the value of the references property. + * + * @return possible object is {@link ReferencesType } + */ + public ReferencesType getReferences() { + return references; + } + + /** + * Sets the value of the references property. + * + * @param value allowed object is {@link ReferencesType } + */ + public void setReferences(ReferencesType value) { + this.references = value; + } + + /** + * Gets the value of the definitions property. + * + * @return possible object is {@link String } + */ + public String getDefinitions() { + return definitions; + } + + /** + * Sets the value of the definitions property. + * + * @param value allowed object is {@link String } + */ + public void setDefinitions(String value) { + this.definitions = value; + } + + /** + * Gets the value of the guidance property. + * + * @return possible object is {@link String } + */ + public String getGuidance() { + return guidance; + } + + /** + * Sets the value of the guidance property. + * + * @param value allowed object is {@link String } + */ + public void setGuidance(String value) { + this.guidance = value; + } + + /** + * Gets the value of the transmissionFormat property. + * + * @return possible object is {@link String } + */ + public String getTransmissionFormat() { + return transmissionFormat; + } + + /** + * Sets the value of the transmissionFormat property. + * + * @param value allowed object is {@link String } + */ + public void setTransmissionFormat(String value) { + this.transmissionFormat = value; + } + + /** + * Gets the value of the initialPopDescription property. + * + * @return possible object is {@link String } + */ + public String getInitialPopDescription() { + return initialPopDescription; + } + + /** + * Sets the value of the initialPopDescription property. + * + * @param value allowed object is {@link String } + */ + public void setInitialPopDescription(String value) { + this.initialPopDescription = value; + } + + /** + * Gets the value of the denominatorDescription property. + * + * @return possible object is {@link String } + */ + public String getDenominatorDescription() { + return denominatorDescription; + } + + /** + * Sets the value of the denominatorDescription property. + * + * @param value allowed object is {@link String } + */ + public void setDenominatorDescription(String value) { + this.denominatorDescription = value; + } + + /** + * Gets the value of the denominatorExclusionsDescription property. + * + * @return possible object is {@link String } + */ + public String getDenominatorExclusionsDescription() { + return denominatorExclusionsDescription; + } + + /** + * Sets the value of the denominatorExclusionsDescription property. + * + * @param value allowed object is {@link String } + */ + public void setDenominatorExclusionsDescription(String value) { + this.denominatorExclusionsDescription = value; + } + + /** + * Gets the value of the numeratorDescription property. + * + * @return possible object is {@link String } + */ + public String getNumeratorDescription() { + return numeratorDescription; + } + + /** + * Sets the value of the numeratorDescription property. + * + * @param value allowed object is {@link String } + */ + public void setNumeratorDescription(String value) { + this.numeratorDescription = value; + } + + /** + * Gets the value of the numeratorExclusionsDescription property. + * + * @return possible object is {@link String } + */ + public String getNumeratorExclusionsDescription() { + return numeratorExclusionsDescription; + } + + /** + * Sets the value of the numeratorExclusionsDescription property. + * + * @param value allowed object is {@link String } + */ + public void setNumeratorExclusionsDescription(String value) { + this.numeratorExclusionsDescription = value; + } + + /** + * Gets the value of the denominatorExceptionsDescription property. + * + * @return possible object is {@link String } + */ + public String getDenominatorExceptionsDescription() { + return denominatorExceptionsDescription; + } + + /** + * Sets the value of the denominatorExceptionsDescription property. + * + * @param value allowed object is {@link String } + */ + public void setDenominatorExceptionsDescription(String value) { + this.denominatorExceptionsDescription = value; + } + + /** + * Gets the value of the measurePopulationDescription property. + * + * @return possible object is {@link String } + */ + public String getMeasurePopulationDescription() { + return measurePopulationDescription; + } + + /** + * Sets the value of the measurePopulationDescription property. + * + * @param value allowed object is {@link String } + */ + public void setMeasurePopulationDescription(String value) { + this.measurePopulationDescription = value; + } + + /** + * Gets the value of the measurePopulationExclusionsDescription property. + * + * @return possible object is {@link String } + */ + public String getMeasurePopulationExclusionsDescription() { + return measurePopulationExclusionsDescription; + } + + /** + * Sets the value of the measurePopulationExclusionsDescription property. + * + * @param value allowed object is {@link String } + */ + public void setMeasurePopulationExclusionsDescription(String value) { + this.measurePopulationExclusionsDescription = value; + } + + /** + * Gets the value of the measureObservationsDescription property. + * + * @return possible object is {@link String } + */ + public String getMeasureObservationsDescription() { + return measureObservationsDescription; + } + + /** + * Sets the value of the measureObservationsDescription property. + * + * @param value allowed object is {@link String } + */ + public void setMeasureObservationsDescription(String value) { + this.measureObservationsDescription = value; + } + + /** + * Gets the value of the supplementalData property. + * + * @return possible object is {@link String } + */ + public String getSupplementalData() { + return supplementalData; + } + + /** + * Sets the value of the supplementalData property. + * + * @param value allowed object is {@link String } + */ + public void setSupplementalData(String value) { + this.supplementalData = value; + } + + /** + * Gets the value of the qualityMeasureSet property. + * + * @return possible object is {@link QualityMeasureSetType } + */ + public QualityMeasureSetType getQualityMeasureSet() { + return qualityMeasureSet; + } + + /** + * Sets the value of the qualityMeasureSet property. + * + * @param value allowed object is {@link QualityMeasureSetType } + */ + public void setQualityMeasureSet(QualityMeasureSetType value) { + this.qualityMeasureSet = value; + } + + /** + * Gets the value of the finalizedDate property. + * + * @return possible object is {@link FinalizedDateType } + */ + public FinalizedDateType getFinalizedDate() { + return finalizedDate; + } + + /** + * Sets the value of the finalizedDate property. + * + * @param value allowed object is {@link FinalizedDateType } + */ + public void setFinalizedDate(FinalizedDateType value) { + this.finalizedDate = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/MeasureGroupingType.java b/src/main/java/generated/gov/cms/madie/simplexml/MeasureGroupingType.java new file mode 100644 index 0000000..892006c --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/MeasureGroupingType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for measureGroupingType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "measureGroupingType", + propOrder = {"group"}) +public class MeasureGroupingType { + + protected List group; + + /** + * Gets the value of the group 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 group property. + * + *

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

+   * getGroup().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link GroupType } + * + * @return The value of the group property. + */ + public List getGroup() { + if (group == null) { + group = new ArrayList<>(); + } + return this.group; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/MeasureType.java b/src/main/java/generated/gov/cms/madie/simplexml/MeasureType.java new file mode 100644 index 0000000..ade8aaf --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/MeasureType.java @@ -0,0 +1,197 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for measureType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "measureType", + propOrder = { + "cqlLookUp", + "supplementalDataElements", + "riskAdjustmentVariables", + "measureGrouping", + "elementLookUp", + "allUsedCQLLibs", + "measureDetails" + }) +public class MeasureType { + + @XmlElement(required = true) + protected CqlLookUpType cqlLookUp; + + @XmlElement(required = true) + protected SupplementalDataElementsType supplementalDataElements; + + @XmlElement(required = true) + protected RiskAdjustmentVariablesType riskAdjustmentVariables; + + @XmlElement(required = true) + protected MeasureGroupingType measureGrouping; + + @XmlElement(required = true) + protected ElementLookUpType elementLookUp; + + @XmlElement(required = true) + protected AllUsedCQLLibsType allUsedCQLLibs; + + @XmlElement(required = true) + protected MeasureDetailsType measureDetails; + + /** + * Gets the value of the cqlLookUp property. + * + * @return possible object is {@link CqlLookUpType } + */ + public CqlLookUpType getCqlLookUp() { + return cqlLookUp; + } + + /** + * Sets the value of the cqlLookUp property. + * + * @param value allowed object is {@link CqlLookUpType } + */ + public void setCqlLookUp(CqlLookUpType value) { + this.cqlLookUp = value; + } + + /** + * Gets the value of the supplementalDataElements property. + * + * @return possible object is {@link SupplementalDataElementsType } + */ + public SupplementalDataElementsType getSupplementalDataElements() { + return supplementalDataElements; + } + + /** + * Sets the value of the supplementalDataElements property. + * + * @param value allowed object is {@link SupplementalDataElementsType } + */ + public void setSupplementalDataElements(SupplementalDataElementsType value) { + this.supplementalDataElements = value; + } + + /** + * Gets the value of the riskAdjustmentVariables property. + * + * @return possible object is {@link RiskAdjustmentVariablesType } + */ + public RiskAdjustmentVariablesType getRiskAdjustmentVariables() { + return riskAdjustmentVariables; + } + + /** + * Sets the value of the riskAdjustmentVariables property. + * + * @param value allowed object is {@link RiskAdjustmentVariablesType } + */ + public void setRiskAdjustmentVariables(RiskAdjustmentVariablesType value) { + this.riskAdjustmentVariables = value; + } + + /** + * Gets the value of the measureGrouping property. + * + * @return possible object is {@link MeasureGroupingType } + */ + public MeasureGroupingType getMeasureGrouping() { + return measureGrouping; + } + + /** + * Sets the value of the measureGrouping property. + * + * @param value allowed object is {@link MeasureGroupingType } + */ + public void setMeasureGrouping(MeasureGroupingType value) { + this.measureGrouping = value; + } + + /** + * Gets the value of the elementLookUp property. + * + * @return possible object is {@link ElementLookUpType } + */ + public ElementLookUpType getElementLookUp() { + return elementLookUp; + } + + /** + * Sets the value of the elementLookUp property. + * + * @param value allowed object is {@link ElementLookUpType } + */ + public void setElementLookUp(ElementLookUpType value) { + this.elementLookUp = value; + } + + /** + * Gets the value of the allUsedCQLLibs property. + * + * @return possible object is {@link AllUsedCQLLibsType } + */ + public AllUsedCQLLibsType getAllUsedCQLLibs() { + return allUsedCQLLibs; + } + + /** + * Sets the value of the allUsedCQLLibs property. + * + * @param value allowed object is {@link AllUsedCQLLibsType } + */ + public void setAllUsedCQLLibs(AllUsedCQLLibsType value) { + this.allUsedCQLLibs = value; + } + + /** + * Gets the value of the measureDetails property. + * + * @return possible object is {@link MeasureDetailsType } + */ + public MeasureDetailsType getMeasureDetails() { + return measureDetails; + } + + /** + * Sets the value of the measureDetails property. + * + * @param value allowed object is {@link MeasureDetailsType } + */ + public void setMeasureDetails(MeasureDetailsType value) { + this.measureDetails = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/NqfidType.java b/src/main/java/generated/gov/cms/madie/simplexml/NqfidType.java new file mode 100644 index 0000000..c6ab1df --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/NqfidType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for nqfidType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "nqfidType", + propOrder = {"value"}) +public class NqfidType { + + @XmlValue protected String value; + + @XmlAttribute(name = "extension") + protected String extension; + + @XmlAttribute(name = "root") + protected String root; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the extension property. + * + * @return possible object is {@link String } + */ + public String getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value allowed object is {@link String } + */ + public void setExtension(String value) { + this.extension = value; + } + + /** + * Gets the value of the root property. + * + * @return possible object is {@link String } + */ + public String getRoot() { + return root; + } + + /** + * Sets the value of the root property. + * + * @param value allowed object is {@link String } + */ + public void setRoot(String value) { + this.root = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ObjectFactory.java b/src/main/java/generated/gov/cms/madie/simplexml/ObjectFactory.java new file mode 100644 index 0000000..fb156b2 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ObjectFactory.java @@ -0,0 +1,457 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import javax.xml.namespace.QName; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.annotation.XmlElementDecl; +import jakarta.xml.bind.annotation.XmlRegistry; + +/** + * This object contains factory methods for each Java content interface and Java element interface + * generated in the generated.gov.cms.madie.simplexml package. + * + *

An ObjectFactory allows you to programmatically construct new instances of the Java + * representation for XML content. The Java representation of XML content can consist of schema + * derived interfaces and classes representing the binding of schema type definitions, element + * declarations and model groups. Factory methods for each of these are provided in this class. + */ +@XmlRegistry +public class ObjectFactory { + + private static final QName _Measure_QNAME = new QName("", "measure"); + private static final QName _ClauseTypeCqldefinition_QNAME = new QName("", "cqldefinition"); + private static final QName _ClauseTypeCqlaggfunction_QNAME = new QName("", "cqlaggfunction"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes + * for package: generated.gov.cms.madie.simplexml + */ + public ObjectFactory() {} + + /** + * Create an instance of {@link MeasureType } + * + * @return the new instance of {@link MeasureType } + */ + public MeasureType createMeasureType() { + return new MeasureType(); + } + + /** + * Create an instance of {@link CodeSystemType } + * + * @return the new instance of {@link CodeSystemType } + */ + public CodeSystemType createCodeSystemType() { + return new CodeSystemType(); + } + + /** + * Create an instance of {@link CodeSystemsType } + * + * @return the new instance of {@link CodeSystemsType } + */ + public CodeSystemsType createCodeSystemsType() { + return new CodeSystemsType(); + } + + /** + * Create an instance of {@link ValuesetType } + * + * @return the new instance of {@link ValuesetType } + */ + public ValuesetType createValuesetType() { + return new ValuesetType(); + } + + /** + * Create an instance of {@link ValuesetsType } + * + * @return the new instance of {@link ValuesetsType } + */ + public ValuesetsType createValuesetsType() { + return new ValuesetsType(); + } + + /** + * Create an instance of {@link CodeType } + * + * @return the new instance of {@link CodeType } + */ + public CodeType createCodeType() { + return new CodeType(); + } + + /** + * Create an instance of {@link CodesType } + * + * @return the new instance of {@link CodesType } + */ + public CodesType createCodesType() { + return new CodesType(); + } + + /** + * Create an instance of {@link ParameterType } + * + * @return the new instance of {@link ParameterType } + */ + public ParameterType createParameterType() { + return new ParameterType(); + } + + /** + * Create an instance of {@link ParametersType } + * + * @return the new instance of {@link ParametersType } + */ + public ParametersType createParametersType() { + return new ParametersType(); + } + + /** + * Create an instance of {@link DefinitionType } + * + * @return the new instance of {@link DefinitionType } + */ + public DefinitionType createDefinitionType() { + return new DefinitionType(); + } + + /** + * Create an instance of {@link DefinitionsType } + * + * @return the new instance of {@link DefinitionsType } + */ + public DefinitionsType createDefinitionsType() { + return new DefinitionsType(); + } + + /** + * Create an instance of {@link ArgumentType } + * + * @return the new instance of {@link ArgumentType } + */ + public ArgumentType createArgumentType() { + return new ArgumentType(); + } + + /** + * Create an instance of {@link ArgumentsType } + * + * @return the new instance of {@link ArgumentsType } + */ + public ArgumentsType createArgumentsType() { + return new ArgumentsType(); + } + + /** + * Create an instance of {@link FunctionType } + * + * @return the new instance of {@link FunctionType } + */ + public FunctionType createFunctionType() { + return new FunctionType(); + } + + /** + * Create an instance of {@link FunctionsType } + * + * @return the new instance of {@link FunctionsType } + */ + public FunctionsType createFunctionsType() { + return new FunctionsType(); + } + + /** + * Create an instance of {@link IncludeLibraryType } + * + * @return the new instance of {@link IncludeLibraryType } + */ + public IncludeLibraryType createIncludeLibraryType() { + return new IncludeLibraryType(); + } + + /** + * Create an instance of {@link IncludeLibrarysType } + * + * @return the new instance of {@link IncludeLibrarysType } + */ + public IncludeLibrarysType createIncludeLibrarysType() { + return new IncludeLibrarysType(); + } + + /** + * Create an instance of {@link CqlLookUpType } + * + * @return the new instance of {@link CqlLookUpType } + */ + public CqlLookUpType createCqlLookUpType() { + return new CqlLookUpType(); + } + + /** + * Create an instance of {@link CqldefinitionType } + * + * @return the new instance of {@link CqldefinitionType } + */ + public CqldefinitionType createCqldefinitionType() { + return new CqldefinitionType(); + } + + /** + * Create an instance of {@link SupplementalDataElementsType } + * + * @return the new instance of {@link SupplementalDataElementsType } + */ + public SupplementalDataElementsType createSupplementalDataElementsType() { + return new SupplementalDataElementsType(); + } + + /** + * Create an instance of {@link RiskAdjustmentVariablesType } + * + * @return the new instance of {@link RiskAdjustmentVariablesType } + */ + public RiskAdjustmentVariablesType createRiskAdjustmentVariablesType() { + return new RiskAdjustmentVariablesType(); + } + + /** + * Create an instance of {@link ClauseType } + * + * @return the new instance of {@link ClauseType } + */ + public ClauseType createClauseType() { + return new ClauseType(); + } + + /** + * Create an instance of {@link CqlfunctionType } + * + * @return the new instance of {@link CqlfunctionType } + */ + public CqlfunctionType createCqlfunctionType() { + return new CqlfunctionType(); + } + + /** + * Create an instance of {@link CqlaggfunctionType } + * + * @return the new instance of {@link CqlaggfunctionType } + */ + public CqlaggfunctionType createCqlaggfunctionType() { + return new CqlaggfunctionType(); + } + + /** + * Create an instance of {@link GroupType } + * + * @return the new instance of {@link GroupType } + */ + public GroupType createGroupType() { + return new GroupType(); + } + + /** + * Create an instance of {@link MeasureGroupingType } + * + * @return the new instance of {@link MeasureGroupingType } + */ + public MeasureGroupingType createMeasureGroupingType() { + return new MeasureGroupingType(); + } + + /** + * Create an instance of {@link QdmType } + * + * @return the new instance of {@link QdmType } + */ + public QdmType createQdmType() { + return new QdmType(); + } + + /** + * Create an instance of {@link ElementLookUpType } + * + * @return the new instance of {@link ElementLookUpType } + */ + public ElementLookUpType createElementLookUpType() { + return new ElementLookUpType(); + } + + /** + * Create an instance of {@link LibType } + * + * @return the new instance of {@link LibType } + */ + public LibType createLibType() { + return new LibType(); + } + + /** + * Create an instance of {@link AllUsedCQLLibsType } + * + * @return the new instance of {@link AllUsedCQLLibsType } + */ + public AllUsedCQLLibsType createAllUsedCQLLibsType() { + return new AllUsedCQLLibsType(); + } + + /** + * Create an instance of {@link PeriodType } + * + * @return the new instance of {@link PeriodType } + */ + public PeriodType createPeriodType() { + return new PeriodType(); + } + + /** + * Create an instance of {@link StewardType } + * + * @return the new instance of {@link StewardType } + */ + public StewardType createStewardType() { + return new StewardType(); + } + + /** + * Create an instance of {@link DeveloperType } + * + * @return the new instance of {@link DeveloperType } + */ + public DeveloperType createDeveloperType() { + return new DeveloperType(); + } + + /** + * Create an instance of {@link DevelopersType } + * + * @return the new instance of {@link DevelopersType } + */ + public DevelopersType createDevelopersType() { + return new DevelopersType(); + } + + /** + * Create an instance of {@link EndorsementType } + * + * @return the new instance of {@link EndorsementType } + */ + public EndorsementType createEndorsementType() { + return new EndorsementType(); + } + + /** + * Create an instance of {@link ScoringType } + * + * @return the new instance of {@link ScoringType } + */ + public ScoringType createScoringType() { + return new ScoringType(); + } + + /** + * Create an instance of {@link TypeType } + * + * @return the new instance of {@link TypeType } + */ + public TypeType createTypeType() { + return new TypeType(); + } + + /** + * Create an instance of {@link TypesType } + * + * @return the new instance of {@link TypesType } + */ + public TypesType createTypesType() { + return new TypesType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + * @return the new instance of {@link ReferenceType } + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link ReferencesType } + * + * @return the new instance of {@link ReferencesType } + */ + public ReferencesType createReferencesType() { + return new ReferencesType(); + } + + /** + * Create an instance of {@link QualityMeasureSetType } + * + * @return the new instance of {@link QualityMeasureSetType } + */ + public QualityMeasureSetType createQualityMeasureSetType() { + return new QualityMeasureSetType(); + } + + /** + * Create an instance of {@link FinalizedDateType } + * + * @return the new instance of {@link FinalizedDateType } + */ + public FinalizedDateType createFinalizedDateType() { + return new FinalizedDateType(); + } + + /** + * Create an instance of {@link MeasureDetailsType } + * + * @return the new instance of {@link MeasureDetailsType } + */ + public MeasureDetailsType createMeasureDetailsType() { + return new MeasureDetailsType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MeasureType }{@code >} + * + * @param value Java instance representing xml element's value. + * @return the new instance of {@link JAXBElement }{@code <}{@link MeasureType }{@code >} + */ + @XmlElementDecl(namespace = "", name = "measure") + public JAXBElement createMeasure(MeasureType value) { + return new JAXBElement<>(_Measure_QNAME, MeasureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CqldefinitionType }{@code >} + * + * @param value Java instance representing xml element's value. + * @return the new instance of {@link JAXBElement }{@code <}{@link CqldefinitionType }{@code >} + */ + @XmlElementDecl(namespace = "", name = "cqldefinition", scope = ClauseType.class) + public JAXBElement createClauseTypeCqldefinition(CqldefinitionType value) { + return new JAXBElement<>( + _ClauseTypeCqldefinition_QNAME, CqldefinitionType.class, ClauseType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CqlaggfunctionType }{@code >} + * + * @param value Java instance representing xml element's value. + * @return the new instance of {@link JAXBElement }{@code <}{@link CqlaggfunctionType }{@code >} + */ + @XmlElementDecl(namespace = "", name = "cqlaggfunction", scope = ClauseType.class) + public JAXBElement createClauseTypeCqlaggfunction(CqlaggfunctionType value) { + return new JAXBElement<>( + _ClauseTypeCqlaggfunction_QNAME, CqlaggfunctionType.class, ClauseType.class, value); + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ParameterType.java b/src/main/java/generated/gov/cms/madie/simplexml/ParameterType.java new file mode 100644 index 0000000..f2ef79e --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ParameterType.java @@ -0,0 +1,146 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for parameterType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "parameterType", + propOrder = {"comment", "logic"}) +public class ParameterType { + + @XmlElement(required = true) + protected String comment; + + @XmlElement(required = true) + protected String logic; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "readOnly") + protected String readOnly; + + /** + * Gets the value of the comment property. + * + * @return possible object is {@link String } + */ + public String getComment() { + return comment; + } + + /** + * Sets the value of the comment property. + * + * @param value allowed object is {@link String } + */ + public void setComment(String value) { + this.comment = value; + } + + /** + * Gets the value of the logic property. + * + * @return possible object is {@link String } + */ + public String getLogic() { + return logic; + } + + /** + * Sets the value of the logic property. + * + * @param value allowed object is {@link String } + */ + public void setLogic(String value) { + this.logic = value; + } + + /** + * 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; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the readOnly property. + * + * @return possible object is {@link String } + */ + public String getReadOnly() { + return readOnly; + } + + /** + * Sets the value of the readOnly property. + * + * @param value allowed object is {@link String } + */ + public void setReadOnly(String value) { + this.readOnly = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ParametersType.java b/src/main/java/generated/gov/cms/madie/simplexml/ParametersType.java new file mode 100644 index 0000000..3e0061a --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ParametersType.java @@ -0,0 +1,57 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for parametersType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "parametersType", + propOrder = {"parameter"}) +public class ParametersType { + + @XmlElement(required = true) + protected ParameterType parameter; + + /** + * Gets the value of the parameter property. + * + * @return possible object is {@link ParameterType } + */ + public ParameterType getParameter() { + return parameter; + } + + /** + * Sets the value of the parameter property. + * + * @param value allowed object is {@link ParameterType } + */ + public void setParameter(ParameterType value) { + this.parameter = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/PeriodType.java b/src/main/java/generated/gov/cms/madie/simplexml/PeriodType.java new file mode 100644 index 0000000..2bb32ea --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/PeriodType.java @@ -0,0 +1,124 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for periodType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *         
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "periodType", + propOrder = {"startDate", "stopDate"}) +public class PeriodType { + + @XmlElement(required = true) + protected String startDate; + + @XmlElement(required = true) + protected String stopDate; + + @XmlAttribute(name = "calenderYear") + protected String calenderYear; + + @XmlAttribute(name = "uuid") + protected String uuid; + + /** + * Gets the value of the startDate property. + * + * @return possible object is {@link String } + */ + public String getStartDate() { + return startDate; + } + + /** + * Sets the value of the startDate property. + * + * @param value allowed object is {@link String } + */ + public void setStartDate(String value) { + this.startDate = value; + } + + /** + * Gets the value of the stopDate property. + * + * @return possible object is {@link String } + */ + public String getStopDate() { + return stopDate; + } + + /** + * Sets the value of the stopDate property. + * + * @param value allowed object is {@link String } + */ + public void setStopDate(String value) { + this.stopDate = value; + } + + /** + * Gets the value of the calenderYear property. + * + * @return possible object is {@link String } + */ + public String getCalenderYear() { + return calenderYear; + } + + /** + * Sets the value of the calenderYear property. + * + * @param value allowed object is {@link String } + */ + public void setCalenderYear(String value) { + this.calenderYear = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/QdmType.java b/src/main/java/generated/gov/cms/madie/simplexml/QdmType.java new file mode 100644 index 0000000..239fe7c --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/QdmType.java @@ -0,0 +1,560 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for qdmType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "qdmType", + propOrder = {"value"}) +public class QdmType { + + @XmlValue protected String value; + + @XmlAttribute(name = "code") + protected String code; + + @XmlAttribute(name = "datatype") + protected String datatype; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "isValidatedWithVsac") + protected String isValidatedWithVsac; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "oid") + protected String oid; + + @XmlAttribute(name = "originalName") + protected String originalName; + + @XmlAttribute(name = "program") + protected String program; + + @XmlAttribute(name = "release") + protected String release; + + @XmlAttribute(name = "suffix") + protected String suffix; + + @XmlAttribute(name = "suppDataElement") + protected String suppDataElement; + + @XmlAttribute(name = "taxonomy") + protected String taxonomy; + + @XmlAttribute(name = "type") + protected String type; + + @XmlAttribute(name = "uuid") + protected String uuid; + + @XmlAttribute(name = "version") + protected String version; + + @XmlAttribute(name = "codeSystemName") + protected String codeSystemName; + + @XmlAttribute(name = "codeIdentifier") + protected String codeIdentifier; + + @XmlAttribute(name = "codeName") + protected String codeName; + + @XmlAttribute(name = "codeSystemOID") + protected String codeSystemOID; + + @XmlAttribute(name = "codeSystemVersion") + protected String codeSystemVersion; + + @XmlAttribute(name = "displayName") + protected String displayName; + + @XmlAttribute(name = "isCodeSystemVersionIncluded") + protected String isCodeSystemVersionIncluded; + + @XmlAttribute(name = "readOnly") + protected String readOnly; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = 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 datatype property. + * + * @return possible object is {@link String } + */ + public String getDatatype() { + return datatype; + } + + /** + * Sets the value of the datatype property. + * + * @param value allowed object is {@link String } + */ + public void setDatatype(String value) { + this.datatype = value; + } + + /** + * 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; + } + + /** + * Gets the value of the isValidatedWithVsac property. + * + * @return possible object is {@link String } + */ + public String getIsValidatedWithVsac() { + return isValidatedWithVsac; + } + + /** + * Sets the value of the isValidatedWithVsac property. + * + * @param value allowed object is {@link String } + */ + public void setIsValidatedWithVsac(String value) { + this.isValidatedWithVsac = value; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the oid property. + * + * @return possible object is {@link String } + */ + public String getOid() { + return oid; + } + + /** + * Sets the value of the oid property. + * + * @param value allowed object is {@link String } + */ + public void setOid(String value) { + this.oid = value; + } + + /** + * Gets the value of the originalName property. + * + * @return possible object is {@link String } + */ + public String getOriginalName() { + return originalName; + } + + /** + * Sets the value of the originalName property. + * + * @param value allowed object is {@link String } + */ + public void setOriginalName(String value) { + this.originalName = value; + } + + /** + * Gets the value of the program property. + * + * @return possible object is {@link String } + */ + public String getProgram() { + return program; + } + + /** + * Sets the value of the program property. + * + * @param value allowed object is {@link String } + */ + public void setProgram(String value) { + this.program = value; + } + + /** + * Gets the value of the release property. + * + * @return possible object is {@link String } + */ + public String getRelease() { + return release; + } + + /** + * Sets the value of the release property. + * + * @param value allowed object is {@link String } + */ + public void setRelease(String value) { + this.release = value; + } + + /** + * Gets the value of the suffix property. + * + * @return possible object is {@link String } + */ + public String getSuffix() { + return suffix; + } + + /** + * Sets the value of the suffix property. + * + * @param value allowed object is {@link String } + */ + public void setSuffix(String value) { + this.suffix = value; + } + + /** + * Gets the value of the suppDataElement property. + * + * @return possible object is {@link String } + */ + public String getSuppDataElement() { + return suppDataElement; + } + + /** + * Sets the value of the suppDataElement property. + * + * @param value allowed object is {@link String } + */ + public void setSuppDataElement(String value) { + this.suppDataElement = value; + } + + /** + * Gets the value of the taxonomy property. + * + * @return possible object is {@link String } + */ + public String getTaxonomy() { + return taxonomy; + } + + /** + * Sets the value of the taxonomy property. + * + * @param value allowed object is {@link String } + */ + public void setTaxonomy(String value) { + this.taxonomy = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link String } + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link String } + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(String value) { + this.version = 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 codeIdentifier property. + * + * @return possible object is {@link String } + */ + public String getCodeIdentifier() { + return codeIdentifier; + } + + /** + * Sets the value of the codeIdentifier property. + * + * @param value allowed object is {@link String } + */ + public void setCodeIdentifier(String value) { + this.codeIdentifier = value; + } + + /** + * Gets the value of the codeName property. + * + * @return possible object is {@link String } + */ + public String getCodeName() { + return codeName; + } + + /** + * Sets the value of the codeName property. + * + * @param value allowed object is {@link String } + */ + public void setCodeName(String value) { + this.codeName = value; + } + + /** + * Gets the value of the codeSystemOID property. + * + * @return possible object is {@link String } + */ + public String getCodeSystemOID() { + return codeSystemOID; + } + + /** + * Sets the value of the codeSystemOID property. + * + * @param value allowed object is {@link String } + */ + public void setCodeSystemOID(String value) { + this.codeSystemOID = 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 displayName property. + * + * @return possible object is {@link String } + */ + public String getDisplayName() { + return displayName; + } + + /** + * Sets the value of the displayName property. + * + * @param value allowed object is {@link String } + */ + public void setDisplayName(String value) { + this.displayName = value; + } + + /** + * Gets the value of the isCodeSystemVersionIncluded property. + * + * @return possible object is {@link String } + */ + public String getIsCodeSystemVersionIncluded() { + return isCodeSystemVersionIncluded; + } + + /** + * Sets the value of the isCodeSystemVersionIncluded property. + * + * @param value allowed object is {@link String } + */ + public void setIsCodeSystemVersionIncluded(String value) { + this.isCodeSystemVersionIncluded = value; + } + + /** + * Gets the value of the readOnly property. + * + * @return possible object is {@link String } + */ + public String getReadOnly() { + return readOnly; + } + + /** + * Sets the value of the readOnly property. + * + * @param value allowed object is {@link String } + */ + public void setReadOnly(String value) { + this.readOnly = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/QualityMeasureSetType.java b/src/main/java/generated/gov/cms/madie/simplexml/QualityMeasureSetType.java new file mode 100644 index 0000000..9de07d5 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/QualityMeasureSetType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for qualityMeasureSetType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "qualityMeasureSetType", + propOrder = {"value"}) +public class QualityMeasureSetType { + + @XmlValue protected String value; + + @XmlAttribute(name = "uuid") + protected String uuid; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ReferenceType.java b/src/main/java/generated/gov/cms/madie/simplexml/ReferenceType.java new file mode 100644 index 0000000..1db68ab --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ReferenceType.java @@ -0,0 +1,88 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for referenceType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *           
+ *             
+ *               
+ *               
+ *               
+ *               
+ *             
+ *           
+ *         
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "referenceType", + propOrder = {"referenceType", "referenceText"}) +public class ReferenceType { + + @XmlElement(name = "reference-type", required = true) + protected String referenceType; + + @XmlElement(name = "reference-text", required = true) + protected String referenceText; + + /** + * Gets the value of the referenceType property. + * + * @return possible object is {@link String } + */ + public String getReferenceType() { + return referenceType; + } + + /** + * Sets the value of the referenceType property. + * + * @param value allowed object is {@link String } + */ + public void setReferenceType(String value) { + this.referenceType = value; + } + + /** + * Gets the value of the referenceText property. + * + * @return possible object is {@link String } + */ + public String getReferenceText() { + return referenceText; + } + + /** + * Sets the value of the referenceText property. + * + * @param value allowed object is {@link String } + */ + public void setReferenceText(String value) { + this.referenceText = value; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ReferencesType.java b/src/main/java/generated/gov/cms/madie/simplexml/ReferencesType.java new file mode 100644 index 0000000..aceb7c4 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ReferencesType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for referencesType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "referencesType", + propOrder = {"reference"}) +public class ReferencesType { + + protected List reference; + + /** + * Gets the value of the reference 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 reference property. + * + *

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

+   * getReference().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link ReferenceType } + * + * @return The value of the reference property. + */ + public List getReference() { + if (reference == null) { + reference = new ArrayList<>(); + } + return this.reference; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/RiskAdjustmentVariablesType.java b/src/main/java/generated/gov/cms/madie/simplexml/RiskAdjustmentVariablesType.java new file mode 100644 index 0000000..98f1f7b --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/RiskAdjustmentVariablesType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for riskAdjustmentVariablesType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "riskAdjustmentVariablesType", + propOrder = {"cqldefinition"}) +public class RiskAdjustmentVariablesType { + + protected List cqldefinition; + + /** + * Gets the value of the cqldefinition 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 cqldefinition property. + * + *

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

+   * getCqldefinition().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link CqldefinitionType } + * + * @return The value of the cqldefinition property. + */ + public List getCqldefinition() { + if (cqldefinition == null) { + cqldefinition = new ArrayList<>(); + } + return this.cqldefinition; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ScoringType.java b/src/main/java/generated/gov/cms/madie/simplexml/ScoringType.java new file mode 100644 index 0000000..06be854 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ScoringType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for scoringType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "scoringType", + propOrder = {"value"}) +public class ScoringType { + + @XmlValue protected String value; + + @XmlAttribute(name = "id") + protected String id; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/StewardType.java b/src/main/java/generated/gov/cms/madie/simplexml/StewardType.java new file mode 100644 index 0000000..8ae8b0f --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/StewardType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for stewardType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "stewardType", + propOrder = {"value"}) +public class StewardType { + + @XmlValue protected String value; + + @XmlAttribute(name = "id") + protected String id; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/SupplementalDataElementsType.java b/src/main/java/generated/gov/cms/madie/simplexml/SupplementalDataElementsType.java new file mode 100644 index 0000000..6f4b5dd --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/SupplementalDataElementsType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for supplementalDataElementsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "supplementalDataElementsType", + propOrder = {"cqldefinition"}) +public class SupplementalDataElementsType { + + protected List cqldefinition; + + /** + * Gets the value of the cqldefinition 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 cqldefinition property. + * + *

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

+   * getCqldefinition().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link CqldefinitionType } + * + * @return The value of the cqldefinition property. + */ + public List getCqldefinition() { + if (cqldefinition == null) { + cqldefinition = new ArrayList<>(); + } + return this.cqldefinition; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/TypeType.java b/src/main/java/generated/gov/cms/madie/simplexml/TypeType.java new file mode 100644 index 0000000..4031fdf --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/TypeType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for typeType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "typeType", + propOrder = {"value"}) +public class TypeType { + + @XmlValue protected String value; + + @XmlAttribute(name = "id") + protected String id; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/TypesType.java b/src/main/java/generated/gov/cms/madie/simplexml/TypesType.java new file mode 100644 index 0000000..e3be8d6 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/TypesType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for typesType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "typesType", + propOrder = {"type"}) +public class TypesType { + + protected List type; + + /** + * Gets the value of the type 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 type property. + * + *

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

+   * getType().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link TypeType } + * + * @return The value of the type property. + */ + public List getType() { + if (type == null) { + type = new ArrayList<>(); + } + return this.type; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ValuesetType.java b/src/main/java/generated/gov/cms/madie/simplexml/ValuesetType.java new file mode 100644 index 0000000..5e4c1d8 --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ValuesetType.java @@ -0,0 +1,384 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlAttribute; +import jakarta.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlValue; + +/** + * Java class for valuesetType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "valuesetType", + propOrder = {"value"}) +public class ValuesetType { + + @XmlValue protected String value; + + @XmlAttribute(name = "datatype") + protected String datatype; + + @XmlAttribute(name = "id") + protected String id; + + @XmlAttribute(name = "isValidatedWithVsac") + protected String isValidatedWithVsac; + + @XmlAttribute(name = "name") + protected String name; + + @XmlAttribute(name = "oid") + protected String oid; + + @XmlAttribute(name = "originalName") + protected String originalName; + + @XmlAttribute(name = "program") + protected String program; + + @XmlAttribute(name = "release") + protected String release; + + @XmlAttribute(name = "suppDataElement") + protected String suppDataElement; + + @XmlAttribute(name = "taxonomy") + protected String taxonomy; + + @XmlAttribute(name = "type") + protected String type; + + @XmlAttribute(name = "uuid") + protected String uuid; + + @XmlAttribute(name = "version") + protected String version; + + @XmlAttribute(name = "suffix") + protected String suffix; + + @XmlAttribute(name = "codeSystemName") + protected String codeSystemName; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value allowed object is {@link String } + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the datatype property. + * + * @return possible object is {@link String } + */ + public String getDatatype() { + return datatype; + } + + /** + * Sets the value of the datatype property. + * + * @param value allowed object is {@link String } + */ + public void setDatatype(String value) { + this.datatype = value; + } + + /** + * 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; + } + + /** + * Gets the value of the isValidatedWithVsac property. + * + * @return possible object is {@link String } + */ + public String getIsValidatedWithVsac() { + return isValidatedWithVsac; + } + + /** + * Sets the value of the isValidatedWithVsac property. + * + * @param value allowed object is {@link String } + */ + public void setIsValidatedWithVsac(String value) { + this.isValidatedWithVsac = value; + } + + /** + * Gets the value of the name property. + * + * @return possible object is {@link String } + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value allowed object is {@link String } + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the oid property. + * + * @return possible object is {@link String } + */ + public String getOid() { + return oid; + } + + /** + * Sets the value of the oid property. + * + * @param value allowed object is {@link String } + */ + public void setOid(String value) { + this.oid = value; + } + + /** + * Gets the value of the originalName property. + * + * @return possible object is {@link String } + */ + public String getOriginalName() { + return originalName; + } + + /** + * Sets the value of the originalName property. + * + * @param value allowed object is {@link String } + */ + public void setOriginalName(String value) { + this.originalName = value; + } + + /** + * Gets the value of the program property. + * + * @return possible object is {@link String } + */ + public String getProgram() { + return program; + } + + /** + * Sets the value of the program property. + * + * @param value allowed object is {@link String } + */ + public void setProgram(String value) { + this.program = value; + } + + /** + * Gets the value of the release property. + * + * @return possible object is {@link String } + */ + public String getRelease() { + return release; + } + + /** + * Sets the value of the release property. + * + * @param value allowed object is {@link String } + */ + public void setRelease(String value) { + this.release = value; + } + + /** + * Gets the value of the suppDataElement property. + * + * @return possible object is {@link String } + */ + public String getSuppDataElement() { + return suppDataElement; + } + + /** + * Sets the value of the suppDataElement property. + * + * @param value allowed object is {@link String } + */ + public void setSuppDataElement(String value) { + this.suppDataElement = value; + } + + /** + * Gets the value of the taxonomy property. + * + * @return possible object is {@link String } + */ + public String getTaxonomy() { + return taxonomy; + } + + /** + * Sets the value of the taxonomy property. + * + * @param value allowed object is {@link String } + */ + public void setTaxonomy(String value) { + this.taxonomy = value; + } + + /** + * Gets the value of the type property. + * + * @return possible object is {@link String } + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value allowed object is {@link String } + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the uuid property. + * + * @return possible object is {@link String } + */ + public String getUuid() { + return uuid; + } + + /** + * Sets the value of the uuid property. + * + * @param value allowed object is {@link String } + */ + public void setUuid(String value) { + this.uuid = value; + } + + /** + * Gets the value of the version property. + * + * @return possible object is {@link String } + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value allowed object is {@link String } + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the suffix property. + * + * @return possible object is {@link String } + */ + public String getSuffix() { + return suffix; + } + + /** + * Sets the value of the suffix property. + * + * @param value allowed object is {@link String } + */ + public void setSuffix(String value) { + this.suffix = 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; + } +} diff --git a/src/main/java/generated/gov/cms/madie/simplexml/ValuesetsType.java b/src/main/java/generated/gov/cms/madie/simplexml/ValuesetsType.java new file mode 100644 index 0000000..fb7bacf --- /dev/null +++ b/src/main/java/generated/gov/cms/madie/simplexml/ValuesetsType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the Eclipse Implementation of JAXB, v4.0.4 +// See https://eclipse-ee4j.github.io/jaxb-ri +// Any modifications to this file will be lost upon recompilation of the source schema. +// + +package generated.gov.cms.madie.simplexml; + +import java.util.ArrayList; +import java.util.List; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlType; + +/** + * Java class for valuesetsType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

{@code
+ * 
+ *   
+ *     
+ *       
+ *         
+ *       
+ *     
+ *   
+ * 
+ * }
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType( + name = "valuesetsType", + propOrder = {"valueset"}) +public class ValuesetsType { + + protected List valueset; + + /** + * Gets the value of the valueset 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 valueset property. + * + *

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

+   * getValueset().add(newItem);
+   * 
+ * + *

Objects of the following type(s) are allowed in the list {@link ValuesetType } + * + * @return The value of the valueset property. + */ + public List getValueset() { + if (valueset == null) { + valueset = new ArrayList<>(); + } + return this.valueset; + } +} diff --git a/src/main/java/gov/cms/madie/config/SimpleXmlConfig.java b/src/main/java/gov/cms/madie/config/SimpleXmlConfig.java new file mode 100644 index 0000000..576bace --- /dev/null +++ b/src/main/java/gov/cms/madie/config/SimpleXmlConfig.java @@ -0,0 +1,20 @@ +package gov.cms.madie.config; + +import generated.gov.cms.madie.simplexml.MeasureType; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class SimpleXmlConfig { + + @Bean + public Marshaller simpleXmlMarshaller() throws JAXBException { + JAXBContext context = JAXBContext.newInstance(MeasureType.class); + Marshaller marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); + return marshaller; + } +} diff --git a/src/main/java/gov/cms/madie/resources/PackageController.java b/src/main/java/gov/cms/madie/resources/PackageController.java index 6cbee8c..38309ed 100644 --- a/src/main/java/gov/cms/madie/resources/PackageController.java +++ b/src/main/java/gov/cms/madie/resources/PackageController.java @@ -1,8 +1,11 @@ package gov.cms.madie.resources; import gov.cms.madie.Exceptions.UnsupportedModelException; +import gov.cms.madie.models.measure.QdmMeasure; import gov.cms.madie.services.PackagingService; import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.services.SimpleXmlService; +import jakarta.xml.bind.JAXBException; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.http.MediaType; @@ -20,6 +23,7 @@ public class PackageController { private final PackagingService packagingService; + private final SimpleXmlService simpleXmlService; @PutMapping( value = "/package", @@ -36,4 +40,19 @@ public byte[] getMeasurePackage( } throw new UnsupportedModelException("Unsupported model type: " + measure.getModel()); } + + @PutMapping( + value = "/simple-xml", + produces = { + MediaType.APPLICATION_XML_VALUE, + }, + consumes = {MediaType.APPLICATION_JSON_VALUE}) + public String getMeasureSimpleXml( + @RequestBody @Validated(Measure.ValidationSequence.class) Measure measure) + throws JAXBException { + if (measure.getModel() != null && measure.getModel().contains("QDM")) { + return simpleXmlService.measureToSimpleXml((QdmMeasure) measure); + } + throw new UnsupportedModelException("Unsupported model type: " + measure.getModel()); + } } diff --git a/src/main/java/gov/cms/madie/services/MeasureMapper.java b/src/main/java/gov/cms/madie/services/MeasureMapper.java new file mode 100644 index 0000000..4d2490f --- /dev/null +++ b/src/main/java/gov/cms/madie/services/MeasureMapper.java @@ -0,0 +1,241 @@ +package gov.cms.madie.services; + +import generated.gov.cms.madie.simplexml.*; +import gov.cms.madie.models.common.Organization; +import gov.cms.madie.models.common.Version; +import gov.cms.madie.models.measure.BaseConfigurationTypes; +import gov.cms.madie.models.measure.DefDescPair; +import gov.cms.madie.models.measure.Endorsement; +import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.models.measure.MeasureMetaData; +import gov.cms.madie.models.measure.QdmMeasure; +import gov.cms.madie.models.measure.Reference; +import gov.cms.madie.util.MadieConstants; +import gov.cms.madie.util.MappingUtil; +import org.apache.commons.lang3.StringUtils; +import org.mapstruct.Mapper; +import org.mapstruct.Mapping; +import org.mapstruct.MappingConstants; +import org.mapstruct.Named; +import org.springframework.util.CollectionUtils; + +import java.time.ZoneId; +import java.time.format.DateTimeFormatter; +import java.util.List; +import java.util.Optional; + +@Mapper(componentModel = MappingConstants.ComponentModel.SPRING) +public interface MeasureMapper { + + @Mapping(target = "measureDetails", source = "measure") + @Mapping(target = "supplementalDataElements", source = "supplementalData") + @Mapping(target = "riskAdjustmentVariables", source = "riskAdjustments") + MeasureType measureToMeasureType(QdmMeasure measure); + + @Mapping(target = "title", source = "measureName") + @Mapping(target = "measureModel", source = "model") + @Mapping(target = "shortTitle", source = "ecqmTitle") + @Mapping(target = "emeasureid", source = "cmsId") + @Mapping(target = "guid", source = "versionId") + @Mapping( + target = "cbeid", + source = "measure.measureMetaData.endorsements", + qualifiedByName = "endorsementsToCbeid") + @Mapping(target = "period", source = "measure") + @Mapping(target = "steward", source = "measure.measureMetaData.steward") + @Mapping(target = "experimental", source = "measure.measureMetaData.experimental") + @Mapping(target = "developers", source = "measure.measureMetaData") + @Mapping(target = "endorsement", source = "measure.measureMetaData.endorsements") + @Mapping(target = "description", source = "measure.measureMetaData.description") + @Mapping(target = "copyright", source = "measure.measureMetaData.copyright") + @Mapping(target = "disclaimer", source = "measure.measureMetaData.disclaimer") + @Mapping( + target = "patientBasedIndicator", + expression = "java(String.valueOf(measure.isPatientBasis()))") + @Mapping(target = "types", source = "baseConfigurationTypes") + // @Mapping(target = "stratification", source = "") + @Mapping(target = "riskAdjustment", source = "riskAdjustmentDescription") + @Mapping(target = "aggregation", source = "rateAggregation") + @Mapping(target = "rationale", source = "measure.measureMetaData.rationale") + @Mapping(target = "recommendations", source = "measure.measureMetaData.clinicalRecommendation") + @Mapping(target = "improvementNotations", source = "measure.improvementNotation") + @Mapping(target = "references", source = "measure.measureMetaData.references") + @Mapping(target = "definitions", source = "measure.measureMetaData.definition") + @Mapping(target = "guidance", source = "measure.measureMetaData.guidance") + @Mapping(target = "transmissionFormat", source = "measure.measureMetaData.transmissionFormat") + @Mapping( + target = "initialPopDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.INITIAL_POPULATION))") + @Mapping( + target = "denominatorDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.DENOMINATOR))") + @Mapping( + target = "denominatorExclusionsDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.DENOMINATOR_EXCLUSION))") + @Mapping( + target = "numeratorDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.NUMERATOR))") + @Mapping( + target = "numeratorExclusionsDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.NUMERATOR_EXCLUSION))") + @Mapping( + target = "denominatorExceptionsDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.DENOMINATOR_EXCEPTION))") + @Mapping( + target = "measurePopulationDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.MEASURE_POPULATION))") + @Mapping( + target = "measurePopulationExclusionsDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.MEASURE_POPULATION_OBSERVATION))") + @Mapping( + target = "measureObservationsDescription", + expression = + "java(gov.cms.madie.util.MappingUtil.getPopulationDescription(measure, gov.cms.madie.models.measure.PopulationType.MEASURE_OBSERVATION))") + @Mapping(target = "supplementalData", source = "supplementalDataDescription") + @Mapping(target = "finalizedDate", source = "measure") + MeasureDetailsType measureToMeasureDetailsType(QdmMeasure measure); + + @Mapping( + target = "id", + expression = "java(gov.cms.madie.util.MappingUtil.getScoringAbbr(scoring))") + @Mapping(target = "value", source = "scoring") + ScoringType scoringToScoringType(String scoring); + + default SupplementalDataElementsType supplementalDataToSupplementalDataElementsType( + List supplementalData) { + List defs = + Optional.ofNullable(supplementalData).orElse(List.of()).stream() + .map(this::defDescPairToCqldefinitionType) + .toList(); + SupplementalDataElementsType supplementalDataElementsType = new SupplementalDataElementsType(); + supplementalDataElementsType.getCqldefinition().addAll(defs); + return supplementalDataElementsType; + } + + default RiskAdjustmentVariablesType riskAdjustmentsToRiskAdjustmentVariablesType( + List riskAdjustments) { + List defs = + Optional.ofNullable(riskAdjustments).orElse(List.of()).stream() + .map(this::defDescPairToCqldefinitionType) + .toList(); + RiskAdjustmentVariablesType riskAdjustmentVariablesType = new RiskAdjustmentVariablesType(); + riskAdjustmentVariablesType.getCqldefinition().addAll(defs); + return riskAdjustmentVariablesType; + } + + default String versionToVersion(Version version) { + return version == null ? null : version.toString(); + } + + @Mapping(target = "calenderYear", constant = "false") + @Mapping(target = "startDate", source = "measure.measurementPeriodStart", dateFormat = "yyyyMMdd") + @Mapping(target = "stopDate", source = "measure.measurementPeriodEnd", dateFormat = "yyyyMMdd") + @Mapping(target = "uuid", expression = "java(java.util.UUID.randomUUID().toString())") + PeriodType measureToPeriodType(Measure measure); + + @Mapping(target = "value", source = "organization.name") + @Mapping(target = "id", source = "organization.oid") + StewardType organizationToStewardType(Organization organization); + + default DevelopersType measureMetaDataToDevelopersType(MeasureMetaData measureMetaData) { + if (measureMetaData == null || CollectionUtils.isEmpty(measureMetaData.getDevelopers())) { + return null; + } + DevelopersType developersType = new DevelopersType(); + developersType + .getDeveloper() + .addAll( + measureMetaData.getDevelopers().stream() + .map(this::organizationToDeveloperType) + .toList()); + return developersType; + } + + // Map the list of endorsements from MADiE model to a single CBE ID. + // Due to bad data, it is possible to have a list with a single endorsement with all + // null/empty-string values + @Named("endorsementsToCbeid") + default String endorsementsToCbeid(List endorsements) { + return CollectionUtils.isEmpty(endorsements) + || StringUtils.isEmpty(endorsements.get(0).getEndorsementId()) + ? null + : endorsements.get(0).getEndorsementId(); + } + + default EndorsementType endorsementsToEndorsementType(List endorsements) { + return CollectionUtils.isEmpty(endorsements) + || StringUtils.isEmpty(endorsements.get(0).getEndorsementId()) + ? null + : organizationToEndorsementType(endorsements.get(0)); + } + + @Mapping(target = "id", source = "endorsementId") + @Mapping(target = "value", source = "endorser") + EndorsementType organizationToEndorsementType(Endorsement endorsement); + + @Mapping(target = "value", source = "organization.name") + @Mapping(target = "id", source = "organization.oid") + DeveloperType organizationToDeveloperType(Organization organization); + + @Mapping(target = "displayName", source = "definition") + @Mapping(target = "uuid", expression = "java(java.util.UUID.randomUUID().toString())") + CqldefinitionType defDescPairToCqldefinitionType(DefDescPair defDescPair); + + default TypesType baseConfigurationTypesToTypesTypes( + List baseConfigurationTypes) { + if (CollectionUtils.isEmpty(baseConfigurationTypes)) { + return null; + } + TypesType typesType = new TypesType(); + typesType + .getType() + .addAll( + baseConfigurationTypes.stream().map(this::baseConfigurationTypeToTypesType).toList()); + return typesType; + } + + default TypeType baseConfigurationTypeToTypesType(BaseConfigurationTypes baseConfigurationType) { + if (baseConfigurationType == null) { + return null; + } + TypeType type = new TypeType(); + type.setId(MappingUtil.getMeasureTypeId(baseConfigurationType)); + type.setValue(baseConfigurationType.toString()); + return type; + } + + default ReferencesType referencesToReferencesType(List references) { + if (CollectionUtils.isEmpty(references)) { + return null; + } + ReferencesType referencesType = new ReferencesType(); + referencesType + .getReference() + .addAll(references.stream().map(this::referenceToReferenceType).toList()); + return referencesType; + } + + ReferenceType referenceToReferenceType(Reference reference); + + default FinalizedDateType instantToFinalizedDateType(Measure measure) { + if (measure.getMeasureMetaData() == null + || measure.getMeasureMetaData().isDraft() + || measure.getLastModifiedAt() == null) { + return null; + } + FinalizedDateType finalizedDateType = new FinalizedDateType(); + finalizedDateType.setValueAttribute( + DateTimeFormatter.ofPattern(MadieConstants.DATE_FORMAT) + .withZone(ZoneId.systemDefault()) + .format(measure.getLastModifiedAt())); + return finalizedDateType; + } +} diff --git a/src/main/java/gov/cms/madie/services/SimpleXmlService.java b/src/main/java/gov/cms/madie/services/SimpleXmlService.java new file mode 100644 index 0000000..cd1c908 --- /dev/null +++ b/src/main/java/gov/cms/madie/services/SimpleXmlService.java @@ -0,0 +1,33 @@ +package gov.cms.madie.services; + +import generated.gov.cms.madie.simplexml.MeasureType; +import gov.cms.madie.models.measure.QdmMeasure; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +import javax.xml.namespace.QName; +import java.io.StringWriter; + +@Service +@AllArgsConstructor +@Slf4j +public class SimpleXmlService { + + private final MeasureMapper measureMapper; + private final Marshaller simpleXmlMarshaller; + + public String measureToSimpleXml(QdmMeasure measure) throws JAXBException { + StringWriter sw = new StringWriter(); + if (measure != null) { + MeasureType measureType = measureMapper.measureToMeasureType(measure); + JAXBElement jaxbElement = + new JAXBElement<>(new QName(null, "measure"), MeasureType.class, measureType); + simpleXmlMarshaller.marshal(jaxbElement, sw); + } + return sw.toString(); + } +} diff --git a/src/main/java/gov/cms/madie/util/MadieConstants.java b/src/main/java/gov/cms/madie/util/MadieConstants.java new file mode 100644 index 0000000..c11a9f4 --- /dev/null +++ b/src/main/java/gov/cms/madie/util/MadieConstants.java @@ -0,0 +1,27 @@ +package gov.cms.madie.util; + +public interface MadieConstants { + + String DATE_FORMAT = "yyyyMMdd"; + + // Scoring Abbreviations + interface Scoring { + String COHORT_ABBREVIATION = "COHORT"; + String RATIO_ABBREVIATION = "RATIO"; + String CONTINUOUS_VARIABLE_ABBREVIATION = "CONTVAR"; + String PROPORTION_ABBREVIATION = "PROPOR"; + } + + interface MeasureType { + String APPROPRIATE_USE_PROCESS = "APPROPRIATE"; + String COST_OR_RESOURCE_USE = "RESOURCE"; + String EFFICIENCY = "EFFICIENCY"; + String INTERMEDIATE_CLINICAL_OUTCOME = "INTERM-OM"; + String OUTCOME = "OUTCOME"; + String PATIENT_ENGAGEMENT_OR_EXPERIENCE = "EXPERIENCE"; + String PATIENT_REPORTED_OUTCOME = "PRO-PM"; + String PERFORMANCE = "PERFORMANCE"; + String PROCESS = "PROCESS"; + String STRUCTURE = "STRUCTURE"; + } +} diff --git a/src/main/java/gov/cms/madie/util/MappingUtil.java b/src/main/java/gov/cms/madie/util/MappingUtil.java new file mode 100644 index 0000000..322cfee --- /dev/null +++ b/src/main/java/gov/cms/madie/util/MappingUtil.java @@ -0,0 +1,87 @@ +package gov.cms.madie.util; + +import com.nimbusds.oauth2.sdk.util.CollectionUtils; +import gov.cms.madie.models.measure.BaseConfigurationTypes; +import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.models.measure.MeasureObservation; +import gov.cms.madie.models.measure.MeasureScoring; +import gov.cms.madie.models.measure.Population; +import gov.cms.madie.models.measure.PopulationType; +import org.apache.commons.lang3.StringUtils; + +import java.util.stream.Collectors; + +public final class MappingUtil { + public static String getScoringAbbr(String scoring) { + MeasureScoring measureScoring = MeasureScoring.valueOfText(scoring); + return switch (measureScoring) { + case COHORT -> MadieConstants.Scoring.COHORT_ABBREVIATION; + case CONTINUOUS_VARIABLE -> MadieConstants.Scoring.CONTINUOUS_VARIABLE_ABBREVIATION; + case PROPORTION -> MadieConstants.Scoring.PROPORTION_ABBREVIATION; + case RATIO -> MadieConstants.Scoring.RATIO_ABBREVIATION; + }; + } + + public static String getMeasureTypeId(BaseConfigurationTypes baseConfigurationType) { + return switch (baseConfigurationType) { + case APPROPRIATE_USE_PROCESS -> MadieConstants.MeasureType.APPROPRIATE_USE_PROCESS; + case COST_OR_RESOURCE_USE -> MadieConstants.MeasureType.COST_OR_RESOURCE_USE; + case EFFICIENCY -> MadieConstants.MeasureType.EFFICIENCY; + case INTERMEDIATE_CLINICAL_OUTCOME -> MadieConstants.MeasureType + .INTERMEDIATE_CLINICAL_OUTCOME; + case OUTCOME -> MadieConstants.MeasureType.OUTCOME; + case PATIENT_ENGAGEMENT_OR_EXPERIENCE -> MadieConstants.MeasureType + .PATIENT_ENGAGEMENT_OR_EXPERIENCE; + case PATIENT_REPORTED_OUTCOME -> MadieConstants.MeasureType.PATIENT_REPORTED_OUTCOME; + case PERFORMANCE -> MadieConstants.MeasureType.PERFORMANCE; + case PROCESS -> MadieConstants.MeasureType.PROCESS; + case STRUCTURE -> MadieConstants.MeasureType.STRUCTURE; + }; + } + + public static boolean isPopulationObservation(PopulationType populationType) { + return populationType == PopulationType.NUMERATOR_OBSERVATION + || populationType == PopulationType.DENOMINATOR_OBSERVATION + || populationType == PopulationType.MEASURE_OBSERVATION + || populationType == PopulationType.MEASURE_POPULATION_OBSERVATION; + } + + public static String getPopulationDescription(Measure measure, PopulationType populationType) { + if (CollectionUtils.isEmpty(measure.getGroups())) { + return null; + } + final String description = + measure.getGroups().stream() + .map( + group -> { + if (CollectionUtils.isNotEmpty(group.getPopulations()) + && !isPopulationObservation(populationType)) { + return group.getPopulations().stream() + .filter( + population -> + StringUtils.isNotBlank(population.getDefinition()) + && populationType + .name() + .equalsIgnoreCase(population.getName().name()) + && StringUtils.isNotBlank(population.getDescription())) + .map(Population::getDescription) + .collect(Collectors.joining("\n")); + } else if (CollectionUtils.isNotEmpty(group.getMeasureObservations()) + && isPopulationObservation(populationType)) { + // there is only one observation description field, so grab all available + // measure observation descriptions + return group.getMeasureObservations().stream() + .filter( + observation -> + StringUtils.isNotBlank(observation.getDefinition()) + && StringUtils.isNotBlank(observation.getDescription())) + .map(MeasureObservation::getDescription) + .collect(Collectors.joining("\n")); + } + return null; + }) + .filter(StringUtils::isNotBlank) + .collect(Collectors.joining("\n")); + return StringUtils.isBlank(description) ? null : description; + } +} diff --git a/src/main/resources/schemas/SimpleXML-QDM-5-6.xsd b/src/main/resources/schemas/SimpleXML-QDM-5-6.xsd new file mode 100644 index 0000000..867d604 --- /dev/null +++ b/src/main/resources/schemas/SimpleXML-QDM-5-6.xsd @@ -0,0 +1,430 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/java/gov/cms/madie/resources/PackageControllerMvcTest.java b/src/test/java/gov/cms/madie/resources/PackageControllerMvcTest.java index 2dd9cf7..0c73934 100644 --- a/src/test/java/gov/cms/madie/resources/PackageControllerMvcTest.java +++ b/src/test/java/gov/cms/madie/resources/PackageControllerMvcTest.java @@ -1,8 +1,10 @@ package gov.cms.madie.resources; +import gov.cms.madie.models.measure.QdmMeasure; import gov.cms.madie.services.PackagingService; import gov.cms.madie.models.measure.Measure; import gov.cms.madie.packaging.utils.ResourceFileUtil; +import gov.cms.madie.services.SimpleXmlService; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import org.springframework.beans.factory.annotation.Autowired; @@ -29,6 +31,7 @@ class PackageControllerMvcTest implements ResourceFileUtil { @MockBean private PackagingService packagingService; + @MockBean private SimpleXmlService simpleXmlService; @Autowired private MockMvc mockMvc; private static final String TEST_USER_ID = "john_doe"; @@ -70,4 +73,41 @@ void testGetMeasurePackageForUnsupportedModel() throws Exception { mockResult.getResolvedException().getMessage(), is(equalTo("Unsupported model type: QI-Core v4.1.1"))); } + + @Test + void testGetMeasureSimpleXml() throws Exception { + String measureJson = getStringFromTestResource("/measures/qdm-test-measure.json"); + Mockito.when(packagingService.createMeasurePackage(new Measure(), TOKEN)) + .thenReturn("measure package".getBytes()); + mockMvc + .perform( + MockMvcRequestBuilders.put("/qdm/measures/simple-xml") + .with(user(TEST_USER_ID)) + .with(csrf()) + .header(HttpHeaders.AUTHORIZATION, TOKEN) + .content(measureJson) + .contentType(MediaType.APPLICATION_JSON_VALUE)) + .andExpect(status().isOk()) + .andReturn(); + verify(simpleXmlService, times(1)).measureToSimpleXml(any(QdmMeasure.class)); + } + + @Test + void testGetMeasureSimpleXmlForUnsupportedModel() throws Exception { + String measureJson = getStringFromTestResource("/measures/qicore-test-measure.json"); + MvcResult mockResult = + mockMvc + .perform( + MockMvcRequestBuilders.put("/qdm/measures/simple-xml") + .with(user(TEST_USER_ID)) + .with(csrf()) + .header(HttpHeaders.AUTHORIZATION, TOKEN) + .content(measureJson) + .contentType(MediaType.APPLICATION_JSON_VALUE)) + .andExpect(status().isBadRequest()) + .andReturn(); + assertThat( + mockResult.getResolvedException().getMessage(), + is(equalTo("Unsupported model type: QI-Core v4.1.1"))); + } } diff --git a/src/test/java/gov/cms/madie/resources/PackageControllerTest.java b/src/test/java/gov/cms/madie/resources/PackageControllerTest.java index ef01b1e..95b0086 100644 --- a/src/test/java/gov/cms/madie/resources/PackageControllerTest.java +++ b/src/test/java/gov/cms/madie/resources/PackageControllerTest.java @@ -4,6 +4,7 @@ import gov.cms.madie.services.PackagingService; import gov.cms.madie.models.common.ModelType; import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.services.SimpleXmlService; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -21,6 +22,7 @@ class PackageControllerTest { @Mock private PackagingService packagingService; + @Mock private SimpleXmlService simpleXmlService; @InjectMocks private PackageController packageController; private static final String TOKEN = "test token"; @@ -68,4 +70,28 @@ void testGetMeasurePackageForUnsupportedModel() { errorMessage); assertThat(ex.getMessage(), is(equalTo(errorMessage))); } + + @Test + void testGetMeasureSimpleXmlIfModelIsNull() { + measure.setModel(String.valueOf(ModelType.QI_CORE)); + String errorMessage = "Unsupported model type: " + measure.getModel(); + Exception ex = + Assertions.assertThrows( + UnsupportedModelException.class, + () -> packageController.getMeasureSimpleXml(measure), + errorMessage); + assertThat(ex.getMessage(), is(equalTo(errorMessage))); + } + + @Test + void testGetMeasureSimpleXmlForUnsupportedModel() { + measure.setModel(String.valueOf(ModelType.QI_CORE)); + String errorMessage = "Unsupported model type: " + measure.getModel(); + Exception ex = + Assertions.assertThrows( + UnsupportedModelException.class, + () -> packageController.getMeasureSimpleXml(measure), + errorMessage); + assertThat(ex.getMessage(), is(equalTo(errorMessage))); + } } diff --git a/src/test/java/gov/cms/madie/services/MeasureMapperTest.java b/src/test/java/gov/cms/madie/services/MeasureMapperTest.java new file mode 100644 index 0000000..52f6952 --- /dev/null +++ b/src/test/java/gov/cms/madie/services/MeasureMapperTest.java @@ -0,0 +1,366 @@ +package gov.cms.madie.services; + +import generated.gov.cms.madie.simplexml.DevelopersType; +import generated.gov.cms.madie.simplexml.FinalizedDateType; +import generated.gov.cms.madie.simplexml.MeasureDetailsType; +import generated.gov.cms.madie.simplexml.MeasureType; +import generated.gov.cms.madie.simplexml.PeriodType; +import generated.gov.cms.madie.simplexml.ScoringType; +import generated.gov.cms.madie.simplexml.StewardType; +import generated.gov.cms.madie.simplexml.TypesType; +import gov.cms.madie.models.common.ModelType; +import gov.cms.madie.models.common.Organization; +import gov.cms.madie.models.common.Version; +import gov.cms.madie.models.measure.BaseConfigurationTypes; +import gov.cms.madie.models.measure.DefDescPair; +import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.models.measure.MeasureMetaData; +import gov.cms.madie.models.measure.MeasureScoring; +import gov.cms.madie.models.measure.QdmMeasure; +import gov.cms.madie.models.measure.Reference; +import gov.cms.madie.util.MadieConstants; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +import java.time.Instant; +import java.util.Date; +import java.util.List; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.CoreMatchers.notNullValue; +import static org.hamcrest.CoreMatchers.nullValue; +import static org.hamcrest.MatcherAssert.assertThat; + +class MeasureMapperTest { + + MeasureMapperImpl measureMapper; + + @BeforeEach() + void setup() { + measureMapper = new MeasureMapperImpl(); + } + + @Test + void testMeasureToMeasureTypeNull() { + MeasureType output = measureMapper.measureToMeasureType(null); + assertThat(output, is(nullValue())); + } + + @Test + void testMeasureToMeasureType() { + QdmMeasure measure = + QdmMeasure.builder() + .measureName("Measure1") + .cqlLibraryName("MeasureLib1") + .ecqmTitle("MLib1") + .model(ModelType.QDM_5_6.getValue()) + .rateAggregation("Rate Aggr") + .improvementNotation("Improvement Notation") + .supplementalData( + List.of( + DefDescPair.builder().description("sde1").description("first SDE").build(), + DefDescPair.builder().description("sde2").description("second SDE").build())) + .measureMetaData( + MeasureMetaData.builder() + .description("Measure Description") + .rationale("the rationale") + .clinicalRecommendation("the clinical recommendation") + .copyright("the copyright") + .developers( + List.of( + Organization.builder() + .id("org1Id") + .oid("111.222.333") + .name("SB") + .build())) + .steward( + Organization.builder().id("org2Id").oid("222.333.444").name("ICF").build()) + .references( + List.of( + Reference.builder() + .referenceType("CITATION") + .referenceText("This is a citation") + .build(), + Reference.builder() + .referenceType("DOCUMENTATION") + .referenceText("This is documentation") + .build())) + .build()) + .build(); + MeasureType output = measureMapper.measureToMeasureType(measure); + assertThat(output, is(notNullValue())); + assertThat(output.getMeasureDetails(), is(notNullValue())); + assertThat( + output.getMeasureDetails().getAggregation(), is(equalTo(measure.getRateAggregation()))); + assertThat( + output.getMeasureDetails().getImprovementNotations(), + is(equalTo(measure.getImprovementNotation()))); + assertThat( + output.getMeasureDetails().getDescription(), + is(equalTo(measure.getMeasureMetaData().getDescription()))); + assertThat( + output.getMeasureDetails().getRationale(), + is(equalTo(measure.getMeasureMetaData().getRationale()))); + assertThat( + output.getMeasureDetails().getRecommendations(), + is(equalTo(measure.getMeasureMetaData().getClinicalRecommendation()))); + assertThat( + output.getMeasureDetails().getCopyright(), + is(equalTo(measure.getMeasureMetaData().getCopyright()))); + assertThat(output.getMeasureDetails().getReferences(), is(notNullValue())); + assertThat(output.getMeasureDetails().getReferences().getReference(), is(notNullValue())); + assertThat(output.getMeasureDetails().getReferences().getReference().size(), is(equalTo(2))); + assertThat( + output.getMeasureDetails().getReferences().getReference().get(0).getReferenceType(), + is(equalTo("CITATION"))); + assertThat( + output.getMeasureDetails().getReferences().getReference().get(0).getReferenceText(), + is(equalTo("This is a citation"))); + assertThat(output.getSupplementalDataElements(), is(notNullValue())); + assertThat(output.getSupplementalDataElements().getCqldefinition(), is(notNullValue())); + assertThat(output.getSupplementalDataElements().getCqldefinition().size(), is(equalTo(2))); + assertThat( + output.getSupplementalDataElements().getCqldefinition().get(0).getUuid(), + is(notNullValue())); + assertThat( + output.getSupplementalDataElements().getCqldefinition().get(0).getUuid(), + is(notNullValue())); + } + + @Test + void testMeasureToMeasureDetailsTypeNull() { + MeasureDetailsType output = measureMapper.measureToMeasureDetailsType(null); + assertThat(output, is(nullValue())); + } + + @Test + void measureToMeasureDetailsType() { + QdmMeasure measure = + QdmMeasure.builder() + .measureName("Measure1") + .cqlLibraryName("MeasureLib1") + .ecqmTitle("MLib1") + .model(ModelType.QDM_5_6.getValue()) + .rateAggregation("Rate Aggr") + .improvementNotation("Improvement Notation") + .measureMetaData( + MeasureMetaData.builder() + .description("Measure Description") + .rationale("the rationale") + .clinicalRecommendation("the clinical recommendation") + .copyright("the copyright") + .developers( + List.of( + Organization.builder() + .id("org1Id") + .oid("111.222.333") + .name("SB") + .build())) + .steward( + Organization.builder().id("org2Id").oid("222.333.444").name("ICF").build()) + .build()) + .build(); + MeasureDetailsType output = measureMapper.measureToMeasureDetailsType(measure); + assertThat(output, is(notNullValue())); + assertThat(output.getAggregation(), is(equalTo(measure.getRateAggregation()))); + assertThat(output.getImprovementNotations(), is(equalTo(measure.getImprovementNotation()))); + assertThat(output.getDescription(), is(equalTo(measure.getMeasureMetaData().getDescription()))); + assertThat(output.getRationale(), is(equalTo(measure.getMeasureMetaData().getRationale()))); + assertThat( + output.getRecommendations(), + is(equalTo(measure.getMeasureMetaData().getClinicalRecommendation()))); + assertThat(output.getCopyright(), is(equalTo(measure.getMeasureMetaData().getCopyright()))); + } + + @Test + void testScoringToScoringTypeNull() { + ScoringType output = measureMapper.scoringToScoringType(null); + assertThat(output, is(nullValue())); + } + + @Test + void testScoringToScoringType() { + ScoringType output = measureMapper.scoringToScoringType(MeasureScoring.PROPORTION.toString()); + assertThat(output, is(notNullValue())); + assertThat(output.getValue(), is(equalTo(MeasureScoring.PROPORTION.toString()))); + assertThat(output.getId(), is(equalTo(MadieConstants.Scoring.PROPORTION_ABBREVIATION))); + } + + @Test + void supplementalDataToSupplementalData() {} + + @Test + void supplementalDataToSupplementalDataElementsType() {} + + @Test + void riskAdjustmentsToRiskAdjustmentVariablesType() {} + + @Test + void testVersionToVersionNull() { + String output = measureMapper.versionToVersion(null); + assertThat(output, is(nullValue())); + } + + @Test + void testVersionToVersion() { + String output = + measureMapper.versionToVersion( + Version.builder().major(2).minor(1).revisionNumber(3).build()); + assertThat(output, is(notNullValue())); + assertThat(output, is(equalTo("2.1.003"))); + } + + @Test + void testMeasureToPeriodType() { + Date startDate = new Date(1676818800000L); // 2/19/2023 15:00 GMT + Date endDate = new Date(1708354800000L); // 2/19/2024 15:00 GMT + QdmMeasure measure = + QdmMeasure.builder() + .measurementPeriodStart(startDate) + .measurementPeriodEnd(endDate) + .build(); + PeriodType output = measureMapper.measureToPeriodType(measure); + assertThat(output, is(notNullValue())); + assertThat(output.getCalenderYear(), is(equalTo("false"))); + assertThat(output.getStartDate(), is(equalTo("20230219"))); + assertThat(output.getStopDate(), is(equalTo("20240219"))); + assertThat(output.getUuid(), is(notNullValue())); + } + + @Test + void testOrganizationToStewardTypeNull() { + StewardType output = measureMapper.organizationToStewardType(null); + assertThat(output, is(nullValue())); + } + + @Test + void testOrganizationToStewardType() { + StewardType output = + measureMapper.organizationToStewardType( + Organization.builder().oid("111.222.333").name("ICF").build()); + assertThat(output, is(notNullValue())); + assertThat(output.getId(), is(equalTo("111.222.333"))); + assertThat(output.getValue(), is(equalTo("ICF"))); + } + + @Test + void testMeasureMetaDataToDevelopersTypeNull() { + DevelopersType output = measureMapper.measureMetaDataToDevelopersType(null); + assertThat(output, is(nullValue())); + } + + @Test + void testMeasureMetaDataToDevelopersTypeEmptyDevelopers() { + MeasureMetaData metaData = MeasureMetaData.builder().build(); + DevelopersType output = measureMapper.measureMetaDataToDevelopersType(metaData); + assertThat(output, is(nullValue())); + } + + @Test + void testMeasureMetaDataToDevelopersType() { + MeasureMetaData metaData = + MeasureMetaData.builder() + .developers( + List.of( + Organization.builder().oid("555.666.777").name("SB").build(), + Organization.builder().oid("999.888.777").name("ICF").build())) + .build(); + DevelopersType output = measureMapper.measureMetaDataToDevelopersType(metaData); + assertThat(output, is(notNullValue())); + assertThat(output.getDeveloper(), is(notNullValue())); + assertThat(output.getDeveloper().size(), is(equalTo(2))); + assertThat(output.getDeveloper().get(0).getId(), is(equalTo("555.666.777"))); + assertThat(output.getDeveloper().get(0).getValue(), is(equalTo("SB"))); + assertThat(output.getDeveloper().get(1).getId(), is(equalTo("999.888.777"))); + assertThat(output.getDeveloper().get(1).getValue(), is(equalTo("ICF"))); + } + + @Test + void endorsementsToCbeid() {} + + @Test + void endorsementsToEndorsementType() {} + + @Test + void organizationToEndorsementType() {} + + @Test + void organizationToDeveloperType() {} + + @Test + void defDescPairToCqldefinitionType() {} + + @Test + void testBaseConfigurationTypesToTypesTypesNull() { + TypesType output = measureMapper.baseConfigurationTypesToTypesTypes(null); + assertThat(output, is(nullValue())); + } + + @Test + void testBaseConfigurationTypesToTypesTypesEmpty() { + TypesType output = measureMapper.baseConfigurationTypesToTypesTypes(List.of()); + assertThat(output, is(nullValue())); + } + + @Test + void testBaseConfigurationTypesToTypesTypes() { + TypesType output = + measureMapper.baseConfigurationTypesToTypesTypes( + List.of(BaseConfigurationTypes.PERFORMANCE, BaseConfigurationTypes.OUTCOME)); + assertThat(output, is(notNullValue())); + assertThat(output.getType(), is(notNullValue())); + assertThat( + output.getType().get(0).getValue(), is(BaseConfigurationTypes.PERFORMANCE.toString())); + assertThat(output.getType().get(0).getId(), is(MadieConstants.MeasureType.PERFORMANCE)); + assertThat(output.getType().get(1).getValue(), is(BaseConfigurationTypes.OUTCOME.toString())); + assertThat(output.getType().get(1).getId(), is(MadieConstants.MeasureType.OUTCOME)); + } + + @Test + void baseConfigurationTypeToTypesType() {} + + @Test + void referencesToReferencesType() {} + + @Test + void referenceToReferenceType() {} + + @Test + void testInstantToFinalizedDateTypeNullMetaData() { + Measure measure = Measure.builder().measureMetaData(null).build(); + FinalizedDateType output = measureMapper.instantToFinalizedDateType(measure); + assertThat(output, is(nullValue())); + } + + @Test + void testInstantToFinalizedDateTypeDraft() { + Measure measure = + Measure.builder().measureMetaData(MeasureMetaData.builder().draft(true).build()).build(); + FinalizedDateType output = measureMapper.instantToFinalizedDateType(measure); + assertThat(output, is(nullValue())); + } + + @Test + void testInstantToFinalizedDateNullLastModified() { + Measure measure = + Measure.builder() + .measureMetaData(MeasureMetaData.builder().draft(false).build()) + .lastModifiedAt(null) + .build(); + FinalizedDateType output = measureMapper.instantToFinalizedDateType(measure); + assertThat(output, is(nullValue())); + } + + @Test + void testInstantToFinalizedDate() { + Measure measure = + Measure.builder() + .measureMetaData(MeasureMetaData.builder().draft(false).build()) + .lastModifiedAt(Instant.ofEpochSecond(1708358014)) + .build(); + FinalizedDateType output = measureMapper.instantToFinalizedDateType(measure); + assertThat(output, is(notNullValue())); + assertThat(output.getValueAttribute(), is(equalTo("20240219"))); + } +} diff --git a/src/test/java/gov/cms/madie/services/SimpleXmlServiceTest.java b/src/test/java/gov/cms/madie/services/SimpleXmlServiceTest.java new file mode 100644 index 0000000..0c5bdfe --- /dev/null +++ b/src/test/java/gov/cms/madie/services/SimpleXmlServiceTest.java @@ -0,0 +1,63 @@ +package gov.cms.madie.services; + +import generated.gov.cms.madie.simplexml.MeasureDetailsType; +import generated.gov.cms.madie.simplexml.MeasureType; +import gov.cms.madie.models.measure.QdmMeasure; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.Mockito; +import org.mockito.junit.jupiter.MockitoExtension; + +import java.io.StringWriter; +import java.io.Writer; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.CoreMatchers.notNullValue; + +import static org.hamcrest.MatcherAssert.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +class SimpleXmlServiceTest { + + @Mock MeasureMapper measureMapper; + @Mock Marshaller simpleXmlMarshaller; + + @InjectMocks SimpleXmlService simpleXmlService; + + @Test + void testMeasureToSimpleXmlNullMeasure() throws JAXBException { + String output = simpleXmlService.measureToSimpleXml(null); + assertThat(output, is(notNullValue())); + assertThat(output.isBlank(), is(true)); + } + + @Test + void testMeasureToSimpleXmlValidMeasure() throws JAXBException { + QdmMeasure measure = QdmMeasure.builder().measureName("TestMeasure1").build(); + MeasureType measureType = new MeasureType(); + MeasureDetailsType measureDetailsType = new MeasureDetailsType(); + measureDetailsType.setTitle("TestMeasure1"); + measureType.setMeasureDetails(measureDetailsType); + + when(measureMapper.measureToMeasureType(any(QdmMeasure.class))).thenReturn(measureType); + Mockito.doAnswer( + invocationOnMock -> { + StringWriter writer = invocationOnMock.getArgument(1); + writer.append(""); + return null; + }) + .when(simpleXmlMarshaller) + .marshal(any(Object.class), any(Writer.class)); + + String output = simpleXmlService.measureToSimpleXml(measure); + assertThat(output, is(notNullValue())); + assertThat(output, is(equalTo(""))); + } +} diff --git a/src/test/java/gov/cms/madie/util/MappingUtilTest.java b/src/test/java/gov/cms/madie/util/MappingUtilTest.java new file mode 100644 index 0000000..36198e2 --- /dev/null +++ b/src/test/java/gov/cms/madie/util/MappingUtilTest.java @@ -0,0 +1,361 @@ +package gov.cms.madie.util; + +import gov.cms.madie.models.measure.BaseConfigurationTypes; +import gov.cms.madie.models.measure.Group; +import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.models.measure.MeasureObservation; +import gov.cms.madie.models.measure.MeasureScoring; +import gov.cms.madie.models.measure.Population; +import gov.cms.madie.models.measure.PopulationType; +import org.junit.jupiter.api.Test; + +import java.util.List; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.CoreMatchers.nullValue; +import static org.hamcrest.MatcherAssert.assertThat; + +class MappingUtilTest { + + @Test + void getScoringAbbrCohort() { + String output = MappingUtil.getScoringAbbr(MeasureScoring.COHORT.toString()); + assertThat(output, is(equalTo(MadieConstants.Scoring.COHORT_ABBREVIATION))); + } + + @Test + void getScoringAbbrCV() { + String output = MappingUtil.getScoringAbbr(MeasureScoring.CONTINUOUS_VARIABLE.toString()); + assertThat(output, is(equalTo(MadieConstants.Scoring.CONTINUOUS_VARIABLE_ABBREVIATION))); + } + + @Test + void getScoringAbbrProportion() { + String output = MappingUtil.getScoringAbbr(MeasureScoring.PROPORTION.toString()); + assertThat(output, is(equalTo(MadieConstants.Scoring.PROPORTION_ABBREVIATION))); + } + + @Test + void getScoringAbbrRatio() { + String output = MappingUtil.getScoringAbbr(MeasureScoring.RATIO.toString()); + assertThat(output, is(equalTo(MadieConstants.Scoring.RATIO_ABBREVIATION))); + } + + @Test + void getMeasureTypeIdAppropriate() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.APPROPRIATE_USE_PROCESS); + assertThat(output, is(equalTo(MadieConstants.MeasureType.APPROPRIATE_USE_PROCESS))); + } + + @Test + void getMeasureTypeIdResource() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.COST_OR_RESOURCE_USE); + assertThat(output, is(equalTo(MadieConstants.MeasureType.COST_OR_RESOURCE_USE))); + } + + @Test + void getMeasureTypeIdEfficiency() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.EFFICIENCY); + assertThat(output, is(equalTo(MadieConstants.MeasureType.EFFICIENCY))); + } + + @Test + void getMeasureTypeIdIntermOm() { + String output = + MappingUtil.getMeasureTypeId(BaseConfigurationTypes.INTERMEDIATE_CLINICAL_OUTCOME); + assertThat(output, is(equalTo(MadieConstants.MeasureType.INTERMEDIATE_CLINICAL_OUTCOME))); + } + + @Test + void getMeasureTypeIdOutcome() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.OUTCOME); + assertThat(output, is(equalTo(MadieConstants.MeasureType.OUTCOME))); + } + + @Test + void getMeasureTypeIdExperience() { + String output = + MappingUtil.getMeasureTypeId(BaseConfigurationTypes.PATIENT_ENGAGEMENT_OR_EXPERIENCE); + assertThat(output, is(equalTo(MadieConstants.MeasureType.PATIENT_ENGAGEMENT_OR_EXPERIENCE))); + } + + @Test + void getMeasureTypeIdProPm() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.PATIENT_REPORTED_OUTCOME); + assertThat(output, is(equalTo(MadieConstants.MeasureType.PATIENT_REPORTED_OUTCOME))); + } + + @Test + void getMeasureTypeIdPerformance() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.PERFORMANCE); + assertThat(output, is(equalTo(MadieConstants.MeasureType.PERFORMANCE))); + } + + @Test + void getMeasureTypeIdProcess() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.PROCESS); + assertThat(output, is(equalTo(MadieConstants.MeasureType.PROCESS))); + } + + @Test + void getMeasureTypeIdStructure() { + String output = MappingUtil.getMeasureTypeId(BaseConfigurationTypes.STRUCTURE); + assertThat(output, is(equalTo(MadieConstants.MeasureType.STRUCTURE))); + } + + @Test + void isPopulationObservationNumerObs() { + boolean output = MappingUtil.isPopulationObservation(PopulationType.NUMERATOR_OBSERVATION); + assertThat(output, is(true)); + } + + @Test + void isPopulationObservationDenomObs() { + boolean output = MappingUtil.isPopulationObservation(PopulationType.DENOMINATOR_OBSERVATION); + assertThat(output, is(true)); + } + + @Test + void isPopulationObservationMeasureObs() { + boolean output = MappingUtil.isPopulationObservation(PopulationType.MEASURE_OBSERVATION); + assertThat(output, is(true)); + } + + @Test + void isPopulationObservationMeasurePopObs() { + boolean output = + MappingUtil.isPopulationObservation(PopulationType.MEASURE_POPULATION_OBSERVATION); + assertThat(output, is(true)); + } + + @Test + void isPopulationObservation() { + boolean output = MappingUtil.isPopulationObservation(PopulationType.NUMERATOR); + assertThat(output, is(false)); + } + + @Test + void getPopulationDescriptionNullGroups() { + Measure measure = Measure.builder().build(); + measure.setGroups(null); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.INITIAL_POPULATION); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionGroupEmptyPops() { + Measure measure = + Measure.builder().groups(List.of(Group.builder().build(), Group.builder().build())).build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.INITIAL_POPULATION); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionGroupNullPops() { + Group group1 = Group.builder().build(); + group1.setPopulations(null); + Group group2 = Group.builder().build(); + group2.setPopulations(null); + Measure measure = Measure.builder().groups(List.of(group1, group2)).build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.INITIAL_POPULATION); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionGroupNoDescriptions() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .populations( + List.of( + Population.builder() + .name(PopulationType.INITIAL_POPULATION) + .build())) + .build(), + Group.builder().build())) + .build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.INITIAL_POPULATION); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionGroupOneDescription() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .populations( + List.of( + Population.builder() + .name(PopulationType.INITIAL_POPULATION) + .description("IP Description") + .definition("ipDef") + .build())) + .build(), + Group.builder().build())) + .build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.INITIAL_POPULATION); + assertThat(output, equalTo("IP Description")); + } + + @Test + void getPopulationDescriptionGroupTwoDescription() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .populations( + List.of( + Population.builder() + .name(PopulationType.INITIAL_POPULATION) + .description("IP Description") + .definition("ipDef") + .build())) + .measureObservations( + List.of( + MeasureObservation.builder() + .description("Denominator Obs Description") + .build())) + .build(), + Group.builder() + .populations( + List.of( + Population.builder() + .name(PopulationType.INITIAL_POPULATION) + .description("IPG2 Description") + .definition("ipDef") + .build())) + .build())) + .build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.INITIAL_POPULATION); + assertThat(output, equalTo("IP Description\nIPG2 Description")); + } + + @Test + void getPopulationDescriptionGroupMissingPopulation() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .populations( + List.of( + Population.builder() + .name(PopulationType.INITIAL_POPULATION) + .description("IP Description") + .definition("ipDef") + .build())) + .build(), + Group.builder() + .populations( + List.of( + Population.builder() + .name(PopulationType.INITIAL_POPULATION) + .description("IPG2 Description") + .definition("ipDef") + .build())) + .build())) + .build(); + String output = MappingUtil.getPopulationDescription(measure, PopulationType.NUMERATOR); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionGroupForObservationsNullObs() { + Group group1 = Group.builder().build(); + group1.setMeasureObservations(null); + Group group2 = Group.builder().build(); + group2.setMeasureObservations(null); + Measure measure = Measure.builder().groups(List.of(group1, group2)).build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.DENOMINATOR_OBSERVATION); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionGroupForObservationsNoDescriptions() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .measureObservations(List.of(MeasureObservation.builder().build())) + .build(), + Group.builder().build())) + .build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.DENOMINATOR_OBSERVATION); + assertThat(output, is(nullValue())); + } + + @Test + void getPopulationDescriptionForObservationsGroupOneDescription() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .measureObservations( + List.of( + MeasureObservation.builder() + .definition("obs1") + .description("Denominator Obs Description") + .build())) + .build(), + Group.builder().build())) + .build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.DENOMINATOR_OBSERVATION); + assertThat(output, equalTo("Denominator Obs Description")); + } + + @Test + void getPopulationDescriptionGroupMultipleDescriptions() { + Measure measure = + Measure.builder() + .groups( + List.of( + Group.builder() + .measureObservations( + List.of( + MeasureObservation.builder() + .definition("obs1") + .description("Denominator Obs Description") + .build(), + MeasureObservation.builder() + .definition("obs2") + .description("Numerator Obs Description") + .build())) + .build(), + Group.builder() + .measureObservations( + List.of( + MeasureObservation.builder() + .definition("obs1") + .description("G2 Denominator Obs Description") + .build(), + MeasureObservation.builder() + .definition("obs2") + .description("G2 Numerator Obs Description") + .build())) + .build())) + .build(); + String output = + MappingUtil.getPopulationDescription(measure, PopulationType.MEASURE_OBSERVATION); + assertThat( + output, + equalTo( + "Denominator Obs Description\nNumerator Obs Description\nG2 Denominator Obs Description\nG2 Numerator Obs Description")); + } +}