Class DataRequirementCodeFilter
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.DataRequirementCodeFilter
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DataRequirementCodeFilter extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensionsJava class for DataRequirement.CodeFilter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DataRequirement.CodeFilter"> <complexContent> <extension base="{http://hl7.org/fhir}Element"> <sequence> <element name="path" type="{http://hl7.org/fhir}string"/> <choice minOccurs="0"> <element name="valueSetString" type="{http://hl7.org/fhir}string"/> <element name="valueSetReference" type="{http://hl7.org/fhir}Reference"/> </choice> <element name="valueCode" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/> <element name="valueCoding" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/> <element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringpathprotected java.util.List<Code>valueCodeprotected java.util.List<CodeableConcept>valueCodeableConceptprotected java.util.List<Coding>valueCodingprotected ReferencevalueSetReferenceprotected StringvalueSetString
-
Constructor Summary
Constructors Constructor Description DataRequirementCodeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)StringgetPath()Gets the value of the path property.java.util.List<Code>getValueCode()Gets the value of the valueCode property.java.util.List<CodeableConcept>getValueCodeableConcept()Gets the value of the valueCodeableConcept property.java.util.List<Coding>getValueCoding()Gets the value of the valueCoding property.ReferencegetValueSetReference()Gets the value of the valueSetReference property.StringgetValueSetString()Gets the value of the valueSetString property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetPath(String value)Sets the value of the path property.voidsetValueSetReference(Reference value)Sets the value of the valueSetReference property.voidsetValueSetString(String value)Sets the value of the valueSetString property.java.lang.StringtoString()DataRequirementCodeFilterwithExtension(java.util.Collection<Extension> values)DataRequirementCodeFilterwithExtension(Extension... values)DataRequirementCodeFilterwithId(java.lang.String value)DataRequirementCodeFilterwithPath(String value)DataRequirementCodeFilterwithValueCode(java.util.Collection<Code> values)DataRequirementCodeFilterwithValueCode(Code... values)DataRequirementCodeFilterwithValueCodeableConcept(java.util.Collection<CodeableConcept> values)DataRequirementCodeFilterwithValueCodeableConcept(CodeableConcept... values)DataRequirementCodeFilterwithValueCoding(java.util.Collection<Coding> values)DataRequirementCodeFilterwithValueCoding(Coding... values)DataRequirementCodeFilterwithValueSetReference(Reference value)DataRequirementCodeFilterwithValueSetString(String value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
path
protected String path
-
valueSetString
protected String valueSetString
-
valueSetReference
protected Reference valueSetReference
-
valueCode
protected java.util.List<Code> valueCode
-
valueCoding
protected java.util.List<Coding> valueCoding
-
valueCodeableConcept
protected java.util.List<CodeableConcept> valueCodeableConcept
-
-
Method Detail
-
getPath
public String getPath()
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value- allowed object isString
-
getValueSetString
public String getValueSetString()
Gets the value of the valueSetString property.- Returns:
- possible object is
String
-
setValueSetString
public void setValueSetString(String value)
Sets the value of the valueSetString property.- Parameters:
value- allowed object isString
-
getValueSetReference
public Reference getValueSetReference()
Gets the value of the valueSetReference property.- Returns:
- possible object is
Reference
-
setValueSetReference
public void setValueSetReference(Reference value)
Sets the value of the valueSetReference property.- Parameters:
value- allowed object isReference
-
getValueCode
public java.util.List<Code> getValueCode()
Gets the value of the valueCode 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
setmethod for the valueCode property.For example, to add a new item, do as follows:
getValueCode().add(newItem);Objects of the following type(s) are allowed in the list
Code
-
getValueCoding
public java.util.List<Coding> getValueCoding()
Gets the value of the valueCoding 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
setmethod for the valueCoding property.For example, to add a new item, do as follows:
getValueCoding().add(newItem);Objects of the following type(s) are allowed in the list
Coding
-
getValueCodeableConcept
public java.util.List<CodeableConcept> getValueCodeableConcept()
Gets the value of the valueCodeableConcept 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
setmethod for the valueCodeableConcept property.For example, to add a new item, do as follows:
getValueCodeableConcept().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
withPath
public DataRequirementCodeFilter withPath(String value)
-
withValueSetString
public DataRequirementCodeFilter withValueSetString(String value)
-
withValueSetReference
public DataRequirementCodeFilter withValueSetReference(Reference value)
-
withValueCode
public DataRequirementCodeFilter withValueCode(Code... values)
-
withValueCode
public DataRequirementCodeFilter withValueCode(java.util.Collection<Code> values)
-
withValueCoding
public DataRequirementCodeFilter withValueCoding(Coding... values)
-
withValueCoding
public DataRequirementCodeFilter withValueCoding(java.util.Collection<Coding> values)
-
withValueCodeableConcept
public DataRequirementCodeFilter withValueCodeableConcept(CodeableConcept... values)
-
withValueCodeableConcept
public DataRequirementCodeFilter withValueCodeableConcept(java.util.Collection<CodeableConcept> values)
-
withExtension
public DataRequirementCodeFilter withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public DataRequirementCodeFilter withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
withId
public DataRequirementCodeFilter withId(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-