Profile building complete
This commit is contained in:
parent
5088850e6b
commit
2ca5d57f0d
|
@ -8,6 +8,7 @@ import java.util.Set;
|
|||
import ca.uhn.fhir.model.api.ICodeEnum;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
|
||||
|
@ -20,7 +21,8 @@ public abstract class BaseRuntimeChildDatatypeDefinition extends BaseRuntimeDecl
|
|||
|
||||
public BaseRuntimeChildDatatypeDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation, Class<? extends IDatatype> theDatatype) {
|
||||
super(theField, theChildAnnotation, theDescriptionAnnotation, theElementName);
|
||||
|
||||
assert theDatatype != IResource.class; // shouldn't exist
|
||||
assert theDatatype != IDatatype.class; // should use RuntimeChildAny
|
||||
myDatatype = theDatatype;
|
||||
}
|
||||
|
||||
|
@ -64,6 +66,7 @@ public abstract class BaseRuntimeChildDatatypeDefinition extends BaseRuntimeDecl
|
|||
@Override
|
||||
void sealAndInitialize(Map<Class<? extends IElement>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) {
|
||||
myElementDefinition = theClassToElementDefinitions.get(getDatatype());
|
||||
assert myElementDefinition != null : "Unknown type: " + getDatatype();
|
||||
}
|
||||
|
||||
public void setCodeType(Class<? extends ICodeEnum> theType) {
|
||||
|
|
|
@ -98,10 +98,12 @@ public abstract class BaseRuntimeDeclaredChildDefinition extends BaseRuntimeChil
|
|||
return myField;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMax() {
|
||||
return myMax;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMin() {
|
||||
return myMin;
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ public abstract class BaseRuntimeElementDefinition<T extends IElement> {
|
|||
public abstract ChildTypeEnum getChildType();
|
||||
|
||||
public enum ChildTypeEnum {
|
||||
COMPOSITE_DATATYPE, PRIMITIVE_DATATYPE, RESOURCE, RESOURCE_REF, RESOURCE_BLOCK, PRIMITIVE_XHTML, UNDECL_EXT, EXTENSION_DECLARED
|
||||
COMPOSITE_DATATYPE, PRIMITIVE_DATATYPE, RESOURCE, RESOURCE_REF, RESOURCE_BLOCK, PRIMITIVE_XHTML, UNDECL_EXT, EXTENSION_DECLARED, CONTAINED_RESOURCES
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
|||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.Extension;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContainedDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
|
@ -158,8 +159,7 @@ class ModelScanner {
|
|||
ResourceDef resourceDefinition = theClass.getAnnotation(ResourceDef.class);
|
||||
if (resourceDefinition != null) {
|
||||
if (!IResource.class.isAssignableFrom(theClass)) {
|
||||
throw new ConfigurationException("Resource type contains a @" + ResourceDef.class.getSimpleName() + " annotation but does not implement " + IResource.class.getCanonicalName() + ": "
|
||||
+ theClass.getCanonicalName());
|
||||
throw new ConfigurationException("Resource type contains a @" + ResourceDef.class.getSimpleName() + " annotation but does not implement " + IResource.class.getCanonicalName() + ": " + theClass.getCanonicalName());
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
Class<? extends IResource> resClass = (Class<? extends IResource>) theClass;
|
||||
|
@ -177,8 +177,7 @@ class ModelScanner {
|
|||
Class<? extends IPrimitiveDatatype<?>> resClass = (Class<? extends IPrimitiveDatatype<?>>) theClass;
|
||||
scanPrimitiveDatatype(resClass, datatypeDefinition);
|
||||
} else {
|
||||
throw new ConfigurationException("Resource type contains a @" + DatatypeDef.class.getSimpleName() + " annotation but does not implement " + IDatatype.class.getCanonicalName() + ": "
|
||||
+ theClass.getCanonicalName());
|
||||
throw new ConfigurationException("Resource type contains a @" + DatatypeDef.class.getSimpleName() + " annotation but does not implement " + IDatatype.class.getCanonicalName() + ": " + theClass.getCanonicalName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -189,8 +188,7 @@ class ModelScanner {
|
|||
Class<? extends ICodeEnum> resClass = (Class<? extends ICodeEnum>) theClass;
|
||||
scanCodeTable(resClass, codeTableDefinition);
|
||||
} else {
|
||||
throw new ConfigurationException("Type contains a @" + CodeTableDef.class.getSimpleName() + " annotation but does not implement " + ICodeEnum.class.getCanonicalName() + ": "
|
||||
+ theClass.getCanonicalName());
|
||||
throw new ConfigurationException("Type contains a @" + CodeTableDef.class.getSimpleName() + " annotation but does not implement " + ICodeEnum.class.getCanonicalName() + ": " + theClass.getCanonicalName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -201,8 +199,7 @@ class ModelScanner {
|
|||
Class<? extends IResourceBlock> blockClass = (Class<? extends IResourceBlock>) theClass;
|
||||
scanBlock(blockClass, blockDefinition);
|
||||
} else {
|
||||
throw new ConfigurationException("Type contains a @" + Block.class.getSimpleName() + " annotation but does not implement " + IResourceBlock.class.getCanonicalName() + ": "
|
||||
+ theClass.getCanonicalName());
|
||||
throw new ConfigurationException("Type contains a @" + Block.class.getSimpleName() + " annotation but does not implement " + IResourceBlock.class.getCanonicalName() + ": " + theClass.getCanonicalName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -288,8 +285,8 @@ class ModelScanner {
|
|||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void scanCompositeElementForChildren(Class<? extends ICompositeElement> theClass, BaseRuntimeElementCompositeDefinition<?> theDefinition, Set<String> elementNames,
|
||||
TreeMap<Integer, BaseRuntimeDeclaredChildDefinition> theOrderToElementDef, TreeMap<Integer, BaseRuntimeDeclaredChildDefinition> theOrderToExtensionDef) {
|
||||
private void scanCompositeElementForChildren(Class<? extends ICompositeElement> theClass, BaseRuntimeElementCompositeDefinition<?> theDefinition, Set<String> elementNames, TreeMap<Integer, BaseRuntimeDeclaredChildDefinition> theOrderToElementDef,
|
||||
TreeMap<Integer, BaseRuntimeDeclaredChildDefinition> theOrderToExtensionDef) {
|
||||
int baseElementOrder = theOrderToElementDef.isEmpty() ? 0 : theOrderToElementDef.lastEntry().getKey() + 1;
|
||||
|
||||
for (Field next : theClass.getDeclaredFields()) {
|
||||
|
@ -314,7 +311,9 @@ class ModelScanner {
|
|||
}
|
||||
|
||||
/*
|
||||
* Anything that's marked as unknown is given a new ID that is <0 so that it doesn't conflict wityh any given IDs and can be figured out later
|
||||
* Anything that's marked as unknown is given a new ID that is <0 so
|
||||
* that it doesn't conflict wityh any given IDs and can be figured
|
||||
* out later
|
||||
*/
|
||||
while (order == Child.ORDER_UNKNOWN && orderMap.containsKey(order)) {
|
||||
order--;
|
||||
|
@ -326,8 +325,7 @@ class ModelScanner {
|
|||
}
|
||||
|
||||
if (orderMap.containsKey(order)) {
|
||||
throw new ConfigurationException("Detected duplicate field order '" + childAnnotation.order() + "' for element named '" + elementName + "' in type '" + theClass.getCanonicalName()
|
||||
+ "'");
|
||||
throw new ConfigurationException("Detected duplicate field order '" + childAnnotation.order() + "' for element named '" + elementName + "' in type '" + theClass.getCanonicalName() + "'");
|
||||
}
|
||||
|
||||
if (elementNames.contains(elementName)) {
|
||||
|
@ -336,7 +334,14 @@ class ModelScanner {
|
|||
|
||||
Class<?> nextElementType = determineElementType(next);
|
||||
|
||||
if (choiceTypes.size() > 1 && !ResourceReferenceDt.class.isAssignableFrom(nextElementType)) {
|
||||
if (nextElementType.equals(ContainedDt.class)) {
|
||||
/*
|
||||
* Child is contained resources
|
||||
*/
|
||||
RuntimeChildContainedResources def = new RuntimeChildContainedResources(next, childAnnotation, descriptionAnnotation, elementName);
|
||||
orderMap.put(order, def);
|
||||
|
||||
} else if (choiceTypes.size() > 1 && !ResourceReferenceDt.class.isAssignableFrom(nextElementType)) {
|
||||
/*
|
||||
* Child is a choice element
|
||||
*/
|
||||
|
@ -351,8 +356,7 @@ class ModelScanner {
|
|||
* Child is an extension
|
||||
*/
|
||||
Class<? extends IElement> et = (Class<? extends IElement>) nextElementType;
|
||||
RuntimeChildDeclaredExtensionDefinition def = new RuntimeChildDeclaredExtensionDefinition(next, childAnnotation, descriptionAnnotation, extensionAttr, elementName,
|
||||
extensionAttr.url(), et);
|
||||
RuntimeChildDeclaredExtensionDefinition def = new RuntimeChildDeclaredExtensionDefinition(next, childAnnotation, descriptionAnnotation, extensionAttr, elementName, extensionAttr.url(), et);
|
||||
orderMap.put(order, def);
|
||||
if (IElement.class.isAssignableFrom(nextElementType)) {
|
||||
addScanAlso((Class<? extends IElement>) nextElementType);
|
||||
|
@ -374,7 +378,8 @@ class ModelScanner {
|
|||
|
||||
} else if (IResourceBlock.class.isAssignableFrom(nextElementType)) {
|
||||
/*
|
||||
* Child is a resource block (i.e. a sub-tag within a resource) TODO: do these have a better name according to HL7?
|
||||
* Child is a resource block (i.e. a sub-tag within a resource)
|
||||
* TODO: do these have a better name according to HL7?
|
||||
*/
|
||||
|
||||
Class<? extends IResourceBlock> blockDef = (Class<? extends IResourceBlock>) nextElementType;
|
||||
|
@ -382,6 +387,11 @@ class ModelScanner {
|
|||
RuntimeChildResourceBlockDefinition def = new RuntimeChildResourceBlockDefinition(next, childAnnotation, descriptionAnnotation, elementName, blockDef);
|
||||
orderMap.put(order, def);
|
||||
|
||||
} else if (IDatatype.class.equals(nextElementType)) {
|
||||
|
||||
RuntimeChildAny def = new RuntimeChildAny(next, elementName, childAnnotation, descriptionAnnotation);
|
||||
orderMap.put(order, def);
|
||||
|
||||
} else if (IDatatype.class.isAssignableFrom(nextElementType)) {
|
||||
Class<? extends IDatatype> nextDatatype = (Class<? extends IDatatype>) nextElementType;
|
||||
|
||||
|
@ -406,8 +416,7 @@ class ModelScanner {
|
|||
CodeableConceptElement concept = next.getAnnotation(CodeableConceptElement.class);
|
||||
if (concept != null) {
|
||||
if (!ICodedDatatype.class.isAssignableFrom(nextDatatype)) {
|
||||
throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName()
|
||||
+ " but type is not a subtype of " + ICodedDatatype.class.getName());
|
||||
throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is marked as @" + CodeableConceptElement.class.getCanonicalName() + " but type is not a subtype of " + ICodedDatatype.class.getName());
|
||||
} else {
|
||||
Class<? extends ICodeEnum> type = concept.type();
|
||||
myScanAlsoCodeTable.add(type);
|
||||
|
@ -417,7 +426,6 @@ class ModelScanner {
|
|||
|
||||
orderMap.put(order, def);
|
||||
|
||||
// TODO: handle codes
|
||||
} else {
|
||||
throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is not a valid child type: " + nextElementType);
|
||||
}
|
||||
|
@ -457,8 +465,13 @@ class ModelScanner {
|
|||
|
||||
if (myNameToResourceDefinitions.containsKey(resourceName)) {
|
||||
if (!myNameToResourceDefinitions.get(resourceName).getImplementingClass().equals(theClass)) {
|
||||
// throw new ConfigurationException("Detected duplicate element name '" + resourceName + "' in types '" + theClass.getCanonicalName() + "' and '"
|
||||
// + myNameToResourceDefinitions.get(resourceName).getImplementingClass() + "'");
|
||||
// throw new
|
||||
// ConfigurationException("Detected duplicate element name '" +
|
||||
// resourceName + "' in types '" + theClass.getCanonicalName() +
|
||||
// "' and '"
|
||||
// +
|
||||
// myNameToResourceDefinitions.get(resourceName).getImplementingClass()
|
||||
// + "'");
|
||||
} else {
|
||||
return resourceName;
|
||||
}
|
||||
|
@ -466,11 +479,13 @@ class ModelScanner {
|
|||
|
||||
String resourceId = resourceDefinition.id();
|
||||
if (isBlank(resourceId)) {
|
||||
// throw new ConfigurationException("Resource type @" + ResourceDef.class.getSimpleName() + " annotation contains no resource ID: " + theClass.getCanonicalName());
|
||||
// throw new ConfigurationException("Resource type @" +
|
||||
// ResourceDef.class.getSimpleName() +
|
||||
// " annotation contains no resource ID: " +
|
||||
// theClass.getCanonicalName());
|
||||
} else {
|
||||
if (myIdToResourceDefinition.containsKey(resourceId)) {
|
||||
throw new ConfigurationException("The following resource types have the same ID of '" + resourceId + "' - " + theClass.getCanonicalName() + " and "
|
||||
+ myIdToResourceDefinition.get(resourceId).getImplementingClass().getCanonicalName());
|
||||
throw new ConfigurationException("The following resource types have the same ID of '" + resourceId + "' - " + theClass.getCanonicalName() + " and " + myIdToResourceDefinition.get(resourceId).getImplementingClass().getCanonicalName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -502,5 +517,4 @@ class ModelScanner {
|
|||
return type;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
package ca.uhn.fhir.context;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.primitive.XhtmlDt;
|
||||
|
||||
public class RuntimeChildAny extends RuntimeChildChoiceDefinition {
|
||||
|
||||
public RuntimeChildAny(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation) {
|
||||
super(theField, theElementName, theChildAnnotation, theDescriptionAnnotation);
|
||||
}
|
||||
|
||||
@Override
|
||||
void sealAndInitialize(Map<Class<? extends IElement>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) {
|
||||
List<Class<? extends IElement>> choiceTypes = new ArrayList<Class<? extends IElement>>();
|
||||
|
||||
for (Class<? extends IElement> next : theClassToElementDefinitions.keySet()) {
|
||||
if (next.equals(XhtmlDt.class)) {
|
||||
continue;
|
||||
}
|
||||
if (IResource.class.isAssignableFrom(next) || IDatatype.class.isAssignableFrom(next)) {
|
||||
choiceTypes.add(next);
|
||||
}
|
||||
}
|
||||
Collections.sort(choiceTypes,new Comparator<Class<?>>(){
|
||||
@Override
|
||||
public int compare(Class<?> theO1, Class<?> theO2) {
|
||||
boolean o1res = IResource.class.isAssignableFrom(theO1);
|
||||
boolean o2res = IResource.class.isAssignableFrom(theO2);
|
||||
if (o1res && o2res) {
|
||||
return theO1.getSimpleName().compareTo(theO2.getSimpleName());
|
||||
} else if (o1res) {
|
||||
return 1;
|
||||
}else {
|
||||
return -1;
|
||||
}
|
||||
}});
|
||||
|
||||
setChoiceTypes(choiceTypes);
|
||||
|
||||
super.sealAndInitialize(theClassToElementDefinitions);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -28,6 +28,17 @@ public class RuntimeChildChoiceDefinition extends BaseRuntimeDeclaredChildDefini
|
|||
myChoiceTypes= Collections.unmodifiableList(theChoiceTypes);
|
||||
}
|
||||
|
||||
/**
|
||||
* For extension, if myChoiceTypes will be set some other way
|
||||
*/
|
||||
RuntimeChildChoiceDefinition(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation) {
|
||||
super(theField, theChildAnnotation, theDescriptionAnnotation, theElementName);
|
||||
}
|
||||
|
||||
void setChoiceTypes(List<Class<? extends IElement>> theChoiceTypes) {
|
||||
myChoiceTypes = Collections.unmodifiableList(theChoiceTypes);
|
||||
}
|
||||
|
||||
public List<Class<? extends IElement>> getChoices() {
|
||||
return myChoiceTypes;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
package ca.uhn.fhir.context;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContainedDt;
|
||||
|
||||
public class RuntimeChildContainedResources extends BaseRuntimeDeclaredChildDefinition {
|
||||
|
||||
private RuntimeElemContainedResources myElem;
|
||||
|
||||
RuntimeChildContainedResources(Field theField, Child theChildAnnotation, Description theDescriptionAnnotation, String theElementName) throws ConfigurationException {
|
||||
super(theField, theChildAnnotation, theDescriptionAnnotation, theElementName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseRuntimeElementDefinition<?> getChildByName(String theName) {
|
||||
assert theName.equals(getElementName());
|
||||
return myElem;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseRuntimeElementDefinition<?> getChildElementDefinitionByDatatype(Class<? extends IElement> theType) {
|
||||
assert theType.equals(ContainedDt.class);
|
||||
return myElem;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getChildNameByDatatype(Class<? extends IElement> theDatatype) {
|
||||
assert theDatatype.equals(ContainedDt.class);
|
||||
return getElementName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getValidChildNames() {
|
||||
return Collections.singleton(getElementName());
|
||||
}
|
||||
|
||||
@Override
|
||||
void sealAndInitialize(Map<Class<? extends IElement>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) {
|
||||
myElem = new RuntimeElemContainedResources();
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
package ca.uhn.fhir.context;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.ContainedDt;
|
||||
|
||||
public class RuntimeElemContainedResources extends BaseRuntimeElementDefinition<ContainedDt> {
|
||||
|
||||
public RuntimeElemContainedResources() {
|
||||
super("contained", ContainedDt.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ca.uhn.fhir.context.BaseRuntimeElementDefinition.ChildTypeEnum getChildType() {
|
||||
return ChildTypeEnum.CONTAINED_RESOURCES;
|
||||
}
|
||||
|
||||
}
|
|
@ -123,11 +123,20 @@ public class RuntimeResourceDefinition extends BaseRuntimeElementCompositeDefini
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(RuntimeResourceDefinition.class);
|
||||
private void fillProfile(Structure theStruct, StructureElement theElement, BaseRuntimeElementDefinition<?> def, LinkedList<String> path, BaseRuntimeDeclaredChildDefinition theChild) {
|
||||
|
||||
fillBasics(theElement, def, path, theChild);
|
||||
|
||||
String expectedPath = StringUtils.join(path, '.');
|
||||
|
||||
ourLog.info("Filling profile for: {} - Path: {}", expectedPath);
|
||||
if (!expectedPath.equals(def.getName())) {
|
||||
theElement.getDefinition().getNameReference().setValue(def.getName());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
fillExtensions(theStruct, path, def.getExtensionsNonModifier(), "extension", false);
|
||||
fillExtensions(theStruct, path, def.getExtensionsModifier(), "modifierExtension", true);
|
||||
|
||||
|
@ -163,11 +172,14 @@ public class RuntimeResourceDefinition extends BaseRuntimeElementCompositeDefini
|
|||
if (child instanceof RuntimeChildResourceBlockDefinition) {
|
||||
RuntimeResourceBlockDefinition nextDef = (RuntimeResourceBlockDefinition) child.getSingleChildOrThrow();
|
||||
fillProfile(theStruct, elem, nextDef, path, child);
|
||||
} else if (child instanceof RuntimeChildContainedResources) {
|
||||
// ignore
|
||||
} else if (child instanceof RuntimeChildDeclaredExtensionDefinition) {
|
||||
throw new IllegalStateException("Unexpected child type: " + child.getClass().getCanonicalName());
|
||||
} else if (child instanceof RuntimeChildCompositeDatatypeDefinition || child instanceof RuntimeChildPrimitiveDatatypeDefinition || child instanceof RuntimeChildChoiceDefinition || child instanceof RuntimeChildResourceDefinition) {
|
||||
Iterator<String> childNamesIter = child.getValidChildNames().iterator();
|
||||
BaseRuntimeElementDefinition<?> nextDef = child.getChildByName(childNamesIter.next());
|
||||
String nextName = childNamesIter.next();
|
||||
BaseRuntimeElementDefinition<?> nextDef = child.getChildByName(nextName);
|
||||
fillBasics(elem, nextDef, path, child);
|
||||
fillName(elem, nextDef);
|
||||
while (childNamesIter.hasNext()) {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package ca.uhn.fhir.model.api;
|
||||
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContainedDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.NarrativeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.util.ElementUtil;
|
||||
|
@ -13,6 +14,21 @@ public abstract class BaseResource extends BaseElement implements IResource {
|
|||
@Child(name="text", order=1, min=0, max=1)
|
||||
private NarrativeDt myText;
|
||||
|
||||
@Child(name="contained", order=2, min=0, max=1)
|
||||
private ContainedDt myContained;
|
||||
|
||||
@Override
|
||||
public ContainedDt getContained() {
|
||||
if (myContained == null) {
|
||||
myContained = new ContainedDt();
|
||||
}
|
||||
return myContained;
|
||||
}
|
||||
|
||||
public void setContained(ContainedDt theContained) {
|
||||
myContained = theContained;
|
||||
}
|
||||
|
||||
public CodeDt getLanguage() {
|
||||
return myLanguage;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package ca.uhn.fhir.model.api;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ICompositeElement extends IElement {
|
||||
|
||||
/**
|
||||
|
@ -7,4 +9,12 @@ public interface ICompositeElement extends IElement {
|
|||
*/
|
||||
public java.util.List<IElement> getAllPopulatedChildElements();
|
||||
|
||||
/**
|
||||
* Returns a list containing all child elements matching a given type
|
||||
*
|
||||
* @param theType The type to match. If set to null, all child elements will be returned
|
||||
*/
|
||||
<T extends IElement>
|
||||
List<T> getAllPopulatedChildElementsOfType(Class<T> theType);
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,20 @@
|
|||
package ca.uhn.fhir.model.api;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.ContainedDt;
|
||||
|
||||
public interface IResource extends ICompositeElement {
|
||||
|
||||
/**
|
||||
* Returns the contained resource list for this resource.
|
||||
* <p>
|
||||
* Usage note: HAPI will generally populate and use the resources from this
|
||||
* list automatically (placing inline resources in the contained list when
|
||||
* encoding, and copying contained resources from this list to their
|
||||
* appropriate references when parsing) so it is generally not neccesary to
|
||||
* interact with this list directly.
|
||||
* </p>
|
||||
* TODO: document contained resources and link there
|
||||
*/
|
||||
public ContainedDt getContained();
|
||||
|
||||
}
|
||||
|
|
|
@ -16,16 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Address</b> Datatype
|
||||
|
@ -108,10 +125,15 @@ public class AddressDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUse, myText, myLine, myCity, myState, myZip, myCountry, myPeriod);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myUse, myText, myLine, myCity, myState, myZip, myCountry, myPeriod);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUse, myText, myLine, myCity, myState, myZip, myCountry, myPeriod);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>use</b> (home | work | temp | old - purpose of this address).
|
||||
|
|
|
@ -16,14 +16,30 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
@ -102,10 +118,15 @@ public class AttachmentDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myContentType, myLanguage, myData, myUrl, mySize, myHash, myTitle);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myContentType, myLanguage, myData, myUrl, mySize, myHash, myTitle);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myContentType, myLanguage, myData, myUrl, mySize, myHash, myTitle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>contentType</b> (Mime type of the content, with charset etc.).
|
||||
|
|
|
@ -16,13 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>CodeableConcept</b> Datatype
|
||||
|
@ -63,10 +83,15 @@ public class CodeableConceptDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCoding, myText);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCoding, myText);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCoding, myText);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>coding</b> (Code defined by a terminology system).
|
||||
|
|
|
@ -16,15 +16,31 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IQueryParameterType;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -111,10 +127,15 @@ public class CodingDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myVersion, myCode, myDisplay, myPrimary, myValueSet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySystem, myVersion, myCode, myDisplay, myPrimary, myValueSet);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myVersion, myCode, myDisplay, myPrimary, myValueSet);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>system</b> (Identity of the terminology system).
|
||||
|
|
|
@ -16,17 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Contact</b> Datatype
|
||||
|
@ -81,10 +97,15 @@ public class ContactDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myValue, myUse, myPeriod);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySystem, myValue, myUse, myPeriod);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myValue, myUse, myPeriod);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>system</b> (phone | fax | email | url).
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
|
||||
@DatatypeDef(name = "duration")
|
||||
public class ContainedDt implements IElement {
|
||||
|
||||
@Child(name = "resource", type = IResource.class, order = 0, min = 0, max = Child.MAX_UNLIMITED)
|
||||
private List<IResource> myContainedResources;
|
||||
|
||||
public List<IResource> getContainedResources() {
|
||||
if (myContainedResources == null) {
|
||||
myContainedResources = new ArrayList<IResource>();
|
||||
}
|
||||
return myContainedResources;
|
||||
}
|
||||
|
||||
public void setContainedResources(List<IResource> theContainedResources) {
|
||||
myContainedResources = theContainedResources;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return myContainedResources == null || myContainedResources.size() == 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setId(IdDt theId) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IdDt getId() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
|
@ -16,16 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>HumanName</b> Datatype
|
||||
|
@ -101,10 +118,15 @@ public class HumanNameDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUse, myText, myFamily, myGiven, myPrefix, mySuffix, myPeriod);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myUse, myText, myFamily, myGiven, myPrefix, mySuffix, myPeriod);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUse, myText, myFamily, myGiven, myPrefix, mySuffix, myPeriod);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>use</b> (usual | official | temp | nickname | anonymous | old | maiden).
|
||||
|
|
|
@ -16,16 +16,31 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IQueryParameterType;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -112,10 +127,15 @@ public class IdentifierDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myUse, myLabel, mySystem, myValue, myPeriod, myAssigner);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myUse, myLabel, mySystem, myValue, myPeriod, myAssigner);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myUse, myLabel, mySystem, myValue, myPeriod, myAssigner);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>use</b> (usual | official | temp | secondary (If known)).
|
||||
|
|
|
@ -58,7 +58,12 @@ public class NarrativeDt extends BaseElement implements ICompositeDatatype {
|
|||
|
||||
@Override
|
||||
public List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myStatus, myDiv );
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( theType, myStatus, myDiv );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -135,4 +140,5 @@ public class NarrativeDt extends BaseElement implements ICompositeDatatype {
|
|||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -16,16 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Period</b> Datatype
|
||||
|
@ -66,10 +83,15 @@ public class PeriodDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myStart, myEnd);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myStart, myEnd);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myStart, myEnd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>start</b> (Starting time with inclusive boundary).
|
||||
|
|
|
@ -16,16 +16,31 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -89,10 +104,15 @@ public class QuantityDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myValue, myComparator, myUnits, mySystem, myCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myValue, myComparator, myUnits, mySystem, myCode);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myValue, myComparator, myUnits, mySystem, myCode);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>value</b> (Numerical value (with implicit precision)).
|
||||
|
|
|
@ -16,12 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Range</b> Datatype
|
||||
|
@ -62,10 +83,15 @@ public class RangeDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myLow, myHigh);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myLow, myHigh);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myLow, myHigh);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>low</b> (Low limit).
|
||||
|
|
|
@ -16,12 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Ratio</b> Datatype
|
||||
|
@ -62,10 +83,15 @@ public class RatioDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myNumerator, myDenominator);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myNumerator, myDenominator);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myNumerator, myDenominator);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>numerator</b> (Numerator value).
|
||||
|
|
|
@ -16,13 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseResourceReference;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>ResourceReference</b> Datatype
|
||||
|
@ -63,10 +83,15 @@ public class ResourceReferenceDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myReference, myDisplay);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myReference, myDisplay);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myReference, myDisplay);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>reference</b> (Relative, internal or absolute URL reference).
|
||||
|
|
|
@ -16,15 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>SampledData</b> Datatype
|
||||
|
@ -100,10 +118,15 @@ public class SampledDataDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myOrigin, myPeriod, myFactor, myLowerLimit, myUpperLimit, myDimensions, myData);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myOrigin, myPeriod, myFactor, myLowerLimit, myUpperLimit, myDimensions, myData);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myOrigin, myPeriod, myFactor, myLowerLimit, myUpperLimit, myDimensions, myData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>origin</b> (Zero value and units).
|
||||
|
|
|
@ -16,24 +16,33 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.composite;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AddressUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EventTimingEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.NameUseEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.UnitsOfTimeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
/**
|
||||
* HAPI/FHIR <b>Schedule</b> Datatype
|
||||
|
@ -74,10 +83,15 @@ public class ScheduleDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myEvent, myRepeat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myEvent, myRepeat);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myEvent, myRepeat);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>event</b> (When the event occurs).
|
||||
|
@ -213,10 +227,15 @@ public class ScheduleDt
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myFrequency, myWhen, myDuration, myUnits, myCount, myEnd);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myFrequency, myWhen, myDuration, myUnits, myCount, myEnd);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myFrequency, myWhen, myDuration, myUnits, myCount, myEnd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>frequency</b> (Event occurs frequency times per duration).
|
||||
|
|
|
@ -6,6 +6,7 @@ import ca.uhn.fhir.model.api.BaseElement;
|
|||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContainedDt;
|
||||
|
||||
@ResourceDef(name="Binary", profile="http://hl7.org/fhir/profiles/Binary", id="binary")
|
||||
public class Binary extends BaseElement implements IResource {
|
||||
|
@ -23,4 +24,16 @@ public class Binary extends BaseElement implements IResource {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ContainedDt getContained() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -17,40 +17,111 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -367,10 +438,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myStatus, myExperimental, myDate, mySoftware, myImplementation, myFhirVersion, myAcceptUnknown, myFormat, myProfile, myRest, myMessaging, myDocument);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Logical id to reference this statement).
|
||||
|
@ -1180,10 +1256,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myVersion, myReleaseDate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myVersion, myReleaseDate);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myVersion, myReleaseDate);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (A name the software is known by).
|
||||
|
@ -1361,10 +1442,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDescription, myUrl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myDescription, myUrl);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDescription, myUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Describes this specific instance).
|
||||
|
@ -1522,10 +1608,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myMode, myDocumentation, mySecurity, myResource, myOperation, myQuery, myDocumentMailbox);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>mode</b> (client | server).
|
||||
|
@ -1883,10 +1974,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCors, myService, myDescription, myCertificate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCors, myService, myDescription, myCertificate);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCors, myService, myDescription, myCertificate);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>cors</b> (Adds CORS Headers (http://enable-cors.org/)).
|
||||
|
@ -2108,10 +2204,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myBlob);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, myBlob);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myBlob);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (Mime type for certificate).
|
||||
|
@ -2272,10 +2373,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myProfile, myOperation, myReadHistory, myUpdateCreate, mySearchInclude, mySearchParam);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (A resource type that is supported).
|
||||
|
@ -2618,10 +2724,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDocumentation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myDocumentation);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDocumentation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (read | vread | update | delete | history-instance | validate | history-type | create | search-type).
|
||||
|
@ -2772,10 +2883,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDefinition, myType, myDocumentation, myTarget, myChain);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myDefinition, myType, myDocumentation, myTarget, myChain);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDefinition, myType, myDocumentation, myTarget, myChain);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Name of search parameter).
|
||||
|
@ -3100,10 +3216,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDocumentation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myDocumentation);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDocumentation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (transaction | search-system | history-system).
|
||||
|
@ -3240,10 +3361,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDefinition, myDocumentation, myParameter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myDefinition, myDocumentation, myParameter);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDefinition, myDocumentation, myParameter);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Special named queries (_query=)).
|
||||
|
@ -3468,10 +3594,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myEndpoint, myReliableCache, myDocumentation, myEvent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myEndpoint, myReliableCache, myDocumentation, myEvent);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myEndpoint, myReliableCache, myDocumentation, myEvent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>endpoint</b> (Actual endpoint being described).
|
||||
|
@ -3726,10 +3857,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myCategory, myMode, myProtocol, myFocus, myRequest, myResponse, myDocumentation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Event type).
|
||||
|
@ -4085,10 +4221,15 @@ public class Conformance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myMode, myDocumentation, myProfile);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myMode, myDocumentation, myProfile);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myMode, myDocumentation, myProfile);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>mode</b> (producer | consumer).
|
||||
|
|
|
@ -17,20 +17,111 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -236,10 +327,15 @@ public class Device extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myType, myManufacturer, myModel, myVersion, myExpiry, myUdi, myLotNumber, myOwner, myLocation, myPatient, myContact, myUrl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myType, myManufacturer, myModel, myVersion, myExpiry, myUdi, myLotNumber, myOwner, myLocation, myPatient, myContact, myUrl);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myType, myManufacturer, myModel, myVersion, myExpiry, myUdi, myLotNumber, myOwner, myLocation, myPatient, myContact, myUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Instance id from manufacturer, owner and others).
|
||||
|
|
|
@ -17,27 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -305,10 +391,15 @@ public class DiagnosticOrder extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySubject, myOrderer, myIdentifier, myEncounter, myClinicalNotes, mySpecimen, myStatus, myPriority, myEvent, myItem);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySubject, myOrderer, myIdentifier, myEncounter, myClinicalNotes, mySpecimen, myStatus, myPriority, myEvent, myItem);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySubject, myOrderer, myIdentifier, myEncounter, myClinicalNotes, mySpecimen, myStatus, myPriority, myEvent, myItem);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>subject</b> (Who and/or what test is about).
|
||||
|
@ -740,10 +831,15 @@ public class DiagnosticOrder extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myStatus, myDescription, myDateTime, myActor);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myStatus, myDescription, myDateTime, myActor);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myStatus, myDescription, myDateTime, myActor);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>status</b> (requested | received | accepted | in progress | review | completed | suspended | rejected | failed).
|
||||
|
@ -960,10 +1056,15 @@ public class DiagnosticOrder extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, mySpecimen, myBodySite, myStatus, myEvent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, mySpecimen, myBodySite, myStatus, myEvent);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, mySpecimen, myBodySite, myStatus, myEvent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Code to indicate the item (test or panel) being ordered).
|
||||
|
|
|
@ -17,29 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -327,10 +411,15 @@ public class DiagnosticReport extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myStatus, myIssued, mySubject, myPerformer, myIdentifier, myRequestDetail, myServiceCategory, myDiagnostic, mySpecimen, myResult, myImagingStudy, myImage, myConclusion, myCodedDiagnosis, myPresentedForm);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myStatus, myIssued, mySubject, myPerformer, myIdentifier, myRequestDetail, myServiceCategory, myDiagnostic, mySpecimen, myResult, myImagingStudy, myImage, myConclusion, myCodedDiagnosis, myPresentedForm);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myStatus, myIssued, mySubject, myPerformer, myIdentifier, myRequestDetail, myServiceCategory, myDiagnostic, mySpecimen, myResult, myImagingStudy, myImage, myConclusion, myCodedDiagnosis, myPresentedForm);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Name/Code for this diagnostic report).
|
||||
|
@ -939,10 +1028,15 @@ public class DiagnosticReport extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myComment, myLink);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myComment, myLink);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myComment, myLink);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>comment</b> (Comment about the image (e.g. explanation)).
|
||||
|
|
|
@ -17,30 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -270,10 +353,15 @@ public class Encounter extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myStatus, myClassElement, myType, mySubject, myParticipant, myPeriod, myLength, myReason, myIndication, myPriority, myHospitalization, myLocation, myServiceProvider, myPartOf);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myStatus, myClassElement, myType, mySubject, myParticipant, myPeriod, myLength, myReason, myIndication, myPriority, myHospitalization, myLocation, myServiceProvider, myPartOf);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myStatus, myClassElement, myType, mySubject, myParticipant, myPeriod, myLength, myReason, myIndication, myPriority, myHospitalization, myLocation, myServiceProvider, myPartOf);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Identifier(s) by which this encounter is known).
|
||||
|
@ -874,10 +962,15 @@ public class Encounter extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myIndividual);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, myIndividual);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myIndividual);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (Role of participant in encounter).
|
||||
|
@ -1074,10 +1167,15 @@ public class Encounter extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myPreAdmissionIdentifier, myOrigin, myAdmitSource, myPeriod, myAccomodation, myDiet, mySpecialCourtesy, mySpecialArrangement, myDestination, myDischargeDisposition, myDischargeDiagnosis, myReAdmission);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myPreAdmissionIdentifier, myOrigin, myAdmitSource, myPeriod, myAccomodation, myDiet, mySpecialCourtesy, mySpecialArrangement, myDestination, myDischargeDisposition, myDischargeDiagnosis, myReAdmission);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myPreAdmissionIdentifier, myOrigin, myAdmitSource, myPeriod, myAccomodation, myDiet, mySpecialCourtesy, mySpecialArrangement, myDestination, myDischargeDisposition, myDischargeDiagnosis, myReAdmission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>preAdmissionIdentifier</b> (Pre-admission identifier).
|
||||
|
@ -1550,10 +1648,15 @@ public class Encounter extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myBed, myPeriod);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myBed, myPeriod);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myBed, myPeriod);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>bed</b> (The bed that is assigned to the patient).
|
||||
|
@ -1655,10 +1758,15 @@ public class Encounter extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myLocation, myPeriod);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myLocation, myPeriod);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myLocation, myPeriod);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>location</b> (Location the encounter takes place).
|
||||
|
|
|
@ -17,27 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -216,10 +302,15 @@ public class Group extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myType, myActual, myCode, myName, myQuantity, myCharacteristic, myMember);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myType, myActual, myCode, myName, myQuantity, myCharacteristic, myMember);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myType, myActual, myCode, myName, myQuantity, myCharacteristic, myMember);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Unique id).
|
||||
|
@ -570,10 +661,15 @@ public class Group extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myValue, myExclude);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myValue, myExclude);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myValue, myExclude);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Kind of characteristic).
|
||||
|
|
|
@ -17,27 +17,109 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
|
@ -295,10 +377,15 @@ public class ImagingStudy extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDateTime, mySubject, myUid, myAccessionNo, myIdentifier, myOrder, myModality, myReferrer, myAvailability, myUrl, myNumberOfSeries, myNumberOfInstances, myClinicalInformation, myProcedure, myInterpreter, myDescription, mySeries);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myDateTime, mySubject, myUid, myAccessionNo, myIdentifier, myOrder, myModality, myReferrer, myAvailability, myUrl, myNumberOfSeries, myNumberOfInstances, myClinicalInformation, myProcedure, myInterpreter, myDescription, mySeries);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDateTime, mySubject, myUid, myAccessionNo, myIdentifier, myOrder, myModality, myReferrer, myAvailability, myUrl, myNumberOfSeries, myNumberOfInstances, myClinicalInformation, myProcedure, myInterpreter, myDescription, mySeries);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>dateTime</b> (When the study was performed).
|
||||
|
@ -1074,10 +1161,15 @@ public class ImagingStudy extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myNumber, myModality, myUid, myDescription, myNumberOfInstances, myAvailability, myUrl, myBodySite, myDateTime, myInstance);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myNumber, myModality, myUid, myDescription, myNumberOfInstances, myAvailability, myUrl, myBodySite, myDateTime, myInstance);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myNumber, myModality, myUid, myDescription, myNumberOfInstances, myAvailability, myUrl, myBodySite, myDateTime, myInstance);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>number</b> (Number of this series in overall sequence (0020,0011)).
|
||||
|
@ -1569,10 +1661,15 @@ public class ImagingStudy extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myNumber, myUid, mySopclass, myType, myTitle, myUrl, myAttachment);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myNumber, myUid, mySopclass, myType, myTitle, myUrl, myAttachment);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myNumber, myUid, mySopclass, myType, myTitle, myUrl, myAttachment);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>number</b> (The number of this instance in the series (0020,0013)).
|
||||
|
|
|
@ -17,28 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -233,10 +318,15 @@ public class Location extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myDescription, myType, myTelecom, myAddress, myPhysicalType, myPosition, myManagingOrganization, myStatus, myPartOf, myMode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myName, myDescription, myType, myTelecom, myAddress, myPhysicalType, myPosition, myManagingOrganization, myStatus, myPartOf, myMode);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myDescription, myType, myTelecom, myAddress, myPhysicalType, myPosition, myManagingOrganization, myStatus, myPartOf, myMode);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Unique code or number identifying the location to its users).
|
||||
|
@ -721,10 +811,15 @@ public class Location extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myLongitude, myLatitude, myAltitude);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myLongitude, myLatitude, myAltitude);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myLongitude, myLatitude, myAltitude);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>longitude</b> (Longitude as expressed in KML).
|
||||
|
|
|
@ -17,25 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -231,10 +319,15 @@ public class Media extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, mySubtype, myIdentifier, myDateTime, mySubject, myOperator, myView, myDeviceName, myHeight, myWidth, myFrames, myLength, myContent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, mySubtype, myIdentifier, myDateTime, mySubject, myOperator, myView, myDeviceName, myHeight, myWidth, myFrames, myLength, myContent);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, mySubtype, myIdentifier, myDateTime, mySubject, myOperator, myView, myDeviceName, myHeight, myWidth, myFrames, myLength, myContent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (photo | video | audio).
|
||||
|
|
|
@ -17,23 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -181,10 +271,15 @@ public class Medication extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myCode, myIsBrand, myManufacturer, myKind, myProduct, myPackage);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myCode, myIsBrand, myManufacturer, myKind, myProduct, myPackage);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myCode, myIsBrand, myManufacturer, myKind, myProduct, myPackage);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Common / Commercial name).
|
||||
|
@ -482,10 +577,15 @@ public class Medication extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myForm, myIngredient);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myForm, myIngredient);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myForm, myIngredient);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>form</b> (powder | tablets | carton +).
|
||||
|
@ -599,10 +699,15 @@ public class Medication extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myItem, myAmount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myItem, myAmount);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myItem, myAmount);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>item</b> (The product contained).
|
||||
|
|
|
@ -17,38 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -359,10 +434,15 @@ public class Observation extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myValue, myInterpretation, myComments, myApplies, myIssued, myStatus, myReliability, myBodySite, myMethod, myIdentifier, mySubject, mySpecimen, myPerformer, myReferenceRange, myRelated);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myValue, myInterpretation, myComments, myApplies, myIssued, myStatus, myReliability, myBodySite, myMethod, myIdentifier, mySubject, mySpecimen, myPerformer, myReferenceRange, myRelated);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myValue, myInterpretation, myComments, myApplies, myIssued, myStatus, myReliability, myBodySite, myMethod, myIdentifier, mySubject, mySpecimen, myPerformer, myReferenceRange, myRelated);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Type of observation (code / type)).
|
||||
|
@ -991,10 +1071,15 @@ public class Observation extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myLow, myHigh, myMeaning, myAge);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myLow, myHigh, myMeaning, myAge);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myLow, myHigh, myMeaning, myAge);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>low</b> (Low Range, if relevant).
|
||||
|
@ -1157,10 +1242,15 @@ public class Observation extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myTarget);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, myTarget);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myTarget);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (has-component | has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by).
|
||||
|
|
|
@ -17,26 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -200,10 +287,15 @@ public class Organization extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myType, myTelecom, myAddress, myPartOf, myContact, myLocation, myActive);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myName, myType, myTelecom, myAddress, myPartOf, myContact, myLocation, myActive);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myType, myTelecom, myAddress, myPartOf, myContact, myLocation, myActive);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Identifies this organization across multiple systems).
|
||||
|
@ -624,10 +716,15 @@ public class Organization extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myPurpose, myName, myTelecom, myAddress, myGender);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myPurpose, myName, myTelecom, myAddress, myGender);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myPurpose, myName, myTelecom, myAddress, myGender);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>purpose</b> (The type of contact).
|
||||
|
|
|
@ -17,36 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -353,10 +430,15 @@ public class Patient extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myTelecom, myGender, myBirthDate, myDeceased, myAddress, myMaritalStatus, myMultipleBirth, myPhoto, myContact, myAnimal, myCommunication, myCareProvider, myManagingOrganization, myLink, myActive);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (An identifier for the person as this patient).
|
||||
|
@ -1101,10 +1183,15 @@ public class Patient extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myRelationship, myName, myTelecom, myAddress, myGender, myOrganization);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myRelationship, myName, myTelecom, myAddress, myGender, myOrganization);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myRelationship, myName, myTelecom, myAddress, myGender, myOrganization);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>relationship</b> (The kind of relationship).
|
||||
|
@ -1372,10 +1459,15 @@ public class Patient extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySpecies, myBreed, myGenderStatus);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySpecies, myBreed, myGenderStatus);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySpecies, myBreed, myGenderStatus);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>species</b> (E.g. Dog, Cow).
|
||||
|
@ -1519,10 +1611,15 @@ public class Patient extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myOther, myType);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myOther, myType);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myOther, myType);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>other</b> (The other patient resource that the link refers to).
|
||||
|
|
|
@ -17,31 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -260,10 +342,15 @@ public class Practitioner extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myOrganization, myRole, mySpecialty, myPeriod, myLocation, myQualification, myCommunication);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myOrganization, myRole, mySpecialty, myPeriod, myLocation, myQualification, myCommunication);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myName, myTelecom, myAddress, myGender, myBirthDate, myPhoto, myOrganization, myRole, mySpecialty, myPeriod, myLocation, myQualification, myCommunication);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (A identifier for the person as this agent).
|
||||
|
@ -890,10 +977,15 @@ public class Practitioner extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myPeriod, myIssuer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myPeriod, myIssuer);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myPeriod, myIssuer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Coded representation of the qualification).
|
||||
|
|
|
@ -17,38 +17,111 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -299,10 +372,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCode, myStatus, myExperimental, myDate, myRequirements, myFhirVersion, myMapping, myStructure, myExtensionDefn, myQuery);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCode, myStatus, myExperimental, myDate, myRequirements, myFhirVersion, myMapping, myStructure, myExtensionDefn, myQuery);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCode, myStatus, myExperimental, myDate, myRequirements, myFhirVersion, myMapping, myStructure, myExtensionDefn, myQuery);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Logical id to reference this profile).
|
||||
|
@ -1055,10 +1133,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentity, myUri, myName, myComments);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentity, myUri, myName, myComments);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentity, myUri, myName, myComments);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identity</b> (Internal id when this mapping is used).
|
||||
|
@ -1295,10 +1378,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myName, myPublish, myPurpose, myElement, mySearchParam);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, myName, myPublish, myPurpose, myElement, mySearchParam);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myName, myPublish, myPurpose, myElement, mySearchParam);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (The Resource or Data Type being described).
|
||||
|
@ -1615,10 +1703,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myPath, myRepresentation, myName, mySlicing, myDefinition);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myPath, myRepresentation, myName, mySlicing, myDefinition);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myPath, myRepresentation, myName, mySlicing, myDefinition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>path</b> (The path of the element (see the formal definitions)).
|
||||
|
@ -1865,10 +1958,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDiscriminator, myOrdered, myRules);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myDiscriminator, myOrdered, myRules);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDiscriminator, myOrdered, myRules);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>discriminator</b> (Element that used to distinguish the slices).
|
||||
|
@ -2146,10 +2244,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myShort, myFormal, myComments, myRequirements, mySynonym, myMin, myMax, myType, myNameReference, myValue, myExample, myMaxLength, myCondition, myConstraint, myMustSupport, myIsModifier, myBinding, myMapping);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myShort, myFormal, myComments, myRequirements, mySynonym, myMin, myMax, myType, myNameReference, myValue, myExample, myMaxLength, myCondition, myConstraint, myMustSupport, myIsModifier, myBinding, myMapping);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myShort, myFormal, myComments, myRequirements, mySynonym, myMin, myMax, myType, myNameReference, myValue, myExample, myMaxLength, myCondition, myConstraint, myMustSupport, myIsModifier, myBinding, myMapping);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>short</b> (Concise definition for xml presentation).
|
||||
|
@ -2959,10 +3062,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myProfile, myAggregation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myProfile, myAggregation);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myProfile, myAggregation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Name of Data type or Resource).
|
||||
|
@ -3162,10 +3270,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myKey, myName, mySeverity, myHuman, myXpath);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myKey, myName, mySeverity, myHuman, myXpath);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myKey, myName, mySeverity, myHuman, myXpath);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>key</b> (Target of 'condition' reference above).
|
||||
|
@ -3441,10 +3554,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myIsExtensible, myConformance, myDescription, myReference);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myIsExtensible, myConformance, myDescription, myReference);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myIsExtensible, myConformance, myDescription, myReference);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Descriptive Name).
|
||||
|
@ -3681,10 +3799,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentity, myMap);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentity, myMap);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentity, myMap);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identity</b> (Reference to mapping declaration).
|
||||
|
@ -3830,10 +3953,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myType, myDocumentation, myXpath, myTarget);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myType, myDocumentation, myXpath, myTarget);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myType, myDocumentation, myXpath, myTarget);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Name of search parameter).
|
||||
|
@ -4120,10 +4248,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myDisplay, myContextType, myContext, myDefinition);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myDisplay, myContextType, myContext, myDefinition);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myDisplay, myContextType, myContext, myDefinition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Identifies the extension in this profile).
|
||||
|
@ -4386,10 +4519,15 @@ public class Profile extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myName, myDocumentation, myParameter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myName, myDocumentation, myParameter);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myName, myDocumentation, myParameter);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>name</b> (Special named queries (_query=)).
|
||||
|
|
|
@ -17,22 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -187,10 +278,15 @@ public class RelatedPerson extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myPatient, myRelationship, myName, myTelecom, myGender, myAddress, myPhoto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myPatient, myRelationship, myName, myTelecom, myGender, myAddress, myPhoto);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myPatient, myRelationship, myName, myTelecom, myGender, myAddress, myPhoto);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (A Human identifier for this person).
|
||||
|
|
|
@ -17,32 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IDatatype;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -147,10 +228,15 @@ public class Specimen extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myType, mySource, mySubject, myAccessionIdentifier, myReceivedTime, myCollection, myTreatment, myContainer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myType, mySource, mySubject, myAccessionIdentifier, myReceivedTime, myCollection, myTreatment, myContainer);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myType, mySource, mySubject, myAccessionIdentifier, myReceivedTime, myCollection, myTreatment, myContainer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (External Identifier).
|
||||
|
@ -537,10 +623,15 @@ public class Specimen extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myRelationship, myTarget);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myRelationship, myTarget);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myRelationship, myTarget);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>relationship</b> (parent | child).
|
||||
|
@ -684,10 +775,15 @@ public class Specimen extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCollector, myComment, myCollected, myQuantity, myMethod, mySourceSite);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCollector, myComment, myCollected, myQuantity, myMethod, mySourceSite);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCollector, myComment, myCollected, myQuantity, myMethod, mySourceSite);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>collector</b> (Who collected the specimen).
|
||||
|
@ -956,10 +1052,15 @@ public class Specimen extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myDescription, myProcedure, myAdditive);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myDescription, myProcedure, myAdditive);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myDescription, myProcedure, myAdditive);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>description</b> (Textual description of procedure).
|
||||
|
@ -1143,10 +1244,15 @@ public class Specimen extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myDescription, myType, myCapacity, mySpecimenQuantity, myAdditive);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myDescription, myType, myCapacity, mySpecimenQuantity, myAdditive);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myDescription, myType, myCapacity, mySpecimenQuantity, myAdditive);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Id for the container).
|
||||
|
|
|
@ -17,27 +17,113 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -142,10 +228,15 @@ public class Substance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myType, myDescription, myInstance, myIngredient);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myType, myDescription, myInstance, myIngredient);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myType, myDescription, myInstance, myIngredient);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>type</b> (What kind of substance this is).
|
||||
|
@ -346,10 +437,15 @@ public class Substance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myExpiry, myQuantity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myExpiry, myQuantity);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myExpiry, myQuantity);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Identifier of the package/container).
|
||||
|
@ -505,10 +601,15 @@ public class Substance extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myQuantity, mySubstance);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myQuantity, mySubstance);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myQuantity, mySubstance);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>quantity</b> (Optional amount (concentration)).
|
||||
|
|
|
@ -17,27 +17,111 @@
|
|||
package ca.uhn.fhir.model.dstu.resource;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.*;
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import ca.uhn.fhir.model.api.annotation.*;
|
||||
|
||||
import ca.uhn.fhir.model.api.BaseElement;
|
||||
import ca.uhn.fhir.model.api.BaseResource;
|
||||
import ca.uhn.fhir.model.api.IElement;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.api.IResourceBlock;
|
||||
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
|
||||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
import ca.uhn.fhir.model.api.annotation.Child;
|
||||
import ca.uhn.fhir.model.api.annotation.Description;
|
||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||
import ca.uhn.fhir.model.dstu.composite.AddressDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.CodingDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ContactDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Device;
|
||||
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Encounter;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterReasonCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Group;
|
||||
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
|
||||
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Location;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Media;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Medication;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Observation;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationInterpretationCodesEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Organization;
|
||||
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Patient;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PatientRelationshipTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.Practitioner;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Profile;
|
||||
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RangeDt;
|
||||
import ca.uhn.fhir.model.dstu.composite.RatioDt;
|
||||
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
|
||||
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Specimen;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SpecimenTreatmentProcedureEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.Substance;
|
||||
import ca.uhn.fhir.model.dstu.valueset.SubstanceTypeEnum;
|
||||
import ca.uhn.fhir.model.dstu.resource.ValueSet;
|
||||
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
|
||||
import ca.uhn.fhir.model.api.IResource;
|
||||
import ca.uhn.fhir.model.dstu.composite.DurationDt;
|
||||
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
|
||||
import ca.uhn.fhir.model.primitive.BooleanDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeDt;
|
||||
import ca.uhn.fhir.model.primitive.BoundCodeableConceptDt;
|
||||
import ca.uhn.fhir.model.primitive.CodeDt;
|
||||
import ca.uhn.fhir.model.primitive.DateDt;
|
||||
import ca.uhn.fhir.model.primitive.DateTimeDt;
|
||||
import ca.uhn.fhir.model.primitive.DecimalDt;
|
||||
import ca.uhn.fhir.model.primitive.IdDt;
|
||||
import ca.uhn.fhir.model.primitive.InstantDt;
|
||||
import ca.uhn.fhir.model.primitive.IntegerDt;
|
||||
import ca.uhn.fhir.model.primitive.OidDt;
|
||||
import ca.uhn.fhir.model.primitive.StringDt;
|
||||
import ca.uhn.fhir.model.primitive.UriDt;
|
||||
|
||||
|
@ -274,10 +358,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCopyright, myStatus, myExperimental, myExtensible, myDate, myDefine, myCompose, myExpansion);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCopyright, myStatus, myExperimental, myExtensible, myDate, myDefine, myCompose, myExpansion);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCopyright, myStatus, myExperimental, myExtensible, myDate, myDefine, myCompose, myExpansion);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Logical id to reference this value set).
|
||||
|
@ -903,10 +992,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myVersion, myCaseSensitive, myConcept);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySystem, myVersion, myCaseSensitive, myConcept);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myVersion, myCaseSensitive, myConcept);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>system</b> (URI to identify the code system).
|
||||
|
@ -1136,10 +1230,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myCode, myAbstract, myDisplay, myDefinition, myConcept);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myCode, myAbstract, myDisplay, myDefinition, myConcept);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myCode, myAbstract, myDisplay, myDefinition, myConcept);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>code</b> (Code that identifies concept).
|
||||
|
@ -1400,10 +1499,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myImport, myInclude, myExclude);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myImport, myInclude, myExclude);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myImport, myInclude, myExclude);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>import</b> (Import the contents of another value set).
|
||||
|
@ -1600,10 +1704,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myVersion, myCode, myFilter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySystem, myVersion, myCode, myFilter);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myVersion, myCode, myFilter);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>system</b> (The system the codes come from).
|
||||
|
@ -1835,10 +1944,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myProperty, myOp, myValue);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myProperty, myOp, myValue);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myProperty, myOp, myValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>property</b> ().
|
||||
|
@ -2013,10 +2127,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myTimestamp, myContains);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( myIdentifier, myTimestamp, myContains);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myTimestamp, myContains);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>identifier</b> (Uniquely identifies this expansion).
|
||||
|
@ -2196,10 +2315,15 @@ public class ValueSet extends BaseResource implements IResource {
|
|||
return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myCode, myDisplay, myContains);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.List<IElement> getAllPopulatedChildElements() {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements( mySystem, myCode, myDisplay, myContains);
|
||||
return getAllPopulatedChildElementsOfType(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) {
|
||||
return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myCode, myDisplay, myContains);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value(s) for <b>system</b> (System value for the code).
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum AddressUseEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum AdministrativeGenderCodesEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum AdmitSourceEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum AggregationModeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum AnimalSpeciesEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum BindingConformanceEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ConformanceEventModeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ConformanceStatementStatusEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ConstraintSeverityEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ContactSystemEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ContactUseEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum DataTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum DiagnosticOrderPriorityEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum DiagnosticOrderStatusEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum DiagnosticReportStatusEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum DocumentModeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum EncounterClassEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum EncounterReasonCodesEnum {
|
||||
|
||||
;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum EncounterStateEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum EncounterTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum EventTimingEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ExtensionContextEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum FHIRDefinedTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum FilterOperatorEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum GroupTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum HierarchicalRelationshipTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum IdentifierUseEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ImagingModalityEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum InstanceAvailabilityEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum LinkTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum LocationModeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum LocationStatusEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum LocationTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum MaritalStatusCodesEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum MediaTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum MedicationKindEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum MessageEventEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum MessageSignificanceCategoryEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum MessageTransportEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ModalityEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum NameUseEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ObservationInterpretationCodesEnum {
|
||||
|
||||
;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ObservationRelationshipTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ObservationReliabilityEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ObservationStatusEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum OrganizationTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum ParticipantTypeEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum PatientRelationshipTypeEnum {
|
||||
|
||||
;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum PractitionerRoleEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum PractitionerSpecialtyEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum PropertyRepresentationEnum {
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
package ca.uhn.fhir.model.dstu.valueset;
|
||||
|
||||
import ca.uhn.fhir.model.api.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public enum QuantityCompararatorEnum {
|
||||
|
||||
/**
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue