Merge branch 'master' of github.com:jamesagnew/hapi-fhir

This commit is contained in:
jamesagnew 2016-07-01 14:31:25 -04:00
commit 4a49e5b7f9
379 changed files with 219466 additions and 768596 deletions

View File

@ -34,14 +34,15 @@ import ca.uhn.fhir.util.ValidateUtil;
public abstract class BaseRuntimeDeclaredChildDefinition extends BaseRuntimeChildDefinition {
private final IAccessor myAccessor;
private String myBindingValueSet;
private final String myElementName;
private final Field myField;
private final String myFormalDefinition;
private final int myMax;
private final int myMin;
private boolean myModifier;
private final IMutator myMutator;
private final IMutator myMutator;
private final String myShortDefinition;
private boolean mySummary;
BaseRuntimeDeclaredChildDefinition(Field theField, Child theChildAnnotation, Description theDescriptionAnnotation, String theElementName) throws ConfigurationException {
@ -82,6 +83,10 @@ public abstract class BaseRuntimeDeclaredChildDefinition extends BaseRuntimeChil
return myAccessor;
}
public String getBindingValueSet() {
return myBindingValueSet;
}
@Override
public String getElementName() {
return myElementName;
@ -130,6 +135,10 @@ public abstract class BaseRuntimeDeclaredChildDefinition extends BaseRuntimeChil
return mySummary;
}
void setBindingValueSet(String theBindingValueSet) {
myBindingValueSet = theBindingValueSet;
}
protected void setModifier(boolean theModifier) {
myModifier = theModifier;
}

View File

@ -1,5 +1,7 @@
package ca.uhn.fhir.context;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
@ -45,18 +47,17 @@ import org.hl7.fhir.instance.model.api.IBaseEnumeration;
import org.hl7.fhir.instance.model.api.IBaseExtension;
import org.hl7.fhir.instance.model.api.IBaseReference;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.hl7.fhir.instance.model.api.IBaseXhtml;
import org.hl7.fhir.instance.model.api.ICompositeType;
import org.hl7.fhir.instance.model.api.INarrative;
import org.hl7.fhir.instance.model.api.IPrimitiveType;
import ca.uhn.fhir.model.api.ExtensionDt;
import ca.uhn.fhir.model.api.IBoundCodeableConcept;
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.IValueSetEnumBinder;
import ca.uhn.fhir.model.api.annotation.Binding;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
@ -245,6 +246,8 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
String elementName = childAnnotation.name();
int order = childAnnotation.order();
boolean childIsChoiceType = false;
boolean orderIsReplaceParent = false;
if (order == Child.REPLACE_PARENT) {
if (extensionAttr != null) {
@ -253,6 +256,7 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
BaseRuntimeDeclaredChildDefinition nextDef = nextEntry.getValue();
if (nextDef instanceof RuntimeChildDeclaredExtensionDefinition) {
if (nextDef.getExtensionUrl().equals(extensionAttr.url())) {
orderIsReplaceParent = true;
order = nextEntry.getKey();
orderMap.remove(nextEntry.getKey());
elementNames.remove(elementName);
@ -270,6 +274,7 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
for (Entry<Integer, BaseRuntimeDeclaredChildDefinition> nextEntry : orderMap.entrySet()) {
BaseRuntimeDeclaredChildDefinition nextDef = nextEntry.getValue();
if (elementName.equals(nextDef.getElementName())) {
orderIsReplaceParent = true;
order = nextEntry.getKey();
BaseRuntimeDeclaredChildDefinition existing = orderMap.remove(nextEntry.getKey());
elementNames.remove(elementName);
@ -297,7 +302,8 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
if (order < 0 && order != Child.ORDER_UNKNOWN) {
throw new ConfigurationException("Invalid order '" + order + "' on @Child for field '" + next.getName() + "' on target type: " + theClass);
}
if (order != Child.ORDER_UNKNOWN) {
if (order != Child.ORDER_UNKNOWN && !orderIsReplaceParent) {
order = order + baseElementOrder;
}
// int min = childAnnotation.min();
@ -328,32 +334,25 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
Class<?> nextElementType = ModelScanner.determineElementType(next);
BaseRuntimeDeclaredChildDefinition def;
if (childAnnotation.name().equals("extension") && IBaseExtension.class.isAssignableFrom(nextElementType)) {
RuntimeChildExtension def = new RuntimeChildExtension(next, childAnnotation.name(), childAnnotation, descriptionAnnotation);
orderMap.put(order, def);
def = new RuntimeChildExtension(next, childAnnotation.name(), childAnnotation, descriptionAnnotation);
} else if (childAnnotation.name().equals("modifierExtension") && IBaseExtension.class.isAssignableFrom(nextElementType)) {
RuntimeChildExtension def = new RuntimeChildExtension(next, childAnnotation.name(), childAnnotation, descriptionAnnotation);
orderMap.put(order, def);
def = new RuntimeChildExtension(next, childAnnotation.name(), childAnnotation, descriptionAnnotation);
} else if (BaseContainedDt.class.isAssignableFrom(nextElementType) || (childAnnotation.name().equals("contained") && IBaseResource.class.isAssignableFrom(nextElementType))) {
/*
* Child is contained resources
*/
RuntimeChildContainedResources def = new RuntimeChildContainedResources(next, childAnnotation, descriptionAnnotation, elementName);
orderMap.put(order, def);
def = new RuntimeChildContainedResources(next, childAnnotation, descriptionAnnotation, elementName);
} else if (IAnyResource.class.isAssignableFrom(nextElementType) || IResource.class.equals(nextElementType)) {
/*
* Child is a resource as a direct child, as in Bundle.entry.resource
*/
RuntimeChildDirectResource def = new RuntimeChildDirectResource(next, childAnnotation, descriptionAnnotation, elementName);
orderMap.put(order, def);
def = new RuntimeChildDirectResource(next, childAnnotation, descriptionAnnotation, elementName);
} else {
childIsChoiceType |= choiceTypes.size() > 1;
if (childIsChoiceType && !BaseResourceReferenceDt.class.isAssignableFrom(nextElementType) && !IBaseReference.class.isAssignableFrom(nextElementType)) {
RuntimeChildChoiceDefinition def = new RuntimeChildChoiceDefinition(next, elementName, childAnnotation, descriptionAnnotation, choiceTypes);
orderMap.put(order, def);
def = new RuntimeChildChoiceDefinition(next, elementName, childAnnotation, descriptionAnnotation, choiceTypes);
} else if (extensionAttr != null) {
/*
* Child is an extension
@ -365,14 +364,11 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
binder = ModelScanner.getBoundCodeBinder(next);
}
RuntimeChildDeclaredExtensionDefinition def = new RuntimeChildDeclaredExtensionDefinition(next, childAnnotation, descriptionAnnotation, extensionAttr, elementName, extensionAttr.url(), et,
binder);
def = new RuntimeChildDeclaredExtensionDefinition(next, childAnnotation, descriptionAnnotation, extensionAttr, elementName, extensionAttr.url(), et, binder);
if (IBaseEnumeration.class.isAssignableFrom(nextElementType)) {
def.setEnumerationType(ReflectionUtil.getGenericCollectionTypeOfFieldWithSecondOrderForList(next));
((RuntimeChildDeclaredExtensionDefinition)def).setEnumerationType(ReflectionUtil.getGenericCollectionTypeOfFieldWithSecondOrderForList(next));
}
orderMap.put(order, def);
} else if (BaseResourceReferenceDt.class.isAssignableFrom(nextElementType) || IBaseReference.class.isAssignableFrom(nextElementType)) {
/*
* Child is a resource reference
@ -387,8 +383,7 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
}
refTypesList.add((Class<? extends IBaseResource>) nextType);
}
RuntimeChildResourceDefinition def = new RuntimeChildResourceDefinition(next, elementName, childAnnotation, descriptionAnnotation, refTypesList);
orderMap.put(order, def);
def = new RuntimeChildResourceDefinition(next, elementName, childAnnotation, descriptionAnnotation, refTypesList);
} else if (IResourceBlock.class.isAssignableFrom(nextElementType) || IBaseBackboneElement.class.isAssignableFrom(nextElementType)
|| IBaseDatatypeElement.class.isAssignableFrom(nextElementType)) {
@ -397,20 +392,15 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
*/
Class<? extends IBase> blockDef = (Class<? extends IBase>) nextElementType;
RuntimeChildResourceBlockDefinition def = new RuntimeChildResourceBlockDefinition(myContext, next, childAnnotation, descriptionAnnotation, elementName, blockDef);
orderMap.put(order, def);
def = new RuntimeChildResourceBlockDefinition(myContext, next, childAnnotation, descriptionAnnotation, elementName, blockDef);
} else if (IDatatype.class.equals(nextElementType) || IElement.class.equals(nextElementType) || "Type".equals(nextElementType.getSimpleName())
|| IBaseDatatype.class.equals(nextElementType)) {
RuntimeChildAny def = new RuntimeChildAny(next, elementName, childAnnotation, descriptionAnnotation);
orderMap.put(order, def);
def = new RuntimeChildAny(next, elementName, childAnnotation, descriptionAnnotation);
} else if (IDatatype.class.isAssignableFrom(nextElementType) || IPrimitiveType.class.isAssignableFrom(nextElementType) || ICompositeType.class.isAssignableFrom(nextElementType)
|| IBaseDatatype.class.isAssignableFrom(nextElementType) || IBaseExtension.class.isAssignableFrom(nextElementType)) {
Class<? extends IBase> nextDatatype = (Class<? extends IBase>) nextElementType;
BaseRuntimeChildDatatypeDefinition def;
if (IPrimitiveType.class.isAssignableFrom(nextElementType)) {
if (nextElementType.equals(BoundCodeDt.class)) {
IValueSetEnumBinder<Enum<?>> binder = ModelScanner.getBoundCodeBinder(next);
@ -434,13 +424,20 @@ public abstract class BaseRuntimeElementCompositeDefinition<T extends IBase> ext
}
}
orderMap.put(order, def);
} else {
throw new ConfigurationException("Field '" + elementName + "' in type '" + theClass.getCanonicalName() + "' is not a valid child type: " + nextElementType);
}
Binding bindingAnnotation = ModelScanner.pullAnnotation(next, Binding.class);
if (bindingAnnotation != null) {
if (isNotBlank(bindingAnnotation.valueSet())) {
def.setBindingValueSet(bindingAnnotation.valueSet());
}
}
}
orderMap.put(order, def);
elementNames.add(elementName);
}
}

View File

@ -112,13 +112,6 @@ class ModelScanner {
init(theExistingDefinitions, toScan);
}
private void addScanAlso(Class<? extends IBase> theType) {
if (theType.isInterface() || Modifier.isAbstract(theType.getModifiers())) {
return;
}
myScanAlso.add(theType);
}
static Class<?> determineElementType(Field next) {
Class<?> nextElementType = next.getType();
if (List.class.equals(nextElementType)) {
@ -310,12 +303,6 @@ class ModelScanner {
RuntimeResourceBlockDefinition blockDef = new RuntimeResourceBlockDefinition(resourceName, theClass, isStandardType(theClass), myContext, myClassToElementDefinitions);
myClassToElementDefinitions.put(theClass, blockDef);
scanCompositeElementForChildren(theClass, blockDef);
}
private void scanCompositeElementForChildren(Class<? extends IBase> theClass, Object theBlockDef) {
// TODO remove
}
private void scanCompositeDatatype(Class<? extends ICompositeType> theClass, DatatypeDef theDatatypeDefinition) {
@ -331,7 +318,6 @@ class ModelScanner {
}
myClassToElementDefinitions.put(theClass, elementDef);
myNameToElementDefinitions.put(elementDef.getName().toLowerCase(), elementDef);
scanCompositeElementForChildren(theClass, elementDef);
}
@ -422,7 +408,6 @@ class ModelScanner {
myNameToResourceDefinitions.put(resourceName.toLowerCase(), resourceDef);
}
}
scanCompositeElementForChildren(theClass, resourceDef);
myIdToResourceDefinition.put(resourceId, resourceDef);

View File

@ -0,0 +1,39 @@
package ca.uhn.fhir.model.api.annotation;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Field annotation for fields which are bound to a given valueset
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.FIELD })
public @interface Binding {
/**
* The canonical URL of the valueset
*/
String valueSet();
}

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.model.primitive;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import static org.apache.commons.lang3.StringUtils.isBlank;
import java.util.Calendar;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import ca.uhn.fhir.rest.annotation.At;
import ca.uhn.fhir.rest.server.Constants;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import static org.apache.commons.lang3.StringUtils.isBlank;
import java.util.Collections;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.Calendar;
import ca.uhn.fhir.model.primitive.InstantDt;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.Date;
import ca.uhn.fhir.model.primitive.InstantDt;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import static org.apache.commons.lang3.StringUtils.defaultString;
import org.hl7.fhir.instance.model.api.IPrimitiveType;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import ca.uhn.fhir.rest.annotation.Since;
import ca.uhn.fhir.rest.server.Constants;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.method;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
final class StringBinder extends BaseJavaPrimitiveBinder<String> {
StringBinder() {
}

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.server.interceptor;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.server.interceptor.auth;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.Verdict;
abstract class BaseRule implements IAuthRule {

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.server.interceptor.auth;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
public interface IAuthRuleBuilderOperation {
/**

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.server.interceptor.auth;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.hl7.fhir.instance.model.api.IIdType;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.server.interceptor.auth;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.HashSet;
import java.util.List;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.util;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.net.ServerSocket;
/**

View File

@ -71,6 +71,8 @@ import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import ca.uhn.fhir.context.BaseRuntimeChildDefinition;
import ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition;
import ca.uhn.fhir.context.BaseRuntimeElementDefinition;
import ca.uhn.fhir.context.ConfigurationException;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.context.FhirVersionEnum;
@ -1379,8 +1381,10 @@ public class SearchBuilder {
if (modifier == TokenParamModifier.IN) {
codes = myTerminologySvc.expandValueSet(code);
} else if (modifier == TokenParamModifier.ABOVE) {
system = determineSystemIfMissing(theParamName, code, system);
codes = myTerminologySvc.findCodesAbove(system, code);
} else if (modifier == TokenParamModifier.BELOW) {
system = determineSystemIfMissing(theParamName, code, system);
codes = myTerminologySvc.findCodesBelow(system, code);
}
@ -1428,6 +1432,34 @@ public class SearchBuilder {
return singleCode;
}
private String determineSystemIfMissing(String theParamName, String code, String system) {
if (system == null) {
RuntimeSearchParam param = getSearchParam(theParamName);
if (param != null) {
Set<String> valueSetUris = Sets.newHashSet();
for (String nextPath : param.getPathsSplit()) {
BaseRuntimeChildDefinition def = myContext.newTerser().getDefinition(myResourceType, nextPath);
if (def instanceof BaseRuntimeDeclaredChildDefinition) {
String valueSet = ((BaseRuntimeDeclaredChildDefinition) def).getBindingValueSet();
if (isNotBlank(valueSet)) {
valueSetUris.add(valueSet);
}
}
}
if (valueSetUris.size() == 1) {
List<VersionIndependentConcept> candidateCodes = myTerminologySvc.expandValueSet(valueSetUris.iterator().next());
for (VersionIndependentConcept nextCandidate : candidateCodes) {
if (nextCandidate.getCode().equals(code)) {
system = nextCandidate.getSystem();
break;
}
}
}
}
}
return system;
}
private Predicate createResourceLinkPathPredicate(String theParamName, Root<? extends ResourceLink> from) {
return createResourceLinkPathPredicate(myContext, theParamName, from, myResourceType);
}
@ -1488,8 +1520,7 @@ public class SearchBuilder {
return;
}
RuntimeResourceDefinition resourceDef = myContext.getResourceDefinition(myResourceType);
RuntimeSearchParam param = resourceDef.getSearchParam(theSort.getParamName());
RuntimeSearchParam param = getSearchParam(theSort.getParamName());
if (param == null) {
throw new InvalidRequestException("Unknown sort parameter '" + theSort.getParamName() + "'");
}
@ -1553,6 +1584,12 @@ public class SearchBuilder {
createSort(theBuilder, theFrom, theSort.getChain(), theOrders, thePredicates);
}
private RuntimeSearchParam getSearchParam(String theParamName) {
RuntimeResourceDefinition resourceDef = myContext.getResourceDefinition(myResourceType);
RuntimeSearchParam param = resourceDef.getSearchParam(theParamName);
return param;
}
public Set<Long> doGetPids() {
if (myParams.isPersistResults()) {
HashSet<Long> retVal = new HashSet<Long>();

View File

@ -23,21 +23,15 @@ package ca.uhn.fhir.jpa.dao.dstu3;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import java.nio.file.FileVisitOption;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.apache.commons.codec.binary.StringUtils;
import org.hl7.fhir.dstu3.exceptions.TerminologyServiceException;
import org.hl7.fhir.dstu3.hapi.validation.HapiWorkerContext;
import org.hl7.fhir.dstu3.hapi.validation.IValidationSupport;
import org.hl7.fhir.dstu3.hapi.validation.IValidationSupport.CodeValidationResult;
import org.hl7.fhir.dstu3.model.CodeSystem;
import org.hl7.fhir.dstu3.model.CodeSystem.ConceptDefinitionComponent;
import org.hl7.fhir.dstu3.model.CodeableConcept;
import org.hl7.fhir.dstu3.model.Coding;
import org.hl7.fhir.dstu3.model.IdType;
@ -46,7 +40,6 @@ import org.hl7.fhir.dstu3.model.ValueSet;
import org.hl7.fhir.dstu3.model.ValueSet.ConceptSetComponent;
import org.hl7.fhir.dstu3.model.ValueSet.ConceptSetFilterComponent;
import org.hl7.fhir.dstu3.model.ValueSet.FilterOperator;
import org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionComponent;
import org.hl7.fhir.dstu3.model.ValueSet.ValueSetExpansionContainsComponent;
import org.hl7.fhir.dstu3.terminologies.ValueSetExpander.ValueSetExpansionOutcome;
import org.hl7.fhir.instance.model.api.IIdType;
@ -86,12 +79,14 @@ public class FhirResourceDaoValueSetDstu3 extends FhirResourceDaoDstu3<ValueSet>
HapiWorkerContext workerContext = new HapiWorkerContext(getContext(), myValidationSupport);
ValueSetExpansionOutcome outcome = workerContext.expand(theSource);
ValueSetExpansionComponent expansion = outcome.getValueset().getExpansion();
return outcome.getValueset();
ValueSet retVal = new ValueSet();
retVal.getMeta().setLastUpdated(new Date());
retVal.setExpansion(expansion);
return retVal;
// ValueSetExpansionComponent expansion = outcome.getValueset().getExpansion();
//
// ValueSet retVal = new ValueSet();
// retVal.getMeta().setLastUpdated(new Date());
// retVal.setExpansion(expansion);
// return retVal;
}
private void validateIncludes(String name, List<ConceptSetComponent> listToValidate) {

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.provider;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.hl7.fhir.instance.model.api.IBaseParameters;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.hl7.fhir.instance.model.api.IPrimitiveType;

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.search;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.hibernate.search.indexes.interceptor.EntityIndexingInterceptor;
import org.hibernate.search.indexes.interceptor.IndexingOverride;

View File

@ -64,6 +64,7 @@ import ca.uhn.fhir.jpa.entity.TermCodeSystem;
import ca.uhn.fhir.jpa.entity.TermCodeSystemVersion;
import ca.uhn.fhir.jpa.entity.TermConcept;
import ca.uhn.fhir.rest.method.RequestDetails;
import ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException;
import ca.uhn.fhir.rest.server.exceptions.InternalErrorException;
import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException;
import ca.uhn.fhir.util.CoverageIgnore;
@ -278,6 +279,8 @@ public class HapiTerminologySvcDstu3 extends BaseHapiTerminologySvc implements I
return retVal;
} catch (BaseServerResponseException e) {
throw e;
} catch (Exception e) {
throw new InternalErrorException(e);
}

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.util;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
public class Counter {
private long myCount;

View File

@ -29,13 +29,13 @@ import org.hl7.fhir.dstu3.model.CodeableConcept;
import org.hl7.fhir.dstu3.model.Coding;
import org.hl7.fhir.dstu3.model.ConceptMap;
import org.hl7.fhir.dstu3.model.ContactPoint.ContactPointSystem;
import org.hl7.fhir.dstu3.model.Enumerations.AdministrativeGender;
import org.hl7.fhir.dstu3.model.DateTimeType;
import org.hl7.fhir.dstu3.model.DateType;
import org.hl7.fhir.dstu3.model.Device;
import org.hl7.fhir.dstu3.model.DiagnosticOrder;
import org.hl7.fhir.dstu3.model.DiagnosticReport;
import org.hl7.fhir.dstu3.model.Encounter;
import org.hl7.fhir.dstu3.model.Enumerations.AdministrativeGender;
import org.hl7.fhir.dstu3.model.IdType;
import org.hl7.fhir.dstu3.model.Immunization;
import org.hl7.fhir.dstu3.model.Location;
@ -74,8 +74,6 @@ import ca.uhn.fhir.jpa.entity.ResourceLink;
import ca.uhn.fhir.model.api.IQueryParameterType;
import ca.uhn.fhir.model.api.Include;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.rest.api.SortOrderEnum;
import ca.uhn.fhir.rest.api.SortSpec;
import ca.uhn.fhir.rest.param.CompositeParam;
@ -98,7 +96,6 @@ import ca.uhn.fhir.rest.param.UriParamQualifierEnum;
import ca.uhn.fhir.rest.server.Constants;
import ca.uhn.fhir.rest.server.IBundleProvider;
import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException;
import ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException;
import ca.uhn.fhir.util.TestUtil;
@SuppressWarnings("unchecked")
@ -291,10 +288,10 @@ public class FhirResourceDaoDstu3SearchNoFtTest extends BaseJpaDstu3Test {
@Test
public void testIndexNoDuplicatesUri() {
ConceptMap res = new ConceptMap();
res.addElement().addTarget().addDependsOn().setElement("http://foo");
res.addElement().addTarget().addDependsOn().setElement("http://foo");
res.addElement().addTarget().addDependsOn().setElement("http://bar");
res.addElement().addTarget().addDependsOn().setElement("http://bar");
res.addGroup().setSource("http://foo");
res.addGroup().setSource("http://foo");
res.addGroup().setSource("http://bar");
res.addGroup().setSource("http://bar");
IIdType id = myConceptMapDao.create(res, mySrd).getId().toUnqualifiedVersionless();

View File

@ -36,11 +36,14 @@ import ca.uhn.fhir.jpa.entity.ResourceTable;
import ca.uhn.fhir.jpa.entity.TermCodeSystemVersion;
import ca.uhn.fhir.jpa.entity.TermConcept;
import ca.uhn.fhir.jpa.entity.TermConceptParentChildLink.RelationshipTypeEnum;
import ca.uhn.fhir.parser.IParser;
import ca.uhn.fhir.rest.param.TokenParam;
import ca.uhn.fhir.rest.param.TokenParamModifier;
import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException;
import ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException;
import ca.uhn.fhir.util.TestUtil;
import ca.uhn.fhir.validation.FhirValidator;
import ca.uhn.fhir.validation.ValidationResult;
public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
@ -53,7 +56,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
myDaoConfig.setDeferIndexingForCodesystemsOfSize(new DaoConfig().getDeferIndexingForCodesystemsOfSize());
}
@Before
public void before() {
myDaoConfig.setMaximumExpansionSize(5000);
@ -130,7 +132,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
createLocalVs(codeSystem);
}
private void createLocalVs(CodeSystem codeSystem) {
ValueSet valueSet = new ValueSet();
valueSet.setUrl(URL_MY_VALUE_SET);
@ -138,7 +139,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
myValueSetDao.create(valueSet, mySrd);
}
@Test
public void testCodeSystemCreateDuplicateFails() {
CodeSystem codeSystem = new CodeSystem();
@ -194,14 +194,28 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
exclude.addConcept().setCode("childAAA");
ValueSet result = myValueSetDao.expand(vs, null);
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
ArrayList<String> codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("ParentA", "ParentB", "childAB", "childAAB", "ParentC", "childBA", "childCA"));
}
private void logAndValidateValueSet(ValueSet theResult) {
IParser parser = myFhirCtx.newXmlParser().setPrettyPrint(true);
String encoded = parser.encodeResourceToString(theResult);
ourLog.info(encoded);
FhirValidator validator = myFhirCtx.newValidator();
validator.setValidateAgainstStandardSchema(true);
validator.setValidateAgainstStandardSchematron(true);
ValidationResult result = validator.validateWithResult(theResult);
if (!result.isSuccessful()) {
ourLog.info(parser.encodeResourceToString(result.toOperationOutcome()));
fail(parser.encodeResourceToString(result.toOperationOutcome()));
}
}
@Test
public void testExpandWithInvalidExclude() {
createExternalCsAndLocalVs();
@ -259,10 +273,8 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
}
}
@Test
public void testExpandWithSystemAndCodesAndFilterInExternalValueSet() {
public void testExpandWithSystemAndCodesInExternalValueSet() {
createExternalCsAndLocalVs();
ValueSet vs = new ValueSet();
@ -272,15 +284,11 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.addConcept().setCode("childAA");
include.addConcept().setCode("childAAA");
include.addFilter().setProperty("display").setOp(FilterOperator.EQUAL).setValue("Parent B");
ValueSet result = myValueSetDao.expand(vs, null);
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
ArrayList<String> codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("ParentA", "childAA", "childAAA", "ParentB"));
assertThat(codes, containsInAnyOrder("ParentA", "childAA", "childAAA"));
int idx = codes.indexOf("childAA");
assertEquals("childAA", result.getExpansion().getContains().get(idx).getCode());
@ -288,6 +296,24 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
assertEquals(URL_MY_CODE_SYSTEM, result.getExpansion().getContains().get(idx).getSystem());
}
@Test
public void testExpandWithSystemAndFilterInExternalValueSet() {
createExternalCsAndLocalVs();
ValueSet vs = new ValueSet();
ConceptSetComponent include = vs.getCompose().addInclude();
include.setSystem(URL_MY_CODE_SYSTEM);
include.addFilter().setProperty("display").setOp(FilterOperator.EQUAL).setValue("Parent B");
ValueSet result = myValueSetDao.expand(vs, null);
logAndValidateValueSet(result);
ArrayList<String> codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("ParentB"));
}
@Test
public void testExpandWithDisplayInExternalValueSetFuzzyMatching() {
createExternalCsAndLocalVs();
@ -297,8 +323,7 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.setSystem(URL_MY_CODE_SYSTEM);
include.addFilter().setProperty("display").setOp(FilterOperator.EQUAL).setValue("parent a");
ValueSet result = myValueSetDao.expand(vs, null);
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
ArrayList<String> codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("ParentA"));
@ -307,8 +332,7 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.setSystem(URL_MY_CODE_SYSTEM);
include.addFilter().setProperty("display").setOp(FilterOperator.EQUAL).setValue("pare");
result = myValueSetDao.expand(vs, null);
encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("ParentA", "ParentB", "ParentC"));
@ -317,8 +341,7 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.setSystem(URL_MY_CODE_SYSTEM);
include.addFilter().setProperty("display:exact").setOp(FilterOperator.EQUAL).setValue("pare");
result = myValueSetDao.expand(vs, null);
encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, empty());
@ -332,16 +355,11 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
ConceptSetComponent include = vs.getCompose().addInclude();
include.setSystem(URL_MY_CODE_SYSTEM);
include.addConcept().setCode("A");
// include.addConcept().setCode("AA");
// include.addConcept().setCode("AAA");
// include.addConcept().setCode("AB");
include.addFilter().setProperty("display").setOp(FilterOperator.EQUAL).setValue("AAA");
ValueSet result = myValueSetDao.expand(vs, null);
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
ArrayList<String> codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("A", "AAA"));
@ -350,7 +368,7 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
assertEquals("AAA", result.getExpansion().getContains().get(idx).getCode());
assertEquals("Code AAA", result.getExpansion().getContains().get(idx).getDisplay());
assertEquals(URL_MY_CODE_SYSTEM, result.getExpansion().getContains().get(idx).getSystem());
//
//
}
@Test
@ -366,9 +384,7 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.addConcept().setCode("AB");
ValueSet result = myValueSetDao.expand(vs, null);
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
ArrayList<String> codes = toCodesContains(result.getExpansion().getContains());
assertThat(codes, containsInAnyOrder("A", "AA", "AAA", "AB"));
@ -377,9 +393,9 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
assertEquals("AAA", result.getExpansion().getContains().get(idx).getCode());
assertEquals("Code AAA", result.getExpansion().getContains().get(idx).getDisplay());
assertEquals(URL_MY_CODE_SYSTEM, result.getExpansion().getContains().get(idx).getSystem());
// ValueSet expansion = myValueSetDao.expandByIdentifier(URL_MY_VALUE_SET, "cervical");
// ValueSet expansion = myValueSetDao.expandByIdentifier(URL_MY_VALUE_SET, "cervical");
//
// ValueSet expansion = myValueSetDao.expandByIdentifier(URL_MY_VALUE_SET, "cervical");
// ValueSet expansion = myValueSetDao.expandByIdentifier(URL_MY_VALUE_SET, "cervical");
//
}
@Test
@ -396,8 +412,7 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.addFilter().setProperty("concept").setOp(FilterOperator.ISA).setValue("ParentA");
ValueSet result = myValueSetDao.expand(vs, null);
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
assertEquals(0, result.getExpansion().getContains().size());
@ -415,11 +430,11 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
include.setSystem(URL_MY_CODE_SYSTEM);
include.addFilter().setProperty("concept").setOp(FilterOperator.ISA).setValue("ParentA");
result = myValueSetDao.expand(vs, null);
encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
ourLog.info(encoded);
logAndValidateValueSet(result);
assertEquals(4, result.getExpansion().getContains().size());
String encoded = myFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(result);
assertThat(encoded, containsStringIgnoringCase("<code value=\"childAAB\"/>"));
}
@ -499,7 +514,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
}
@Test
public void testSearchCodeBelowLocalCodesystem() {
createLocalCsAndVs();
@ -526,6 +540,80 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
}
@Test
public void testSearchCodeInBuiltInValueSet() {
AllergyIntolerance ai1 = new AllergyIntolerance();
ai1.setStatus(AllergyIntoleranceStatus.ACTIVE);
String id1 = myAllergyIntoleranceDao.create(ai1, mySrd).getId().toUnqualifiedVersionless().getValue();
AllergyIntolerance ai2 = new AllergyIntolerance();
ai2.setStatus(AllergyIntoleranceStatus.CONFIRMED);
String id2 = myAllergyIntoleranceDao.create(ai2, mySrd).getId().toUnqualifiedVersionless().getValue();
AllergyIntolerance ai3 = new AllergyIntolerance();
ai3.setStatus(AllergyIntoleranceStatus.INACTIVE);
String id3 = myAllergyIntoleranceDao.create(ai3, mySrd).getId().toUnqualifiedVersionless().getValue();
SearchParameterMap params;
params = new SearchParameterMap();
params.add(AllergyIntolerance.SP_STATUS, new TokenParam(null, "http://hl7.org/fhir/ValueSet/allergy-intolerance-status").setModifier(TokenParamModifier.IN));
assertThat(toUnqualifiedVersionlessIdValues(myAllergyIntoleranceDao.search(params)), containsInAnyOrder(id1, id2, id3));
// No codes in this one
params = new SearchParameterMap();
params.add(AllergyIntolerance.SP_STATUS, new TokenParam(null, "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality").setModifier(TokenParamModifier.IN));
assertThat(toUnqualifiedVersionlessIdValues(myAllergyIntoleranceDao.search(params)), empty());
// Invalid VS
params = new SearchParameterMap();
params.add(AllergyIntolerance.SP_STATUS, new TokenParam(null, "http://hl7.org/fhir/ValueSet/FOO").setModifier(TokenParamModifier.IN));
try {
myAllergyIntoleranceDao.search(params);
} catch (InvalidRequestException e) {
assertEquals("Unable to find imported value set http://hl7.org/fhir/ValueSet/FOO", e.getMessage());
}
}
/**
* Todo: not yet implemented
*/
@Test
@Ignore
public void testSearchCodeNotInBuiltInValueSet() {
AllergyIntolerance ai1 = new AllergyIntolerance();
ai1.setStatus(AllergyIntoleranceStatus.ACTIVE);
String id1 = myAllergyIntoleranceDao.create(ai1, mySrd).getId().toUnqualifiedVersionless().getValue();
AllergyIntolerance ai2 = new AllergyIntolerance();
ai2.setStatus(AllergyIntoleranceStatus.CONFIRMED);
String id2 = myAllergyIntoleranceDao.create(ai2, mySrd).getId().toUnqualifiedVersionless().getValue();
AllergyIntolerance ai3 = new AllergyIntolerance();
ai3.setStatus(AllergyIntoleranceStatus.INACTIVE);
String id3 = myAllergyIntoleranceDao.create(ai3, mySrd).getId().toUnqualifiedVersionless().getValue();
SearchParameterMap params;
params = new SearchParameterMap();
params.add(AllergyIntolerance.SP_STATUS, new TokenParam(null, "http://hl7.org/fhir/ValueSet/allergy-intolerance-status").setModifier(TokenParamModifier.NOT_IN));
assertThat(toUnqualifiedVersionlessIdValues(myAllergyIntoleranceDao.search(params)), empty());
// No codes in this one
params = new SearchParameterMap();
params.add(AllergyIntolerance.SP_STATUS, new TokenParam(null, "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality").setModifier(TokenParamModifier.NOT_IN));
assertThat(toUnqualifiedVersionlessIdValues(myAllergyIntoleranceDao.search(params)), containsInAnyOrder(id1, id2, id3));
// Invalid VS
params = new SearchParameterMap();
params.add(AllergyIntolerance.SP_STATUS, new TokenParam(null, "http://hl7.org/fhir/ValueSet/FOO").setModifier(TokenParamModifier.NOT_IN));
try {
myAllergyIntoleranceDao.search(params);
} catch (InvalidRequestException e) {
assertEquals("Unable to find imported value set http://hl7.org/fhir/ValueSet/FOO", e.getMessage());
}
}
@Test
public void testSearchCodeBelowBuiltInCodesystem() {
AllergyIntolerance ai1 = new AllergyIntolerance();
@ -574,7 +662,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
}
@Test
@Ignore
public void testSearchCodeBelowBuiltInCodesystemUnqualified() {
AllergyIntolerance ai1 = new AllergyIntolerance();
ai1.setStatus(AllergyIntoleranceStatus.ACTIVE);
@ -611,7 +698,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
}
@Test
public void testSearchCodeInEmptyValueSet() {
ValueSet valueSet = new ValueSet();
@ -726,7 +812,6 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
}
private ArrayList<String> toCodesContains(List<ValueSetExpansionContainsComponent> theContains) {
ArrayList<String> retVal = new ArrayList<String>();
for (ValueSetExpansionContainsComponent next : theContains) {
@ -735,13 +820,9 @@ public class FhirResourceDaoDstu3TerminologyTest extends BaseJpaDstu3Test {
return retVal;
}
@AfterClass
public static void afterClassClearContext() {
TestUtil.clearAllStaticFieldsForUnitTest();
}
}

View File

@ -3087,23 +3087,23 @@ public class FhirResourceDaoDstu3Test extends BaseJpaDstu3Test {
public void testSortByUri() {
ConceptMap res = new ConceptMap();
res.addElement().addTarget().addDependsOn().setElement("http://foo2");
res.addGroup().setSource("http://foo2");
IIdType id2 = myConceptMapDao.create(res, mySrd).getId().toUnqualifiedVersionless();
res = new ConceptMap();
res.addElement().addTarget().addDependsOn().setElement("http://foo1");
res.addGroup().setSource("http://foo1");
IIdType id1 = myConceptMapDao.create(res, mySrd).getId().toUnqualifiedVersionless();
res = new ConceptMap();
res.addElement().addTarget().addDependsOn().setElement("http://bar3");
res.addGroup().setSource("http://bar3");
IIdType id3 = myConceptMapDao.create(res, mySrd).getId().toUnqualifiedVersionless();
res = new ConceptMap();
res.addElement().addTarget().addDependsOn().setElement("http://bar4");
res.addGroup().setSource("http://bar4");
IIdType id4 = myConceptMapDao.create(res, mySrd).getId().toUnqualifiedVersionless();
SearchParameterMap pm = new SearchParameterMap();
pm.setSort(new SortSpec(ConceptMap.SP_DEPENDSON));
pm.setSort(new SortSpec(ConceptMap.SP_SOURCE));
List<IIdType> actual = toUnqualifiedVersionlessIds(myConceptMapDao.search(pm));
assertEquals(4, actual.size());
assertThat(actual, contains(id1, id2, id3, id4));

View File

@ -1,124 +1,35 @@
package ca.uhn.fhir.jpa.provider.dstu3;
import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.containsInRelativeOrder;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.greaterThan;
import static org.hamcrest.Matchers.hasItems;
import static org.hamcrest.Matchers.not;
import static org.hamcrest.Matchers.startsWith;
import static org.hamcrest.Matchers.stringContainsInOrder;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.hl7.fhir.dstu3.model.BaseResource;
import org.hl7.fhir.dstu3.model.Bundle;
import org.hl7.fhir.dstu3.model.Bundle.BundleEntryComponent;
import org.hl7.fhir.dstu3.model.Bundle.BundleType;
import org.hl7.fhir.dstu3.model.Bundle.HTTPVerb;
import org.hl7.fhir.dstu3.model.Bundle.SearchEntryMode;
import org.hl7.fhir.dstu3.model.CodeSystem;
import org.hl7.fhir.dstu3.model.Coding;
import org.hl7.fhir.dstu3.model.Condition;
import org.hl7.fhir.dstu3.model.DateTimeType;
import org.hl7.fhir.dstu3.model.DateType;
import org.hl7.fhir.dstu3.model.Device;
import org.hl7.fhir.dstu3.model.DiagnosticOrder;
import org.hl7.fhir.dstu3.model.DocumentManifest;
import org.hl7.fhir.dstu3.model.DocumentReference;
import org.hl7.fhir.dstu3.model.Encounter;
import org.hl7.fhir.dstu3.model.Encounter.EncounterClass;
import org.hl7.fhir.dstu3.model.Encounter.EncounterLocationComponent;
import org.hl7.fhir.dstu3.model.Encounter.EncounterState;
import org.hl7.fhir.dstu3.model.Enumerations.AdministrativeGender;
import org.hl7.fhir.dstu3.model.IdType;
import org.hl7.fhir.dstu3.model.ImagingStudy;
import org.hl7.fhir.dstu3.model.InstantType;
import org.hl7.fhir.dstu3.model.Location;
import org.hl7.fhir.dstu3.model.Medication;
import org.hl7.fhir.dstu3.model.MedicationOrder;
import org.hl7.fhir.dstu3.model.Meta;
import org.hl7.fhir.dstu3.model.Narrative.NarrativeStatus;
import org.hl7.fhir.dstu3.model.Observation;
import org.hl7.fhir.dstu3.model.OperationOutcome;
import org.hl7.fhir.dstu3.model.Organization;
import org.hl7.fhir.dstu3.model.Parameters;
import org.hl7.fhir.dstu3.model.Patient;
import org.hl7.fhir.dstu3.model.Period;
import org.hl7.fhir.dstu3.model.Practitioner;
import org.hl7.fhir.dstu3.model.Questionnaire;
import org.hl7.fhir.dstu3.model.Questionnaire.QuestionnaireItemType;
import org.hl7.fhir.dstu3.model.QuestionnaireResponse;
import org.hl7.fhir.dstu3.model.Reference;
import org.hl7.fhir.dstu3.model.StringType;
import org.hl7.fhir.dstu3.model.Subscription;
import org.hl7.fhir.dstu3.model.Subscription.SubscriptionChannelType;
import org.hl7.fhir.dstu3.model.Subscription.SubscriptionStatus;
import org.hl7.fhir.dstu3.model.TemporalPrecisionEnum;
import org.hl7.fhir.dstu3.model.UnsignedIntType;
import org.hl7.fhir.dstu3.model.ValueSet;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.hl7.fhir.instance.model.api.IIdType;
import org.junit.AfterClass;
import org.junit.Ignore;
import org.junit.Test;
import ca.uhn.fhir.jpa.dao.SearchParameterMap;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.UriDt;
import ca.uhn.fhir.rest.api.MethodOutcome;
import ca.uhn.fhir.rest.api.SummaryEnum;
import ca.uhn.fhir.rest.client.IGenericClient;
import ca.uhn.fhir.rest.method.RequestDetails;
import ca.uhn.fhir.rest.param.DateRangeParam;
import ca.uhn.fhir.rest.param.ParamPrefixEnum;
import ca.uhn.fhir.rest.param.StringAndListParam;
import ca.uhn.fhir.rest.param.StringOrListParam;
import ca.uhn.fhir.rest.param.StringParam;
import ca.uhn.fhir.rest.param.TokenParam;
import ca.uhn.fhir.rest.server.Constants;
import ca.uhn.fhir.rest.server.IBundleProvider;
import ca.uhn.fhir.rest.server.exceptions.AuthenticationException;
import ca.uhn.fhir.rest.server.exceptions.ForbiddenOperationException;
import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException;
import ca.uhn.fhir.rest.server.exceptions.PreconditionFailedException;
import ca.uhn.fhir.rest.server.exceptions.ResourceGoneException;
import ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException;
import ca.uhn.fhir.rest.server.interceptor.IServerInterceptor;
import ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor;
import ca.uhn.fhir.rest.server.interceptor.auth.IAuthRule;
import ca.uhn.fhir.rest.server.interceptor.auth.PolicyEnum;
import ca.uhn.fhir.rest.server.interceptor.auth.RuleBuilder;
import ca.uhn.fhir.rest.server.servlet.ServletRequestDetails;
import ca.uhn.fhir.util.TestUtil;
import ca.uhn.fhir.util.UrlUtil;
public class AuthorizationInterceptorResourceProviderDstu3Test extends BaseResourceProviderDstu3Test {

View File

@ -41,7 +41,6 @@ import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.hamcrest.Matchers;
import org.hl7.fhir.dstu3.model.BaseResource;
import org.hl7.fhir.dstu3.model.Bundle;
import org.hl7.fhir.dstu3.model.Bundle.BundleEntryComponent;
@ -59,7 +58,6 @@ import org.hl7.fhir.dstu3.model.DiagnosticOrder;
import org.hl7.fhir.dstu3.model.DocumentManifest;
import org.hl7.fhir.dstu3.model.DocumentReference;
import org.hl7.fhir.dstu3.model.Encounter;
import org.hl7.fhir.dstu3.model.Encounter.EncounterClass;
import org.hl7.fhir.dstu3.model.Encounter.EncounterLocationComponent;
import org.hl7.fhir.dstu3.model.Encounter.EncounterState;
import org.hl7.fhir.dstu3.model.Enumerations.AdministrativeGender;
@ -89,7 +87,6 @@ import org.hl7.fhir.dstu3.model.Subscription.SubscriptionStatus;
import org.hl7.fhir.dstu3.model.TemporalPrecisionEnum;
import org.hl7.fhir.dstu3.model.UnsignedIntType;
import org.hl7.fhir.dstu3.model.ValueSet;
import org.hl7.fhir.instance.model.api.IBaseBundle;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.hl7.fhir.instance.model.api.IIdType;
import org.junit.AfterClass;
@ -113,7 +110,6 @@ import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException;
import ca.uhn.fhir.rest.server.exceptions.PreconditionFailedException;
import ca.uhn.fhir.rest.server.exceptions.ResourceGoneException;
import ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException;
import ca.uhn.fhir.util.BundleUtil;
import ca.uhn.fhir.util.TestUtil;
import ca.uhn.fhir.util.UrlUtil;
@ -652,7 +648,6 @@ public class ResourceProviderDstu3Test extends BaseResourceProviderDstu3Test {
Encounter e1 = new Encounter();
e1.addIdentifier().setSystem("urn:foo").setValue("testDeepChainingE1");
e1.getStatusElement().setValue(EncounterState.INPROGRESS);
e1.getClass_Element().setValue(EncounterClass.HOME);
EncounterLocationComponent location = e1.addLocation();
location.getLocation().setReferenceElement(l2id.toUnqualifiedVersionless());
location.setPeriod(new Period().setStart(new Date(), TemporalPrecisionEnum.SECOND).setEnd(new Date(), TemporalPrecisionEnum.SECOND));

View File

@ -2,7 +2,7 @@ package ca.uhn.fhir.rest.server.audit;
/*
* #%L
* HAPI FHIR - Core Library
* HAPI FHIR Structures - DSTU1 (FHIR v0.80)
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%

View File

@ -43,7 +43,6 @@ import org.hl7.fhir.instance.model.api.IBaseResource;
import ca.uhn.fhir.context.RuntimeResourceDefinition;
import ca.uhn.fhir.context.RuntimeSearchParam;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.resource.Conformance.Rest;
import ca.uhn.fhir.model.dstu2.resource.Conformance.RestResource;

View File

@ -9,15 +9,19 @@ import java.util.List;
import org.junit.AfterClass;
import org.junit.Test;
import ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.context.RuntimeResourceDefinition;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.composite.MetaDt;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Practitioner.PractitionerRole;
import ca.uhn.fhir.util.FhirTerser;
import ca.uhn.fhir.util.TestUtil;
public class ModelDstu2Test {
@ -29,6 +33,16 @@ public class ModelDstu2Test {
assertEquals(MetaDt.class, ourCtx.getElementDefinition("meta").getImplementingClass());
}
@Test
public void testModelBindings() {
FhirTerser t = ourCtx.newTerser();
RuntimeResourceDefinition def = ourCtx.getResourceDefinition(Patient.class);
assertEquals("http://hl7.org/fhir/ValueSet/administrative-gender", ((BaseRuntimeDeclaredChildDefinition)def.getChildByName("gender")).getBindingValueSet());
assertEquals("http://hl7.org/fhir/ValueSet/link-type", ((BaseRuntimeDeclaredChildDefinition)t.getDefinition(Patient.class, "Patient.link.type")).getBindingValueSet());
def = ourCtx.getResourceDefinition(Appointment.class);
assertEquals("http://hl7.org/fhir/ValueSet/appointmentstatus", ((BaseRuntimeDeclaredChildDefinition)def.getChildByName("status")).getBindingValueSet());
}
/**
* See #320

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.dstu3.metamodel;
package org.hl7.fhir.dstu3.elementmodel;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
@ -6,8 +6,8 @@ import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.Validate;
import org.hl7.fhir.dstu3.elementmodel.Element.SpecialElement;
import org.hl7.fhir.dstu3.exceptions.FHIRException;
import org.hl7.fhir.dstu3.metamodel.Element.SpecialElement;
import org.hl7.fhir.dstu3.model.Base;
import org.hl7.fhir.dstu3.model.ElementDefinition;
import org.hl7.fhir.dstu3.model.StructureDefinition;
@ -28,7 +28,17 @@ import org.hl7.fhir.utilities.xhtml.XhtmlNode;
public class Element extends Base {
public enum SpecialElement {
CONTAINED, BUNDLE_ENTRY;
CONTAINED, BUNDLE_ENTRY, PARAMETER;
public static SpecialElement fromProperty(Property property) {
if (property.getStructure().getId().equals("Parameters"))
return PARAMETER;
if (property.getStructure().getId().equals("Bundle"))
return BUNDLE_ENTRY;
if (property.getName().equals("contained"))
return CONTAINED;
throw new Error("Unknown resource containing a native resource: "+property.getDefinition().getId());
}
}
private List<String> comments;// not relevant for production, but useful in documentation
@ -38,10 +48,9 @@ public class Element extends Base {
private int index = -1;
private List<Element> children;
private Property property;
private Property elementProperty; // this is used when special is set to true - it tracks the underlying element property which is used in a few places
private int line;
private int col;
private ElementDefinition validatorDefinition;
private StructureDefinition validatorProfile;
private SpecialElement special;
private XhtmlNode xhtml; // if this is populated, then value will also hold the string representation
@ -64,8 +73,9 @@ public class Element extends Base {
this.value = value;
}
public void updateProperty(Property property, SpecialElement special) {
public void updateProperty(Property property, SpecialElement special, Property elementProperty) {
this.property = property;
this.elementProperty = elementProperty;
this.special = special;
}
@ -244,7 +254,7 @@ public class Element extends Base {
if (isPrimitive())
return value;
else {
if (hasPrimitiveValue()) {
if (hasPrimitiveValue() && children != null) {
for (Element c : children) {
if (c.getName().equals("value"))
return c.primitiveValue();
@ -270,8 +280,6 @@ public class Element extends Base {
}
public void markValidation(StructureDefinition profile, ElementDefinition definition) {
validatorProfile = profile;
validatorDefinition = definition;
}
public Element getNamedChild(String name) {
@ -337,5 +345,13 @@ public class Element extends Base {
return true;
}
public Property getElementProperty() {
return elementProperty;
}
public boolean hasElementProperty() {
return elementProperty != null;
}
}

View File

@ -0,0 +1,205 @@
package org.hl7.fhir.dstu3.elementmodel;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang3.NotImplementedException;
import org.hl7.fhir.dstu3.formats.IParser.OutputStyle;
import org.hl7.fhir.dstu3.formats.JsonCreator;
import org.hl7.fhir.dstu3.formats.JsonCreatorCanonical;
import org.hl7.fhir.dstu3.formats.JsonCreatorGson;
import org.hl7.fhir.dstu3.utils.IWorkerContext;
import org.hl7.fhir.utilities.Utilities;
public class JsonLDParser extends ParserBase {
private JsonCreator json;
private String base;
public JsonLDParser(IWorkerContext context) {
super(context);
}
@Override
public Element parse(InputStream stream) throws Exception {
throw new NotImplementedException("not done yet");
}
protected void prop(String name, String value) throws IOException {
if (name != null)
json.name(name);
json.value(value);
}
protected void open(String name) throws IOException {
if (name != null)
json.name(name);
json.beginObject();
}
protected void close() throws IOException {
json.endObject();
}
protected void openArray(String name) throws IOException {
if (name != null)
json.name(name);
json.beginArray();
}
protected void closeArray() throws IOException {
json.endArray();
}
@Override
public void compose(Element e, OutputStream stream, OutputStyle style, String base) throws Exception {
this.base = base;
OutputStreamWriter osw = new OutputStreamWriter(stream, "UTF-8");
if (style == OutputStyle.CANONICAL)
json = new JsonCreatorCanonical(osw);
else
json = new JsonCreatorGson(osw);
json.setIndent(style == OutputStyle.PRETTY ? " " : "");
json.beginObject();
prop("@context", "http://hl7.org/fhir/jsonld/"+e.getType());
prop("resourceType", e.getType());
Set<String> done = new HashSet<String>();
for (Element child : e.getChildren()) {
compose(e.getName(), e, done, child);
}
json.endObject();
json.finish();
osw.flush();
}
private void compose(String path, Element e, Set<String> done, Element child) throws IOException {
if (!child.getProperty().isList()) {
compose(path, child);
} else if (!done.contains(child.getName())) {
done.add(child.getName());
List<Element> list = e.getChildrenByName(child.getName());
composeList(path, list);
}
}
private void composeList(String path, List<Element> list) throws IOException {
// there will be at least one element
String en = list.get(0).getProperty().getDefinition().getBase().getPath();
if (en == null)
en = list.get(0).getProperty().getDefinition().getPath();
boolean doType = false;
if (en.endsWith("[x]")) {
en = en.substring(0, en.length()-3);
doType = true;
}
if (doType)
en = en + Utilities.capitalize(list.get(0).getType());
openArray(en);
for (Element item : list) {
open(null);
if (item.isPrimitive() || isPrimitive(item.getType())) {
if (item.hasValue())
primitiveValue(item);
}
Set<String> done = new HashSet<String>();
for (Element child : item.getChildren()) {
compose(path+"."+item.getName(), item, done, child);
}
close();
}
closeArray();
}
private void primitiveValue(Element item) throws IOException {
json.name("value");
String type = item.getType();
if (Utilities.existsInList(type, "boolean"))
json.value(item.getValue().equals("true") ? new Boolean(true) : new Boolean(false));
else if (Utilities.existsInList(type, "integer", "unsignedInt", "positiveInt"))
json.value(new Integer(item.getValue()));
else if (Utilities.existsInList(type, "decimal"))
json.value(new BigDecimal(item.getValue()));
else
json.value(item.getValue());
}
private void compose(String path, Element element) throws IOException {
String en = element.getProperty().getDefinition().getBase().getPath();
if (en == null)
en = element.getProperty().getDefinition().getPath();
boolean doType = false;
if (en.endsWith("[x]")) {
en = en.substring(0, en.length()-3);
doType = true;
}
if (doType)
en = en + Utilities.capitalize(element.getType());
if (element.hasChildren() || element.hasComments() || element.hasValue()) {
open(en);
if (element.isPrimitive() || isPrimitive(element.getType())) {
if (element.hasValue())
primitiveValue(element);
}
if (element.getProperty().isResource()) {
prop("resourceType", element.getType());
element = element.getChildren().get(0);
}
Set<String> done = new HashSet<String>();
for (Element child : element.getChildren()) {
compose(path+"."+element.getName(), element, done, child);
}
if ("Coding".equals(element.getType()))
decorateCoding(element);
if ("CodeableConcept".equals(element.getType()))
decorateCodeableConcept(element);
if ("Reference".equals(element.getType()))
decorateReference(element);
close();
}
}
private void decorateReference(Element element) throws IOException {
String ref = element.getChildValue("reference");
if (ref != null && (ref.startsWith("http://") || ref.startsWith("https://"))) {
json.name("reference");
json.value(ref);
} else if (base != null && ref != null && ref.contains("/")) {
json.name("reference");
json.value(base+"/"+ref);
}
}
protected void decorateCoding(Element coding) throws IOException {
String system = coding.getChildValue("system");
String code = coding.getChildValue("code");
if (system == null)
return;
if ("http://snomed.info/sct".equals(system)) {
json.name("concept");
json.value("http://snomed.info/sct#"+code);
} else if ("http://loinc.org".equals(system)) {
json.name("concept");
json.value("http://loinc.org/owl#"+code);
}
}
private void decorateCodeableConcept(Element element) throws IOException {
for (Element c : element.getChildren("coding")) {
decorateCoding(c);
}
}
}

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.dstu3.metamodel;
package org.hl7.fhir.dstu3.elementmodel;
import java.io.IOException;
import java.io.InputStream;
@ -14,12 +14,12 @@ import java.util.Set;
import org.apache.commons.lang3.NotImplementedException;
import org.hl7.fhir.dstu3.formats.IParser.OutputStyle;
import org.hl7.fhir.dstu3.metamodel.Element.SpecialElement;
import org.hl7.fhir.dstu3.metamodel.ParserBase.ValidationPolicy;
import org.hl7.fhir.dstu3.model.StructureDefinition;
import org.hl7.fhir.dstu3.model.ElementDefinition.TypeRefComponent;
import org.hl7.fhir.dstu3.model.OperationOutcome.IssueSeverity;
import org.hl7.fhir.dstu3.model.OperationOutcome.IssueType;
import org.hl7.fhir.dstu3.elementmodel.Element.SpecialElement;
import org.hl7.fhir.dstu3.elementmodel.ParserBase.ValidationPolicy;
import org.hl7.fhir.dstu3.exceptions.DefinitionException;
import org.hl7.fhir.dstu3.exceptions.FHIRFormatError;
import org.hl7.fhir.dstu3.formats.FormatUtilities;
@ -176,7 +176,7 @@ public class JsonParser extends ParserBase {
checkObject(child, npath);
context.getChildren().add(n);
if (property.isResource())
parseResource(npath, child, n);
parseResource(npath, child, n, property);
else
parseChildren(npath, child, n, false);
} else
@ -251,7 +251,7 @@ public class JsonParser extends ParserBase {
}
private void parseResource(String npath, JsonObject res, Element parent) throws DefinitionException, FHIRFormatError {
private void parseResource(String npath, JsonObject res, Element parent, Property elementProperty) throws DefinitionException, FHIRFormatError {
JsonElement rt = res.get("resourceType");
if (rt == null) {
logError(line(res), col(res), npath, IssueType.INVALID, "Unable to find resourceType property", IssueSeverity.FATAL);
@ -260,7 +260,7 @@ public class JsonParser extends ParserBase {
StructureDefinition sd = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/"+name);
if (sd == null)
throw new FHIRFormatError("Contained resource does not appear to be a FHIR resource (unknown name '"+name+"')");
parent.updateProperty(new Property(context, sd.getSnapshot().getElement().get(0), sd), parent.getProperty().getName().equals("contained") ? SpecialElement.CONTAINED : SpecialElement.BUNDLE_ENTRY);
parent.updateProperty(new Property(context, sd.getSnapshot().getElement().get(0), sd), SpecialElement.fromProperty(parent.getProperty()), elementProperty);
parent.setType(name);
parseChildren(npath, res, parent, true);
}
@ -353,7 +353,8 @@ public class JsonParser extends ParserBase {
}
private void compose(String path, Element e, Set<String> done, Element child) throws IOException {
if (child.getSpecial() == SpecialElement.BUNDLE_ENTRY || !child.getProperty().isList()) {// for specials, ignore the cardinality of the stated type
boolean isList = child.hasElementProperty() ? child.getElementProperty().isList() : child.getProperty().isList();
if (!isList) {// for specials, ignore the cardinality of the stated type
compose(path, child);
} else if (!done.contains(child.getName())) {
done.add(child.getName());

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.dstu3.metamodel;
package org.hl7.fhir.dstu3.elementmodel;
import java.io.InputStream;
import java.io.OutputStream;
@ -8,7 +8,22 @@ import org.hl7.fhir.dstu3.utils.IWorkerContext;
public class Manager {
public enum FhirFormat { XML, JSON, JSONLD, TURTLE }
public enum FhirFormat { XML, JSON, JSONLD, TURTLE ;
public String getExtension() {
switch (this) {
case JSON:
return "json";
case JSONLD:
return "ld.json";
case TURTLE:
return "ttl";
case XML:
return "xml";
}
return null;
}
}
public static Element parse(IWorkerContext context, InputStream source, FhirFormat inputFormat) throws Exception {
return makeParser(context, inputFormat).parse(source);
@ -21,7 +36,9 @@ public class Manager {
public static ParserBase makeParser(IWorkerContext context, FhirFormat format) {
switch (format) {
case JSON : return new JsonParser(context);
case JSONLD : return new JsonLDParser(context);
case XML : return new XmlParser(context);
case TURTLE : return new TurtleParser(context);
}
return null;
}

View File

@ -0,0 +1,71 @@
package org.hl7.fhir.dstu3.elementmodel;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.List;
import org.hl7.fhir.dstu3.exceptions.FHIRException;
import org.hl7.fhir.dstu3.model.Base;
import org.hl7.fhir.dstu3.model.ElementDefinition;
import org.hl7.fhir.dstu3.model.PrimitiveType;
import org.hl7.fhir.dstu3.model.Resource;
import org.hl7.fhir.dstu3.model.StructureDefinition;
import org.hl7.fhir.dstu3.model.StructureDefinition.StructureDefinitionKind;
import org.hl7.fhir.dstu3.model.Type;
import org.hl7.fhir.dstu3.utils.IWorkerContext;
import org.hl7.fhir.dstu3.utils.ProfileUtilities;
public class ObjectConverter {
private IWorkerContext context;
public ObjectConverter(IWorkerContext context) {
this.context = context;
}
public Element convert(Resource ig) throws Exception {
ByteArrayOutputStream bs = new ByteArrayOutputStream();
org.hl7.fhir.dstu3.formats.JsonParser jp = new org.hl7.fhir.dstu3.formats.JsonParser();
jp.compose(bs, ig);
ByteArrayInputStream bi = new ByteArrayInputStream(bs.toByteArray());
return new JsonParser(context).parse(bi);
}
public Element convert(Property property, Type type) throws FHIRException {
return convertElement(property, type);
}
private Element convertElement(Property property, Base base) throws FHIRException {
if (base == null)
return null;
String tn = base.fhirType();
StructureDefinition sd = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/"+tn);
if (sd == null)
throw new FHIRException("Unable to find definition for type "+tn);
Element res = new Element(property.getName(), property);
if (sd.getKind() == StructureDefinitionKind.PRIMITIVETYPE)
res.setValue(((PrimitiveType) base).asStringValue());
List<ElementDefinition> children = ProfileUtilities.getChildMap(sd, sd.getSnapshot().getElementFirstRep());
for (ElementDefinition child : children) {
String n = tail(child.getPath());
if (sd.getKind() != StructureDefinitionKind.PRIMITIVETYPE || !"value".equals(n)) {
Base[] values = base.getProperty(n.hashCode(), n, false);
if (values != null)
for (Base value : values) {
res.getChildren().add(convertElement(new Property(context, child, sd), value));
}
}
}
return res;
}
private String tail(String path) {
if (path.contains("."))
return path.substring(path.lastIndexOf('.')+1);
else
return path;
}
}

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.dstu3.metamodel;
package org.hl7.fhir.dstu3.elementmodel;
import java.io.InputStream;
import java.io.OutputStream;

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.dstu3.metamodel;
package org.hl7.fhir.dstu3.elementmodel;
import java.util.ArrayList;
import java.util.List;
@ -50,6 +50,8 @@ public class Property {
}
public String getType(String elementName) {
if (!definition.getPath().contains("."))
return definition.getPath();
if (definition.getType().size() == 0)
return null;
else if (definition.getType().size() > 1) {
@ -114,7 +116,7 @@ public class Property {
}
public boolean isList() {
return !definition.getMax().equals("1");
return !"1".equals(definition.getMax());
}
public String getScopedPropertyName() {

View File

@ -0,0 +1,25 @@
package org.hl7.fhir.dstu3.elementmodel;
import java.io.InputStream;
import java.io.OutputStream;
import org.hl7.fhir.dstu3.formats.IParser.OutputStyle;
import org.hl7.fhir.dstu3.utils.IWorkerContext;
public class TurtleParser extends ParserBase {
public TurtleParser(IWorkerContext theContext) {
super(theContext);
}
@Override
public Element parse(InputStream theStream) throws Exception {
throw new UnsupportedOperationException();
}
@Override
public void compose(Element theE, OutputStream theDestination, OutputStyle theStyle, String theBase) throws Exception {
throw new UnsupportedOperationException();
}
}

View File

@ -1,4 +1,4 @@
package org.hl7.fhir.dstu3.metamodel;
package org.hl7.fhir.dstu3.elementmodel;
import java.io.ByteArrayInputStream;
import java.io.IOException;
@ -17,10 +17,10 @@ import javax.xml.transform.dom.DOMResult;
import javax.xml.transform.sax.SAXSource;
import org.apache.commons.lang3.NotImplementedException;
import org.hl7.fhir.dstu3.elementmodel.Element.SpecialElement;
import org.hl7.fhir.dstu3.exceptions.FHIRFormatError;
import org.hl7.fhir.dstu3.formats.FormatUtilities;
import org.hl7.fhir.dstu3.formats.IParser.OutputStyle;
import org.hl7.fhir.dstu3.metamodel.Element.SpecialElement;
import org.hl7.fhir.dstu3.model.DateTimeType;
import org.hl7.fhir.dstu3.model.ElementDefinition;
import org.hl7.fhir.dstu3.model.ElementDefinition.PropertyRepresentation;
@ -278,7 +278,7 @@ public class XmlParser extends ParserBase {
context.getChildren().add(n);
if (ok) {
if (property.isResource())
parseResource(npath, (org.w3c.dom.Element) child, n);
parseResource(npath, (org.w3c.dom.Element) child, n, property);
else
parseChildren(npath, (org.w3c.dom.Element) child, n);
}
@ -327,13 +327,13 @@ public class XmlParser extends ParserBase {
throw new FHIRException("Unknown Data format '"+fmt+"'");
}
private void parseResource(String string, org.w3c.dom.Element container, Element parent) throws Exception {
private void parseResource(String string, org.w3c.dom.Element container, Element parent, Property elementProperty) throws Exception {
org.w3c.dom.Element res = XMLUtil.getFirstChild(container);
String name = res.getLocalName();
StructureDefinition sd = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/"+name);
if (sd == null)
throw new FHIRFormatError("Contained resource does not appear to be a FHIR resource (unknown name '"+res.getLocalName()+"')");
parent.updateProperty(new Property(context, sd.getSnapshot().getElement().get(0), sd), parent.getProperty().getName().equals("contained") ? SpecialElement.CONTAINED : SpecialElement.BUNDLE_ENTRY);
parent.updateProperty(new Property(context, sd.getSnapshot().getElement().get(0), sd), SpecialElement.fromProperty(parent.getProperty()), elementProperty);
parent.setType(name);
parseChildren(res.getLocalName(), res, parent);
}

View File

@ -0,0 +1,13 @@
package org.hl7.fhir.dstu3.formats;
import java.io.ByteArrayOutputStream;
import org.hl7.fhir.dstu3.model.Resource;
public class JsonParser {
public void compose(ByteArrayOutputStream theBs, Resource theIg) {
throw new UnsupportedOperationException();
}
}

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -164,6 +164,7 @@ public class Account extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=3, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="active | inactive", formalDefinition="Indicates whether the account is presently used/useable or not." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/account-status")
protected Enumeration<AccountStatus> status;
/**
@ -879,7 +880,7 @@ public class Account extends DomainResource {
* Path: <b>Account.owner</b><br>
* </p>
*/
@SearchParamDefinition(name="owner", path="Account.owner", description="Who is responsible?", type="reference", target={Organization.class} )
@SearchParamDefinition(name="owner", path="Account.owner", description="Who is responsible?", type="reference" )
public static final String SP_OWNER = "owner";
/**
* <b>Fluent Client</b> search parameter constant for <b>owner</b>
@ -905,7 +906,7 @@ public class Account extends DomainResource {
* Path: <b>Account.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Account.identifier", description="Account number", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Account.identifier", description="Account number", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -925,7 +926,7 @@ public class Account extends DomainResource {
* Path: <b>Account.coveragePeriod</b><br>
* </p>
*/
@SearchParamDefinition(name="period", path="Account.coveragePeriod", description="Transaction window", type="date", target={} )
@SearchParamDefinition(name="period", path="Account.coveragePeriod", description="Transaction window", type="date" )
public static final String SP_PERIOD = "period";
/**
* <b>Fluent Client</b> search parameter constant for <b>period</b>
@ -945,7 +946,7 @@ public class Account extends DomainResource {
* Path: <b>Account.balance</b><br>
* </p>
*/
@SearchParamDefinition(name="balance", path="Account.balance", description="How much is in account?", type="quantity", target={} )
@SearchParamDefinition(name="balance", path="Account.balance", description="How much is in account?", type="quantity" )
public static final String SP_BALANCE = "balance";
/**
* <b>Fluent Client</b> search parameter constant for <b>balance</b>
@ -965,7 +966,7 @@ public class Account extends DomainResource {
* Path: <b>Account.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="Account.subject", description="What is account tied to?", type="reference", target={Practitioner.class, Organization.class, Device.class, Patient.class, HealthcareService.class, Location.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="subject", path="Account.subject", description="What is account tied to?", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -991,7 +992,7 @@ public class Account extends DomainResource {
* Path: <b>Account.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Account.subject", description="What is account tied to?", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="Account.subject", description="What is account tied to?", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1017,7 +1018,7 @@ public class Account extends DomainResource {
* Path: <b>Account.name</b><br>
* </p>
*/
@SearchParamDefinition(name="name", path="Account.name", description="Human-readable label", type="string", target={} )
@SearchParamDefinition(name="name", path="Account.name", description="Human-readable label", type="string" )
public static final String SP_NAME = "name";
/**
* <b>Fluent Client</b> search parameter constant for <b>name</b>
@ -1037,7 +1038,7 @@ public class Account extends DomainResource {
* Path: <b>Account.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="Account.type", description="E.g. patient, expense, depreciation", type="token", target={} )
@SearchParamDefinition(name="type", path="Account.type", description="E.g. patient, expense, depreciation", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -1057,7 +1058,7 @@ public class Account extends DomainResource {
* Path: <b>Account.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="Account.status", description="active | inactive", type="token", target={} )
@SearchParamDefinition(name="status", path="Account.status", description="active | inactive", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -469,6 +469,7 @@ public class ActionDefinition extends Type implements ICompositeType {
*/
@Child(name = "relationship", type = {CodeType.class}, order=2, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="before | after", formalDefinition="The relationship of this action to the related action." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/action-relationship-type")
protected Enumeration<ActionRelationshipType> relationship;
/**
@ -483,6 +484,7 @@ public class ActionDefinition extends Type implements ICompositeType {
*/
@Child(name = "anchor", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="start | end", formalDefinition="An optional indicator for how the relationship is anchored to the related action. For example \"before the start\" or \"before the end\" of the related action." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/action-relationship-anchor")
protected Enumeration<ActionRelationshipAnchor> anchor;
private static final long serialVersionUID = 451097227L;
@ -806,6 +808,7 @@ public class ActionDefinition extends Type implements ICompositeType {
*/
@Child(name = "type", type = {Coding.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="The type of behavior (grouping, precheck, selection, cardinality, etc)", formalDefinition="The type of the behavior to be described, such as grouping, visual, or selection behaviors." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/action-behavior-type")
protected Coding type;
/**
@ -1277,6 +1280,7 @@ public class ActionDefinition extends Type implements ICompositeType {
*/
@Child(name = "participantType", type = {CodeType.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="patient | practitioner | related-person", formalDefinition="The type of participant in the action." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/action-participant-type")
protected List<Enumeration<ParticipantType>> participantType;
/**
@ -1284,6 +1288,7 @@ public class ActionDefinition extends Type implements ICompositeType {
*/
@Child(name = "type", type = {CodeType.class}, order=10, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="create | update | remove | fire-event", formalDefinition="The type of action to perform (create, update, remove)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/action-type")
protected Enumeration<ActionType> type;
/**

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -280,6 +280,7 @@ public class Address extends Type implements ICompositeType {
*/
@Child(name = "use", type = {CodeType.class}, order=0, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="home | work | temp | old - purpose of this address", formalDefinition="The purpose of this address." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/address-use")
protected Enumeration<AddressUse> use;
/**
@ -287,6 +288,7 @@ public class Address extends Type implements ICompositeType {
*/
@Child(name = "type", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="postal | physical | both", formalDefinition="Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/address-type")
protected Enumeration<AddressType> type;
/**

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -755,6 +755,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "substance", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Specific substance considered to be responsible for event", formalDefinition="Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-code")
protected CodeableConcept substance;
/**
@ -762,6 +763,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "certainty", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="unlikely | likely | confirmed - clinical certainty about the specific substance", formalDefinition="Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/reaction-event-certainty")
protected Enumeration<AllergyIntoleranceCertainty> certainty;
/**
@ -769,6 +771,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "manifestation", type = {CodeableConcept.class}, order=3, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Clinical symptoms/signs associated with the Event", formalDefinition="Clinical symptoms and/or signs that are observed or associated with the adverse reaction event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/manifestation-codes")
protected List<CodeableConcept> manifestation;
/**
@ -790,6 +793,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "severity", type = {CodeType.class}, order=6, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="mild | moderate | severe (of event as a whole)", formalDefinition="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/reaction-event-severity")
protected Enumeration<AllergyIntoleranceSeverity> severity;
/**
@ -797,6 +801,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "exposureRoute", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="How the subject was exposed to the substance", formalDefinition="Identification of the route by which the subject was exposed to the substance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/route-codes")
protected CodeableConcept exposureRoute;
/**
@ -1364,6 +1369,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=1, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error", formalDefinition="Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/allergy-intolerance-status")
protected Enumeration<AllergyIntoleranceStatus> status;
/**
@ -1371,6 +1377,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "type", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="allergy | intolerance - Underlying mechanism (if known)", formalDefinition="Identification of the underlying physiological mechanism for the reaction risk." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/allergy-intolerance-type")
protected Enumeration<AllergyIntoleranceType> type;
/**
@ -1378,6 +1385,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "category", type = {CodeType.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="food | medication | environment | other - Category of Substance", formalDefinition="Category of the identified Substance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/allergy-intolerance-category")
protected Enumeration<AllergyIntoleranceCategory> category;
/**
@ -1385,6 +1393,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "criticality", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="low | high | unable-to-assess", formalDefinition="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality")
protected Enumeration<AllergyIntoleranceCriticality> criticality;
/**
@ -1392,6 +1401,7 @@ public class AllergyIntolerance extends DomainResource {
*/
@Child(name = "substance", type = {CodeableConcept.class}, order=5, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Substance, (or class) considered to be responsible for risk", formalDefinition="Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/allergyintolerance-substance-code")
protected CodeableConcept substance;
/**
@ -2415,7 +2425,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.reaction.severity</b><br>
* </p>
*/
@SearchParamDefinition(name="severity", path="AllergyIntolerance.reaction.severity", description="mild | moderate | severe (of event as a whole)", type="token", target={} )
@SearchParamDefinition(name="severity", path="AllergyIntolerance.reaction.severity", description="mild | moderate | severe (of event as a whole)", type="token" )
public static final String SP_SEVERITY = "severity";
/**
* <b>Fluent Client</b> search parameter constant for <b>severity</b>
@ -2435,7 +2445,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.recordedDate</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate", description="When recorded", type="date", target={} )
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate", description="When recorded", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -2455,7 +2465,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier", description="External ids for this item", type="token", target={} )
@SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier", description="External ids for this item", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -2475,7 +2485,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.reaction.manifestation</b><br>
* </p>
*/
@SearchParamDefinition(name="manifestation", path="AllergyIntolerance.reaction.manifestation", description="Clinical symptoms/signs associated with the Event", type="token", target={} )
@SearchParamDefinition(name="manifestation", path="AllergyIntolerance.reaction.manifestation", description="Clinical symptoms/signs associated with the Event", type="token" )
public static final String SP_MANIFESTATION = "manifestation";
/**
* <b>Fluent Client</b> search parameter constant for <b>manifestation</b>
@ -2495,7 +2505,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.recorder</b><br>
* </p>
*/
@SearchParamDefinition(name="recorder", path="AllergyIntolerance.recorder", description="Who recorded the sensitivity", type="reference", target={Practitioner.class, Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="recorder", path="AllergyIntolerance.recorder", description="Who recorded the sensitivity", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_RECORDER = "recorder";
/**
* <b>Fluent Client</b> search parameter constant for <b>recorder</b>
@ -2521,7 +2531,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.substance, AllergyIntolerance.reaction.substance</b><br>
* </p>
*/
@SearchParamDefinition(name="substance", path="AllergyIntolerance.substance | AllergyIntolerance.reaction.substance", description="Substance, (or class) considered to be responsible for risk", type="token", target={} )
@SearchParamDefinition(name="substance", path="AllergyIntolerance.substance | AllergyIntolerance.reaction.substance", description="Substance, (or class) considered to be responsible for risk", type="token" )
public static final String SP_SUBSTANCE = "substance";
/**
* <b>Fluent Client</b> search parameter constant for <b>substance</b>
@ -2541,7 +2551,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.criticality</b><br>
* </p>
*/
@SearchParamDefinition(name="criticality", path="AllergyIntolerance.criticality", description="low | high | unable-to-assess", type="token", target={} )
@SearchParamDefinition(name="criticality", path="AllergyIntolerance.criticality", description="low | high | unable-to-assess", type="token" )
public static final String SP_CRITICALITY = "criticality";
/**
* <b>Fluent Client</b> search parameter constant for <b>criticality</b>
@ -2561,7 +2571,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.reporter</b><br>
* </p>
*/
@SearchParamDefinition(name="reporter", path="AllergyIntolerance.reporter", description="Source of the information about the allergy", type="reference", target={Practitioner.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="reporter", path="AllergyIntolerance.reporter", description="Source of the information about the allergy", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_REPORTER = "reporter";
/**
* <b>Fluent Client</b> search parameter constant for <b>reporter</b>
@ -2587,7 +2597,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="AllergyIntolerance.type", description="allergy | intolerance - Underlying mechanism (if known)", type="token", target={} )
@SearchParamDefinition(name="type", path="AllergyIntolerance.type", description="allergy | intolerance - Underlying mechanism (if known)", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -2607,7 +2617,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.reaction.onset</b><br>
* </p>
*/
@SearchParamDefinition(name="onset", path="AllergyIntolerance.reaction.onset", description="Date(/time) when manifestations showed", type="date", target={} )
@SearchParamDefinition(name="onset", path="AllergyIntolerance.reaction.onset", description="Date(/time) when manifestations showed", type="date" )
public static final String SP_ONSET = "onset";
/**
* <b>Fluent Client</b> search parameter constant for <b>onset</b>
@ -2627,7 +2637,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.reaction.exposureRoute</b><br>
* </p>
*/
@SearchParamDefinition(name="route", path="AllergyIntolerance.reaction.exposureRoute", description="How the subject was exposed to the substance", type="token", target={} )
@SearchParamDefinition(name="route", path="AllergyIntolerance.reaction.exposureRoute", description="How the subject was exposed to the substance", type="token" )
public static final String SP_ROUTE = "route";
/**
* <b>Fluent Client</b> search parameter constant for <b>route</b>
@ -2647,7 +2657,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.patient</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient", description="Who the sensitivity is for", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient", description="Who the sensitivity is for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2673,7 +2683,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="AllergyIntolerance.category", description="food | medication | environment | other - Category of Substance", type="token", target={} )
@SearchParamDefinition(name="category", path="AllergyIntolerance.category", description="food | medication | environment | other - Category of Substance", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>
@ -2693,7 +2703,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.lastOccurence</b><br>
* </p>
*/
@SearchParamDefinition(name="last-date", path="AllergyIntolerance.lastOccurence", description="Date(/time) of last known occurrence of a reaction", type="date", target={} )
@SearchParamDefinition(name="last-date", path="AllergyIntolerance.lastOccurence", description="Date(/time) of last known occurrence of a reaction", type="date" )
public static final String SP_LAST_DATE = "last-date";
/**
* <b>Fluent Client</b> search parameter constant for <b>last-date</b>
@ -2713,7 +2723,7 @@ public class AllergyIntolerance extends DomainResource {
* Path: <b>AllergyIntolerance.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="AllergyIntolerance.status", description="active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="status", path="AllergyIntolerance.status", description="active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -453,6 +453,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Role of participant in the appointment", formalDefinition="Role of participant in the appointment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/encounter-participant-type")
protected List<CodeableConcept> type;
/**
@ -472,6 +473,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "required", type = {CodeType.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="required | optional | information-only", formalDefinition="Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participantrequired")
protected Enumeration<ParticipantRequired> required;
/**
@ -479,6 +481,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=4, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="accepted | declined | tentative | needs-action", formalDefinition="Participation status of the Patient." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participationstatus")
protected Enumeration<ParticipationStatus> status;
private static final long serialVersionUID = -1620552507L;
@ -828,6 +831,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="proposed | pending | booked | arrived | fulfilled | cancelled | noshow", formalDefinition="The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/appointmentstatus")
protected Enumeration<AppointmentStatus> status;
/**
@ -835,6 +839,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "serviceCategory", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="A broad categorisation of the service that is to be performed during this appointment", formalDefinition="A broad categorisation of the service that is to be performed during this appointment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-category")
protected CodeableConcept serviceCategory;
/**
@ -842,6 +847,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "serviceType", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The specific service that is to be performed during this appointment", formalDefinition="The specific service that is to be performed during this appointment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-type")
protected List<CodeableConcept> serviceType;
/**
@ -849,6 +855,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "specialty", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The specialty of a practitioner that would be required to perform the service requested in this appointment", formalDefinition="The specialty of a practitioner that would be required to perform the service requested in this appointment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-practice-codes")
protected List<CodeableConcept> specialty;
/**
@ -856,6 +863,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "appointmentType", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="The style of appointment or patient that has been booked in the slot (not service type)", formalDefinition="The style of appointment or patient that has been booked in the slot (not service type)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v2-0276")
protected CodeableConcept appointmentType;
/**
@ -863,6 +871,7 @@ public class Appointment extends DomainResource {
*/
@Child(name = "reason", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Reason this appointment is scheduled", formalDefinition="The reason that this appointment is being scheduled. This is more clinical than administrative." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/encounter-reason")
protected CodeableConcept reason;
/**
@ -2005,7 +2014,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.start</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="Appointment.start", description="Appointment date/time.", type="date", target={} )
@SearchParamDefinition(name="date", path="Appointment.start", description="Appointment date/time.", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -2025,7 +2034,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.participant.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="actor", path="Appointment.participant.actor", description="Any one of the individuals participating in the appointment", type="reference", target={Practitioner.class, Device.class, Patient.class, HealthcareService.class, RelatedPerson.class, Location.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="actor", path="Appointment.participant.actor", description="Any one of the individuals participating in the appointment", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_ACTOR = "actor";
/**
* <b>Fluent Client</b> search parameter constant for <b>actor</b>
@ -2051,7 +2060,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Appointment.identifier", description="An Identifier of the Appointment", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Appointment.identifier", description="An Identifier of the Appointment", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -2071,7 +2080,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.participant.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="practitioner", path="Appointment.participant.actor", description="One of the individuals of the appointment is this practitioner", type="reference", target={Practitioner.class} )
@SearchParamDefinition(name="practitioner", path="Appointment.participant.actor", description="One of the individuals of the appointment is this practitioner", type="reference" )
public static final String SP_PRACTITIONER = "practitioner";
/**
* <b>Fluent Client</b> search parameter constant for <b>practitioner</b>
@ -2097,7 +2106,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.participant.status</b><br>
* </p>
*/
@SearchParamDefinition(name="part-status", path="Appointment.participant.status", description="The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.", type="token", target={} )
@SearchParamDefinition(name="part-status", path="Appointment.participant.status", description="The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.", type="token" )
public static final String SP_PART_STATUS = "part-status";
/**
* <b>Fluent Client</b> search parameter constant for <b>part-status</b>
@ -2117,7 +2126,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.participant.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Appointment.participant.actor", description="One of the individuals of the appointment is this patient", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="Appointment.participant.actor", description="One of the individuals of the appointment is this patient", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2143,7 +2152,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.appointmentType</b><br>
* </p>
*/
@SearchParamDefinition(name="appointment-type", path="Appointment.appointmentType", description="The style of appointment or patient that has been booked in the slot (not service type)", type="token", target={} )
@SearchParamDefinition(name="appointment-type", path="Appointment.appointmentType", description="The style of appointment or patient that has been booked in the slot (not service type)", type="token" )
public static final String SP_APPOINTMENT_TYPE = "appointment-type";
/**
* <b>Fluent Client</b> search parameter constant for <b>appointment-type</b>
@ -2163,7 +2172,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.serviceType</b><br>
* </p>
*/
@SearchParamDefinition(name="service-type", path="Appointment.serviceType", description="The specific service that is to be performed during this appointment", type="token", target={} )
@SearchParamDefinition(name="service-type", path="Appointment.serviceType", description="The specific service that is to be performed during this appointment", type="token" )
public static final String SP_SERVICE_TYPE = "service-type";
/**
* <b>Fluent Client</b> search parameter constant for <b>service-type</b>
@ -2183,7 +2192,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.participant.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="location", path="Appointment.participant.actor", description="This location is listed in the participants of the appointment", type="reference", target={Location.class} )
@SearchParamDefinition(name="location", path="Appointment.participant.actor", description="This location is listed in the participants of the appointment", type="reference" )
public static final String SP_LOCATION = "location";
/**
* <b>Fluent Client</b> search parameter constant for <b>location</b>
@ -2209,7 +2218,7 @@ public class Appointment extends DomainResource {
* Path: <b>Appointment.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="Appointment.status", description="The overall status of the appointment", type="token", target={} )
@SearchParamDefinition(name="status", path="Appointment.status", description="The overall status of the appointment", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -86,6 +86,7 @@ public class AppointmentResponse extends DomainResource {
*/
@Child(name = "participantType", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Role of participant in the appointment", formalDefinition="Role of participant in the appointment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/encounter-participant-type")
protected List<CodeableConcept> participantType;
/**
@ -105,6 +106,7 @@ public class AppointmentResponse extends DomainResource {
*/
@Child(name = "participantStatus", type = {CodeType.class}, order=6, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="accepted | declined | tentative | in-process | completed | needs-action", formalDefinition="Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participationstatus")
protected CodeType participantStatus;
/**
@ -716,7 +718,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="actor", path="AppointmentResponse.actor", description="The Person, Location/HealthcareService or Device that this appointment response replies for", type="reference", target={Practitioner.class, Device.class, Patient.class, HealthcareService.class, RelatedPerson.class, Location.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="actor", path="AppointmentResponse.actor", description="The Person, Location/HealthcareService or Device that this appointment response replies for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_ACTOR = "actor";
/**
* <b>Fluent Client</b> search parameter constant for <b>actor</b>
@ -742,7 +744,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="AppointmentResponse.identifier", description="An Identifier in this appointment response", type="token", target={} )
@SearchParamDefinition(name="identifier", path="AppointmentResponse.identifier", description="An Identifier in this appointment response", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -762,7 +764,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="practitioner", path="AppointmentResponse.actor", description="This Response is for this Practitioner", type="reference", target={Practitioner.class} )
@SearchParamDefinition(name="practitioner", path="AppointmentResponse.actor", description="This Response is for this Practitioner", type="reference" )
public static final String SP_PRACTITIONER = "practitioner";
/**
* <b>Fluent Client</b> search parameter constant for <b>practitioner</b>
@ -788,7 +790,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.participantStatus</b><br>
* </p>
*/
@SearchParamDefinition(name="part-status", path="AppointmentResponse.participantStatus", description="The participants acceptance status for this appointment", type="token", target={} )
@SearchParamDefinition(name="part-status", path="AppointmentResponse.participantStatus", description="The participants acceptance status for this appointment", type="token" )
public static final String SP_PART_STATUS = "part-status";
/**
* <b>Fluent Client</b> search parameter constant for <b>part-status</b>
@ -808,7 +810,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="AppointmentResponse.actor", description="This Response is for this Patient", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="AppointmentResponse.actor", description="This Response is for this Patient", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -834,7 +836,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.appointment</b><br>
* </p>
*/
@SearchParamDefinition(name="appointment", path="AppointmentResponse.appointment", description="The appointment that the response is attached to", type="reference", target={Appointment.class} )
@SearchParamDefinition(name="appointment", path="AppointmentResponse.appointment", description="The appointment that the response is attached to", type="reference" )
public static final String SP_APPOINTMENT = "appointment";
/**
* <b>Fluent Client</b> search parameter constant for <b>appointment</b>
@ -860,7 +862,7 @@ public class AppointmentResponse extends DomainResource {
* Path: <b>AppointmentResponse.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="location", path="AppointmentResponse.actor", description="This Response is for this Location", type="reference", target={Location.class} )
@SearchParamDefinition(name="location", path="AppointmentResponse.actor", description="This Response is for this Location", type="reference" )
public static final String SP_LOCATION = "location";
/**
* <b>Fluent Client</b> search parameter constant for <b>location</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -309,7 +309,7 @@ public class AuditEvent extends DomainResource {
}
}
public enum AuditEventParticipantNetworkType {
public enum AuditEventAgentNetworkType {
/**
* The machine name, including DNS name.
*/
@ -334,7 +334,7 @@ public class AuditEvent extends DomainResource {
* added to help the parsers with the generic types
*/
NULL;
public static AuditEventParticipantNetworkType fromCode(String codeString) throws FHIRException {
public static AuditEventAgentNetworkType fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("1".equals(codeString))
@ -350,7 +350,7 @@ public class AuditEvent extends DomainResource {
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown AuditEventParticipantNetworkType code '"+codeString+"'");
throw new FHIRException("Unknown AuditEventAgentNetworkType code '"+codeString+"'");
}
public String toCode() {
switch (this) {
@ -394,55 +394,55 @@ public class AuditEvent extends DomainResource {
}
}
public static class AuditEventParticipantNetworkTypeEnumFactory implements EnumFactory<AuditEventParticipantNetworkType> {
public AuditEventParticipantNetworkType fromCode(String codeString) throws IllegalArgumentException {
public static class AuditEventAgentNetworkTypeEnumFactory implements EnumFactory<AuditEventAgentNetworkType> {
public AuditEventAgentNetworkType fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("1".equals(codeString))
return AuditEventParticipantNetworkType._1;
return AuditEventAgentNetworkType._1;
if ("2".equals(codeString))
return AuditEventParticipantNetworkType._2;
return AuditEventAgentNetworkType._2;
if ("3".equals(codeString))
return AuditEventParticipantNetworkType._3;
return AuditEventAgentNetworkType._3;
if ("4".equals(codeString))
return AuditEventParticipantNetworkType._4;
return AuditEventAgentNetworkType._4;
if ("5".equals(codeString))
return AuditEventParticipantNetworkType._5;
throw new IllegalArgumentException("Unknown AuditEventParticipantNetworkType code '"+codeString+"'");
return AuditEventAgentNetworkType._5;
throw new IllegalArgumentException("Unknown AuditEventAgentNetworkType code '"+codeString+"'");
}
public Enumeration<AuditEventParticipantNetworkType> fromType(Base code) throws FHIRException {
public Enumeration<AuditEventAgentNetworkType> fromType(Base code) throws FHIRException {
if (code == null || code.isEmpty())
return null;
String codeString = ((PrimitiveType) code).asStringValue();
if (codeString == null || "".equals(codeString))
return null;
if ("1".equals(codeString))
return new Enumeration<AuditEventParticipantNetworkType>(this, AuditEventParticipantNetworkType._1);
return new Enumeration<AuditEventAgentNetworkType>(this, AuditEventAgentNetworkType._1);
if ("2".equals(codeString))
return new Enumeration<AuditEventParticipantNetworkType>(this, AuditEventParticipantNetworkType._2);
return new Enumeration<AuditEventAgentNetworkType>(this, AuditEventAgentNetworkType._2);
if ("3".equals(codeString))
return new Enumeration<AuditEventParticipantNetworkType>(this, AuditEventParticipantNetworkType._3);
return new Enumeration<AuditEventAgentNetworkType>(this, AuditEventAgentNetworkType._3);
if ("4".equals(codeString))
return new Enumeration<AuditEventParticipantNetworkType>(this, AuditEventParticipantNetworkType._4);
return new Enumeration<AuditEventAgentNetworkType>(this, AuditEventAgentNetworkType._4);
if ("5".equals(codeString))
return new Enumeration<AuditEventParticipantNetworkType>(this, AuditEventParticipantNetworkType._5);
throw new FHIRException("Unknown AuditEventParticipantNetworkType code '"+codeString+"'");
return new Enumeration<AuditEventAgentNetworkType>(this, AuditEventAgentNetworkType._5);
throw new FHIRException("Unknown AuditEventAgentNetworkType code '"+codeString+"'");
}
public String toCode(AuditEventParticipantNetworkType code) {
if (code == AuditEventParticipantNetworkType._1)
public String toCode(AuditEventAgentNetworkType code) {
if (code == AuditEventAgentNetworkType._1)
return "1";
if (code == AuditEventParticipantNetworkType._2)
if (code == AuditEventAgentNetworkType._2)
return "2";
if (code == AuditEventParticipantNetworkType._3)
if (code == AuditEventAgentNetworkType._3)
return "3";
if (code == AuditEventParticipantNetworkType._4)
if (code == AuditEventAgentNetworkType._4)
return "4";
if (code == AuditEventParticipantNetworkType._5)
if (code == AuditEventAgentNetworkType._5)
return "5";
return "?";
}
public String toSystem(AuditEventParticipantNetworkType code) {
public String toSystem(AuditEventAgentNetworkType code) {
return code.getSystem();
}
}
@ -450,10 +450,11 @@ public class AuditEvent extends DomainResource {
@Block()
public static class AuditEventAgentComponent extends BackboneElement implements IBaseBackboneElement {
/**
* Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.
* Specification of the role(s) the user plays when performing the event. Additional may contain security role codes that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.
*/
@Child(name = "role", type = {CodeableConcept.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Agent role in the event", formalDefinition="Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context." )
@Description(shortDefinition="Agent role in the event", formalDefinition="Specification of the role(s) the user plays when performing the event. Additional may contain security role codes that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/dicm-402-roleid")
protected List<CodeableConcept> role;
/**
@ -520,6 +521,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "media", type = {Coding.class}, order=9, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Type of media", formalDefinition="Type of media involved. Used when the event is about exporting/importing onto media." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/dicm-405-mediatype")
protected Coding media;
/**
@ -534,6 +536,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "purposeOfUse", type = {Coding.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Reason given for this user", formalDefinition="The reason (purpose of use), specific to this agent, that was used during the event being recorded." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse")
protected List<Coding> purposeOfUse;
private static final long serialVersionUID = 1802747339L;
@ -554,7 +557,7 @@ public class AuditEvent extends DomainResource {
}
/**
* @return {@link #role} (Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.)
* @return {@link #role} (Specification of the role(s) the user plays when performing the event. Additional may contain security role codes that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.)
*/
public List<CodeableConcept> getRole() {
if (this.role == null)
@ -1020,7 +1023,7 @@ public class AuditEvent extends DomainResource {
protected void listChildren(List<Property> childrenList) {
super.listChildren(childrenList);
childrenList.add(new Property("role", "CodeableConcept", "Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.", 0, java.lang.Integer.MAX_VALUE, role));
childrenList.add(new Property("role", "CodeableConcept", "Specification of the role(s) the user plays when performing the event. Additional may contain security role codes that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.", 0, java.lang.Integer.MAX_VALUE, role));
childrenList.add(new Property("reference", "Reference(Practitioner|Organization|Device|Patient|RelatedPerson)", "Direct reference to a resource that identifies the agent.", 0, java.lang.Integer.MAX_VALUE, reference));
childrenList.add(new Property("userId", "Identifier", "Unique identifier for the user actively participating in the event.", 0, java.lang.Integer.MAX_VALUE, userId));
childrenList.add(new Property("altId", "string", "Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.", 0, java.lang.Integer.MAX_VALUE, altId));
@ -1263,9 +1266,10 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "type", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="The type of network access point", formalDefinition="An identifier for the type of network access point that originated the audit event." )
protected Enumeration<AuditEventParticipantNetworkType> type;
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/network-type")
protected Enumeration<AuditEventAgentNetworkType> type;
private static final long serialVersionUID = -1355220390L;
private static final long serialVersionUID = -160715924L;
/**
* Constructor
@ -1326,12 +1330,12 @@ public class AuditEvent extends DomainResource {
/**
* @return {@link #type} (An identifier for the type of network access point that originated the audit event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
*/
public Enumeration<AuditEventParticipantNetworkType> getTypeElement() {
public Enumeration<AuditEventAgentNetworkType> getTypeElement() {
if (this.type == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create AuditEventAgentNetworkComponent.type");
else if (Configuration.doAutoCreate())
this.type = new Enumeration<AuditEventParticipantNetworkType>(new AuditEventParticipantNetworkTypeEnumFactory()); // bb
this.type = new Enumeration<AuditEventAgentNetworkType>(new AuditEventAgentNetworkTypeEnumFactory()); // bb
return this.type;
}
@ -1346,7 +1350,7 @@ public class AuditEvent extends DomainResource {
/**
* @param value {@link #type} (An identifier for the type of network access point that originated the audit event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
*/
public AuditEventAgentNetworkComponent setTypeElement(Enumeration<AuditEventParticipantNetworkType> value) {
public AuditEventAgentNetworkComponent setTypeElement(Enumeration<AuditEventAgentNetworkType> value) {
this.type = value;
return this;
}
@ -1354,19 +1358,19 @@ public class AuditEvent extends DomainResource {
/**
* @return An identifier for the type of network access point that originated the audit event.
*/
public AuditEventParticipantNetworkType getType() {
public AuditEventAgentNetworkType getType() {
return this.type == null ? null : this.type.getValue();
}
/**
* @param value An identifier for the type of network access point that originated the audit event.
*/
public AuditEventAgentNetworkComponent setType(AuditEventParticipantNetworkType value) {
public AuditEventAgentNetworkComponent setType(AuditEventAgentNetworkType value) {
if (value == null)
this.type = null;
else {
if (this.type == null)
this.type = new Enumeration<AuditEventParticipantNetworkType>(new AuditEventParticipantNetworkTypeEnumFactory());
this.type = new Enumeration<AuditEventAgentNetworkType>(new AuditEventAgentNetworkTypeEnumFactory());
this.type.setValue(value);
}
return this;
@ -1382,7 +1386,7 @@ public class AuditEvent extends DomainResource {
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) {
case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // StringType
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<AuditEventParticipantNetworkType>
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<AuditEventAgentNetworkType>
default: return super.getProperty(hash, name, checkValid);
}
@ -1395,7 +1399,7 @@ public class AuditEvent extends DomainResource {
this.address = castToString(value); // StringType
break;
case 3575610: // type
this.type = new AuditEventParticipantNetworkTypeEnumFactory().fromType(value); // Enumeration<AuditEventParticipantNetworkType>
this.type = new AuditEventAgentNetworkTypeEnumFactory().fromType(value); // Enumeration<AuditEventAgentNetworkType>
break;
default: super.setProperty(hash, name, value);
}
@ -1407,7 +1411,7 @@ public class AuditEvent extends DomainResource {
if (name.equals("address"))
this.address = castToString(value); // StringType
else if (name.equals("type"))
this.type = new AuditEventParticipantNetworkTypeEnumFactory().fromType(value); // Enumeration<AuditEventParticipantNetworkType>
this.type = new AuditEventAgentNetworkTypeEnumFactory().fromType(value); // Enumeration<AuditEventAgentNetworkType>
else
super.setProperty(name, value);
}
@ -1416,7 +1420,7 @@ public class AuditEvent extends DomainResource {
public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) {
case -1147692044: throw new FHIRException("Cannot make property address as it is not a complex type"); // StringType
case 3575610: throw new FHIRException("Cannot make property type as it is not a complex type"); // Enumeration<AuditEventParticipantNetworkType>
case 3575610: throw new FHIRException("Cannot make property type as it is not a complex type"); // Enumeration<AuditEventAgentNetworkType>
default: return super.makeProperty(hash, name);
}
@ -1494,6 +1498,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "type", type = {Coding.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="The type of source where event originated", formalDefinition="Code specifying the type of source where event originated." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/audit-source-type")
protected List<Coding> type;
private static final long serialVersionUID = -1562673890L;
@ -1764,18 +1769,18 @@ public class AuditEvent extends DomainResource {
* Identifies a specific instance of the entity. The reference should always be version specific.
*/
@Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Specific instance of object (e.g. versioned)", formalDefinition="Identifies a specific instance of the entity. The reference should always be version specific." )
@Description(shortDefinition="Specific instance of object", formalDefinition="Identifies a specific instance of the entity. The reference should always be version specific." )
protected Identifier identifier;
/**
* Identifies a specific instance of the entity. The reference should always be version specific.
* Identifies a specific instance of the entity. The reference should be version specific.
*/
@Child(name = "reference", type = {}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Specific instance of resource (e.g. versioned)", formalDefinition="Identifies a specific instance of the entity. The reference should always be version specific." )
@Description(shortDefinition="Specific instance of resource", formalDefinition="Identifies a specific instance of the entity. The reference should be version specific." )
protected Reference reference;
/**
* The actual object that is the target of the reference (Identifies a specific instance of the entity. The reference should always be version specific.)
* The actual object that is the target of the reference (Identifies a specific instance of the entity. The reference should be version specific.)
*/
protected Resource referenceTarget;
@ -1783,7 +1788,8 @@ public class AuditEvent extends DomainResource {
* The type of the object that was involved in this audit event.
*/
@Child(name = "type", type = {Coding.class}, order=3, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Type of object involved", formalDefinition="The type of the object that was involved in this audit event." )
@Description(shortDefinition="Type of entity involved", formalDefinition="The type of the object that was involved in this audit event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/object-type")
protected Coding type;
/**
@ -1791,20 +1797,23 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "role", type = {Coding.class}, order=4, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="What role the entity played", formalDefinition="Code representing the role the entity played in the event being audited." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/object-role")
protected Coding role;
/**
* Identifier for the data life-cycle stage for the entity.
*/
@Child(name = "lifecycle", type = {Coding.class}, order=5, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Life-cycle stage for the object", formalDefinition="Identifier for the data life-cycle stage for the entity." )
@Description(shortDefinition="Life-cycle stage for the entity", formalDefinition="Identifier for the data life-cycle stage for the entity." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/object-lifecycle")
protected Coding lifecycle;
/**
* Denotes security labels for the identified entity.
*/
@Child(name = "securityLabel", type = {Coding.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Security labels applied to the object", formalDefinition="Denotes security labels for the identified entity." )
@Description(shortDefinition="Security labels on the entity", formalDefinition="Denotes security labels for the identified entity." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-labels")
protected List<Coding> securityLabel;
/**
@ -1869,7 +1878,7 @@ public class AuditEvent extends DomainResource {
}
/**
* @return {@link #reference} (Identifies a specific instance of the entity. The reference should always be version specific.)
* @return {@link #reference} (Identifies a specific instance of the entity. The reference should be version specific.)
*/
public Reference getReference() {
if (this.reference == null)
@ -1885,7 +1894,7 @@ public class AuditEvent extends DomainResource {
}
/**
* @param value {@link #reference} (Identifies a specific instance of the entity. The reference should always be version specific.)
* @param value {@link #reference} (Identifies a specific instance of the entity. The reference should be version specific.)
*/
public AuditEventEntityComponent setReference(Reference value) {
this.reference = value;
@ -1893,14 +1902,14 @@ public class AuditEvent extends DomainResource {
}
/**
* @return {@link #reference} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies a specific instance of the entity. The reference should always be version specific.)
* @return {@link #reference} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies a specific instance of the entity. The reference should be version specific.)
*/
public Resource getReferenceTarget() {
return this.referenceTarget;
}
/**
* @param value {@link #reference} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies a specific instance of the entity. The reference should always be version specific.)
* @param value {@link #reference} The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies a specific instance of the entity. The reference should be version specific.)
*/
public AuditEventEntityComponent setReferenceTarget(Resource value) {
this.referenceTarget = value;
@ -2235,7 +2244,7 @@ public class AuditEvent extends DomainResource {
protected void listChildren(List<Property> childrenList) {
super.listChildren(childrenList);
childrenList.add(new Property("identifier", "Identifier", "Identifies a specific instance of the entity. The reference should always be version specific.", 0, java.lang.Integer.MAX_VALUE, identifier));
childrenList.add(new Property("reference", "Reference(Any)", "Identifies a specific instance of the entity. The reference should always be version specific.", 0, java.lang.Integer.MAX_VALUE, reference));
childrenList.add(new Property("reference", "Reference(Any)", "Identifies a specific instance of the entity. The reference should be version specific.", 0, java.lang.Integer.MAX_VALUE, reference));
childrenList.add(new Property("type", "Coding", "The type of the object that was involved in this audit event.", 0, java.lang.Integer.MAX_VALUE, type));
childrenList.add(new Property("role", "Coding", "Code representing the role the entity played in the event being audited.", 0, java.lang.Integer.MAX_VALUE, role));
childrenList.add(new Property("lifecycle", "Coding", "Identifier for the data life-cycle stage for the entity.", 0, java.lang.Integer.MAX_VALUE, lifecycle));
@ -2677,6 +2686,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "type", type = {Coding.class}, order=0, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Type/identifier of event", formalDefinition="Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/audit-event-type")
protected Coding type;
/**
@ -2684,6 +2694,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "subtype", type = {Coding.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="More specific type/id for the event", formalDefinition="Identifier for the category of event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/audit-event-sub-type")
protected List<Coding> subtype;
/**
@ -2691,6 +2702,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "action", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Type of action performed during the event", formalDefinition="Indicator for type of action performed during the event that generated the audit." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/audit-event-action")
protected Enumeration<AuditEventAction> action;
/**
@ -2705,6 +2717,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "outcome", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Whether the event succeeded or failed", formalDefinition="Indicates whether the event succeeded or failed." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/audit-event-outcome")
protected Enumeration<AuditEventOutcome> outcome;
/**
@ -2719,6 +2732,7 @@ public class AuditEvent extends DomainResource {
*/
@Child(name = "purposeOfEvent", type = {Coding.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The purposeOfUse of the event", formalDefinition="The purposeOfUse (reason) that was used during the event being recorded." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse")
protected List<Coding> purposeOfEvent;
/**
@ -2729,17 +2743,17 @@ public class AuditEvent extends DomainResource {
protected List<AuditEventAgentComponent> agent;
/**
* Application systems and processes.
* The system that is reporting the event.
*/
@Child(name = "source", type = {}, order=8, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Application systems and processes", formalDefinition="Application systems and processes." )
@Description(shortDefinition="Audit Event Reporter", formalDefinition="The system that is reporting the event." )
protected AuditEventSourceComponent source;
/**
* Specific instances of data or objects that have been accessed.
*/
@Child(name = "entity", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Specific instances of data or objects that have been accessed", formalDefinition="Specific instances of data or objects that have been accessed." )
@Description(shortDefinition="Data or objects used", formalDefinition="Specific instances of data or objects that have been accessed." )
protected List<AuditEventEntityComponent> entity;
private static final long serialVersionUID = 945153702L;
@ -3137,7 +3151,7 @@ public class AuditEvent extends DomainResource {
}
/**
* @return {@link #source} (Application systems and processes.)
* @return {@link #source} (The system that is reporting the event.)
*/
public AuditEventSourceComponent getSource() {
if (this.source == null)
@ -3153,7 +3167,7 @@ public class AuditEvent extends DomainResource {
}
/**
* @param value {@link #source} (Application systems and processes.)
* @param value {@link #source} (The system that is reporting the event.)
*/
public AuditEvent setSource(AuditEventSourceComponent value) {
this.source = value;
@ -3223,7 +3237,7 @@ public class AuditEvent extends DomainResource {
childrenList.add(new Property("outcomeDesc", "string", "A free text description of the outcome of the event.", 0, java.lang.Integer.MAX_VALUE, outcomeDesc));
childrenList.add(new Property("purposeOfEvent", "Coding", "The purposeOfUse (reason) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, purposeOfEvent));
childrenList.add(new Property("agent", "", "An actor taking an active role in the event or activity that is logged.", 0, java.lang.Integer.MAX_VALUE, agent));
childrenList.add(new Property("source", "", "Application systems and processes.", 0, java.lang.Integer.MAX_VALUE, source));
childrenList.add(new Property("source", "", "The system that is reporting the event.", 0, java.lang.Integer.MAX_VALUE, source));
childrenList.add(new Property("entity", "", "Specific instances of data or objects that have been accessed.", 0, java.lang.Integer.MAX_VALUE, entity));
}
@ -3448,7 +3462,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.recorded</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="AuditEvent.recorded", description="Time when the event occurred on source", type="date", target={} )
@SearchParamDefinition(name="date", path="AuditEvent.recorded", description="Time when the event occurred on source", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -3463,17 +3477,17 @@ public class AuditEvent extends DomainResource {
/**
* Search parameter: <b>entity-type</b>
* <p>
* Description: <b>Type of object involved</b><br>
* Description: <b>Type of entity involved</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.entity.type</b><br>
* </p>
*/
@SearchParamDefinition(name="entity-type", path="AuditEvent.entity.type", description="Type of object involved", type="token", target={} )
@SearchParamDefinition(name="entity-type", path="AuditEvent.entity.type", description="Type of entity involved", type="token" )
public static final String SP_ENTITY_TYPE = "entity-type";
/**
* <b>Fluent Client</b> search parameter constant for <b>entity-type</b>
* <p>
* Description: <b>Type of object involved</b><br>
* Description: <b>Type of entity involved</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.entity.type</b><br>
* </p>
@ -3488,7 +3502,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.agent.reference</b><br>
* </p>
*/
@SearchParamDefinition(name="agent", path="AuditEvent.agent.reference", description="Direct reference to resource", type="reference", target={Practitioner.class, Organization.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="agent", path="AuditEvent.agent.reference", description="Direct reference to resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_AGENT = "agent";
/**
* <b>Fluent Client</b> search parameter constant for <b>agent</b>
@ -3510,21 +3524,41 @@ public class AuditEvent extends DomainResource {
* Search parameter: <b>address</b>
* <p>
* Description: <b>Identifier for the network access point of the user device</b><br>
* Type: <b>token</b><br>
* Type: <b>string</b><br>
* Path: <b>AuditEvent.agent.network.address</b><br>
* </p>
*/
@SearchParamDefinition(name="address", path="AuditEvent.agent.network.address", description="Identifier for the network access point of the user device", type="token", target={} )
@SearchParamDefinition(name="address", path="AuditEvent.agent.network.address", description="Identifier for the network access point of the user device", type="string" )
public static final String SP_ADDRESS = "address";
/**
* <b>Fluent Client</b> search parameter constant for <b>address</b>
* <p>
* Description: <b>Identifier for the network access point of the user device</b><br>
* Type: <b>token</b><br>
* Type: <b>string</b><br>
* Path: <b>AuditEvent.agent.network.address</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS);
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS);
/**
* Search parameter: <b>role</b>
* <p>
* Description: <b>What role the entity played</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.entity.role</b><br>
* </p>
*/
@SearchParamDefinition(name="role", path="AuditEvent.entity.role", description="What role the entity played", type="token" )
public static final String SP_ROLE = "role";
/**
* <b>Fluent Client</b> search parameter constant for <b>role</b>
* <p>
* Description: <b>What role the entity played</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.entity.role</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ROLE);
/**
* Search parameter: <b>source</b>
@ -3534,7 +3568,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.source.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="source", path="AuditEvent.source.identifier", description="The identity of source detecting the event", type="token", target={} )
@SearchParamDefinition(name="source", path="AuditEvent.source.identifier", description="The identity of source detecting the event", type="token" )
public static final String SP_SOURCE = "source";
/**
* <b>Fluent Client</b> search parameter constant for <b>source</b>
@ -3554,7 +3588,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="AuditEvent.type", description="Type/identifier of event", type="token", target={} )
@SearchParamDefinition(name="type", path="AuditEvent.type", description="Type/identifier of event", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -3574,7 +3608,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.agent.altId</b><br>
* </p>
*/
@SearchParamDefinition(name="altid", path="AuditEvent.agent.altId", description="Alternative User id e.g. authentication", type="token", target={} )
@SearchParamDefinition(name="altid", path="AuditEvent.agent.altId", description="Alternative User id e.g. authentication", type="token" )
public static final String SP_ALTID = "altid";
/**
* <b>Fluent Client</b> search parameter constant for <b>altid</b>
@ -3594,7 +3628,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.source.site</b><br>
* </p>
*/
@SearchParamDefinition(name="site", path="AuditEvent.source.site", description="Logical source location within the enterprise", type="token", target={} )
@SearchParamDefinition(name="site", path="AuditEvent.source.site", description="Logical source location within the enterprise", type="token" )
public static final String SP_SITE = "site";
/**
* <b>Fluent Client</b> search parameter constant for <b>site</b>
@ -3614,7 +3648,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.agent.name</b><br>
* </p>
*/
@SearchParamDefinition(name="agent-name", path="AuditEvent.agent.name", description="Human-meaningful name for the agent", type="string", target={} )
@SearchParamDefinition(name="agent-name", path="AuditEvent.agent.name", description="Human-meaningful name for the agent", type="string" )
public static final String SP_AGENT_NAME = "agent-name";
/**
* <b>Fluent Client</b> search parameter constant for <b>agent-name</b>
@ -3634,7 +3668,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.entity.name</b><br>
* </p>
*/
@SearchParamDefinition(name="entity-name", path="AuditEvent.entity.name", description="Descriptor for entity", type="string", target={} )
@SearchParamDefinition(name="entity-name", path="AuditEvent.entity.name", description="Descriptor for entity", type="string" )
public static final String SP_ENTITY_NAME = "entity-name";
/**
* <b>Fluent Client</b> search parameter constant for <b>entity-name</b>
@ -3654,7 +3688,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.subtype</b><br>
* </p>
*/
@SearchParamDefinition(name="subtype", path="AuditEvent.subtype", description="More specific type/id for the event", type="token", target={} )
@SearchParamDefinition(name="subtype", path="AuditEvent.subtype", description="More specific type/id for the event", type="token" )
public static final String SP_SUBTYPE = "subtype";
/**
* <b>Fluent Client</b> search parameter constant for <b>subtype</b>
@ -3674,7 +3708,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.agent.reference, AuditEvent.entity.reference</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="AuditEvent.agent.reference | AuditEvent.entity.reference", description="Direct reference to resource", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="AuditEvent.agent.reference | AuditEvent.entity.reference", description="Direct reference to resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -3700,7 +3734,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.action</b><br>
* </p>
*/
@SearchParamDefinition(name="action", path="AuditEvent.action", description="Type of action performed during the event", type="token", target={} )
@SearchParamDefinition(name="action", path="AuditEvent.action", description="Type of action performed during the event", type="token" )
public static final String SP_ACTION = "action";
/**
* <b>Fluent Client</b> search parameter constant for <b>action</b>
@ -3720,7 +3754,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.agent.userId</b><br>
* </p>
*/
@SearchParamDefinition(name="user", path="AuditEvent.agent.userId", description="Unique identifier for the user", type="token", target={} )
@SearchParamDefinition(name="user", path="AuditEvent.agent.userId", description="Unique identifier for the user", type="token" )
public static final String SP_USER = "user";
/**
* <b>Fluent Client</b> search parameter constant for <b>user</b>
@ -3735,17 +3769,17 @@ public class AuditEvent extends DomainResource {
/**
* Search parameter: <b>entity</b>
* <p>
* Description: <b>Specific instance of resource (e.g. versioned)</b><br>
* Description: <b>Specific instance of resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>AuditEvent.entity.reference</b><br>
* </p>
*/
@SearchParamDefinition(name="entity", path="AuditEvent.entity.reference", description="Specific instance of resource (e.g. versioned)", type="reference" )
@SearchParamDefinition(name="entity", path="AuditEvent.entity.reference", description="Specific instance of resource", type="reference" )
public static final String SP_ENTITY = "entity";
/**
* <b>Fluent Client</b> search parameter constant for <b>entity</b>
* <p>
* Description: <b>Specific instance of resource (e.g. versioned)</b><br>
* Description: <b>Specific instance of resource</b><br>
* Type: <b>reference</b><br>
* Path: <b>AuditEvent.entity.reference</b><br>
* </p>
@ -3761,23 +3795,43 @@ public class AuditEvent extends DomainResource {
/**
* Search parameter: <b>entity-id</b>
* <p>
* Description: <b>Specific instance of object (e.g. versioned)</b><br>
* Description: <b>Specific instance of object</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.entity.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="entity-id", path="AuditEvent.entity.identifier", description="Specific instance of object (e.g. versioned)", type="token", target={} )
@SearchParamDefinition(name="entity-id", path="AuditEvent.entity.identifier", description="Specific instance of object", type="token" )
public static final String SP_ENTITY_ID = "entity-id";
/**
* <b>Fluent Client</b> search parameter constant for <b>entity-id</b>
* <p>
* Description: <b>Specific instance of object (e.g. versioned)</b><br>
* Description: <b>Specific instance of object</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.entity.identifier</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ENTITY_ID = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ENTITY_ID);
/**
* Search parameter: <b>outcome</b>
* <p>
* Description: <b>Whether the event succeeded or failed</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.outcome</b><br>
* </p>
*/
@SearchParamDefinition(name="outcome", path="AuditEvent.outcome", description="Whether the event succeeded or failed", type="token" )
public static final String SP_OUTCOME = "outcome";
/**
* <b>Fluent Client</b> search parameter constant for <b>outcome</b>
* <p>
* Description: <b>Whether the event succeeded or failed</b><br>
* Type: <b>token</b><br>
* Path: <b>AuditEvent.outcome</b><br>
* </p>
*/
public static final ca.uhn.fhir.rest.gclient.TokenClientParam OUTCOME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_OUTCOME);
/**
* Search parameter: <b>policy</b>
* <p>
@ -3786,7 +3840,7 @@ public class AuditEvent extends DomainResource {
* Path: <b>AuditEvent.agent.policy</b><br>
* </p>
*/
@SearchParamDefinition(name="policy", path="AuditEvent.agent.policy", description="Policy that authorized event", type="uri", target={} )
@SearchParamDefinition(name="policy", path="AuditEvent.agent.policy", description="Policy that authorized event", type="uri" )
public static final String SP_POLICY = "policy";
/**
* <b>Fluent Client</b> search parameter constant for <b>policy</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -170,11 +170,11 @@ private Map<String, Object> userData;
}
public boolean equalsDeep(Base other) {
return other != null;
return other == this;
}
public boolean equalsShallow(Base other) {
return other != null;
return other == this;
}
public static boolean compareDeep(List<? extends Base> e1, List<? extends Base> e2, boolean allowNull) {
@ -495,6 +495,34 @@ private Map<String, Object> userData;
throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a Address");
}
public ContactDetail castToContactDetail(Base b) throws FHIRException {
if (b instanceof ContactDetail)
return (ContactDetail) b;
else
throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a ContactDetail");
}
public Contributor castToContributor(Base b) throws FHIRException {
if (b instanceof Contributor)
return (Contributor) b;
else
throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a Contributor");
}
public UsageContext castToUsageContext(Base b) throws FHIRException {
if (b instanceof UsageContext)
return (UsageContext) b;
else
throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a UsageContext");
}
public RelatedResource castToRelatedResource(Base b) throws FHIRException {
if (b instanceof RelatedResource)
return (RelatedResource) b;
else
throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a RelatedResource");
}
public ContactPoint castToContactPoint(Base b) throws FHIRException {
if (b instanceof ContactPoint)
return (ContactPoint) b;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -59,6 +59,7 @@ public class Basic extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="Kind of Resource", formalDefinition="Identifies the 'type' of resource - equivalent to the resource name for other resources." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/basic-resource-type")
protected CodeableConcept code;
/**
@ -474,7 +475,7 @@ public class Basic extends DomainResource {
* Path: <b>Basic.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Basic.identifier", description="Business identifier", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Basic.identifier", description="Business identifier", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -494,7 +495,7 @@ public class Basic extends DomainResource {
* Path: <b>Basic.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token", target={} )
@SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -540,7 +541,7 @@ public class Basic extends DomainResource {
* Path: <b>Basic.created</b><br>
* </p>
*/
@SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date", target={} )
@SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date" )
public static final String SP_CREATED = "created";
/**
* <b>Fluent Client</b> search parameter constant for <b>created</b>
@ -560,7 +561,7 @@ public class Basic extends DomainResource {
* Path: <b>Basic.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Basic.subject", description="Identifies the focus of this resource", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="Basic.subject", description="Identifies the focus of this resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -586,7 +587,7 @@ public class Basic extends DomainResource {
* Path: <b>Basic.author</b><br>
* </p>
*/
@SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference", target={Practitioner.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_AUTHOR = "author";
/**
* <b>Fluent Client</b> search parameter constant for <b>author</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -287,7 +287,7 @@ public class Binary extends BaseBinary implements IBaseBinary {
* Path: <b>Binary.contentType</b><br>
* </p>
*/
@SearchParamDefinition(name="contenttype", path="Binary.contentType", description="MimeType of the binary content", type="token", target={} )
@SearchParamDefinition(name="contenttype", path="Binary.contentType", description="MimeType of the binary content", type="token" )
public static final String SP_CONTENTTYPE = "contenttype";
/**
* <b>Fluent Client</b> search parameter constant for <b>contenttype</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -72,6 +72,7 @@ public class BodySite extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Named anatomical location", formalDefinition="Named anatomical location - ideally coded where possible." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site")
protected CodeableConcept code;
/**
@ -79,6 +80,7 @@ public class BodySite extends DomainResource {
*/
@Child(name = "modifier", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Modification to location code", formalDefinition="Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/bodysite-relative-location")
protected List<CodeableConcept> modifier;
/**
@ -569,7 +571,7 @@ public class BodySite extends DomainResource {
* Path: <b>BodySite.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="BodySite.identifier", description="Identifier for this instance of the anatomical location", type="token", target={} )
@SearchParamDefinition(name="identifier", path="BodySite.identifier", description="Identifier for this instance of the anatomical location", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -589,7 +591,7 @@ public class BodySite extends DomainResource {
* Path: <b>BodySite.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="BodySite.code", description="Named anatomical location", type="token", target={} )
@SearchParamDefinition(name="code", path="BodySite.code", description="Named anatomical location", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -609,7 +611,7 @@ public class BodySite extends DomainResource {
* Path: <b>BodySite.patient</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="BodySite.patient", description="Patient to whom bodysite belongs", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="BodySite.patient", description="Patient to whom bodysite belongs", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -1173,6 +1173,7 @@ public class Bundle extends Resource implements IBaseBundle {
*/
@Child(name = "mode", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="match | include | outcome - why this is in the result set", formalDefinition="Why this entry is in the result set - whether it's included as a match or because of an _include requirement." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-entry-mode")
protected Enumeration<SearchEntryMode> mode;
/**
@ -1415,6 +1416,7 @@ public class Bundle extends Resource implements IBaseBundle {
*/
@Child(name = "method", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="GET | POST | PUT | DELETE", formalDefinition="The HTTP verb for this entry in either a change history, or a transaction/ transaction response." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/http-verb")
protected Enumeration<HTTPVerb> method;
/**
@ -2282,6 +2284,7 @@ public class Bundle extends Resource implements IBaseBundle {
*/
@Child(name = "type", type = {CodeType.class}, order=0, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", formalDefinition="Indicates the purpose of this bundle- how it was intended to be used." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/bundle-type")
protected Enumeration<BundleType> type;
/**
@ -2759,7 +2762,7 @@ public class Bundle extends Resource implements IBaseBundle {
* Path: <b>Bundle.entry.resource(0)</b><br>
* </p>
*/
@SearchParamDefinition(name="composition", path="Bundle.entry.resource[0]", description="The first resource in the bundle, if the bundle type is \"document\" - this is a composition, and this parameter provides access to searches its contents", type="reference", target={Composition.class} )
@SearchParamDefinition(name="composition", path="Bundle.entry.resource[0]", description="The first resource in the bundle, if the bundle type is \"document\" - this is a composition, and this parameter provides access to searches its contents", type="reference" )
public static final String SP_COMPOSITION = "composition";
/**
* <b>Fluent Client</b> search parameter constant for <b>composition</b>
@ -2785,7 +2788,7 @@ public class Bundle extends Resource implements IBaseBundle {
* Path: <b>Bundle.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", type="token", target={} )
@SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -2805,7 +2808,7 @@ public class Bundle extends Resource implements IBaseBundle {
* Path: <b>Bundle.entry.resource(0)</b><br>
* </p>
*/
@SearchParamDefinition(name="message", path="Bundle.entry.resource[0]", description="The first resource in the bundle, if the bundle type is \"message\" - this is a message header, and this parameter provides access to search its contents", type="reference", target={MessageHeader.class} )
@SearchParamDefinition(name="message", path="Bundle.entry.resource[0]", description="The first resource in the bundle, if the bundle type is \"message\" - this is a message header, and this parameter provides access to search its contents", type="reference" )
public static final String SP_MESSAGE = "message";
/**
* <b>Fluent Client</b> search parameter constant for <b>message</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -453,6 +453,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "code", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="includes | replaces | fulfills", formalDefinition="Identifies the type of relationship this plan has to the target plan." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/care-plan-relationship")
protected Enumeration<CarePlanRelationship> code;
/**
@ -1051,6 +1052,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "category", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="diet | drug | encounter | observation | procedure | supply | other", formalDefinition="High-level categorization of the type of activity in a care plan." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/care-plan-activity-category")
protected CodeableConcept category;
/**
@ -1058,6 +1060,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Detail type of activity", formalDefinition="Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/care-plan-activity")
protected CodeableConcept code;
/**
@ -1065,6 +1068,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "reasonCode", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Why activity should be done", formalDefinition="Provides the rationale that drove the inclusion of this particular activity as part of the plan." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/activity-reason")
protected List<CodeableConcept> reasonCode;
/**
@ -1096,6 +1100,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=6, min=0, max=1, modifier=true, summary=false)
@Description(shortDefinition="not-started | scheduled | in-progress | on-hold | completed | cancelled", formalDefinition="Identifies what progress is being made for the specific activity." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/care-plan-activity-status")
protected Enumeration<CarePlanActivityStatus> status;
/**
@ -1103,6 +1108,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "statusReason", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Reason for current status", formalDefinition="Provides reason why the activity isn't yet started, is on hold, was cancelled, etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/goal-status-reason")
protected CodeableConcept statusReason;
/**
@ -1148,6 +1154,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "product", type = {CodeableConcept.class, Medication.class, Substance.class}, order=12, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="What is to be administered/supplied", formalDefinition="Identifies the food, drug or other product to be consumed or supplied in the activity." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-codes")
protected Type product;
/**
@ -2189,6 +2196,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=2, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="proposed | draft | active | completed | cancelled", formalDefinition="Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/care-plan-status")
protected Enumeration<CarePlanStatus> status;
/**
@ -2234,6 +2242,7 @@ public class CarePlan extends DomainResource {
*/
@Child(name = "category", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Type of plan", formalDefinition="Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/care-plan-category")
protected List<CodeableConcept> category;
/**
@ -3459,7 +3468,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.period</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="CarePlan.period", description="Time period plan covers", type="date", target={} )
@SearchParamDefinition(name="date", path="CarePlan.period", description="Time period plan covers", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -3479,7 +3488,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.activity.detail.code</b><br>
* </p>
*/
@SearchParamDefinition(name="activitycode", path="CarePlan.activity.detail.code", description="Detail type of activity", type="token", target={} )
@SearchParamDefinition(name="activitycode", path="CarePlan.activity.detail.code", description="Detail type of activity", type="token" )
public static final String SP_ACTIVITYCODE = "activitycode";
/**
* <b>Fluent Client</b> search parameter constant for <b>activitycode</b>
@ -3499,7 +3508,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.activity.detail.scheduled[x]</b><br>
* </p>
*/
@SearchParamDefinition(name="activitydate", path="CarePlan.activity.detail.scheduled", description="Specified date occurs within period specified by CarePlan.activity.timingSchedule", type="date", target={} )
@SearchParamDefinition(name="activitydate", path="CarePlan.activity.detail.scheduled", description="Specified date occurs within period specified by CarePlan.activity.timingSchedule", type="date" )
public static final String SP_ACTIVITYDATE = "activitydate";
/**
* <b>Fluent Client</b> search parameter constant for <b>activitydate</b>
@ -3519,7 +3528,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.activity.reference</b><br>
* </p>
*/
@SearchParamDefinition(name="activityreference", path="CarePlan.activity.reference", description="Activity details defined in specific resource", type="reference", target={Appointment.class, Order.class, ReferralRequest.class, ProcessRequest.class, NutritionOrder.class, VisionPrescription.class, DiagnosticOrder.class, ProcedureRequest.class, DeviceUseRequest.class, MedicationOrder.class, CommunicationRequest.class, SupplyRequest.class} )
@SearchParamDefinition(name="activityreference", path="CarePlan.activity.reference", description="Activity details defined in specific resource", type="reference" )
public static final String SP_ACTIVITYREFERENCE = "activityreference";
/**
* <b>Fluent Client</b> search parameter constant for <b>activityreference</b>
@ -3545,7 +3554,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.activity.detail.performer</b><br>
* </p>
*/
@SearchParamDefinition(name="performer", path="CarePlan.activity.detail.performer", description="Matches if the practitioner is listed as a performer in any of the \"simple\" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)", type="reference", target={Practitioner.class, Organization.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="performer", path="CarePlan.activity.detail.performer", description="Matches if the practitioner is listed as a performer in any of the \"simple\" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_PERFORMER = "performer";
/**
* <b>Fluent Client</b> search parameter constant for <b>performer</b>
@ -3571,7 +3580,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.goal</b><br>
* </p>
*/
@SearchParamDefinition(name="goal", path="CarePlan.goal", description="Desired outcome of plan", type="reference", target={Goal.class} )
@SearchParamDefinition(name="goal", path="CarePlan.goal", description="Desired outcome of plan", type="reference" )
public static final String SP_GOAL = "goal";
/**
* <b>Fluent Client</b> search parameter constant for <b>goal</b>
@ -3597,7 +3606,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="CarePlan.subject", description="Who care plan is for", type="reference", target={Group.class, Patient.class} )
@SearchParamDefinition(name="subject", path="CarePlan.subject", description="Who care plan is for", type="reference" )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -3623,7 +3632,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.relatedPlan.code</b><br>
* </p>
*/
@SearchParamDefinition(name="relatedcode", path="CarePlan.relatedPlan.code", description="includes | replaces | fulfills", type="token", target={} )
@SearchParamDefinition(name="relatedcode", path="CarePlan.relatedPlan.code", description="includes | replaces | fulfills", type="token" )
public static final String SP_RELATEDCODE = "relatedcode";
/**
* <b>Fluent Client</b> search parameter constant for <b>relatedcode</b>
@ -3643,7 +3652,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.careTeam</b><br>
* </p>
*/
@SearchParamDefinition(name="careteam", path="CarePlan.careTeam", description="Who's involved in plan?", type="reference", target={CareTeam.class} )
@SearchParamDefinition(name="careteam", path="CarePlan.careTeam", description="Who's involved in plan?", type="reference" )
public static final String SP_CARETEAM = "careteam";
/**
* <b>Fluent Client</b> search parameter constant for <b>careteam</b>
@ -3669,7 +3678,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.relatedPlan.plan</b><br>
* </p>
*/
@SearchParamDefinition(name="relatedplan", path="CarePlan.relatedPlan.plan", description="Plan relationship exists with", type="reference", target={CarePlan.class} )
@SearchParamDefinition(name="relatedplan", path="CarePlan.relatedPlan.plan", description="Plan relationship exists with", type="reference" )
public static final String SP_RELATEDPLAN = "relatedplan";
/**
* <b>Fluent Client</b> search parameter constant for <b>relatedplan</b>
@ -3695,7 +3704,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.addresses</b><br>
* </p>
*/
@SearchParamDefinition(name="condition", path="CarePlan.addresses", description="Health issues this plan addresses", type="reference", target={Condition.class} )
@SearchParamDefinition(name="condition", path="CarePlan.addresses", description="Health issues this plan addresses", type="reference" )
public static final String SP_CONDITION = "condition";
/**
* <b>Fluent Client</b> search parameter constant for <b>condition</b>
@ -3721,7 +3730,7 @@ public class CarePlan extends DomainResource {
* Path: <b></b><br>
* </p>
*/
@SearchParamDefinition(name="related", path="", description="A combination of the type of relationship and the related plan", type="composite", compositeOf={"relatedcode", "relatedplan"}, target={} )
@SearchParamDefinition(name="related", path="", description="A combination of the type of relationship and the related plan", type="composite", compositeOf={"relatedcode", "relatedplan"} )
public static final String SP_RELATED = "related";
/**
* <b>Fluent Client</b> search parameter constant for <b>related</b>
@ -3741,7 +3750,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="CarePlan.subject", description="Who care plan is for", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="CarePlan.subject", description="Who care plan is for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -3767,7 +3776,7 @@ public class CarePlan extends DomainResource {
* Path: <b>CarePlan.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="CarePlan.category", description="Type of plan", type="token", target={} )
@SearchParamDefinition(name="category", path="CarePlan.category", description="Type of plan", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -55,6 +55,7 @@ public class CareTeam extends DomainResource {
*/
@Child(name = "role", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Type of involvement", formalDefinition="Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participant-role")
protected CodeableConcept role;
/**
@ -911,7 +912,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.period</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="CareTeam.period", description="Time period team covers", type="date", target={} )
@SearchParamDefinition(name="date", path="CareTeam.period", description="Time period team covers", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -931,7 +932,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="CareTeam.identifier", description="External Ids for this team", type="token", target={} )
@SearchParamDefinition(name="identifier", path="CareTeam.identifier", description="External Ids for this team", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -951,7 +952,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="CareTeam.subject", description="Who care team is for", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="CareTeam.subject", description="Who care team is for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -977,7 +978,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="CareTeam.subject", description="Who care team is for", type="reference", target={Group.class, Patient.class} )
@SearchParamDefinition(name="subject", path="CareTeam.subject", description="Who care team is for", type="reference" )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -1003,7 +1004,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="CareTeam.type", description="Type of team", type="token", target={} )
@SearchParamDefinition(name="type", path="CareTeam.type", description="Type of team", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -1023,7 +1024,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.participant.member</b><br>
* </p>
*/
@SearchParamDefinition(name="participant", path="CareTeam.participant.member", description="Who is involved", type="reference", target={Practitioner.class, Organization.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="participant", path="CareTeam.participant.member", description="Who is involved", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_PARTICIPANT = "participant";
/**
* <b>Fluent Client</b> search parameter constant for <b>participant</b>
@ -1049,7 +1050,7 @@ public class CareTeam extends DomainResource {
* Path: <b>CareTeam.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="CareTeam.status", description="active | suspended | inactive | entered in error", type="token", target={} )
@SearchParamDefinition(name="status", path="CareTeam.status", description="active | suspended | inactive | entered in error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -161,6 +161,7 @@ public class ClinicalImpression extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="A name/code for the set", formalDefinition="A name/code for the group (\"set\") of investigations. Typically, this will be something like \"signs\", \"symptoms\", \"clinical\", \"diagnostic\", but the list is not constrained, and others such groups such as (exposure|family|travel|nutitirional) history may be used." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/investigation-sets")
protected CodeableConcept code;
/**
@ -392,6 +393,7 @@ public class ClinicalImpression extends DomainResource {
*/
@Child(name = "item", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Specific text or code for finding", formalDefinition="Specific text of code for finding or diagnosis." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code")
protected CodeableConcept item;
/**
@ -600,6 +602,7 @@ public class ClinicalImpression extends DomainResource {
*/
@Child(name = "item", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Specific text of code for diagnosis", formalDefinition="Specific text of code for diagnosis." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code")
protected CodeableConcept item;
/**
@ -830,6 +833,7 @@ public class ClinicalImpression extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=2, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="in-progress | completed | entered-in-error", formalDefinition="Identifies the workflow status of the assessment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-impression-status")
protected Enumeration<ClinicalImpressionStatus> status;
/**
@ -875,6 +879,7 @@ public class ClinicalImpression extends DomainResource {
*/
@Child(name = "trigger", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Request or event that necessitated this assessment", formalDefinition="The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-findings")
protected Type trigger;
/**
@ -910,6 +915,7 @@ public class ClinicalImpression extends DomainResource {
*/
@Child(name = "resolved", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Diagnoses/conditions resolved since previous assessment", formalDefinition="Diagnoses/conditions resolved since the last assessment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code")
protected List<CodeableConcept> resolved;
/**
@ -2177,7 +2183,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="ClinicalImpression.date", description="When the assessment occurred", type="date", target={} )
@SearchParamDefinition(name="date", path="ClinicalImpression.date", description="When the assessment occurred", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -2197,7 +2203,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.previous</b><br>
* </p>
*/
@SearchParamDefinition(name="previous", path="ClinicalImpression.previous", description="Reference to last assessment", type="reference", target={ClinicalImpression.class} )
@SearchParamDefinition(name="previous", path="ClinicalImpression.previous", description="Reference to last assessment", type="reference" )
public static final String SP_PREVIOUS = "previous";
/**
* <b>Fluent Client</b> search parameter constant for <b>previous</b>
@ -2223,7 +2229,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.assessor</b><br>
* </p>
*/
@SearchParamDefinition(name="assessor", path="ClinicalImpression.assessor", description="The clinician performing the assessment", type="reference", target={Practitioner.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="assessor", path="ClinicalImpression.assessor", description="The clinician performing the assessment", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_ASSESSOR = "assessor";
/**
* <b>Fluent Client</b> search parameter constant for <b>assessor</b>
@ -2275,7 +2281,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.finding.item</b><br>
* </p>
*/
@SearchParamDefinition(name="finding", path="ClinicalImpression.finding.item", description="Specific text or code for finding", type="token", target={} )
@SearchParamDefinition(name="finding", path="ClinicalImpression.finding.item", description="Specific text or code for finding", type="token" )
public static final String SP_FINDING = "finding";
/**
* <b>Fluent Client</b> search parameter constant for <b>finding</b>
@ -2295,7 +2301,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.ruledOut.item</b><br>
* </p>
*/
@SearchParamDefinition(name="ruledout", path="ClinicalImpression.ruledOut.item", description="Specific text of code for diagnosis", type="token", target={} )
@SearchParamDefinition(name="ruledout", path="ClinicalImpression.ruledOut.item", description="Specific text of code for diagnosis", type="token" )
public static final String SP_RULEDOUT = "ruledout";
/**
* <b>Fluent Client</b> search parameter constant for <b>ruledout</b>
@ -2315,7 +2321,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.problem</b><br>
* </p>
*/
@SearchParamDefinition(name="problem", path="ClinicalImpression.problem", description="General assessment of patient state", type="reference", target={Condition.class, AllergyIntolerance.class} )
@SearchParamDefinition(name="problem", path="ClinicalImpression.problem", description="General assessment of patient state", type="reference" )
public static final String SP_PROBLEM = "problem";
/**
* <b>Fluent Client</b> search parameter constant for <b>problem</b>
@ -2341,7 +2347,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.patient</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="ClinicalImpression.patient", description="The patient being assessed", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="ClinicalImpression.patient", description="The patient being assessed", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2367,7 +2373,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.investigations.item</b><br>
* </p>
*/
@SearchParamDefinition(name="investigation", path="ClinicalImpression.investigations.item", description="Record of a specific investigation", type="reference", target={FamilyMemberHistory.class, Observation.class, DiagnosticReport.class, QuestionnaireResponse.class} )
@SearchParamDefinition(name="investigation", path="ClinicalImpression.investigations.item", description="Record of a specific investigation", type="reference" )
public static final String SP_INVESTIGATION = "investigation";
/**
* <b>Fluent Client</b> search parameter constant for <b>investigation</b>
@ -2393,7 +2399,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.action</b><br>
* </p>
*/
@SearchParamDefinition(name="action", path="ClinicalImpression.action", description="Actions taken during assessment", type="reference", target={Appointment.class, ReferralRequest.class, NutritionOrder.class, ProcedureRequest.class, Procedure.class, DiagnosticOrder.class, MedicationOrder.class, SupplyRequest.class} )
@SearchParamDefinition(name="action", path="ClinicalImpression.action", description="Actions taken during assessment", type="reference" )
public static final String SP_ACTION = "action";
/**
* <b>Fluent Client</b> search parameter constant for <b>action</b>
@ -2419,7 +2425,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.triggerCodeableConcept</b><br>
* </p>
*/
@SearchParamDefinition(name="trigger-code", path="ClinicalImpression.trigger.as(CodeableConcept)", description="Request or event that necessitated this assessment", type="token", target={} )
@SearchParamDefinition(name="trigger-code", path="ClinicalImpression.trigger.as(CodeableConcept)", description="Request or event that necessitated this assessment", type="token" )
public static final String SP_TRIGGER_CODE = "trigger-code";
/**
* <b>Fluent Client</b> search parameter constant for <b>trigger-code</b>
@ -2439,7 +2445,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.plan</b><br>
* </p>
*/
@SearchParamDefinition(name="plan", path="ClinicalImpression.plan", description="Plan of action after assessment", type="reference", target={Appointment.class, Order.class, ReferralRequest.class, ProcessRequest.class, VisionPrescription.class, DiagnosticOrder.class, ProcedureRequest.class, DeviceUseRequest.class, SupplyRequest.class, CarePlan.class, NutritionOrder.class, MedicationOrder.class, CommunicationRequest.class} )
@SearchParamDefinition(name="plan", path="ClinicalImpression.plan", description="Plan of action after assessment", type="reference" )
public static final String SP_PLAN = "plan";
/**
* <b>Fluent Client</b> search parameter constant for <b>plan</b>
@ -2465,7 +2471,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.resolved</b><br>
* </p>
*/
@SearchParamDefinition(name="resolved", path="ClinicalImpression.resolved", description="Diagnoses/conditions resolved since previous assessment", type="token", target={} )
@SearchParamDefinition(name="resolved", path="ClinicalImpression.resolved", description="Diagnoses/conditions resolved since previous assessment", type="token" )
public static final String SP_RESOLVED = "resolved";
/**
* <b>Fluent Client</b> search parameter constant for <b>resolved</b>
@ -2485,7 +2491,7 @@ public class ClinicalImpression extends DomainResource {
* Path: <b>ClinicalImpression.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="ClinicalImpression.status", description="in-progress | completed | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="status", path="ClinicalImpression.status", description="in-progress | completed | entered-in-error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -579,6 +579,7 @@ public class CodeSystem extends BaseConformance {
*/
@Child(name = "operator", type = {CodeType.class}, order=3, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Operators that can be used with filter", formalDefinition="A list of operators that can be used with the filter." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/filter-operator")
protected List<CodeType> operator;
/**
@ -966,6 +967,7 @@ public class CodeSystem extends BaseConformance {
*/
@Child(name = "type", type = {CodeType.class}, order=4, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="code | Coding | string | integer | boolean | dateTime", formalDefinition="The type of the property value. Properties of type \"code\" contain a code defined by the code system (e.g. a reference to anotherr defined concept)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/concept-property-type")
protected Enumeration<PropertyType> type;
private static final long serialVersionUID = -1810713373L;
@ -1844,6 +1846,7 @@ public class CodeSystem extends BaseConformance {
*/
@Child(name = "use", type = {Coding.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Details how this designation would be used", formalDefinition="A code that details how this designation would be used." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/designation-use")
protected Coding use;
/**
@ -2483,6 +2486,7 @@ public class CodeSystem extends BaseConformance {
*/
@Child(name = "content", type = {CodeType.class}, order=11, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="not-present | examplar | fragment | complete", formalDefinition="How much of the content of the code system - the concepts and codes it defines - are represented in this resource." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/codesystem-content-mode")
protected Enumeration<CodeSystemContentMode> content;
/**
@ -3732,7 +3736,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="CodeSystem.date", description="The code system publication date", type="date", target={} )
@SearchParamDefinition(name="date", path="CodeSystem.date", description="The code system publication date", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -3752,7 +3756,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="CodeSystem.identifier", description="The identifier for the code system", type="token", target={} )
@SearchParamDefinition(name="identifier", path="CodeSystem.identifier", description="The identifier for the code system", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -3772,7 +3776,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.concept.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="CodeSystem.concept.code", description="A code defined in the code system", type="token", target={} )
@SearchParamDefinition(name="code", path="CodeSystem.concept.code", description="A code defined in the code system", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -3792,7 +3796,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.description</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="CodeSystem.description", description="Text search in the description of the code system", type="string", target={} )
@SearchParamDefinition(name="description", path="CodeSystem.description", description="Text search in the description of the code system", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -3812,7 +3816,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.concept.designation.language</b><br>
* </p>
*/
@SearchParamDefinition(name="language", path="CodeSystem.concept.designation.language", description="A language in which a designation is provided", type="token", target={} )
@SearchParamDefinition(name="language", path="CodeSystem.concept.designation.language", description="A language in which a designation is provided", type="token" )
public static final String SP_LANGUAGE = "language";
/**
* <b>Fluent Client</b> search parameter constant for <b>language</b>
@ -3832,7 +3836,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.version</b><br>
* </p>
*/
@SearchParamDefinition(name="version", path="CodeSystem.version", description="The version identifier of the code system", type="token", target={} )
@SearchParamDefinition(name="version", path="CodeSystem.version", description="The version identifier of the code system", type="token" )
public static final String SP_VERSION = "version";
/**
* <b>Fluent Client</b> search parameter constant for <b>version</b>
@ -3852,7 +3856,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.url</b><br>
* </p>
*/
@SearchParamDefinition(name="url", path="CodeSystem.url", description="The logical URL for the code system", type="uri", target={} )
@SearchParamDefinition(name="url", path="CodeSystem.url", description="The logical URL for the code system", type="uri" )
public static final String SP_URL = "url";
/**
* <b>Fluent Client</b> search parameter constant for <b>url</b>
@ -3872,7 +3876,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.content</b><br>
* </p>
*/
@SearchParamDefinition(name="content", path="CodeSystem.content", description="not-present | examplar | fragment | complete", type="token", target={} )
@SearchParamDefinition(name="content", path="CodeSystem.content", description="not-present | examplar | fragment | complete", type="token" )
public static final String SP_CONTENT = "content";
/**
* <b>Fluent Client</b> search parameter constant for <b>content</b>
@ -3892,7 +3896,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.url</b><br>
* </p>
*/
@SearchParamDefinition(name="system", path="CodeSystem.url", description="The system for any codes defined by this code system (same as 'url')", type="uri", target={} )
@SearchParamDefinition(name="system", path="CodeSystem.url", description="The system for any codes defined by this code system (same as 'url')", type="uri" )
public static final String SP_SYSTEM = "system";
/**
* <b>Fluent Client</b> search parameter constant for <b>system</b>
@ -3912,7 +3916,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.name</b><br>
* </p>
*/
@SearchParamDefinition(name="name", path="CodeSystem.name", description="The name of the code system", type="string", target={} )
@SearchParamDefinition(name="name", path="CodeSystem.name", description="The name of the code system", type="string" )
public static final String SP_NAME = "name";
/**
* <b>Fluent Client</b> search parameter constant for <b>name</b>
@ -3932,7 +3936,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.useContext</b><br>
* </p>
*/
@SearchParamDefinition(name="context", path="CodeSystem.useContext", description="A use context assigned to the code system", type="token", target={} )
@SearchParamDefinition(name="context", path="CodeSystem.useContext", description="A use context assigned to the code system", type="token" )
public static final String SP_CONTEXT = "context";
/**
* <b>Fluent Client</b> search parameter constant for <b>context</b>
@ -3952,7 +3956,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.publisher</b><br>
* </p>
*/
@SearchParamDefinition(name="publisher", path="CodeSystem.publisher", description="Name of the publisher of the code system", type="string", target={} )
@SearchParamDefinition(name="publisher", path="CodeSystem.publisher", description="Name of the publisher of the code system", type="string" )
public static final String SP_PUBLISHER = "publisher";
/**
* <b>Fluent Client</b> search parameter constant for <b>publisher</b>
@ -3972,7 +3976,7 @@ public class CodeSystem extends BaseConformance {
* Path: <b>CodeSystem.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="CodeSystem.status", description="The status of the code system", type="token", target={} )
@SearchParamDefinition(name="status", path="CodeSystem.status", description="The status of the code system", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -418,6 +418,7 @@ public class Communication extends DomainResource {
*/
@Child(name = "medium", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="A channel of communication", formalDefinition="A channel that was used for this communication (e.g. email, fax)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-ParticipationMode")
protected List<CodeableConcept> medium;
/**
@ -425,6 +426,7 @@ public class Communication extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=6, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="in-progress | completed | suspended | rejected | failed", formalDefinition="The status of the transmission." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/communication-status")
protected Enumeration<CommunicationStatus> status;
/**
@ -1390,7 +1392,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Communication.identifier", description="Unique identifier", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Communication.identifier", description="Unique identifier", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1410,7 +1412,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.requestDetail</b><br>
* </p>
*/
@SearchParamDefinition(name="request", path="Communication.requestDetail", description="CommunicationRequest producing this message", type="reference", target={CommunicationRequest.class} )
@SearchParamDefinition(name="request", path="Communication.requestDetail", description="CommunicationRequest producing this message", type="reference" )
public static final String SP_REQUEST = "request";
/**
* <b>Fluent Client</b> search parameter constant for <b>request</b>
@ -1436,7 +1438,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.sender</b><br>
* </p>
*/
@SearchParamDefinition(name="sender", path="Communication.sender", description="Message sender", type="reference", target={Practitioner.class, Organization.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="sender", path="Communication.sender", description="Message sender", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_SENDER = "sender";
/**
* <b>Fluent Client</b> search parameter constant for <b>sender</b>
@ -1462,7 +1464,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="Communication.subject", description="Focus of message", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="subject", path="Communication.subject", description="Focus of message", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -1488,7 +1490,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Communication.subject", description="Focus of message", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="Communication.subject", description="Focus of message", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1514,7 +1516,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.recipient</b><br>
* </p>
*/
@SearchParamDefinition(name="recipient", path="Communication.recipient", description="Message recipient", type="reference", target={Practitioner.class, Group.class, Organization.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="recipient", path="Communication.recipient", description="Message recipient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_RECIPIENT = "recipient";
/**
* <b>Fluent Client</b> search parameter constant for <b>recipient</b>
@ -1540,7 +1542,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.received</b><br>
* </p>
*/
@SearchParamDefinition(name="received", path="Communication.received", description="When received", type="date", target={} )
@SearchParamDefinition(name="received", path="Communication.received", description="When received", type="date" )
public static final String SP_RECEIVED = "received";
/**
* <b>Fluent Client</b> search parameter constant for <b>received</b>
@ -1560,7 +1562,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.medium</b><br>
* </p>
*/
@SearchParamDefinition(name="medium", path="Communication.medium", description="A channel of communication", type="token", target={} )
@SearchParamDefinition(name="medium", path="Communication.medium", description="A channel of communication", type="token" )
public static final String SP_MEDIUM = "medium";
/**
* <b>Fluent Client</b> search parameter constant for <b>medium</b>
@ -1580,7 +1582,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="Communication.encounter", description="Encounter leading to message", type="reference", target={Encounter.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
@SearchParamDefinition(name="encounter", path="Communication.encounter", description="Encounter leading to message", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -1606,7 +1608,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="Communication.category", description="Message category", type="token", target={} )
@SearchParamDefinition(name="category", path="Communication.category", description="Message category", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>
@ -1626,7 +1628,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.sent</b><br>
* </p>
*/
@SearchParamDefinition(name="sent", path="Communication.sent", description="When sent", type="date", target={} )
@SearchParamDefinition(name="sent", path="Communication.sent", description="When sent", type="date" )
public static final String SP_SENT = "sent";
/**
* <b>Fluent Client</b> search parameter constant for <b>sent</b>
@ -1646,7 +1648,7 @@ public class Communication extends DomainResource {
* Path: <b>Communication.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="Communication.status", description="in-progress | completed | suspended | rejected | failed", type="token", target={} )
@SearchParamDefinition(name="status", path="Communication.status", description="in-progress | completed | suspended | rejected | failed", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -498,6 +498,7 @@ public class CommunicationRequest extends DomainResource {
*/
@Child(name = "medium", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="A channel of communication", formalDefinition="A channel that was used for this communication (e.g. email, fax)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-ParticipationMode")
protected List<CodeableConcept> medium;
/**
@ -517,6 +518,7 @@ public class CommunicationRequest extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=7, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed", formalDefinition="The status of the proposal or order." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/communication-request-status")
protected Enumeration<CommunicationRequestStatus> status;
/**
@ -569,6 +571,7 @@ public class CommunicationRequest extends DomainResource {
*/
@Child(name = "priority", type = {CodeableConcept.class}, order=13, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Message urgency", formalDefinition="Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-order-priority")
protected CodeableConcept priority;
private static final long serialVersionUID = 146906020L;
@ -1509,7 +1512,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.requester</b><br>
* </p>
*/
@SearchParamDefinition(name="requester", path="CommunicationRequest.requester", description="An individual who requested a communication", type="reference", target={Practitioner.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="requester", path="CommunicationRequest.requester", description="An individual who requested a communication", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_REQUESTER = "requester";
/**
* <b>Fluent Client</b> search parameter constant for <b>requester</b>
@ -1535,7 +1538,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="CommunicationRequest.identifier", description="Unique identifier", type="token", target={} )
@SearchParamDefinition(name="identifier", path="CommunicationRequest.identifier", description="Unique identifier", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1555,7 +1558,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="CommunicationRequest.subject", description="Focus of message", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="subject", path="CommunicationRequest.subject", description="Focus of message", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -1581,7 +1584,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.medium</b><br>
* </p>
*/
@SearchParamDefinition(name="medium", path="CommunicationRequest.medium", description="A channel of communication", type="token", target={} )
@SearchParamDefinition(name="medium", path="CommunicationRequest.medium", description="A channel of communication", type="token" )
public static final String SP_MEDIUM = "medium";
/**
* <b>Fluent Client</b> search parameter constant for <b>medium</b>
@ -1601,7 +1604,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="CommunicationRequest.encounter", description="Encounter leading to message", type="reference", target={Encounter.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
@SearchParamDefinition(name="encounter", path="CommunicationRequest.encounter", description="Encounter leading to message", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -1627,7 +1630,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.priority</b><br>
* </p>
*/
@SearchParamDefinition(name="priority", path="CommunicationRequest.priority", description="Message urgency", type="token", target={} )
@SearchParamDefinition(name="priority", path="CommunicationRequest.priority", description="Message urgency", type="token" )
public static final String SP_PRIORITY = "priority";
/**
* <b>Fluent Client</b> search parameter constant for <b>priority</b>
@ -1647,7 +1650,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.requestedOn</b><br>
* </p>
*/
@SearchParamDefinition(name="requested", path="CommunicationRequest.requestedOn", description="When ordered or proposed", type="date", target={} )
@SearchParamDefinition(name="requested", path="CommunicationRequest.requestedOn", description="When ordered or proposed", type="date" )
public static final String SP_REQUESTED = "requested";
/**
* <b>Fluent Client</b> search parameter constant for <b>requested</b>
@ -1667,7 +1670,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.sender</b><br>
* </p>
*/
@SearchParamDefinition(name="sender", path="CommunicationRequest.sender", description="Message sender", type="reference", target={Practitioner.class, Organization.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="sender", path="CommunicationRequest.sender", description="Message sender", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_SENDER = "sender";
/**
* <b>Fluent Client</b> search parameter constant for <b>sender</b>
@ -1693,7 +1696,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="CommunicationRequest.subject", description="Focus of message", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="CommunicationRequest.subject", description="Focus of message", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1719,7 +1722,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.recipient</b><br>
* </p>
*/
@SearchParamDefinition(name="recipient", path="CommunicationRequest.recipient", description="Message recipient", type="reference", target={Practitioner.class, Group.class, Organization.class, CareTeam.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="recipient", path="CommunicationRequest.recipient", description="Message recipient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_RECIPIENT = "recipient";
/**
* <b>Fluent Client</b> search parameter constant for <b>recipient</b>
@ -1745,7 +1748,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.scheduledDateTime</b><br>
* </p>
*/
@SearchParamDefinition(name="time", path="CommunicationRequest.scheduled.as(DateTime)", description="When scheduled", type="date", target={} )
@SearchParamDefinition(name="time", path="CommunicationRequest.scheduled.as(DateTime)", description="When scheduled", type="date" )
public static final String SP_TIME = "time";
/**
* <b>Fluent Client</b> search parameter constant for <b>time</b>
@ -1765,7 +1768,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="CommunicationRequest.category", description="Message category", type="token", target={} )
@SearchParamDefinition(name="category", path="CommunicationRequest.category", description="Message category", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>
@ -1785,7 +1788,7 @@ public class CommunicationRequest extends DomainResource {
* Path: <b>CommunicationRequest.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="CommunicationRequest.status", description="proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed", type="token", target={} )
@SearchParamDefinition(name="status", path="CommunicationRequest.status", description="proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -427,6 +427,7 @@ public class CompartmentDefinition extends BaseConformance {
*/
@Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Name of resource type", formalDefinition="The name of a resource supported by the server." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types")
protected CodeType code;
/**
@ -775,6 +776,7 @@ public class CompartmentDefinition extends BaseConformance {
*/
@Child(name = "code", type = {CodeType.class}, order=5, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Patient | Encounter | RelatedPerson | Practitioner | Device", formalDefinition="Which compartment this definition describes." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/compartment-type")
protected Enumeration<CompartmentType> code;
/**
@ -1493,7 +1495,7 @@ public class CompartmentDefinition extends BaseConformance {
* Path: <b>CompartmentDefinition.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="CompartmentDefinition.date", description="Publication Date(/time)", type="date", target={} )
@SearchParamDefinition(name="date", path="CompartmentDefinition.date", description="Publication Date(/time)", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -1513,7 +1515,7 @@ public class CompartmentDefinition extends BaseConformance {
* Path: <b>CompartmentDefinition.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="CompartmentDefinition.code", description="Patient | Encounter | RelatedPerson | Practitioner | Device", type="token", target={} )
@SearchParamDefinition(name="code", path="CompartmentDefinition.code", description="Patient | Encounter | RelatedPerson | Practitioner | Device", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -1533,7 +1535,7 @@ public class CompartmentDefinition extends BaseConformance {
* Path: <b>CompartmentDefinition.resource.code</b><br>
* </p>
*/
@SearchParamDefinition(name="resource", path="CompartmentDefinition.resource.code", description="Name of resource type", type="token", target={} )
@SearchParamDefinition(name="resource", path="CompartmentDefinition.resource.code", description="Name of resource type", type="token" )
public static final String SP_RESOURCE = "resource";
/**
* <b>Fluent Client</b> search parameter constant for <b>resource</b>
@ -1553,7 +1555,7 @@ public class CompartmentDefinition extends BaseConformance {
* Path: <b>CompartmentDefinition.name</b><br>
* </p>
*/
@SearchParamDefinition(name="name", path="CompartmentDefinition.name", description="Informal name for this compartment definition", type="string", target={} )
@SearchParamDefinition(name="name", path="CompartmentDefinition.name", description="Informal name for this compartment definition", type="string" )
public static final String SP_NAME = "name";
/**
* <b>Fluent Client</b> search parameter constant for <b>name</b>
@ -1573,7 +1575,7 @@ public class CompartmentDefinition extends BaseConformance {
* Path: <b>CompartmentDefinition.url</b><br>
* </p>
*/
@SearchParamDefinition(name="url", path="CompartmentDefinition.url", description="Absolute URL used to reference this compartment definition", type="uri", target={} )
@SearchParamDefinition(name="url", path="CompartmentDefinition.url", description="Absolute URL used to reference this compartment definition", type="uri" )
public static final String SP_URL = "url";
/**
* <b>Fluent Client</b> search parameter constant for <b>url</b>
@ -1593,7 +1595,7 @@ public class CompartmentDefinition extends BaseConformance {
* Path: <b>CompartmentDefinition.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="CompartmentDefinition.status", description="draft | active | retired", type="token", target={} )
@SearchParamDefinition(name="status", path="CompartmentDefinition.status", description="draft | active | retired", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -299,6 +299,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="personal | professional | legal | official", formalDefinition="The type of attestation the authenticator offers." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/composition-attestation-mode")
protected List<Enumeration<CompositionAttestationMode>> mode;
/**
@ -604,6 +605,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Code(s) that apply to the event being documented", formalDefinition="This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-ActCode")
protected List<CodeableConcept> code;
/**
@ -911,6 +913,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Classification of section (recommended)", formalDefinition="A code identifying the kind of content contained within the section. This must be consistent with the section title." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/doc-section-codes")
protected CodeableConcept code;
/**
@ -925,6 +928,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "mode", type = {CodeType.class}, order=4, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="working | snapshot | changes", formalDefinition="How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-mode")
protected CodeType mode;
/**
@ -932,6 +936,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "orderedBy", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Order of section entries", formalDefinition="Specifies the order applied to the items in the section entries." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-order")
protected CodeableConcept orderedBy;
/**
@ -951,6 +956,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "emptyReason", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Why the section is empty", formalDefinition="If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/list-empty-reason")
protected CodeableConcept emptyReason;
/**
@ -1486,6 +1492,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Kind of composition (LOINC if possible)", formalDefinition="Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/doc-typecodes")
protected CodeableConcept type;
/**
@ -1493,6 +1500,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "class", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Categorization of Composition", formalDefinition="A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/doc-classcodes")
protected CodeableConcept class_;
/**
@ -1507,6 +1515,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="preliminary | final | amended | entered-in-error", formalDefinition="The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/composition-status")
protected Enumeration<CompositionStatus> status;
/**
@ -1514,6 +1523,7 @@ public class Composition extends DomainResource {
*/
@Child(name = "confidentiality", type = {CodeType.class}, order=6, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="As defined by affinity domain", formalDefinition="The code specifying the level of confidentiality of the Composition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-ConfidentialityClassification")
protected CodeType confidentiality;
/**
@ -2501,7 +2511,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="Composition.date", description="Composition editing time", type="date", target={} )
@SearchParamDefinition(name="date", path="Composition.date", description="Composition editing time", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -2521,7 +2531,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Composition.identifier", description="Logical identifier of composition (version-independent)", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Composition.identifier", description="Logical identifier of composition (version-independent)", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -2541,7 +2551,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.event.period</b><br>
* </p>
*/
@SearchParamDefinition(name="period", path="Composition.event.period", description="The period covered by the documentation", type="date", target={} )
@SearchParamDefinition(name="period", path="Composition.event.period", description="The period covered by the documentation", type="date" )
public static final String SP_PERIOD = "period";
/**
* <b>Fluent Client</b> search parameter constant for <b>period</b>
@ -2587,7 +2597,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.author</b><br>
* </p>
*/
@SearchParamDefinition(name="author", path="Composition.author", description="Who and/or what authored the composition", type="reference", target={Practitioner.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="author", path="Composition.author", description="Who and/or what authored the composition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_AUTHOR = "author";
/**
* <b>Fluent Client</b> search parameter constant for <b>author</b>
@ -2613,7 +2623,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.confidentiality</b><br>
* </p>
*/
@SearchParamDefinition(name="confidentiality", path="Composition.confidentiality", description="As defined by affinity domain", type="token", target={} )
@SearchParamDefinition(name="confidentiality", path="Composition.confidentiality", description="As defined by affinity domain", type="token" )
public static final String SP_CONFIDENTIALITY = "confidentiality";
/**
* <b>Fluent Client</b> search parameter constant for <b>confidentiality</b>
@ -2633,7 +2643,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.section.code</b><br>
* </p>
*/
@SearchParamDefinition(name="section", path="Composition.section.code", description="Classification of section (recommended)", type="token", target={} )
@SearchParamDefinition(name="section", path="Composition.section.code", description="Classification of section (recommended)", type="token" )
public static final String SP_SECTION = "section";
/**
* <b>Fluent Client</b> search parameter constant for <b>section</b>
@ -2653,7 +2663,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="Composition.encounter", description="Context of the Composition", type="reference", target={Encounter.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
@SearchParamDefinition(name="encounter", path="Composition.encounter", description="Context of the Composition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -2679,7 +2689,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="Composition.type", description="Kind of composition (LOINC if possible)", type="token", target={} )
@SearchParamDefinition(name="type", path="Composition.type", description="Kind of composition (LOINC if possible)", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -2699,7 +2709,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.title</b><br>
* </p>
*/
@SearchParamDefinition(name="title", path="Composition.title", description="Human Readable name/title", type="string", target={} )
@SearchParamDefinition(name="title", path="Composition.title", description="Human Readable name/title", type="string" )
public static final String SP_TITLE = "title";
/**
* <b>Fluent Client</b> search parameter constant for <b>title</b>
@ -2719,7 +2729,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.attester.party</b><br>
* </p>
*/
@SearchParamDefinition(name="attester", path="Composition.attester.party", description="Who attested the composition", type="reference", target={Practitioner.class, Organization.class, Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="attester", path="Composition.attester.party", description="Who attested the composition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_ATTESTER = "attester";
/**
* <b>Fluent Client</b> search parameter constant for <b>attester</b>
@ -2771,7 +2781,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Composition.subject", description="Who and/or what the composition is about", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="Composition.subject", description="Who and/or what the composition is about", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2797,7 +2807,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.event.code</b><br>
* </p>
*/
@SearchParamDefinition(name="context", path="Composition.event.code", description="Code(s) that apply to the event being documented", type="token", target={} )
@SearchParamDefinition(name="context", path="Composition.event.code", description="Code(s) that apply to the event being documented", type="token" )
public static final String SP_CONTEXT = "context";
/**
* <b>Fluent Client</b> search parameter constant for <b>context</b>
@ -2817,7 +2827,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.class</b><br>
* </p>
*/
@SearchParamDefinition(name="class", path="Composition.class", description="Categorization of Composition", type="token", target={} )
@SearchParamDefinition(name="class", path="Composition.class", description="Categorization of Composition", type="token" )
public static final String SP_CLASS = "class";
/**
* <b>Fluent Client</b> search parameter constant for <b>class</b>
@ -2837,7 +2847,7 @@ public class Composition extends DomainResource {
* Path: <b>Composition.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="Composition.status", description="preliminary | final | amended | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="status", path="Composition.status", description="preliminary | final | amended | entered-in-error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -209,6 +209,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "summary", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Simple summary (disease specific)", formalDefinition="A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-stage")
protected CodeableConcept summary;
/**
@ -432,6 +433,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Manifestation/symptom", formalDefinition="A manifestation or symptom that led to the recording of this condition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/manifestation-or-symptom")
protected CodeableConcept code;
/**
@ -703,6 +705,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=5, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Identification of the condition, problem or diagnosis", formalDefinition="Identification of the condition, problem or diagnosis." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code")
protected CodeableConcept code;
/**
@ -710,6 +713,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "category", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="complaint | symptom | finding | diagnosis", formalDefinition="A category assigned to the condition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-category")
protected CodeableConcept category;
/**
@ -717,6 +721,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "clinicalStatus", type = {CodeType.class}, order=7, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="active | relapse | remission | resolved", formalDefinition="The clinical status of the condition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-clinical")
protected CodeType clinicalStatus;
/**
@ -724,6 +729,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "verificationStatus", type = {CodeType.class}, order=8, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="provisional | differential | confirmed | refuted | entered-in-error | unknown", formalDefinition="The verification status to support the clinical status of the condition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-ver-status")
protected Enumeration<ConditionVerificationStatus> verificationStatus;
/**
@ -731,6 +737,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "severity", type = {CodeableConcept.class}, order=9, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Subjective severity of condition", formalDefinition="A subjective assessment of the severity of the condition as evaluated by the clinician." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-severity")
protected CodeableConcept severity;
/**
@ -766,6 +773,7 @@ public class Condition extends DomainResource {
*/
@Child(name = "bodySite", type = {CodeableConcept.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Anatomical location, if relevant", formalDefinition="The anatomical location where this condition manifests itself." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site")
protected List<CodeableConcept> bodySite;
/**
@ -1907,7 +1915,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.severity</b><br>
* </p>
*/
@SearchParamDefinition(name="severity", path="Condition.severity", description="The severity of the condition", type="token", target={} )
@SearchParamDefinition(name="severity", path="Condition.severity", description="The severity of the condition", type="token" )
public static final String SP_SEVERITY = "severity";
/**
* <b>Fluent Client</b> search parameter constant for <b>severity</b>
@ -1927,7 +1935,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Condition.identifier", description="A unique identifier of the condition record", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Condition.identifier", description="A unique identifier of the condition record", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1947,7 +1955,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.clinicalStatus</b><br>
* </p>
*/
@SearchParamDefinition(name="clinicalstatus", path="Condition.clinicalStatus", description="The clinical status of the condition", type="token", target={} )
@SearchParamDefinition(name="clinicalstatus", path="Condition.clinicalStatus", description="The clinical status of the condition", type="token" )
public static final String SP_CLINICALSTATUS = "clinicalstatus";
/**
* <b>Fluent Client</b> search parameter constant for <b>clinicalstatus</b>
@ -1967,7 +1975,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.onset[x]</b><br>
* </p>
*/
@SearchParamDefinition(name="onset-info", path="Condition.onset.as(boolean) | Condition.onset.as(Quantity) | Condition.onset.as(Range) | Condition.onset.as(string)", description="Other onsets (boolean, age, range, string)", type="string", target={} )
@SearchParamDefinition(name="onset-info", path="Condition.onset.as(boolean) | Condition.onset.as(Quantity) | Condition.onset.as(Range) | Condition.onset.as(string)", description="Other onsets (boolean, age, range, string)", type="string" )
public static final String SP_ONSET_INFO = "onset-info";
/**
* <b>Fluent Client</b> search parameter constant for <b>onset-info</b>
@ -1987,7 +1995,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="Condition.code", description="Code for the condition", type="token", target={} )
@SearchParamDefinition(name="code", path="Condition.code", description="Code for the condition", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -2007,7 +2015,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.evidence.code</b><br>
* </p>
*/
@SearchParamDefinition(name="evidence", path="Condition.evidence.code", description="Manifestation/symptom", type="token", target={} )
@SearchParamDefinition(name="evidence", path="Condition.evidence.code", description="Manifestation/symptom", type="token" )
public static final String SP_EVIDENCE = "evidence";
/**
* <b>Fluent Client</b> search parameter constant for <b>evidence</b>
@ -2027,7 +2035,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="Condition.encounter", description="Encounter when condition first asserted", type="reference", target={Encounter.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
@SearchParamDefinition(name="encounter", path="Condition.encounter", description="Encounter when condition first asserted", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -2053,7 +2061,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.onset[x]</b><br>
* </p>
*/
@SearchParamDefinition(name="onset", path="Condition.onset.as(dateTime) | Condition.onset.as(Period)", description="Date related onsets (dateTime and Period)", type="date", target={} )
@SearchParamDefinition(name="onset", path="Condition.onset.as(dateTime) | Condition.onset.as(Period)", description="Date related onsets (dateTime and Period)", type="date" )
public static final String SP_ONSET = "onset";
/**
* <b>Fluent Client</b> search parameter constant for <b>onset</b>
@ -2073,7 +2081,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.asserter</b><br>
* </p>
*/
@SearchParamDefinition(name="asserter", path="Condition.asserter", description="Person who asserts this condition", type="reference", target={Practitioner.class, Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="asserter", path="Condition.asserter", description="Person who asserts this condition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_ASSERTER = "asserter";
/**
* <b>Fluent Client</b> search parameter constant for <b>asserter</b>
@ -2099,7 +2107,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.dateRecorded</b><br>
* </p>
*/
@SearchParamDefinition(name="date-recorded", path="Condition.dateRecorded", description="A date, when the Condition statement was documented", type="date", target={} )
@SearchParamDefinition(name="date-recorded", path="Condition.dateRecorded", description="A date, when the Condition statement was documented", type="date" )
public static final String SP_DATE_RECORDED = "date-recorded";
/**
* <b>Fluent Client</b> search parameter constant for <b>date-recorded</b>
@ -2119,7 +2127,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.stage.summary</b><br>
* </p>
*/
@SearchParamDefinition(name="stage", path="Condition.stage.summary", description="Simple summary (disease specific)", type="token", target={} )
@SearchParamDefinition(name="stage", path="Condition.stage.summary", description="Simple summary (disease specific)", type="token" )
public static final String SP_STAGE = "stage";
/**
* <b>Fluent Client</b> search parameter constant for <b>stage</b>
@ -2139,7 +2147,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.patient</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Condition.patient", description="Who has the condition?", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="Condition.patient", description="Who has the condition?", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2165,7 +2173,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="Condition.category", description="The category of the condition", type="token", target={} )
@SearchParamDefinition(name="category", path="Condition.category", description="The category of the condition", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>
@ -2185,7 +2193,7 @@ public class Condition extends DomainResource {
* Path: <b>Condition.bodySite</b><br>
* </p>
*/
@SearchParamDefinition(name="body-site", path="Condition.bodySite", description="Anatomical location, if relevant", type="token", target={} )
@SearchParamDefinition(name="body-site", path="Condition.bodySite", description="Anatomical location, if relevant", type="token" )
public static final String SP_BODY_SITE = "body-site";
/**
* <b>Fluent Client</b> search parameter constant for <b>body-site</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -2264,6 +2264,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="client | server", formalDefinition="Identifies whether this portion of the statement is describing ability to initiate or receive restful operations." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/restful-conformance-mode")
protected Enumeration<RestfulConformanceMode> mode;
/**
@ -2299,6 +2300,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "transactionMode", type = {CodeType.class}, order=6, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="not-supported | batch | transaction | both", formalDefinition="A code that indicates how transactions are supported." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/transaction-mode")
protected Enumeration<TransactionMode> transactionMode;
/**
@ -3004,6 +3006,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "service", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates", formalDefinition="Types of security services are supported/required by the system." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/restful-security-service")
protected List<CodeableConcept> service;
/**
@ -3595,6 +3598,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="A resource type that is supported", formalDefinition="A type of resource exposed via the restful interface." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types")
protected CodeType type;
/**
@ -3621,6 +3625,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "versioning", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="no-version | versioned | versioned-update", formalDefinition="This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/versioning-policy")
protected Enumeration<ResourceVersionPolicy> versioning;
/**
@ -3656,6 +3661,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "conditionalDelete", type = {CodeType.class}, order=9, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="not-supported | single | multiple - how conditional delete is supported", formalDefinition="A code that indicates how the server supports conditional delete." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/conditional-delete-status")
protected Enumeration<ConditionalDeleteStatus> conditionalDelete;
/**
@ -4547,6 +4553,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="read | vread | update | delete | history-instance | history-type | create | search-type", formalDefinition="Coded identifier of the operation, supported by the system resource." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/type-restful-interaction")
protected Enumeration<TypeRestfulInteraction> code;
/**
@ -4789,6 +4796,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "type", type = {CodeType.class}, order=3, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="number | date | string | token | reference | composite | quantity | uri", formalDefinition="The type of value a search parameter refers to, and how the content is interpreted." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-param-type")
protected Enumeration<SearchParamType> type;
/**
@ -4803,6 +4811,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "target", type = {CodeType.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Types of resource (if a resource reference)", formalDefinition="Types of resource (if a resource is referenced)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types")
protected List<CodeType> target;
/**
@ -4810,6 +4819,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "modifier", type = {CodeType.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="missing | exact | contains | not | text | in | not-in | below | above | type", formalDefinition="A modifier supported for the search parameter." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-modifier-code")
protected List<Enumeration<SearchModifierCode>> modifier;
/**
@ -5393,6 +5403,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="transaction | search-system | history-system", formalDefinition="A coded identifier of the operation, supported by the system." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/system-restful-interaction")
protected Enumeration<SystemRestfulInteraction> code;
/**
@ -6226,6 +6237,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "protocol", type = {Coding.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="http | ftp | mllp +", formalDefinition="A list of the messaging transport protocol(s) identifiers, supported by this endpoint." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/message-transport")
protected Coding protocol;
/**
@ -6431,6 +6443,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "code", type = {Coding.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Event type", formalDefinition="A coded identifier of a supported messaging event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/message-events")
protected Coding code;
/**
@ -6438,6 +6451,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "category", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Consequence | Currency | Notification", formalDefinition="The impact of the content of the message." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/message-significance-category")
protected Enumeration<MessageSignificanceCategory> category;
/**
@ -6445,6 +6459,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "mode", type = {CodeType.class}, order=3, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="sender | receiver", formalDefinition="The mode of this event declaration - whether application is sender or receiver." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/message-conformance-event-mode")
protected Enumeration<ConformanceEventMode> mode;
/**
@ -6452,6 +6467,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "focus", type = {CodeType.class}, order=4, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Resource that's focus of message", formalDefinition="A resource associated with the event. This is the resource that defines the event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types")
protected CodeType focus;
/**
@ -6981,6 +6997,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="producer | consumer", formalDefinition="Mode of this document declaration - whether application is producer or consumer." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-mode")
protected Enumeration<DocumentMode> mode;
/**
@ -7321,6 +7338,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "kind", type = {CodeType.class}, order=6, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="instance | capability | requirements", formalDefinition="The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase)." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/conformance-statement-kind")
protected Enumeration<ConformanceStatementKind> kind;
/**
@ -7349,6 +7367,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
*/
@Child(name = "acceptUnknown", type = {CodeType.class}, order=10, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="no | extensions | elements | both", formalDefinition="A code that indicates whether the application accepts unknown elements or extensions when reading resources." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/unknown-content-code")
protected Enumeration<UnknownContentCode> acceptUnknown;
/**
@ -8637,7 +8656,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="Conformance.date", description="The conformance statement publication date", type="date", target={} )
@SearchParamDefinition(name="date", path="Conformance.date", description="The conformance statement publication date", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -8657,7 +8676,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.software.name</b><br>
* </p>
*/
@SearchParamDefinition(name="software", path="Conformance.software.name", description="Part of a the name of a software application", type="string", target={} )
@SearchParamDefinition(name="software", path="Conformance.software.name", description="Part of a the name of a software application", type="string" )
public static final String SP_SOFTWARE = "software";
/**
* <b>Fluent Client</b> search parameter constant for <b>software</b>
@ -8677,7 +8696,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.rest.resource.type</b><br>
* </p>
*/
@SearchParamDefinition(name="resource", path="Conformance.rest.resource.type", description="Name of a resource mentioned in a conformance statement", type="token", target={} )
@SearchParamDefinition(name="resource", path="Conformance.rest.resource.type", description="Name of a resource mentioned in a conformance statement", type="token" )
public static final String SP_RESOURCE = "resource";
/**
* <b>Fluent Client</b> search parameter constant for <b>resource</b>
@ -8697,7 +8716,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.format</b><br>
* </p>
*/
@SearchParamDefinition(name="format", path="Conformance.format", description="formats supported (xml | json | mime type)", type="token", target={} )
@SearchParamDefinition(name="format", path="Conformance.format", description="formats supported (xml | json | mime type)", type="token" )
public static final String SP_FORMAT = "format";
/**
* <b>Fluent Client</b> search parameter constant for <b>format</b>
@ -8717,7 +8736,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.description</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="Conformance.description", description="Text search in the description of the conformance statement", type="string", target={} )
@SearchParamDefinition(name="description", path="Conformance.description", description="Text search in the description of the conformance statement", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -8737,7 +8756,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.version</b><br>
* </p>
*/
@SearchParamDefinition(name="fhirversion", path="Conformance.version", description="The version of FHIR", type="token", target={} )
@SearchParamDefinition(name="fhirversion", path="Conformance.version", description="The version of FHIR", type="token" )
public static final String SP_FHIRVERSION = "fhirversion";
/**
* <b>Fluent Client</b> search parameter constant for <b>fhirversion</b>
@ -8757,7 +8776,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.version</b><br>
* </p>
*/
@SearchParamDefinition(name="version", path="Conformance.version", description="The version identifier of the conformance statement", type="token", target={} )
@SearchParamDefinition(name="version", path="Conformance.version", description="The version identifier of the conformance statement", type="token" )
public static final String SP_VERSION = "version";
/**
* <b>Fluent Client</b> search parameter constant for <b>version</b>
@ -8777,7 +8796,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.rest.security.service</b><br>
* </p>
*/
@SearchParamDefinition(name="securityservice", path="Conformance.rest.security.service", description="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates", type="token", target={} )
@SearchParamDefinition(name="securityservice", path="Conformance.rest.security.service", description="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates", type="token" )
public static final String SP_SECURITYSERVICE = "securityservice";
/**
* <b>Fluent Client</b> search parameter constant for <b>securityservice</b>
@ -8797,7 +8816,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.url</b><br>
* </p>
*/
@SearchParamDefinition(name="url", path="Conformance.url", description="The uri that identifies the conformance statement", type="uri", target={} )
@SearchParamDefinition(name="url", path="Conformance.url", description="The uri that identifies the conformance statement", type="uri" )
public static final String SP_URL = "url";
/**
* <b>Fluent Client</b> search parameter constant for <b>url</b>
@ -8817,7 +8836,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.profile</b><br>
* </p>
*/
@SearchParamDefinition(name="supported-profile", path="Conformance.profile", description="Profiles for use cases supported", type="reference", target={StructureDefinition.class} )
@SearchParamDefinition(name="supported-profile", path="Conformance.profile", description="Profiles for use cases supported", type="reference" )
public static final String SP_SUPPORTED_PROFILE = "supported-profile";
/**
* <b>Fluent Client</b> search parameter constant for <b>supported-profile</b>
@ -8843,7 +8862,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.rest.mode</b><br>
* </p>
*/
@SearchParamDefinition(name="mode", path="Conformance.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token", target={} )
@SearchParamDefinition(name="mode", path="Conformance.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" )
public static final String SP_MODE = "mode";
/**
* <b>Fluent Client</b> search parameter constant for <b>mode</b>
@ -8863,7 +8882,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.rest.resource.profile</b><br>
* </p>
*/
@SearchParamDefinition(name="resourceprofile", path="Conformance.rest.resource.profile", description="A profile id invoked in a conformance statement", type="reference", target={StructureDefinition.class} )
@SearchParamDefinition(name="resourceprofile", path="Conformance.rest.resource.profile", description="A profile id invoked in a conformance statement", type="reference" )
public static final String SP_RESOURCEPROFILE = "resourceprofile";
/**
* <b>Fluent Client</b> search parameter constant for <b>resourceprofile</b>
@ -8889,7 +8908,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.name</b><br>
* </p>
*/
@SearchParamDefinition(name="name", path="Conformance.name", description="Name of the conformance statement", type="string", target={} )
@SearchParamDefinition(name="name", path="Conformance.name", description="Name of the conformance statement", type="string" )
public static final String SP_NAME = "name";
/**
* <b>Fluent Client</b> search parameter constant for <b>name</b>
@ -8909,7 +8928,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.useContext</b><br>
* </p>
*/
@SearchParamDefinition(name="context", path="Conformance.useContext", description="A use context assigned to the conformance statement", type="token", target={} )
@SearchParamDefinition(name="context", path="Conformance.useContext", description="A use context assigned to the conformance statement", type="token" )
public static final String SP_CONTEXT = "context";
/**
* <b>Fluent Client</b> search parameter constant for <b>context</b>
@ -8929,7 +8948,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.publisher</b><br>
* </p>
*/
@SearchParamDefinition(name="publisher", path="Conformance.publisher", description="Name of the publisher of the conformance statement", type="string", target={} )
@SearchParamDefinition(name="publisher", path="Conformance.publisher", description="Name of the publisher of the conformance statement", type="string" )
public static final String SP_PUBLISHER = "publisher";
/**
* <b>Fluent Client</b> search parameter constant for <b>publisher</b>
@ -8949,7 +8968,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.messaging.event.code</b><br>
* </p>
*/
@SearchParamDefinition(name="event", path="Conformance.messaging.event.code", description="Event code in a conformance statement", type="token", target={} )
@SearchParamDefinition(name="event", path="Conformance.messaging.event.code", description="Event code in a conformance statement", type="token" )
public static final String SP_EVENT = "event";
/**
* <b>Fluent Client</b> search parameter constant for <b>event</b>
@ -8969,7 +8988,7 @@ public class Conformance extends BaseConformance implements IBaseConformance {
* Path: <b>Conformance.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="Conformance.status", description="The current status of the conformance statement", type="token", target={} )
@SearchParamDefinition(name="status", path="Conformance.status", description="The current status of the conformance statement", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -0,0 +1,284 @@
package org.hl7.fhir.dstu3.model;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of HL7 nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.dstu3.exceptions.FHIRException;
/**
* Specifies contact information for a person or organization.
*/
@DatatypeDef(name="ContactDetail")
public class ContactDetail extends Type implements ICompositeType {
/**
* The name of an individual to contact.
*/
@Child(name = "name", type = {StringType.class}, order=0, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Name of an individual to contact", formalDefinition="The name of an individual to contact." )
protected StringType name;
/**
* The contact details for the individual (if a name was provided) or the organization.
*/
@Child(name = "telecom", type = {ContactPoint.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Contact details for individual or organization", formalDefinition="The contact details for the individual (if a name was provided) or the organization." )
protected List<ContactPoint> telecom;
private static final long serialVersionUID = 816838773L;
/**
* Constructor
*/
public ContactDetail() {
super();
}
/**
* @return {@link #name} (The name of an individual to contact.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/
public StringType getNameElement() {
if (this.name == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create ContactDetail.name");
else if (Configuration.doAutoCreate())
this.name = new StringType(); // bb
return this.name;
}
public boolean hasNameElement() {
return this.name != null && !this.name.isEmpty();
}
public boolean hasName() {
return this.name != null && !this.name.isEmpty();
}
/**
* @param value {@link #name} (The name of an individual to contact.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/
public ContactDetail setNameElement(StringType value) {
this.name = value;
return this;
}
/**
* @return The name of an individual to contact.
*/
public String getName() {
return this.name == null ? null : this.name.getValue();
}
/**
* @param value The name of an individual to contact.
*/
public ContactDetail setName(String value) {
if (Utilities.noString(value))
this.name = null;
else {
if (this.name == null)
this.name = new StringType();
this.name.setValue(value);
}
return this;
}
/**
* @return {@link #telecom} (The contact details for the individual (if a name was provided) or the organization.)
*/
public List<ContactPoint> getTelecom() {
if (this.telecom == null)
this.telecom = new ArrayList<ContactPoint>();
return this.telecom;
}
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public ContactDetail setTelecom(List<ContactPoint> theTelecom) {
this.telecom = theTelecom;
return this;
}
public boolean hasTelecom() {
if (this.telecom == null)
return false;
for (ContactPoint item : this.telecom)
if (!item.isEmpty())
return true;
return false;
}
public ContactPoint addTelecom() { //3
ContactPoint t = new ContactPoint();
if (this.telecom == null)
this.telecom = new ArrayList<ContactPoint>();
this.telecom.add(t);
return t;
}
public ContactDetail addTelecom(ContactPoint t) { //3
if (t == null)
return this;
if (this.telecom == null)
this.telecom = new ArrayList<ContactPoint>();
this.telecom.add(t);
return this;
}
/**
* @return The first repetition of repeating field {@link #telecom}, creating it if it does not already exist
*/
public ContactPoint getTelecomFirstRep() {
if (getTelecom().isEmpty()) {
addTelecom();
}
return getTelecom().get(0);
}
protected void listChildren(List<Property> childrenList) {
super.listChildren(childrenList);
childrenList.add(new Property("name", "string", "The name of an individual to contact.", 0, java.lang.Integer.MAX_VALUE, name));
childrenList.add(new Property("telecom", "ContactPoint", "The contact details for the individual (if a name was provided) or the organization.", 0, java.lang.Integer.MAX_VALUE, telecom));
}
@Override
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) {
case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType
case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint
default: return super.getProperty(hash, name, checkValid);
}
}
@Override
public void setProperty(int hash, String name, Base value) throws FHIRException {
switch (hash) {
case 3373707: // name
this.name = castToString(value); // StringType
break;
case -1429363305: // telecom
this.getTelecom().add(castToContactPoint(value)); // ContactPoint
break;
default: super.setProperty(hash, name, value);
}
}
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("name"))
this.name = castToString(value); // StringType
else if (name.equals("telecom"))
this.getTelecom().add(castToContactPoint(value));
else
super.setProperty(name, value);
}
@Override
public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) {
case 3373707: throw new FHIRException("Cannot make property name as it is not a complex type"); // StringType
case -1429363305: return addTelecom(); // ContactPoint
default: return super.makeProperty(hash, name);
}
}
@Override
public Base addChild(String name) throws FHIRException {
if (name.equals("name")) {
throw new FHIRException("Cannot call addChild on a primitive type ContactDetail.name");
}
else if (name.equals("telecom")) {
return addTelecom();
}
else
return super.addChild(name);
}
public String fhirType() {
return "ContactDetail";
}
public ContactDetail copy() {
ContactDetail dst = new ContactDetail();
copyValues(dst);
dst.name = name == null ? null : name.copy();
if (telecom != null) {
dst.telecom = new ArrayList<ContactPoint>();
for (ContactPoint i : telecom)
dst.telecom.add(i.copy());
};
return dst;
}
protected ContactDetail typedCopy() {
return copy();
}
@Override
public boolean equalsDeep(Base other) {
if (!super.equalsDeep(other))
return false;
if (!(other instanceof ContactDetail))
return false;
ContactDetail o = (ContactDetail) other;
return compareDeep(name, o.name, true) && compareDeep(telecom, o.telecom, true);
}
@Override
public boolean equalsShallow(Base other) {
if (!super.equalsShallow(other))
return false;
if (!(other instanceof ContactDetail))
return false;
ContactDetail o = (ContactDetail) other;
return compareValues(name, o.name, true);
}
public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, telecom);
}
}

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -328,6 +328,7 @@ public class ContactPoint extends Type implements ICompositeType {
*/
@Child(name = "system", type = {CodeType.class}, order=0, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="phone | fax | email | pager | other", formalDefinition="Telecommunications form for contact point - what communications system is required to make use of the contact." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contact-point-system")
protected Enumeration<ContactPointSystem> system;
/**
@ -342,6 +343,7 @@ public class ContactPoint extends Type implements ICompositeType {
*/
@Child(name = "use", type = {CodeType.class}, order=2, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="home | work | temp | old | mobile - purpose of this contact point", formalDefinition="Identifies the purpose for the contact point." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contact-point-use")
protected Enumeration<ContactPointUse> use;
/**

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -68,6 +68,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "role", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract Agent Role", formalDefinition="Role type of agent assigned roles in this Contract." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-actorrole")
protected List<CodeableConcept> role;
private static final long serialVersionUID = -454551165L;
@ -292,6 +293,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "type", type = {Coding.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Contract Signer Type", formalDefinition="Role of this Contract signer, e.g. notary, grantee." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-signer-type")
protected Coding type;
/**
@ -1172,6 +1174,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Contract Term Type", formalDefinition="Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-term-type")
protected CodeableConcept type;
/**
@ -1179,6 +1182,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "subType", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Contract Term Subtype", formalDefinition="Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-term-subtype")
protected CodeableConcept subType;
/**
@ -1198,6 +1202,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "action", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract Term Action", formalDefinition="Action stipulated by this Contract Provision." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-action")
protected List<CodeableConcept> action;
/**
@ -1205,6 +1210,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "actionReason", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract Term Action Reason", formalDefinition="Reason or purpose for the action stipulated by this Contract Provision." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse")
protected List<CodeableConcept> actionReason;
/**
@ -2040,6 +2046,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "role", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract Term Agent Role", formalDefinition="Role played by the agent assigned this role in the execution of this Contract Provision." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-actorrole")
protected List<CodeableConcept> role;
private static final long serialVersionUID = -454551165L;
@ -3403,6 +3410,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Contract Type", formalDefinition="Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-type")
protected CodeableConcept type;
/**
@ -3410,6 +3418,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "subType", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Contract Subtype", formalDefinition="More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-subtype")
protected List<CodeableConcept> subType;
/**
@ -3417,6 +3426,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "action", type = {CodeableConcept.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract Action", formalDefinition="Action stipulated by this Contract." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contract-action")
protected List<CodeableConcept> action;
/**
@ -3424,6 +3434,7 @@ public class Contract extends DomainResource {
*/
@Child(name = "actionReason", type = {CodeableConcept.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract Action Reason", formalDefinition="Reason for action stipulated by this Contract." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse")
protected List<CodeableConcept> actionReason;
/**
@ -4855,7 +4866,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Contract.identifier", description="The identity of the contract", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Contract.identifier", description="The identity of the contract", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -4875,7 +4886,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.agent.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="agent", path="Contract.agent.actor", description="Agent to the Contact", type="reference", target={Practitioner.class, Group.class, Organization.class, Device.class, Patient.class, Substance.class, Contract.class, RelatedPerson.class, Location.class} )
@SearchParamDefinition(name="agent", path="Contract.agent.actor", description="Agent to the Contact", type="reference" )
public static final String SP_AGENT = "agent";
/**
* <b>Fluent Client</b> search parameter constant for <b>agent</b>
@ -4927,7 +4938,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Contract.subject", description="The identity of the subject of the contract (if a patient)", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="Contract.subject", description="The identity of the subject of the contract (if a patient)", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -4979,7 +4990,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.authority</b><br>
* </p>
*/
@SearchParamDefinition(name="authority", path="Contract.authority", description="The authority of the contract", type="reference", target={Organization.class} )
@SearchParamDefinition(name="authority", path="Contract.authority", description="The authority of the contract", type="reference" )
public static final String SP_AUTHORITY = "authority";
/**
* <b>Fluent Client</b> search parameter constant for <b>authority</b>
@ -5005,7 +5016,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.domain</b><br>
* </p>
*/
@SearchParamDefinition(name="domain", path="Contract.domain", description="The domain of the contract", type="reference", target={Location.class} )
@SearchParamDefinition(name="domain", path="Contract.domain", description="The domain of the contract", type="reference" )
public static final String SP_DOMAIN = "domain";
/**
* <b>Fluent Client</b> search parameter constant for <b>domain</b>
@ -5057,7 +5068,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.issued</b><br>
* </p>
*/
@SearchParamDefinition(name="issued", path="Contract.issued", description="The date/time the contract was issued", type="date", target={} )
@SearchParamDefinition(name="issued", path="Contract.issued", description="The date/time the contract was issued", type="date" )
public static final String SP_ISSUED = "issued";
/**
* <b>Fluent Client</b> search parameter constant for <b>issued</b>
@ -5077,7 +5088,7 @@ public class Contract extends DomainResource {
* Path: <b>Contract.signer.party</b><br>
* </p>
*/
@SearchParamDefinition(name="signer", path="Contract.signer.party", description="Contract Signatory Party", type="reference", target={Practitioner.class, Organization.class, Patient.class, RelatedPerson.class} )
@SearchParamDefinition(name="signer", path="Contract.signer.party", description="Contract Signatory Party", type="reference" )
public static final String SP_SIGNER = "signer";
/**
* <b>Fluent Client</b> search parameter constant for <b>signer</b>

View File

@ -0,0 +1,477 @@
package org.hl7.fhir.dstu3.model;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of HL7 nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.ChildOrder;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import ca.uhn.fhir.model.api.annotation.Block;
import org.hl7.fhir.instance.model.api.*;
import org.hl7.fhir.dstu3.exceptions.FHIRException;
/**
* A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.
*/
@DatatypeDef(name="Contributor")
public class Contributor extends Type implements ICompositeType {
public enum ContributorType {
/**
* An author of the content of the module
*/
AUTHOR,
/**
* An editor of the content of the module
*/
EDITOR,
/**
* A reviewer of the content of the module
*/
REVIEWER,
/**
* An endorser of the content of the module
*/
ENDORSER,
/**
* added to help the parsers with the generic types
*/
NULL;
public static ContributorType fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("author".equals(codeString))
return AUTHOR;
if ("editor".equals(codeString))
return EDITOR;
if ("reviewer".equals(codeString))
return REVIEWER;
if ("endorser".equals(codeString))
return ENDORSER;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown ContributorType code '"+codeString+"'");
}
public String toCode() {
switch (this) {
case AUTHOR: return "author";
case EDITOR: return "editor";
case REVIEWER: return "reviewer";
case ENDORSER: return "endorser";
default: return "?";
}
}
public String getSystem() {
switch (this) {
case AUTHOR: return "http://hl7.org/fhir/contributor-type";
case EDITOR: return "http://hl7.org/fhir/contributor-type";
case REVIEWER: return "http://hl7.org/fhir/contributor-type";
case ENDORSER: return "http://hl7.org/fhir/contributor-type";
default: return "?";
}
}
public String getDefinition() {
switch (this) {
case AUTHOR: return "An author of the content of the module";
case EDITOR: return "An editor of the content of the module";
case REVIEWER: return "A reviewer of the content of the module";
case ENDORSER: return "An endorser of the content of the module";
default: return "?";
}
}
public String getDisplay() {
switch (this) {
case AUTHOR: return "Author";
case EDITOR: return "Editor";
case REVIEWER: return "Reviewer";
case ENDORSER: return "Endorser";
default: return "?";
}
}
}
public static class ContributorTypeEnumFactory implements EnumFactory<ContributorType> {
public ContributorType fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("author".equals(codeString))
return ContributorType.AUTHOR;
if ("editor".equals(codeString))
return ContributorType.EDITOR;
if ("reviewer".equals(codeString))
return ContributorType.REVIEWER;
if ("endorser".equals(codeString))
return ContributorType.ENDORSER;
throw new IllegalArgumentException("Unknown ContributorType code '"+codeString+"'");
}
public Enumeration<ContributorType> fromType(Base code) throws FHIRException {
if (code == null || code.isEmpty())
return null;
String codeString = ((PrimitiveType) code).asStringValue();
if (codeString == null || "".equals(codeString))
return null;
if ("author".equals(codeString))
return new Enumeration<ContributorType>(this, ContributorType.AUTHOR);
if ("editor".equals(codeString))
return new Enumeration<ContributorType>(this, ContributorType.EDITOR);
if ("reviewer".equals(codeString))
return new Enumeration<ContributorType>(this, ContributorType.REVIEWER);
if ("endorser".equals(codeString))
return new Enumeration<ContributorType>(this, ContributorType.ENDORSER);
throw new FHIRException("Unknown ContributorType code '"+codeString+"'");
}
public String toCode(ContributorType code) {
if (code == ContributorType.AUTHOR)
return "author";
if (code == ContributorType.EDITOR)
return "editor";
if (code == ContributorType.REVIEWER)
return "reviewer";
if (code == ContributorType.ENDORSER)
return "endorser";
return "?";
}
public String toSystem(ContributorType code) {
return code.getSystem();
}
}
/**
* The type of contributor.
*/
@Child(name = "type", type = {CodeType.class}, order=0, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="author | editor | reviewer | endorser", formalDefinition="The type of contributor." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contributor-type")
protected Enumeration<ContributorType> type;
/**
* The name of the individual or organization responsible for the contribution.
*/
@Child(name = "name", type = {StringType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Name of the contributor", formalDefinition="The name of the individual or organization responsible for the contribution." )
protected StringType name;
/**
* Contact details to assist a user in finding and communicating with the contributor.
*/
@Child(name = "contact", type = {ContactDetail.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Contact details of the contributor", formalDefinition="Contact details to assist a user in finding and communicating with the contributor." )
protected List<ContactDetail> contact;
private static final long serialVersionUID = -609887113L;
/**
* Constructor
*/
public Contributor() {
super();
}
/**
* Constructor
*/
public Contributor(Enumeration<ContributorType> type, StringType name) {
super();
this.type = type;
this.name = name;
}
/**
* @return {@link #type} (The type of contributor.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
*/
public Enumeration<ContributorType> getTypeElement() {
if (this.type == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create Contributor.type");
else if (Configuration.doAutoCreate())
this.type = new Enumeration<ContributorType>(new ContributorTypeEnumFactory()); // bb
return this.type;
}
public boolean hasTypeElement() {
return this.type != null && !this.type.isEmpty();
}
public boolean hasType() {
return this.type != null && !this.type.isEmpty();
}
/**
* @param value {@link #type} (The type of contributor.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
*/
public Contributor setTypeElement(Enumeration<ContributorType> value) {
this.type = value;
return this;
}
/**
* @return The type of contributor.
*/
public ContributorType getType() {
return this.type == null ? null : this.type.getValue();
}
/**
* @param value The type of contributor.
*/
public Contributor setType(ContributorType value) {
if (this.type == null)
this.type = new Enumeration<ContributorType>(new ContributorTypeEnumFactory());
this.type.setValue(value);
return this;
}
/**
* @return {@link #name} (The name of the individual or organization responsible for the contribution.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/
public StringType getNameElement() {
if (this.name == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create Contributor.name");
else if (Configuration.doAutoCreate())
this.name = new StringType(); // bb
return this.name;
}
public boolean hasNameElement() {
return this.name != null && !this.name.isEmpty();
}
public boolean hasName() {
return this.name != null && !this.name.isEmpty();
}
/**
* @param value {@link #name} (The name of the individual or organization responsible for the contribution.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
*/
public Contributor setNameElement(StringType value) {
this.name = value;
return this;
}
/**
* @return The name of the individual or organization responsible for the contribution.
*/
public String getName() {
return this.name == null ? null : this.name.getValue();
}
/**
* @param value The name of the individual or organization responsible for the contribution.
*/
public Contributor setName(String value) {
if (this.name == null)
this.name = new StringType();
this.name.setValue(value);
return this;
}
/**
* @return {@link #contact} (Contact details to assist a user in finding and communicating with the contributor.)
*/
public List<ContactDetail> getContact() {
if (this.contact == null)
this.contact = new ArrayList<ContactDetail>();
return this.contact;
}
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Contributor setContact(List<ContactDetail> theContact) {
this.contact = theContact;
return this;
}
public boolean hasContact() {
if (this.contact == null)
return false;
for (ContactDetail item : this.contact)
if (!item.isEmpty())
return true;
return false;
}
public ContactDetail addContact() { //3
ContactDetail t = new ContactDetail();
if (this.contact == null)
this.contact = new ArrayList<ContactDetail>();
this.contact.add(t);
return t;
}
public Contributor addContact(ContactDetail t) { //3
if (t == null)
return this;
if (this.contact == null)
this.contact = new ArrayList<ContactDetail>();
this.contact.add(t);
return this;
}
/**
* @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist
*/
public ContactDetail getContactFirstRep() {
if (getContact().isEmpty()) {
addContact();
}
return getContact().get(0);
}
protected void listChildren(List<Property> childrenList) {
super.listChildren(childrenList);
childrenList.add(new Property("type", "code", "The type of contributor.", 0, java.lang.Integer.MAX_VALUE, type));
childrenList.add(new Property("name", "string", "The name of the individual or organization responsible for the contribution.", 0, java.lang.Integer.MAX_VALUE, name));
childrenList.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the contributor.", 0, java.lang.Integer.MAX_VALUE, contact));
}
@Override
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) {
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<ContributorType>
case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType
case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail
default: return super.getProperty(hash, name, checkValid);
}
}
@Override
public void setProperty(int hash, String name, Base value) throws FHIRException {
switch (hash) {
case 3575610: // type
this.type = new ContributorTypeEnumFactory().fromType(value); // Enumeration<ContributorType>
break;
case 3373707: // name
this.name = castToString(value); // StringType
break;
case 951526432: // contact
this.getContact().add(castToContactDetail(value)); // ContactDetail
break;
default: super.setProperty(hash, name, value);
}
}
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("type"))
this.type = new ContributorTypeEnumFactory().fromType(value); // Enumeration<ContributorType>
else if (name.equals("name"))
this.name = castToString(value); // StringType
else if (name.equals("contact"))
this.getContact().add(castToContactDetail(value));
else
super.setProperty(name, value);
}
@Override
public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) {
case 3575610: throw new FHIRException("Cannot make property type as it is not a complex type"); // Enumeration<ContributorType>
case 3373707: throw new FHIRException("Cannot make property name as it is not a complex type"); // StringType
case 951526432: return addContact(); // ContactDetail
default: return super.makeProperty(hash, name);
}
}
@Override
public Base addChild(String name) throws FHIRException {
if (name.equals("type")) {
throw new FHIRException("Cannot call addChild on a primitive type Contributor.type");
}
else if (name.equals("name")) {
throw new FHIRException("Cannot call addChild on a primitive type Contributor.name");
}
else if (name.equals("contact")) {
return addContact();
}
else
return super.addChild(name);
}
public String fhirType() {
return "Contributor";
}
public Contributor copy() {
Contributor dst = new Contributor();
copyValues(dst);
dst.type = type == null ? null : type.copy();
dst.name = name == null ? null : name.copy();
if (contact != null) {
dst.contact = new ArrayList<ContactDetail>();
for (ContactDetail i : contact)
dst.contact.add(i.copy());
};
return dst;
}
protected Contributor typedCopy() {
return copy();
}
@Override
public boolean equalsDeep(Base other) {
if (!super.equalsDeep(other))
return false;
if (!(other instanceof Contributor))
return false;
Contributor o = (Contributor) other;
return compareDeep(type, o.type, true) && compareDeep(name, o.name, true) && compareDeep(contact, o.contact, true)
;
}
@Override
public boolean equalsShallow(Base other) {
if (!super.equalsShallow(other))
return false;
if (!(other instanceof Contributor))
return false;
Contributor o = (Contributor) other;
return compareValues(type, o.type, true) && compareValues(name, o.name, true);
}
public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, name, contact);
}
}

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,12 +29,11 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.dstu3.model.Enumerations.*;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import ca.uhn.fhir.model.api.annotation.Child;
@ -49,129 +48,247 @@ import org.hl7.fhir.dstu3.exceptions.FHIRException;
@ResourceDef(name="Coverage", profile="http://hl7.org/fhir/Profile/Coverage")
public class Coverage extends DomainResource {
public enum CoverageStatus {
/**
* The resource instance is currently in-force.
*/
ACTIVE,
/**
* The resource instance is withdrawn, rescinded or reversed.
*/
CANCELLED,
/**
* A new resource instance the contents of which is not complete.
*/
DRAFT,
/**
* The resource instance was entered in error.
*/
ENTEREDINERROR,
/**
* added to help the parsers with the generic types
*/
NULL;
public static CoverageStatus fromCode(String codeString) throws FHIRException {
if (codeString == null || "".equals(codeString))
return null;
if ("active".equals(codeString))
return ACTIVE;
if ("cancelled".equals(codeString))
return CANCELLED;
if ("draft".equals(codeString))
return DRAFT;
if ("entered-in-error".equals(codeString))
return ENTEREDINERROR;
if (Configuration.isAcceptInvalidEnums())
return null;
else
throw new FHIRException("Unknown CoverageStatus code '"+codeString+"'");
}
public String toCode() {
switch (this) {
case ACTIVE: return "active";
case CANCELLED: return "cancelled";
case DRAFT: return "draft";
case ENTEREDINERROR: return "entered-in-error";
default: return "?";
}
}
public String getSystem() {
switch (this) {
case ACTIVE: return "http://hl7.org/fhir/coverage-status";
case CANCELLED: return "http://hl7.org/fhir/coverage-status";
case DRAFT: return "http://hl7.org/fhir/coverage-status";
case ENTEREDINERROR: return "http://hl7.org/fhir/coverage-status";
default: return "?";
}
}
public String getDefinition() {
switch (this) {
case ACTIVE: return "The resource instance is currently in-force.";
case CANCELLED: return "The resource instance is withdrawn, rescinded or reversed.";
case DRAFT: return "A new resource instance the contents of which is not complete.";
case ENTEREDINERROR: return "The resource instance was entered in error.";
default: return "?";
}
}
public String getDisplay() {
switch (this) {
case ACTIVE: return "Active";
case CANCELLED: return "Cancelled";
case DRAFT: return "Draft";
case ENTEREDINERROR: return "Entered In Error";
default: return "?";
}
}
}
public static class CoverageStatusEnumFactory implements EnumFactory<CoverageStatus> {
public CoverageStatus fromCode(String codeString) throws IllegalArgumentException {
if (codeString == null || "".equals(codeString))
if (codeString == null || "".equals(codeString))
return null;
if ("active".equals(codeString))
return CoverageStatus.ACTIVE;
if ("cancelled".equals(codeString))
return CoverageStatus.CANCELLED;
if ("draft".equals(codeString))
return CoverageStatus.DRAFT;
if ("entered-in-error".equals(codeString))
return CoverageStatus.ENTEREDINERROR;
throw new IllegalArgumentException("Unknown CoverageStatus code '"+codeString+"'");
}
public Enumeration<CoverageStatus> fromType(Base code) throws FHIRException {
if (code == null || code.isEmpty())
return null;
String codeString = ((PrimitiveType) code).asStringValue();
if (codeString == null || "".equals(codeString))
return null;
if ("active".equals(codeString))
return new Enumeration<CoverageStatus>(this, CoverageStatus.ACTIVE);
if ("cancelled".equals(codeString))
return new Enumeration<CoverageStatus>(this, CoverageStatus.CANCELLED);
if ("draft".equals(codeString))
return new Enumeration<CoverageStatus>(this, CoverageStatus.DRAFT);
if ("entered-in-error".equals(codeString))
return new Enumeration<CoverageStatus>(this, CoverageStatus.ENTEREDINERROR);
throw new FHIRException("Unknown CoverageStatus code '"+codeString+"'");
}
public String toCode(CoverageStatus code) {
if (code == CoverageStatus.ACTIVE)
return "active";
if (code == CoverageStatus.CANCELLED)
return "cancelled";
if (code == CoverageStatus.DRAFT)
return "draft";
if (code == CoverageStatus.ENTEREDINERROR)
return "entered-in-error";
return "?";
}
public String toSystem(CoverageStatus code) {
return code.getSystem();
}
}
/**
* The status of the resource instance.
*/
@Child(name = "status", type = {CodeType.class}, order=0, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="active | cancelled | draft | entered-in-error", formalDefinition="The status of the resource instance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/coverage-status")
protected Enumeration<CoverageStatus> status;
/**
* The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.
*/
@Child(name = "issuer", type = {Identifier.class, Organization.class, Patient.class, RelatedPerson.class}, order=0, min=1, max=1, modifier=false, summary=true)
@Child(name = "issuer", type = {Identifier.class, Organization.class, Patient.class, RelatedPerson.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Identifier for the plan or agreement issuer", formalDefinition="The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements." )
protected Type issuer;
/**
* A self, or other, payment agreement not an insurance policy.
*/
@Child(name = "isAgreement", type = {BooleanType.class}, order=1, min=0, max=1, modifier=false, summary=false)
@Child(name = "isAgreement", type = {BooleanType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Is a Payment Agreement", formalDefinition="A self, or other, payment agreement not an insurance policy." )
protected BooleanType isAgreement;
/**
* Business Identification Number (BIN number) used to identify the routing of eClaims.
*/
@Child(name = "bin", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Child(name = "bin", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="BIN Number", formalDefinition="Business Identification Number (BIN number) used to identify the routing of eClaims." )
protected StringType bin;
/**
* Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.
*/
@Child(name = "period", type = {Period.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Child(name = "period", type = {Period.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Coverage start and end dates", formalDefinition="Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force." )
protected Period period;
/**
* The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health.
*/
@Child(name = "type", type = {Coding.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Child(name = "type", type = {Coding.class}, order=5, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Type of coverage", formalDefinition="The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-ActCoverageTypeCode")
protected Coding type;
/**
* The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due.
*/
@Child(name = "planholder", type = {Identifier.class, Patient.class, Organization.class}, order=5, min=1, max=1, modifier=true, summary=false)
@Child(name = "planholder", type = {Identifier.class, Patient.class, Organization.class}, order=6, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Plan holder", formalDefinition="The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due." )
protected Type planholder;
/**
* The party who benefits from the insurance coverage.
*/
@Child(name = "beneficiary", type = {Identifier.class, Patient.class}, order=6, min=1, max=1, modifier=true, summary=false)
@Child(name = "beneficiary", type = {Identifier.class, Patient.class}, order=7, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Plan Beneficiary", formalDefinition="The party who benefits from the insurance coverage." )
protected Type beneficiary;
/**
* The relationship of the patient to the planholdersubscriber).
* The relationship of beneficiary (patient) (subscriber) to the the planholder.
*/
@Child(name = "relationship", type = {Coding.class}, order=7, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Patient relationship to planholder", formalDefinition="The relationship of the patient to the planholdersubscriber)." )
@Child(name = "relationship", type = {Coding.class}, order=8, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="Beneficiary relationship to Planholder", formalDefinition="The relationship of beneficiary (patient) (subscriber) to the the planholder." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/policyholder-relationship")
protected Coding relationship;
/**
* The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
*/
@Child(name = "identifier", type = {Identifier.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Child(name = "identifier", type = {Identifier.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="The primary coverage ID", formalDefinition="The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID." )
protected List<Identifier> identifier;
/**
* Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
*/
@Child(name = "group", type = {StringType.class}, order=9, min=0, max=1, modifier=false, summary=true)
@Child(name = "group", type = {StringType.class}, order=10, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="An identifier for the group", formalDefinition="Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID." )
protected StringType group;
/**
* Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
*/
@Child(name = "plan", type = {StringType.class}, order=10, min=0, max=1, modifier=false, summary=true)
@Child(name = "plan", type = {StringType.class}, order=11, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="An identifier for the plan", formalDefinition="Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID." )
protected StringType plan;
/**
* Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.
*/
@Child(name = "subPlan", type = {StringType.class}, order=11, min=0, max=1, modifier=false, summary=true)
@Child(name = "subPlan", type = {StringType.class}, order=12, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="An identifier for the subsection of the plan", formalDefinition="Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID." )
protected StringType subPlan;
/**
* A unique identifier for a dependent under the coverage.
*/
@Child(name = "dependent", type = {PositiveIntType.class}, order=12, min=0, max=1, modifier=false, summary=true)
@Child(name = "dependent", type = {PositiveIntType.class}, order=13, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Dependent number", formalDefinition="A unique identifier for a dependent under the coverage." )
protected PositiveIntType dependent;
/**
* An optional counter for a particular instance of the identified coverage which increments upon each renewal.
*/
@Child(name = "sequence", type = {PositiveIntType.class}, order=13, min=0, max=1, modifier=false, summary=true)
@Child(name = "sequence", type = {PositiveIntType.class}, order=14, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="The plan instance or sequence counter", formalDefinition="An optional counter for a particular instance of the identified coverage which increments upon each renewal." )
protected PositiveIntType sequence;
/**
* Factors which may influence the applicability of coverage.
*/
@Child(name = "exception", type = {Coding.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Eligibility exceptions", formalDefinition="Factors which may influence the applicability of coverage." )
protected List<Coding> exception;
/**
* Name of school for over-aged dependants.
*/
@Child(name = "school", type = {StringType.class}, order=15, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Name of School", formalDefinition="Name of school for over-aged dependants." )
protected StringType school;
/**
* The identifier for a community of providers.
*/
@Child(name = "network", type = {StringType.class}, order=16, min=0, max=1, modifier=false, summary=true)
@Child(name = "network", type = {StringType.class}, order=15, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Insurer network", formalDefinition="The identifier for a community of providers." )
protected StringType network;
/**
* The policy(s) which constitute this insurance coverage.
*/
@Child(name = "contract", type = {Contract.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Child(name = "contract", type = {Contract.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Contract details", formalDefinition="The policy(s) which constitute this insurance coverage." )
protected List<Reference> contract;
/**
@ -180,7 +297,7 @@ public class Coverage extends DomainResource {
protected List<Contract> contractTarget;
private static final long serialVersionUID = 1815535942L;
private static final long serialVersionUID = 236069267L;
/**
* Constructor
@ -192,14 +309,60 @@ public class Coverage extends DomainResource {
/**
* Constructor
*/
public Coverage(Type issuer, Type planholder, Type beneficiary, Coding relationship) {
public Coverage(Enumeration<CoverageStatus> status, Type issuer, Type planholder, Type beneficiary, Coding relationship) {
super();
this.status = status;
this.issuer = issuer;
this.planholder = planholder;
this.beneficiary = beneficiary;
this.relationship = relationship;
}
/**
* @return {@link #status} (The status of the resource instance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Enumeration<CoverageStatus> getStatusElement() {
if (this.status == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create Coverage.status");
else if (Configuration.doAutoCreate())
this.status = new Enumeration<CoverageStatus>(new CoverageStatusEnumFactory()); // bb
return this.status;
}
public boolean hasStatusElement() {
return this.status != null && !this.status.isEmpty();
}
public boolean hasStatus() {
return this.status != null && !this.status.isEmpty();
}
/**
* @param value {@link #status} (The status of the resource instance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
*/
public Coverage setStatusElement(Enumeration<CoverageStatus> value) {
this.status = value;
return this;
}
/**
* @return The status of the resource instance.
*/
public CoverageStatus getStatus() {
return this.status == null ? null : this.status.getValue();
}
/**
* @param value The status of the resource instance.
*/
public Coverage setStatus(CoverageStatus value) {
if (this.status == null)
this.status = new Enumeration<CoverageStatus>(new CoverageStatusEnumFactory());
this.status.setValue(value);
return this;
}
/**
* @return {@link #issuer} (The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.)
*/
@ -478,7 +641,7 @@ public class Coverage extends DomainResource {
}
/**
* @return {@link #relationship} (The relationship of the patient to the planholdersubscriber).)
* @return {@link #relationship} (The relationship of beneficiary (patient) (subscriber) to the the planholder.)
*/
public Coding getRelationship() {
if (this.relationship == null)
@ -494,7 +657,7 @@ public class Coverage extends DomainResource {
}
/**
* @param value {@link #relationship} (The relationship of the patient to the planholdersubscriber).)
* @param value {@link #relationship} (The relationship of beneficiary (patient) (subscriber) to the the planholder.)
*/
public Coverage setRelationship(Coding value) {
this.relationship = value;
@ -791,108 +954,6 @@ public class Coverage extends DomainResource {
return this;
}
/**
* @return {@link #exception} (Factors which may influence the applicability of coverage.)
*/
public List<Coding> getException() {
if (this.exception == null)
this.exception = new ArrayList<Coding>();
return this.exception;
}
/**
* @return Returns a reference to <code>this</code> for easy method chaining
*/
public Coverage setException(List<Coding> theException) {
this.exception = theException;
return this;
}
public boolean hasException() {
if (this.exception == null)
return false;
for (Coding item : this.exception)
if (!item.isEmpty())
return true;
return false;
}
public Coding addException() { //3
Coding t = new Coding();
if (this.exception == null)
this.exception = new ArrayList<Coding>();
this.exception.add(t);
return t;
}
public Coverage addException(Coding t) { //3
if (t == null)
return this;
if (this.exception == null)
this.exception = new ArrayList<Coding>();
this.exception.add(t);
return this;
}
/**
* @return The first repetition of repeating field {@link #exception}, creating it if it does not already exist
*/
public Coding getExceptionFirstRep() {
if (getException().isEmpty()) {
addException();
}
return getException().get(0);
}
/**
* @return {@link #school} (Name of school for over-aged dependants.). This is the underlying object with id, value and extensions. The accessor "getSchool" gives direct access to the value
*/
public StringType getSchoolElement() {
if (this.school == null)
if (Configuration.errorOnAutoCreate())
throw new Error("Attempt to auto-create Coverage.school");
else if (Configuration.doAutoCreate())
this.school = new StringType(); // bb
return this.school;
}
public boolean hasSchoolElement() {
return this.school != null && !this.school.isEmpty();
}
public boolean hasSchool() {
return this.school != null && !this.school.isEmpty();
}
/**
* @param value {@link #school} (Name of school for over-aged dependants.). This is the underlying object with id, value and extensions. The accessor "getSchool" gives direct access to the value
*/
public Coverage setSchoolElement(StringType value) {
this.school = value;
return this;
}
/**
* @return Name of school for over-aged dependants.
*/
public String getSchool() {
return this.school == null ? null : this.school.getValue();
}
/**
* @param value Name of school for over-aged dependants.
*/
public Coverage setSchool(String value) {
if (Utilities.noString(value))
this.school = null;
else {
if (this.school == null)
this.school = new StringType();
this.school.setValue(value);
}
return this;
}
/**
* @return {@link #network} (The identifier for a community of providers.). This is the underlying object with id, value and extensions. The accessor "getNetwork" gives direct access to the value
*/
@ -1019,6 +1080,7 @@ public class Coverage extends DomainResource {
protected void listChildren(List<Property> childrenList) {
super.listChildren(childrenList);
childrenList.add(new Property("status", "code", "The status of the resource instance.", 0, java.lang.Integer.MAX_VALUE, status));
childrenList.add(new Property("issuer[x]", "Identifier|Reference(Organization|Patient|RelatedPerson)", "The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements.", 0, java.lang.Integer.MAX_VALUE, issuer));
childrenList.add(new Property("isAgreement", "boolean", "A self, or other, payment agreement not an insurance policy.", 0, java.lang.Integer.MAX_VALUE, isAgreement));
childrenList.add(new Property("bin", "string", "Business Identification Number (BIN number) used to identify the routing of eClaims.", 0, java.lang.Integer.MAX_VALUE, bin));
@ -1026,15 +1088,13 @@ public class Coverage extends DomainResource {
childrenList.add(new Property("type", "Coding", "The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health.", 0, java.lang.Integer.MAX_VALUE, type));
childrenList.add(new Property("planholder[x]", "Identifier|Reference(Patient|Organization)", "The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due.", 0, java.lang.Integer.MAX_VALUE, planholder));
childrenList.add(new Property("beneficiary[x]", "Identifier|Reference(Patient)", "The party who benefits from the insurance coverage.", 0, java.lang.Integer.MAX_VALUE, beneficiary));
childrenList.add(new Property("relationship", "Coding", "The relationship of the patient to the planholdersubscriber).", 0, java.lang.Integer.MAX_VALUE, relationship));
childrenList.add(new Property("relationship", "Coding", "The relationship of beneficiary (patient) (subscriber) to the the planholder.", 0, java.lang.Integer.MAX_VALUE, relationship));
childrenList.add(new Property("identifier", "Identifier", "The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.", 0, java.lang.Integer.MAX_VALUE, identifier));
childrenList.add(new Property("group", "string", "Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.", 0, java.lang.Integer.MAX_VALUE, group));
childrenList.add(new Property("plan", "string", "Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.", 0, java.lang.Integer.MAX_VALUE, plan));
childrenList.add(new Property("subPlan", "string", "Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.", 0, java.lang.Integer.MAX_VALUE, subPlan));
childrenList.add(new Property("dependent", "positiveInt", "A unique identifier for a dependent under the coverage.", 0, java.lang.Integer.MAX_VALUE, dependent));
childrenList.add(new Property("sequence", "positiveInt", "An optional counter for a particular instance of the identified coverage which increments upon each renewal.", 0, java.lang.Integer.MAX_VALUE, sequence));
childrenList.add(new Property("exception", "Coding", "Factors which may influence the applicability of coverage.", 0, java.lang.Integer.MAX_VALUE, exception));
childrenList.add(new Property("school", "string", "Name of school for over-aged dependants.", 0, java.lang.Integer.MAX_VALUE, school));
childrenList.add(new Property("network", "string", "The identifier for a community of providers.", 0, java.lang.Integer.MAX_VALUE, network));
childrenList.add(new Property("contract", "Reference(Contract)", "The policy(s) which constitute this insurance coverage.", 0, java.lang.Integer.MAX_VALUE, contract));
}
@ -1042,6 +1102,7 @@ public class Coverage extends DomainResource {
@Override
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
switch (hash) {
case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<CoverageStatus>
case -1179159879: /*issuer*/ return this.issuer == null ? new Base[0] : new Base[] {this.issuer}; // Type
case -2140761088: /*isAgreement*/ return this.isAgreement == null ? new Base[0] : new Base[] {this.isAgreement}; // BooleanType
case 97543: /*bin*/ return this.bin == null ? new Base[0] : new Base[] {this.bin}; // StringType
@ -1056,8 +1117,6 @@ public class Coverage extends DomainResource {
case -1868653175: /*subPlan*/ return this.subPlan == null ? new Base[0] : new Base[] {this.subPlan}; // StringType
case -1109226753: /*dependent*/ return this.dependent == null ? new Base[0] : new Base[] {this.dependent}; // PositiveIntType
case 1349547969: /*sequence*/ return this.sequence == null ? new Base[0] : new Base[] {this.sequence}; // PositiveIntType
case 1481625679: /*exception*/ return this.exception == null ? new Base[0] : this.exception.toArray(new Base[this.exception.size()]); // Coding
case -907977868: /*school*/ return this.school == null ? new Base[0] : new Base[] {this.school}; // StringType
case 1843485230: /*network*/ return this.network == null ? new Base[0] : new Base[] {this.network}; // StringType
case -566947566: /*contract*/ return this.contract == null ? new Base[0] : this.contract.toArray(new Base[this.contract.size()]); // Reference
default: return super.getProperty(hash, name, checkValid);
@ -1068,6 +1127,9 @@ public class Coverage extends DomainResource {
@Override
public void setProperty(int hash, String name, Base value) throws FHIRException {
switch (hash) {
case -892481550: // status
this.status = new CoverageStatusEnumFactory().fromType(value); // Enumeration<CoverageStatus>
break;
case -1179159879: // issuer
this.issuer = (Type) value; // Type
break;
@ -1110,12 +1172,6 @@ public class Coverage extends DomainResource {
case 1349547969: // sequence
this.sequence = castToPositiveInt(value); // PositiveIntType
break;
case 1481625679: // exception
this.getException().add(castToCoding(value)); // Coding
break;
case -907977868: // school
this.school = castToString(value); // StringType
break;
case 1843485230: // network
this.network = castToString(value); // StringType
break;
@ -1129,7 +1185,9 @@ public class Coverage extends DomainResource {
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("issuer[x]"))
if (name.equals("status"))
this.status = new CoverageStatusEnumFactory().fromType(value); // Enumeration<CoverageStatus>
else if (name.equals("issuer[x]"))
this.issuer = (Type) value; // Type
else if (name.equals("isAgreement"))
this.isAgreement = castToBoolean(value); // BooleanType
@ -1157,10 +1215,6 @@ public class Coverage extends DomainResource {
this.dependent = castToPositiveInt(value); // PositiveIntType
else if (name.equals("sequence"))
this.sequence = castToPositiveInt(value); // PositiveIntType
else if (name.equals("exception"))
this.getException().add(castToCoding(value));
else if (name.equals("school"))
this.school = castToString(value); // StringType
else if (name.equals("network"))
this.network = castToString(value); // StringType
else if (name.equals("contract"))
@ -1172,6 +1226,7 @@ public class Coverage extends DomainResource {
@Override
public Base makeProperty(int hash, String name) throws FHIRException {
switch (hash) {
case -892481550: throw new FHIRException("Cannot make property status as it is not a complex type"); // Enumeration<CoverageStatus>
case 185649959: return getIssuer(); // Type
case -2140761088: throw new FHIRException("Cannot make property isAgreement as it is not a complex type"); // BooleanType
case 97543: throw new FHIRException("Cannot make property bin as it is not a complex type"); // StringType
@ -1186,8 +1241,6 @@ public class Coverage extends DomainResource {
case -1868653175: throw new FHIRException("Cannot make property subPlan as it is not a complex type"); // StringType
case -1109226753: throw new FHIRException("Cannot make property dependent as it is not a complex type"); // PositiveIntType
case 1349547969: throw new FHIRException("Cannot make property sequence as it is not a complex type"); // PositiveIntType
case 1481625679: return addException(); // Coding
case -907977868: throw new FHIRException("Cannot make property school as it is not a complex type"); // StringType
case 1843485230: throw new FHIRException("Cannot make property network as it is not a complex type"); // StringType
case -566947566: return addContract(); // Reference
default: return super.makeProperty(hash, name);
@ -1197,7 +1250,10 @@ public class Coverage extends DomainResource {
@Override
public Base addChild(String name) throws FHIRException {
if (name.equals("issuerIdentifier")) {
if (name.equals("status")) {
throw new FHIRException("Cannot call addChild on a primitive type Coverage.status");
}
else if (name.equals("issuerIdentifier")) {
this.issuer = new Identifier();
return this.issuer;
}
@ -1257,12 +1313,6 @@ public class Coverage extends DomainResource {
else if (name.equals("sequence")) {
throw new FHIRException("Cannot call addChild on a primitive type Coverage.sequence");
}
else if (name.equals("exception")) {
return addException();
}
else if (name.equals("school")) {
throw new FHIRException("Cannot call addChild on a primitive type Coverage.school");
}
else if (name.equals("network")) {
throw new FHIRException("Cannot call addChild on a primitive type Coverage.network");
}
@ -1281,6 +1331,7 @@ public class Coverage extends DomainResource {
public Coverage copy() {
Coverage dst = new Coverage();
copyValues(dst);
dst.status = status == null ? null : status.copy();
dst.issuer = issuer == null ? null : issuer.copy();
dst.isAgreement = isAgreement == null ? null : isAgreement.copy();
dst.bin = bin == null ? null : bin.copy();
@ -1299,12 +1350,6 @@ public class Coverage extends DomainResource {
dst.subPlan = subPlan == null ? null : subPlan.copy();
dst.dependent = dependent == null ? null : dependent.copy();
dst.sequence = sequence == null ? null : sequence.copy();
if (exception != null) {
dst.exception = new ArrayList<Coding>();
for (Coding i : exception)
dst.exception.add(i.copy());
};
dst.school = school == null ? null : school.copy();
dst.network = network == null ? null : network.copy();
if (contract != null) {
dst.contract = new ArrayList<Reference>();
@ -1325,12 +1370,12 @@ public class Coverage extends DomainResource {
if (!(other instanceof Coverage))
return false;
Coverage o = (Coverage) other;
return compareDeep(issuer, o.issuer, true) && compareDeep(isAgreement, o.isAgreement, true) && compareDeep(bin, o.bin, true)
&& compareDeep(period, o.period, true) && compareDeep(type, o.type, true) && compareDeep(planholder, o.planholder, true)
&& compareDeep(beneficiary, o.beneficiary, true) && compareDeep(relationship, o.relationship, true)
&& compareDeep(identifier, o.identifier, true) && compareDeep(group, o.group, true) && compareDeep(plan, o.plan, true)
&& compareDeep(subPlan, o.subPlan, true) && compareDeep(dependent, o.dependent, true) && compareDeep(sequence, o.sequence, true)
&& compareDeep(exception, o.exception, true) && compareDeep(school, o.school, true) && compareDeep(network, o.network, true)
return compareDeep(status, o.status, true) && compareDeep(issuer, o.issuer, true) && compareDeep(isAgreement, o.isAgreement, true)
&& compareDeep(bin, o.bin, true) && compareDeep(period, o.period, true) && compareDeep(type, o.type, true)
&& compareDeep(planholder, o.planholder, true) && compareDeep(beneficiary, o.beneficiary, true)
&& compareDeep(relationship, o.relationship, true) && compareDeep(identifier, o.identifier, true)
&& compareDeep(group, o.group, true) && compareDeep(plan, o.plan, true) && compareDeep(subPlan, o.subPlan, true)
&& compareDeep(dependent, o.dependent, true) && compareDeep(sequence, o.sequence, true) && compareDeep(network, o.network, true)
&& compareDeep(contract, o.contract, true);
}
@ -1341,16 +1386,16 @@ public class Coverage extends DomainResource {
if (!(other instanceof Coverage))
return false;
Coverage o = (Coverage) other;
return compareValues(isAgreement, o.isAgreement, true) && compareValues(bin, o.bin, true) && compareValues(group, o.group, true)
&& compareValues(plan, o.plan, true) && compareValues(subPlan, o.subPlan, true) && compareValues(dependent, o.dependent, true)
&& compareValues(sequence, o.sequence, true) && compareValues(school, o.school, true) && compareValues(network, o.network, true)
return compareValues(status, o.status, true) && compareValues(isAgreement, o.isAgreement, true) && compareValues(bin, o.bin, true)
&& compareValues(group, o.group, true) && compareValues(plan, o.plan, true) && compareValues(subPlan, o.subPlan, true)
&& compareValues(dependent, o.dependent, true) && compareValues(sequence, o.sequence, true) && compareValues(network, o.network, true)
;
}
public boolean isEmpty() {
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(issuer, isAgreement, bin
, period, type, planholder, beneficiary, relationship, identifier, group, plan
, subPlan, dependent, sequence, exception, school, network, contract);
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(status, issuer, isAgreement
, bin, period, type, planholder, beneficiary, relationship, identifier, group
, plan, subPlan, dependent, sequence, network, contract);
}
@Override
@ -1366,7 +1411,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Coverage.identifier", description="The primary identifier of the insured and the coverage", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Coverage.identifier", description="The primary identifier of the insured and the coverage", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1386,7 +1431,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.issuerReference</b><br>
* </p>
*/
@SearchParamDefinition(name="issuerreference", path="Coverage.issuer.as(Reference)", description="The identity of the insurer", type="reference", target={Organization.class, Patient.class, RelatedPerson.class} )
@SearchParamDefinition(name="issuerreference", path="Coverage.issuer.as(Reference)", description="The identity of the insurer", type="reference" )
public static final String SP_ISSUERREFERENCE = "issuerreference";
/**
* <b>Fluent Client</b> search parameter constant for <b>issuerreference</b>
@ -1412,7 +1457,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.subPlan</b><br>
* </p>
*/
@SearchParamDefinition(name="subplan", path="Coverage.subPlan", description="Sub-plan identifier", type="token", target={} )
@SearchParamDefinition(name="subplan", path="Coverage.subPlan", description="Sub-plan identifier", type="token" )
public static final String SP_SUBPLAN = "subplan";
/**
* <b>Fluent Client</b> search parameter constant for <b>subplan</b>
@ -1432,7 +1477,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="Coverage.type", description="The kind of coverage (health plan, auto, Workers Compensation)", type="token", target={} )
@SearchParamDefinition(name="type", path="Coverage.type", description="The kind of coverage (health plan, auto, Workers Compensation)", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -1452,7 +1497,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.beneficiaryIdentifier</b><br>
* </p>
*/
@SearchParamDefinition(name="beneficiaryidentifier", path="Coverage.beneficiary.as(Identifier)", description="Covered party", type="token", target={} )
@SearchParamDefinition(name="beneficiaryidentifier", path="Coverage.beneficiary.as(Identifier)", description="Covered party", type="token" )
public static final String SP_BENEFICIARYIDENTIFIER = "beneficiaryidentifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>beneficiaryidentifier</b>
@ -1472,7 +1517,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.planholderIdentifier</b><br>
* </p>
*/
@SearchParamDefinition(name="planholderidentifier", path="Coverage.planholder.as(Identifier)", description="Reference to the planholder", type="token", target={} )
@SearchParamDefinition(name="planholderidentifier", path="Coverage.planholder.as(Identifier)", description="Reference to the planholder", type="token" )
public static final String SP_PLANHOLDERIDENTIFIER = "planholderidentifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>planholderidentifier</b>
@ -1492,7 +1537,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.sequence</b><br>
* </p>
*/
@SearchParamDefinition(name="sequence", path="Coverage.sequence", description="Sequence number", type="token", target={} )
@SearchParamDefinition(name="sequence", path="Coverage.sequence", description="Sequence number", type="token" )
public static final String SP_SEQUENCE = "sequence";
/**
* <b>Fluent Client</b> search parameter constant for <b>sequence</b>
@ -1512,7 +1557,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.planholderReference</b><br>
* </p>
*/
@SearchParamDefinition(name="planholderreference", path="Coverage.planholder.as(Reference)", description="Reference to the planholder", type="reference", target={Organization.class, Patient.class} )
@SearchParamDefinition(name="planholderreference", path="Coverage.planholder.as(Reference)", description="Reference to the planholder", type="reference" )
public static final String SP_PLANHOLDERREFERENCE = "planholderreference";
/**
* <b>Fluent Client</b> search parameter constant for <b>planholderreference</b>
@ -1538,7 +1583,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.issuerIdentifier</b><br>
* </p>
*/
@SearchParamDefinition(name="issueridentifier", path="Coverage.issuer.as(Identifier)", description="The identity of the insurer", type="token", target={} )
@SearchParamDefinition(name="issueridentifier", path="Coverage.issuer.as(Identifier)", description="The identity of the insurer", type="token" )
public static final String SP_ISSUERIDENTIFIER = "issueridentifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>issueridentifier</b>
@ -1558,7 +1603,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.plan</b><br>
* </p>
*/
@SearchParamDefinition(name="plan", path="Coverage.plan", description="A plan or policy identifier", type="token", target={} )
@SearchParamDefinition(name="plan", path="Coverage.plan", description="A plan or policy identifier", type="token" )
public static final String SP_PLAN = "plan";
/**
* <b>Fluent Client</b> search parameter constant for <b>plan</b>
@ -1578,7 +1623,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.dependent</b><br>
* </p>
*/
@SearchParamDefinition(name="dependent", path="Coverage.dependent", description="Dependent number", type="token", target={} )
@SearchParamDefinition(name="dependent", path="Coverage.dependent", description="Dependent number", type="token" )
public static final String SP_DEPENDENT = "dependent";
/**
* <b>Fluent Client</b> search parameter constant for <b>dependent</b>
@ -1598,7 +1643,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.beneficiaryReference</b><br>
* </p>
*/
@SearchParamDefinition(name="beneficiaryreference", path="Coverage.beneficiary.as(Reference)", description="Covered party", type="reference", target={Patient.class} )
@SearchParamDefinition(name="beneficiaryreference", path="Coverage.beneficiary.as(Reference)", description="Covered party", type="reference" )
public static final String SP_BENEFICIARYREFERENCE = "beneficiaryreference";
/**
* <b>Fluent Client</b> search parameter constant for <b>beneficiaryreference</b>
@ -1624,7 +1669,7 @@ public class Coverage extends DomainResource {
* Path: <b>Coverage.group</b><br>
* </p>
*/
@SearchParamDefinition(name="group", path="Coverage.group", description="Group identifier", type="token", target={} )
@SearchParamDefinition(name="group", path="Coverage.group", description="Group identifier", type="token" )
public static final String SP_GROUP = "group";
/**
* <b>Fluent Client</b> search parameter constant for <b>group</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -843,6 +843,7 @@ public class DataElement extends BaseConformance {
*/
@Child(name = "stringency", type = {CodeType.class}, order=5, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="comparable | fully-specified | equivalent | convertable | scaleable | flexible", formalDefinition="Identifies how precise the data element is in its definition." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/dataelement-stringency")
protected Enumeration<DataElementStringency> stringency;
/**
@ -1625,7 +1626,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="DataElement.date", description="The data element publication date", type="date", target={} )
@SearchParamDefinition(name="date", path="DataElement.date", description="The data element publication date", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -1645,7 +1646,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DataElement.identifier", description="The identifier of the data element", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DataElement.identifier", description="The identifier of the data element", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1665,7 +1666,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.element.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="DataElement.element.code", description="A code for the data element (server may choose to do subsumption)", type="token", target={} )
@SearchParamDefinition(name="code", path="DataElement.element.code", description="A code for the data element (server may choose to do subsumption)", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -1685,7 +1686,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.stringency</b><br>
* </p>
*/
@SearchParamDefinition(name="stringency", path="DataElement.stringency", description="The stringency of the data element definition", type="token", target={} )
@SearchParamDefinition(name="stringency", path="DataElement.stringency", description="The stringency of the data element definition", type="token" )
public static final String SP_STRINGENCY = "stringency";
/**
* <b>Fluent Client</b> search parameter constant for <b>stringency</b>
@ -1705,7 +1706,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.name</b><br>
* </p>
*/
@SearchParamDefinition(name="name", path="DataElement.name", description="Name of the data element", type="string", target={} )
@SearchParamDefinition(name="name", path="DataElement.name", description="Name of the data element", type="string" )
public static final String SP_NAME = "name";
/**
* <b>Fluent Client</b> search parameter constant for <b>name</b>
@ -1725,7 +1726,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.useContext</b><br>
* </p>
*/
@SearchParamDefinition(name="context", path="DataElement.useContext", description="A use context assigned to the data element", type="token", target={} )
@SearchParamDefinition(name="context", path="DataElement.useContext", description="A use context assigned to the data element", type="token" )
public static final String SP_CONTEXT = "context";
/**
* <b>Fluent Client</b> search parameter constant for <b>context</b>
@ -1745,7 +1746,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.publisher</b><br>
* </p>
*/
@SearchParamDefinition(name="publisher", path="DataElement.publisher", description="Name of the publisher of the data element", type="string", target={} )
@SearchParamDefinition(name="publisher", path="DataElement.publisher", description="Name of the publisher of the data element", type="string" )
public static final String SP_PUBLISHER = "publisher";
/**
* <b>Fluent Client</b> search parameter constant for <b>publisher</b>
@ -1765,7 +1766,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.element.definition</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="DataElement.element.definition", description="Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.", type="string", target={} )
@SearchParamDefinition(name="description", path="DataElement.element.definition", description="Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -1785,7 +1786,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.version</b><br>
* </p>
*/
@SearchParamDefinition(name="version", path="DataElement.version", description="The version identifier of the data element", type="string", target={} )
@SearchParamDefinition(name="version", path="DataElement.version", description="The version identifier of the data element", type="string" )
public static final String SP_VERSION = "version";
/**
* <b>Fluent Client</b> search parameter constant for <b>version</b>
@ -1805,7 +1806,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.url</b><br>
* </p>
*/
@SearchParamDefinition(name="url", path="DataElement.url", description="The official URL for the data element", type="uri", target={} )
@SearchParamDefinition(name="url", path="DataElement.url", description="The official URL for the data element", type="uri" )
public static final String SP_URL = "url";
/**
* <b>Fluent Client</b> search parameter constant for <b>url</b>
@ -1825,7 +1826,7 @@ public class DataElement extends BaseConformance {
* Path: <b>DataElement.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DataElement.status", description="The current status of the data element", type="token", target={} )
@SearchParamDefinition(name="status", path="DataElement.status", description="The current status of the data element", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -750,6 +750,7 @@ public class DataRequirement extends Type implements ICompositeType {
*/
@Child(name = "type", type = {CodeType.class}, order=0, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="The type of the required data", formalDefinition="The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/all-types")
protected CodeType type;
/**

View File

@ -74,7 +74,7 @@ public class DecimalType extends PrimitiveType<BigDecimal> implements Comparable
* Constructor
*/
public DecimalType(long theValue) {
setValue(theValue);
setValue(new BigDecimal(theValue));
}
/**
@ -148,21 +148,21 @@ public class DecimalType extends PrimitiveType<BigDecimal> implements Comparable
* Sets a new value using an integer
*/
public void setValueAsInteger(int theValue) {
setValue(BigDecimal.valueOf(theValue));
setValue(new BigDecimal(theValue));
}
/**
* Sets a new value using a long
*/
public void setValue(long theValue) {
setValue(BigDecimal.valueOf(theValue));
setValue(new BigDecimal(theValue));
}
/**
* Sets a new value using a double
*/
public void setValue(double theValue) {
setValue(BigDecimal.valueOf(theValue));
setValue(new BigDecimal(theValue));
}
@Override

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -519,7 +519,7 @@ public class DecisionSupportRule extends DomainResource {
* Path: <b>DecisionSupportRule.moduleMetadata.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DecisionSupportRule.moduleMetadata.identifier", description="Logical identifier for the module (e.g. CMS-143)", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DecisionSupportRule.moduleMetadata.identifier", description="Logical identifier for the module (e.g. CMS-143)", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -539,7 +539,7 @@ public class DecisionSupportRule extends DomainResource {
* Path: <b>DecisionSupportRule.moduleMetadata.topic</b><br>
* </p>
*/
@SearchParamDefinition(name="topic", path="DecisionSupportRule.moduleMetadata.topic", description="Topics associated with the module", type="token", target={} )
@SearchParamDefinition(name="topic", path="DecisionSupportRule.moduleMetadata.topic", description="Topics associated with the module", type="token" )
public static final String SP_TOPIC = "topic";
/**
* <b>Fluent Client</b> search parameter constant for <b>topic</b>
@ -559,7 +559,7 @@ public class DecisionSupportRule extends DomainResource {
* Path: <b>DecisionSupportRule.moduleMetadata.description</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="DecisionSupportRule.moduleMetadata.description", description="Text search against the description", type="string", target={} )
@SearchParamDefinition(name="description", path="DecisionSupportRule.moduleMetadata.description", description="Text search against the description", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -579,7 +579,7 @@ public class DecisionSupportRule extends DomainResource {
* Path: <b>DecisionSupportRule.moduleMetadata.title</b><br>
* </p>
*/
@SearchParamDefinition(name="title", path="DecisionSupportRule.moduleMetadata.title", description="Text search against the title", type="string", target={} )
@SearchParamDefinition(name="title", path="DecisionSupportRule.moduleMetadata.title", description="Text search against the title", type="string" )
public static final String SP_TITLE = "title";
/**
* <b>Fluent Client</b> search parameter constant for <b>title</b>
@ -599,7 +599,7 @@ public class DecisionSupportRule extends DomainResource {
* Path: <b>DecisionSupportRule.moduleMetadata.version</b><br>
* </p>
*/
@SearchParamDefinition(name="version", path="DecisionSupportRule.moduleMetadata.version", description="Version of the module (e.g. 1.0.0)", type="string", target={} )
@SearchParamDefinition(name="version", path="DecisionSupportRule.moduleMetadata.version", description="Version of the module (e.g. 1.0.0)", type="string" )
public static final String SP_VERSION = "version";
/**
* <b>Fluent Client</b> search parameter constant for <b>version</b>
@ -619,7 +619,7 @@ public class DecisionSupportRule extends DomainResource {
* Path: <b>DecisionSupportRule.moduleMetadata.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DecisionSupportRule.moduleMetadata.status", description="Status of the module", type="token", target={} )
@SearchParamDefinition(name="status", path="DecisionSupportRule.moduleMetadata.status", description="Status of the module", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -423,7 +423,7 @@ public class DecisionSupportServiceModule extends DomainResource {
* Path: <b>DecisionSupportServiceModule.moduleMetadata.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DecisionSupportServiceModule.moduleMetadata.identifier", description="Logical identifier for the module (e.g. CMS-143)", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DecisionSupportServiceModule.moduleMetadata.identifier", description="Logical identifier for the module (e.g. CMS-143)", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -443,7 +443,7 @@ public class DecisionSupportServiceModule extends DomainResource {
* Path: <b>DecisionSupportServiceModule.moduleMetadata.topic</b><br>
* </p>
*/
@SearchParamDefinition(name="topic", path="DecisionSupportServiceModule.moduleMetadata.topic", description="Topics associated with the module", type="token", target={} )
@SearchParamDefinition(name="topic", path="DecisionSupportServiceModule.moduleMetadata.topic", description="Topics associated with the module", type="token" )
public static final String SP_TOPIC = "topic";
/**
* <b>Fluent Client</b> search parameter constant for <b>topic</b>
@ -463,7 +463,7 @@ public class DecisionSupportServiceModule extends DomainResource {
* Path: <b>DecisionSupportServiceModule.moduleMetadata.description</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="DecisionSupportServiceModule.moduleMetadata.description", description="Text search against the description", type="string", target={} )
@SearchParamDefinition(name="description", path="DecisionSupportServiceModule.moduleMetadata.description", description="Text search against the description", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -483,7 +483,7 @@ public class DecisionSupportServiceModule extends DomainResource {
* Path: <b>DecisionSupportServiceModule.moduleMetadata.title</b><br>
* </p>
*/
@SearchParamDefinition(name="title", path="DecisionSupportServiceModule.moduleMetadata.title", description="Text search against the title", type="string", target={} )
@SearchParamDefinition(name="title", path="DecisionSupportServiceModule.moduleMetadata.title", description="Text search against the title", type="string" )
public static final String SP_TITLE = "title";
/**
* <b>Fluent Client</b> search parameter constant for <b>title</b>
@ -503,7 +503,7 @@ public class DecisionSupportServiceModule extends DomainResource {
* Path: <b>DecisionSupportServiceModule.moduleMetadata.version</b><br>
* </p>
*/
@SearchParamDefinition(name="version", path="DecisionSupportServiceModule.moduleMetadata.version", description="Version of the module (e.g. 1.0.0)", type="string", target={} )
@SearchParamDefinition(name="version", path="DecisionSupportServiceModule.moduleMetadata.version", description="Version of the module (e.g. 1.0.0)", type="string" )
public static final String SP_VERSION = "version";
/**
* <b>Fluent Client</b> search parameter constant for <b>version</b>
@ -523,7 +523,7 @@ public class DecisionSupportServiceModule extends DomainResource {
* Path: <b>DecisionSupportServiceModule.moduleMetadata.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DecisionSupportServiceModule.moduleMetadata.status", description="Status of the module", type="token", target={} )
@SearchParamDefinition(name="status", path="DecisionSupportServiceModule.moduleMetadata.status", description="Status of the module", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -161,6 +161,7 @@ public class DetectedIssue extends DomainResource {
*/
@Child(name = "action", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="What mitigation?", formalDefinition="Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified issue." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action")
protected CodeableConcept action;
/**
@ -449,6 +450,7 @@ public class DetectedIssue extends DomainResource {
*/
@Child(name = "category", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Issue Category, e.g. drug-drug, duplicate therapy, etc.", formalDefinition="Identifies the general type of issue identified." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/detectedissue-category")
protected CodeableConcept category;
/**
@ -456,6 +458,7 @@ public class DetectedIssue extends DomainResource {
*/
@Child(name = "severity", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="high | moderate | low", formalDefinition="Indicates the degree of importance associated with the identified issue based on the potential impact on the patient." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/detectedissue-severity")
protected Enumeration<DetectedIssueSeverity> severity;
/**
@ -1198,7 +1201,7 @@ public class DetectedIssue extends DomainResource {
* Path: <b>DetectedIssue.date</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="DetectedIssue.date", description="When identified", type="date", target={} )
@SearchParamDefinition(name="date", path="DetectedIssue.date", description="When identified", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -1218,7 +1221,7 @@ public class DetectedIssue extends DomainResource {
* Path: <b>DetectedIssue.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DetectedIssue.identifier", description="Unique id for the detected issue", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DetectedIssue.identifier", description="Unique id for the detected issue", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1238,7 +1241,7 @@ public class DetectedIssue extends DomainResource {
* Path: <b>DetectedIssue.patient</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DetectedIssue.patient", description="Associated patient", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="patient", path="DetectedIssue.patient", description="Associated patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1264,7 +1267,7 @@ public class DetectedIssue extends DomainResource {
* Path: <b>DetectedIssue.author</b><br>
* </p>
*/
@SearchParamDefinition(name="author", path="DetectedIssue.author", description="The provider or device that identified the issue", type="reference", target={Practitioner.class, Device.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="author", path="DetectedIssue.author", description="The provider or device that identified the issue", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_AUTHOR = "author";
/**
* <b>Fluent Client</b> search parameter constant for <b>author</b>
@ -1316,7 +1319,7 @@ public class DetectedIssue extends DomainResource {
* Path: <b>DetectedIssue.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="DetectedIssue.category", description="Issue Category, e.g. drug-drug, duplicate therapy, etc.", type="token", target={} )
@SearchParamDefinition(name="category", path="DetectedIssue.category", description="Issue Category, e.g. drug-drug, duplicate therapy, etc.", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -173,6 +173,7 @@ public class Device extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=2, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="available | not-available | entered-in-error", formalDefinition="Status of the Device availability." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/devicestatus")
protected Enumeration<DeviceStatus> status;
/**
@ -180,6 +181,7 @@ public class Device extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=false)
@Description(shortDefinition="What kind of device this is", formalDefinition="Code or identifier to identify a kind of device." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-kind")
protected CodeableConcept type;
/**
@ -1341,7 +1343,7 @@ public class Device extends DomainResource {
* Path: <b>Device.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="Device.identifier", description="Instance id from manufacturer, owner, and others", type="token", target={} )
@SearchParamDefinition(name="identifier", path="Device.identifier", description="Instance id from manufacturer, owner, and others", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1361,7 +1363,7 @@ public class Device extends DomainResource {
* Path: <b>Device.patient</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="Device.patient", description="Patient information, if the resource is affixed to a person", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="Device.patient", description="Patient information, if the resource is affixed to a person", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1387,7 +1389,7 @@ public class Device extends DomainResource {
* Path: <b>Device.owner</b><br>
* </p>
*/
@SearchParamDefinition(name="organization", path="Device.owner", description="The organization responsible for the device", type="reference", target={Organization.class} )
@SearchParamDefinition(name="organization", path="Device.owner", description="The organization responsible for the device", type="reference" )
public static final String SP_ORGANIZATION = "organization";
/**
* <b>Fluent Client</b> search parameter constant for <b>organization</b>
@ -1413,7 +1415,7 @@ public class Device extends DomainResource {
* Path: <b>Device.model</b><br>
* </p>
*/
@SearchParamDefinition(name="model", path="Device.model", description="The model of the device", type="string", target={} )
@SearchParamDefinition(name="model", path="Device.model", description="The model of the device", type="string" )
public static final String SP_MODEL = "model";
/**
* <b>Fluent Client</b> search parameter constant for <b>model</b>
@ -1433,7 +1435,7 @@ public class Device extends DomainResource {
* Path: <b>Device.location</b><br>
* </p>
*/
@SearchParamDefinition(name="location", path="Device.location", description="A location, where the resource is found", type="reference", target={Location.class} )
@SearchParamDefinition(name="location", path="Device.location", description="A location, where the resource is found", type="reference" )
public static final String SP_LOCATION = "location";
/**
* <b>Fluent Client</b> search parameter constant for <b>location</b>
@ -1459,7 +1461,7 @@ public class Device extends DomainResource {
* Path: <b>Device.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="Device.type", description="The type of the device", type="token", target={} )
@SearchParamDefinition(name="type", path="Device.type", description="The type of the device", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -1479,7 +1481,7 @@ public class Device extends DomainResource {
* Path: <b>Device.udiCarrier</b><br>
* </p>
*/
@SearchParamDefinition(name="udicarrier", path="Device.udiCarrier", description="Barcode string (udi)", type="token", target={} )
@SearchParamDefinition(name="udicarrier", path="Device.udiCarrier", description="Barcode string (udi)", type="token" )
public static final String SP_UDICARRIER = "udicarrier";
/**
* <b>Fluent Client</b> search parameter constant for <b>udicarrier</b>
@ -1499,7 +1501,7 @@ public class Device extends DomainResource {
* Path: <b>Device.url</b><br>
* </p>
*/
@SearchParamDefinition(name="url", path="Device.url", description="Network address to contact device", type="uri", target={} )
@SearchParamDefinition(name="url", path="Device.url", description="Network address to contact device", type="uri" )
public static final String SP_URL = "url";
/**
* <b>Fluent Client</b> search parameter constant for <b>url</b>
@ -1519,7 +1521,7 @@ public class Device extends DomainResource {
* Path: <b>Device.manufacturer</b><br>
* </p>
*/
@SearchParamDefinition(name="manufacturer", path="Device.manufacturer", description="The manufacturer of the device", type="string", target={} )
@SearchParamDefinition(name="manufacturer", path="Device.manufacturer", description="The manufacturer of the device", type="string" )
public static final String SP_MANUFACTURER = "manufacturer";
/**
* <b>Fluent Client</b> search parameter constant for <b>manufacturer</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -593,6 +593,7 @@ public class DeviceComponent extends DomainResource {
*/
@Child(name = "measurementPrinciple", type = {CodeType.class}, order=7, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="other | chemical | electrical | impedance | nuclear | optical | thermal | biological | mechanical | acoustical | manual+", formalDefinition="Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/measurement-principle")
protected Enumeration<MeasmntPrinciple> measurementPrinciple;
/**
@ -1245,7 +1246,7 @@ public class DeviceComponent extends DomainResource {
* Path: <b>DeviceComponent.parent</b><br>
* </p>
*/
@SearchParamDefinition(name="parent", path="DeviceComponent.parent", description="The parent DeviceComponent resource", type="reference", target={DeviceComponent.class} )
@SearchParamDefinition(name="parent", path="DeviceComponent.parent", description="The parent DeviceComponent resource", type="reference" )
public static final String SP_PARENT = "parent";
/**
* <b>Fluent Client</b> search parameter constant for <b>parent</b>
@ -1271,7 +1272,7 @@ public class DeviceComponent extends DomainResource {
* Path: <b>DeviceComponent.source</b><br>
* </p>
*/
@SearchParamDefinition(name="source", path="DeviceComponent.source", description="The device source", type="reference", target={Device.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
@SearchParamDefinition(name="source", path="DeviceComponent.source", description="The device source", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
public static final String SP_SOURCE = "source";
/**
* <b>Fluent Client</b> search parameter constant for <b>source</b>
@ -1297,7 +1298,7 @@ public class DeviceComponent extends DomainResource {
* Path: <b>DeviceComponent.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="DeviceComponent.type", description="The device component type", type="token", target={} )
@SearchParamDefinition(name="type", path="DeviceComponent.type", description="The device component type", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -713,6 +713,7 @@ public class DeviceMetric extends DomainResource {
*/
@Child(name = "type", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="unspecified | offset | gain | two-point", formalDefinition="Describes the type of the calibration method." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-calibration-type")
protected Enumeration<DeviceMetricCalibrationType> type;
/**
@ -720,6 +721,7 @@ public class DeviceMetric extends DomainResource {
*/
@Child(name = "state", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="not-calibrated | calibration-required | calibrated | unspecified", formalDefinition="Describes the state of the calibration." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-calibration-state")
protected Enumeration<DeviceMetricCalibrationState> state;
/**
@ -1050,6 +1052,7 @@ public class DeviceMetric extends DomainResource {
*/
@Child(name = "operationalStatus", type = {CodeType.class}, order=5, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="on | off | standby", formalDefinition="Indicates current operational state of the device. For example: On, Off, Standby, etc." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-operational-status")
protected Enumeration<DeviceMetricOperationalStatus> operationalStatus;
/**
@ -1057,6 +1060,7 @@ public class DeviceMetric extends DomainResource {
*/
@Child(name = "color", type = {CodeType.class}, order=6, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="black | red | green | yellow | blue | magenta | cyan | white", formalDefinition="Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-color")
protected Enumeration<DeviceMetricColor> color;
/**
@ -1064,6 +1068,7 @@ public class DeviceMetric extends DomainResource {
*/
@Child(name = "category", type = {CodeType.class}, order=7, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="measurement | setting | calculation | unspecified", formalDefinition="Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/metric-category")
protected Enumeration<DeviceMetricCategory> category;
/**
@ -1706,7 +1711,7 @@ public class DeviceMetric extends DomainResource {
* Path: <b>DeviceMetric.parent</b><br>
* </p>
*/
@SearchParamDefinition(name="parent", path="DeviceMetric.parent", description="The parent DeviceMetric resource", type="reference", target={DeviceComponent.class} )
@SearchParamDefinition(name="parent", path="DeviceMetric.parent", description="The parent DeviceMetric resource", type="reference" )
public static final String SP_PARENT = "parent";
/**
* <b>Fluent Client</b> search parameter constant for <b>parent</b>
@ -1732,7 +1737,7 @@ public class DeviceMetric extends DomainResource {
* Path: <b>DeviceMetric.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DeviceMetric.identifier", description="The identifier of the metric", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DeviceMetric.identifier", description="The identifier of the metric", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1752,7 +1757,7 @@ public class DeviceMetric extends DomainResource {
* Path: <b>DeviceMetric.source</b><br>
* </p>
*/
@SearchParamDefinition(name="source", path="DeviceMetric.source", description="The device resource", type="reference", target={Device.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
@SearchParamDefinition(name="source", path="DeviceMetric.source", description="The device resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
public static final String SP_SOURCE = "source";
/**
* <b>Fluent Client</b> search parameter constant for <b>source</b>
@ -1778,7 +1783,7 @@ public class DeviceMetric extends DomainResource {
* Path: <b>DeviceMetric.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="DeviceMetric.type", description="The component type", type="token", target={} )
@SearchParamDefinition(name="type", path="DeviceMetric.type", description="The component type", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -1798,7 +1803,7 @@ public class DeviceMetric extends DomainResource {
* Path: <b>DeviceMetric.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="DeviceMetric.category", description="The category of the metric", type="token", target={} )
@SearchParamDefinition(name="category", path="DeviceMetric.category", description="The category of the metric", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -400,6 +400,7 @@ public class DeviceUseRequest extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=1, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | aborted", formalDefinition="The status of the request." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-use-request-status")
protected Enumeration<DeviceUseRequestStatus> status;
/**
@ -492,6 +493,7 @@ public class DeviceUseRequest extends DomainResource {
*/
@Child(name = "priority", type = {CodeType.class}, order=12, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="routine | urgent | stat | asap", formalDefinition="Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-use-request-priority")
protected Enumeration<DeviceUseRequestPriority> priority;
private static final long serialVersionUID = 1208477058L;
@ -1451,7 +1453,7 @@ public class DeviceUseRequest extends DomainResource {
* Path: <b>DeviceUseRequest.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="DeviceUseRequest.subject", description="Search by subject", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="subject", path="DeviceUseRequest.subject", description="Search by subject", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -1477,7 +1479,7 @@ public class DeviceUseRequest extends DomainResource {
* Path: <b>DeviceUseRequest.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DeviceUseRequest.subject", description="Search by subject - a patient", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="DeviceUseRequest.subject", description="Search by subject - a patient", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1503,7 +1505,7 @@ public class DeviceUseRequest extends DomainResource {
* Path: <b>DeviceUseRequest.device</b><br>
* </p>
*/
@SearchParamDefinition(name="device", path="DeviceUseRequest.device", description="Device requested", type="reference", target={Device.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
@SearchParamDefinition(name="device", path="DeviceUseRequest.device", description="Device requested", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
public static final String SP_DEVICE = "device";
/**
* <b>Fluent Client</b> search parameter constant for <b>device</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -803,7 +803,7 @@ public class DeviceUseStatement extends DomainResource {
* Path: <b>DeviceUseStatement.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="DeviceUseStatement.subject", description="Search by subject", type="reference", target={Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="subject", path="DeviceUseStatement.subject", description="Search by subject", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -829,7 +829,7 @@ public class DeviceUseStatement extends DomainResource {
* Path: <b>DeviceUseStatement.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DeviceUseStatement.subject", description="Search by subject - a patient", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="DeviceUseStatement.subject", description="Search by subject - a patient", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -855,7 +855,7 @@ public class DeviceUseStatement extends DomainResource {
* Path: <b>DeviceUseStatement.device</b><br>
* </p>
*/
@SearchParamDefinition(name="device", path="DeviceUseStatement.device", description="Search by device", type="reference", target={Device.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
@SearchParamDefinition(name="device", path="DeviceUseStatement.device", description="Search by device", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device") } )
public static final String SP_DEVICE = "device";
/**
* <b>Fluent Client</b> search parameter constant for <b>device</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -459,6 +459,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", formalDefinition="The status for the event." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-order-status")
protected Enumeration<DiagnosticOrderStatus> status;
/**
@ -466,6 +467,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "description", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="More information about the event and its context", formalDefinition="Additional information about the event that occurred - e.g. if the status remained unchanged." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-order-event")
protected CodeableConcept description;
/**
@ -794,6 +796,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Code to indicate the item (test or panel) being ordered", formalDefinition="A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-requests")
protected CodeableConcept code;
/**
@ -801,6 +804,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "bodySite", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false)
@Description(shortDefinition="Location of requested test (if applicable)", formalDefinition="Anatomical location where the request test should be performed. This is the target site." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site")
protected CodeableConcept bodySite;
/**
@ -808,6 +812,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=3, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", formalDefinition="The status of this individual item within the order." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-order-status")
protected Enumeration<DiagnosticOrderStatus> status;
/**
@ -1129,6 +1134,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=1, min=0, max=1, modifier=true, summary=true)
@Description(shortDefinition="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", formalDefinition="The status of the order." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-order-status")
protected Enumeration<DiagnosticOrderStatus> status;
/**
@ -1136,6 +1142,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "priority", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="routine | urgent | stat | asap", formalDefinition="The clinical priority associated with this order." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-order-priority")
protected Enumeration<DiagnosticOrderPriority> priority;
/**
@ -1179,6 +1186,7 @@ public class DiagnosticOrder extends DomainResource {
*/
@Child(name = "reason", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Explanation/Justification for test", formalDefinition="An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code")
protected List<CodeableConcept> reason;
/**
@ -2041,7 +2049,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.item.event.status</b><br>
* </p>
*/
@SearchParamDefinition(name="item-past-status", path="DiagnosticOrder.item.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="item-past-status", path="DiagnosticOrder.item.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token" )
public static final String SP_ITEM_PAST_STATUS = "item-past-status";
/**
* <b>Fluent Client</b> search parameter constant for <b>item-past-status</b>
@ -2061,7 +2069,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DiagnosticOrder.identifier", description="Identifiers assigned to this order", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DiagnosticOrder.identifier", description="Identifiers assigned to this order", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -2081,7 +2089,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.item.bodySite</b><br>
* </p>
*/
@SearchParamDefinition(name="bodysite", path="DiagnosticOrder.item.bodySite", description="Location of requested test (if applicable)", type="token", target={} )
@SearchParamDefinition(name="bodysite", path="DiagnosticOrder.item.bodySite", description="Location of requested test (if applicable)", type="token" )
public static final String SP_BODYSITE = "bodysite";
/**
* <b>Fluent Client</b> search parameter constant for <b>bodysite</b>
@ -2101,7 +2109,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.item.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="DiagnosticOrder.item.code", description="Code to indicate the item (test or panel) being ordered", type="token", target={} )
@SearchParamDefinition(name="code", path="DiagnosticOrder.item.code", description="Code to indicate the item (test or panel) being ordered", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -2121,7 +2129,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.event.dateTime</b><br>
* </p>
*/
@SearchParamDefinition(name="event-date", path="DiagnosticOrder.event.dateTime", description="The date at which the event happened", type="date", target={} )
@SearchParamDefinition(name="event-date", path="DiagnosticOrder.event.dateTime", description="The date at which the event happened", type="date" )
public static final String SP_EVENT_DATE = "event-date";
/**
* <b>Fluent Client</b> search parameter constant for <b>event-date</b>
@ -2141,7 +2149,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b></b><br>
* </p>
*/
@SearchParamDefinition(name="event-status-date", path="", description="A combination of past-status and date", type="composite", compositeOf={"event-status", "event-date"}, target={} )
@SearchParamDefinition(name="event-status-date", path="", description="A combination of past-status and date", type="composite", compositeOf={"event-status", "event-date"} )
public static final String SP_EVENT_STATUS_DATE = "event-status-date";
/**
* <b>Fluent Client</b> search parameter constant for <b>event-status-date</b>
@ -2161,7 +2169,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference", target={Group.class, Device.class, Patient.class, Location.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="subject", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -2187,7 +2195,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="DiagnosticOrder.encounter", description="The encounter that this diagnostic order is associated with", type="reference", target={Encounter.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
@SearchParamDefinition(name="encounter", path="DiagnosticOrder.encounter", description="The encounter that this diagnostic order is associated with", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -2213,7 +2221,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.event.actor, DiagnosticOrder.item.event.actor</b><br>
* </p>
*/
@SearchParamDefinition(name="actor", path="DiagnosticOrder.event.actor | DiagnosticOrder.item.event.actor", description="Who recorded or did this", type="reference", target={Practitioner.class, Device.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="actor", path="DiagnosticOrder.event.actor | DiagnosticOrder.item.event.actor", description="Who recorded or did this", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_ACTOR = "actor";
/**
* <b>Fluent Client</b> search parameter constant for <b>actor</b>
@ -2239,7 +2247,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.item.event.dateTime</b><br>
* </p>
*/
@SearchParamDefinition(name="item-date", path="DiagnosticOrder.item.event.dateTime", description="The date at which the event happened", type="date", target={} )
@SearchParamDefinition(name="item-date", path="DiagnosticOrder.item.event.dateTime", description="The date at which the event happened", type="date" )
public static final String SP_ITEM_DATE = "item-date";
/**
* <b>Fluent Client</b> search parameter constant for <b>item-date</b>
@ -2259,7 +2267,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b></b><br>
* </p>
*/
@SearchParamDefinition(name="item-status-date", path="", description="A combination of item-past-status and item-date", type="composite", compositeOf={"item-past-status", "item-date"}, target={} )
@SearchParamDefinition(name="item-status-date", path="", description="A combination of item-past-status and item-date", type="composite", compositeOf={"item-past-status", "item-date"} )
public static final String SP_ITEM_STATUS_DATE = "item-status-date";
/**
* <b>Fluent Client</b> search parameter constant for <b>item-status-date</b>
@ -2279,7 +2287,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.event.status</b><br>
* </p>
*/
@SearchParamDefinition(name="event-status", path="DiagnosticOrder.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="event-status", path="DiagnosticOrder.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token" )
public static final String SP_EVENT_STATUS = "event-status";
/**
* <b>Fluent Client</b> search parameter constant for <b>event-status</b>
@ -2299,7 +2307,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.item.status</b><br>
* </p>
*/
@SearchParamDefinition(name="item-status", path="DiagnosticOrder.item.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="item-status", path="DiagnosticOrder.item.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token" )
public static final String SP_ITEM_STATUS = "item-status";
/**
* <b>Fluent Client</b> search parameter constant for <b>item-status</b>
@ -2319,7 +2327,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2345,7 +2353,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.orderer</b><br>
* </p>
*/
@SearchParamDefinition(name="orderer", path="DiagnosticOrder.orderer", description="Who ordered the test", type="reference", target={Practitioner.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="orderer", path="DiagnosticOrder.orderer", description="Who ordered the test", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_ORDERER = "orderer";
/**
* <b>Fluent Client</b> search parameter constant for <b>orderer</b>
@ -2371,7 +2379,7 @@ public class DiagnosticOrder extends DomainResource {
* Path: <b>DiagnosticOrder.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DiagnosticOrder.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="status", path="DiagnosticOrder.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed | entered-in-error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -463,6 +463,7 @@ public class DiagnosticReport extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="registered | partial | final | corrected | appended | cancelled | entered-in-error", formalDefinition="The status of the diagnostic report as a whole." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-report-status")
protected Enumeration<DiagnosticReportStatus> status;
/**
@ -470,6 +471,7 @@ public class DiagnosticReport extends DomainResource {
*/
@Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Service category", formalDefinition="A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diagnostic-service-sections")
protected CodeableConcept category;
/**
@ -477,6 +479,7 @@ public class DiagnosticReport extends DomainResource {
*/
@Child(name = "code", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Name/Code for this diagnostic report", formalDefinition="A code or name that describes this diagnostic report." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/report-codes")
protected CodeableConcept code;
/**
@ -596,6 +599,7 @@ public class DiagnosticReport extends DomainResource {
*/
@Child(name = "codedDiagnosis", type = {CodeableConcept.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
@Description(shortDefinition="Codes for the conclusion", formalDefinition="Codes for the conclusion." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-findings")
protected List<CodeableConcept> codedDiagnosis;
/**
@ -1842,7 +1846,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.effective[x]</b><br>
* </p>
*/
@SearchParamDefinition(name="date", path="DiagnosticReport.effective", description="The clinically relevant time of the report", type="date", target={} )
@SearchParamDefinition(name="date", path="DiagnosticReport.effective", description="The clinically relevant time of the report", type="date" )
public static final String SP_DATE = "date";
/**
* <b>Fluent Client</b> search parameter constant for <b>date</b>
@ -1862,7 +1866,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DiagnosticReport.identifier", description="An identifier for the report", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DiagnosticReport.identifier", description="An identifier for the report", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1882,7 +1886,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.image.link</b><br>
* </p>
*/
@SearchParamDefinition(name="image", path="DiagnosticReport.image.link", description="A reference to the image source.", type="reference", target={Media.class} )
@SearchParamDefinition(name="image", path="DiagnosticReport.image.link", description="A reference to the image source.", type="reference" )
public static final String SP_IMAGE = "image";
/**
* <b>Fluent Client</b> search parameter constant for <b>image</b>
@ -1908,7 +1912,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.request</b><br>
* </p>
*/
@SearchParamDefinition(name="request", path="DiagnosticReport.request", description="Reference to the test or procedure request.", type="reference", target={ReferralRequest.class, DiagnosticOrder.class, ProcedureRequest.class} )
@SearchParamDefinition(name="request", path="DiagnosticReport.request", description="Reference to the test or procedure request.", type="reference" )
public static final String SP_REQUEST = "request";
/**
* <b>Fluent Client</b> search parameter constant for <b>request</b>
@ -1934,7 +1938,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.performer</b><br>
* </p>
*/
@SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who was the source of the report (organization)", type="reference", target={Practitioner.class, Organization.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who was the source of the report (organization)", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_PERFORMER = "performer";
/**
* <b>Fluent Client</b> search parameter constant for <b>performer</b>
@ -1960,7 +1964,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.code</b><br>
* </p>
*/
@SearchParamDefinition(name="code", path="DiagnosticReport.code", description="The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result", type="token", target={} )
@SearchParamDefinition(name="code", path="DiagnosticReport.code", description="The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result", type="token" )
public static final String SP_CODE = "code";
/**
* <b>Fluent Client</b> search parameter constant for <b>code</b>
@ -1980,7 +1984,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference", target={Group.class, Device.class, Patient.class, Location.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
@SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -2006,7 +2010,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.codedDiagnosis</b><br>
* </p>
*/
@SearchParamDefinition(name="diagnosis", path="DiagnosticReport.codedDiagnosis", description="A coded diagnosis on the report", type="token", target={} )
@SearchParamDefinition(name="diagnosis", path="DiagnosticReport.codedDiagnosis", description="A coded diagnosis on the report", type="token" )
public static final String SP_DIAGNOSIS = "diagnosis";
/**
* <b>Fluent Client</b> search parameter constant for <b>diagnosis</b>
@ -2026,7 +2030,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="DiagnosticReport.encounter", description="The Encounter when the order was made", type="reference", target={Encounter.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
@SearchParamDefinition(name="encounter", path="DiagnosticReport.encounter", description="The Encounter when the order was made", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Encounter") } )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -2052,7 +2056,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.result</b><br>
* </p>
*/
@SearchParamDefinition(name="result", path="DiagnosticReport.result", description="Link to an atomic result (observation resource)", type="reference", target={Observation.class} )
@SearchParamDefinition(name="result", path="DiagnosticReport.result", description="Link to an atomic result (observation resource)", type="reference" )
public static final String SP_RESULT = "result";
/**
* <b>Fluent Client</b> search parameter constant for <b>result</b>
@ -2078,7 +2082,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DiagnosticReport.subject", description="The subject of the report if a patient", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="DiagnosticReport.subject", description="The subject of the report if a patient", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2104,7 +2108,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.specimen</b><br>
* </p>
*/
@SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference", target={Specimen.class} )
@SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference" )
public static final String SP_SPECIMEN = "specimen";
/**
* <b>Fluent Client</b> search parameter constant for <b>specimen</b>
@ -2130,7 +2134,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.issued</b><br>
* </p>
*/
@SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date", target={} )
@SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date" )
public static final String SP_ISSUED = "issued";
/**
* <b>Fluent Client</b> search parameter constant for <b>issued</b>
@ -2150,7 +2154,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.category</b><br>
* </p>
*/
@SearchParamDefinition(name="category", path="DiagnosticReport.category", description="Which diagnostic discipline/department created the report", type="token", target={} )
@SearchParamDefinition(name="category", path="DiagnosticReport.category", description="Which diagnostic discipline/department created the report", type="token" )
public static final String SP_CATEGORY = "category";
/**
* <b>Fluent Client</b> search parameter constant for <b>category</b>
@ -2170,7 +2174,7 @@ public class DiagnosticReport extends DomainResource {
* Path: <b>DiagnosticReport.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token", target={} )
@SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -453,6 +453,7 @@ public class DocumentManifest extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Kind of document set", formalDefinition="Specifies the kind of this set of documents (e.g. Patient Summary, Discharge Summary, Prescription, etc.). The type of a set of documents may be the same as one of the documents in it - especially if there is only one - but it may be wider." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-doc-typecodes")
protected CodeableConcept type;
/**
@ -486,6 +487,7 @@ public class DocumentManifest extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=8, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="current | superseded | entered-in-error", formalDefinition="The status of this document manifest." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-reference-status")
protected Enumeration<DocumentReferenceStatus> status;
/**
@ -1356,7 +1358,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.masterIdentifier, DocumentManifest.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DocumentManifest.masterIdentifier | DocumentManifest.identifier", description="Unique Identifier for the set of documents", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DocumentManifest.masterIdentifier | DocumentManifest.identifier", description="Unique Identifier for the set of documents", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -1376,7 +1378,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.related.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="related-id", path="DocumentManifest.related.identifier", description="Identifiers of things that are related", type="token", target={} )
@SearchParamDefinition(name="related-id", path="DocumentManifest.related.identifier", description="Identifiers of things that are related", type="token" )
public static final String SP_RELATED_ID = "related-id";
/**
* <b>Fluent Client</b> search parameter constant for <b>related-id</b>
@ -1422,7 +1424,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference", target={Practitioner.class, Group.class, Device.class, Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="subject", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -1448,7 +1450,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.author</b><br>
* </p>
*/
@SearchParamDefinition(name="author", path="DocumentManifest.author", description="Who and/or what authored the manifest", type="reference", target={Practitioner.class, Organization.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="author", path="DocumentManifest.author", description="Who and/or what authored the manifest", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_AUTHOR = "author";
/**
* <b>Fluent Client</b> search parameter constant for <b>author</b>
@ -1474,7 +1476,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.created</b><br>
* </p>
*/
@SearchParamDefinition(name="created", path="DocumentManifest.created", description="When this document manifest created", type="date", target={} )
@SearchParamDefinition(name="created", path="DocumentManifest.created", description="When this document manifest created", type="date" )
public static final String SP_CREATED = "created";
/**
* <b>Fluent Client</b> search parameter constant for <b>created</b>
@ -1494,7 +1496,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.description</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="DocumentManifest.description", description="Human-readable description (title)", type="string", target={} )
@SearchParamDefinition(name="description", path="DocumentManifest.description", description="Human-readable description (title)", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -1514,7 +1516,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.source</b><br>
* </p>
*/
@SearchParamDefinition(name="source", path="DocumentManifest.source", description="The source system/application/software", type="uri", target={} )
@SearchParamDefinition(name="source", path="DocumentManifest.source", description="The source system/application/software", type="uri" )
public static final String SP_SOURCE = "source";
/**
* <b>Fluent Client</b> search parameter constant for <b>source</b>
@ -1534,7 +1536,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="DocumentManifest.type", description="Kind of document set", type="token", target={} )
@SearchParamDefinition(name="type", path="DocumentManifest.type", description="Kind of document set", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -1580,7 +1582,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -1606,7 +1608,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.recipient</b><br>
* </p>
*/
@SearchParamDefinition(name="recipient", path="DocumentManifest.recipient", description="Intended to get notified about this set of documents", type="reference", target={Practitioner.class, Organization.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="recipient", path="DocumentManifest.recipient", description="Intended to get notified about this set of documents", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_RECIPIENT = "recipient";
/**
* <b>Fluent Client</b> search parameter constant for <b>recipient</b>
@ -1632,7 +1634,7 @@ public class DocumentManifest extends DomainResource {
* Path: <b>DocumentManifest.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superseded | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superseded | entered-in-error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sun, May 29, 2016 16:57-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -178,6 +178,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="replaces | transforms | signs | appends", formalDefinition="The type of relationship that this document has with anther document." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-relationship-type")
protected Enumeration<DocumentRelationshipType> code;
/**
@ -415,6 +416,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "format", type = {Coding.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Format/content rules for the document", formalDefinition="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/formatcodes")
protected List<Coding> format;
private static final long serialVersionUID = -1412643085L;
@ -636,6 +638,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "event", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Main Clinical Acts Documented", formalDefinition="This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/v3-ActCode")
protected List<CodeableConcept> event;
/**
@ -650,6 +653,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "facilityType", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Kind of facility where patient was seen", formalDefinition="The kind of facility where the patient was seen." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-facilitycodes")
protected CodeableConcept facilityType;
/**
@ -657,6 +661,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "practiceSetting", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Additional details about where the content was created (e.g. clinical specialty)", formalDefinition="This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-practice-codes")
protected CodeableConcept practiceSetting;
/**
@ -1358,6 +1363,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "type", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Kind of document (LOINC if possible)", formalDefinition="Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-doc-typecodes")
protected CodeableConcept type;
/**
@ -1365,6 +1371,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "class", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="Categorization of document", formalDefinition="A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-doc-classcodes")
protected CodeableConcept class_;
/**
@ -1422,6 +1429,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "status", type = {CodeType.class}, order=10, min=1, max=1, modifier=true, summary=true)
@Description(shortDefinition="current | superseded | entered-in-error", formalDefinition="The status of this document reference." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-reference-status")
protected Enumeration<DocumentReferenceStatus> status;
/**
@ -1429,6 +1437,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "docStatus", type = {CodeableConcept.class}, order=11, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="preliminary | final | appended | amended | entered-in-error", formalDefinition="The status of the underlying document." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/composition-status")
protected CodeableConcept docStatus;
/**
@ -1450,6 +1459,7 @@ public class DocumentReference extends DomainResource {
*/
@Child(name = "securityLabel", type = {CodeableConcept.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Document security-tags", formalDefinition="A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-labels")
protected List<CodeableConcept> securityLabel;
/**
@ -2523,7 +2533,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.securityLabel</b><br>
* </p>
*/
@SearchParamDefinition(name="securitylabel", path="DocumentReference.securityLabel", description="Document security-tags", type="token", target={} )
@SearchParamDefinition(name="securitylabel", path="DocumentReference.securityLabel", description="Document security-tags", type="token" )
public static final String SP_SECURITYLABEL = "securitylabel";
/**
* <b>Fluent Client</b> search parameter constant for <b>securitylabel</b>
@ -2543,7 +2553,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="subject", path="DocumentReference.subject", description="Who/what is the subject of the document", type="reference", target={Practitioner.class, Group.class, Device.class, Patient.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="subject", path="DocumentReference.subject", description="Who/what is the subject of the document", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_SUBJECT = "subject";
/**
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
@ -2569,7 +2579,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.description</b><br>
* </p>
*/
@SearchParamDefinition(name="description", path="DocumentReference.description", description="Human-readable description (title)", type="string", target={} )
@SearchParamDefinition(name="description", path="DocumentReference.description", description="Human-readable description (title)", type="string" )
public static final String SP_DESCRIPTION = "description";
/**
* <b>Fluent Client</b> search parameter constant for <b>description</b>
@ -2589,7 +2599,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.content.attachment.language</b><br>
* </p>
*/
@SearchParamDefinition(name="language", path="DocumentReference.content.attachment.language", description="Human language of the content (BCP-47)", type="token", target={} )
@SearchParamDefinition(name="language", path="DocumentReference.content.attachment.language", description="Human language of the content (BCP-47)", type="token" )
public static final String SP_LANGUAGE = "language";
/**
* <b>Fluent Client</b> search parameter constant for <b>language</b>
@ -2609,7 +2619,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.type</b><br>
* </p>
*/
@SearchParamDefinition(name="type", path="DocumentReference.type", description="Kind of document (LOINC if possible)", type="token", target={} )
@SearchParamDefinition(name="type", path="DocumentReference.type", description="Kind of document (LOINC if possible)", type="token" )
public static final String SP_TYPE = "type";
/**
* <b>Fluent Client</b> search parameter constant for <b>type</b>
@ -2629,7 +2639,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.relatesTo.code</b><br>
* </p>
*/
@SearchParamDefinition(name="relation", path="DocumentReference.relatesTo.code", description="replaces | transforms | signs | appends", type="token", target={} )
@SearchParamDefinition(name="relation", path="DocumentReference.relatesTo.code", description="replaces | transforms | signs | appends", type="token" )
public static final String SP_RELATION = "relation";
/**
* <b>Fluent Client</b> search parameter constant for <b>relation</b>
@ -2649,7 +2659,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.context.practiceSetting</b><br>
* </p>
*/
@SearchParamDefinition(name="setting", path="DocumentReference.context.practiceSetting", description="Additional details about where the content was created (e.g. clinical specialty)", type="token", target={} )
@SearchParamDefinition(name="setting", path="DocumentReference.context.practiceSetting", description="Additional details about where the content was created (e.g. clinical specialty)", type="token" )
public static final String SP_SETTING = "setting";
/**
* <b>Fluent Client</b> search parameter constant for <b>setting</b>
@ -2669,7 +2679,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.subject</b><br>
* </p>
*/
@SearchParamDefinition(name="patient", path="DocumentReference.subject", description="Who/what is the subject of the document", type="reference", target={Patient.class} )
@SearchParamDefinition(name="patient", path="DocumentReference.subject", description="Who/what is the subject of the document", type="reference" )
public static final String SP_PATIENT = "patient";
/**
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
@ -2695,7 +2705,7 @@ public class DocumentReference extends DomainResource {
* Path: <b></b><br>
* </p>
*/
@SearchParamDefinition(name="relationship", path="", description="Combination of relation and relatesTo", type="composite", compositeOf={"relatesto", "relation"}, target={} )
@SearchParamDefinition(name="relationship", path="", description="Combination of relation and relatesTo", type="composite", compositeOf={"relatesto", "relation"} )
public static final String SP_RELATIONSHIP = "relationship";
/**
* <b>Fluent Client</b> search parameter constant for <b>relationship</b>
@ -2715,7 +2725,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.context.event</b><br>
* </p>
*/
@SearchParamDefinition(name="event", path="DocumentReference.context.event", description="Main Clinical Acts Documented", type="token", target={} )
@SearchParamDefinition(name="event", path="DocumentReference.context.event", description="Main Clinical Acts Documented", type="token" )
public static final String SP_EVENT = "event";
/**
* <b>Fluent Client</b> search parameter constant for <b>event</b>
@ -2735,7 +2745,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.class</b><br>
* </p>
*/
@SearchParamDefinition(name="class", path="DocumentReference.class", description="Categorization of document", type="token", target={} )
@SearchParamDefinition(name="class", path="DocumentReference.class", description="Categorization of document", type="token" )
public static final String SP_CLASS = "class";
/**
* <b>Fluent Client</b> search parameter constant for <b>class</b>
@ -2755,7 +2765,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.authenticator</b><br>
* </p>
*/
@SearchParamDefinition(name="authenticator", path="DocumentReference.authenticator", description="Who/what authenticated the document", type="reference", target={Practitioner.class, Organization.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
@SearchParamDefinition(name="authenticator", path="DocumentReference.authenticator", description="Who/what authenticated the document", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner") } )
public static final String SP_AUTHENTICATOR = "authenticator";
/**
* <b>Fluent Client</b> search parameter constant for <b>authenticator</b>
@ -2781,7 +2791,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.masterIdentifier, DocumentReference.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="identifier", path="DocumentReference.masterIdentifier | DocumentReference.identifier", description="Master Version Specific Identifier", type="token", target={} )
@SearchParamDefinition(name="identifier", path="DocumentReference.masterIdentifier | DocumentReference.identifier", description="Master Version Specific Identifier", type="token" )
public static final String SP_IDENTIFIER = "identifier";
/**
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
@ -2801,7 +2811,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.context.period</b><br>
* </p>
*/
@SearchParamDefinition(name="period", path="DocumentReference.context.period", description="Time of service that is being documented", type="date", target={} )
@SearchParamDefinition(name="period", path="DocumentReference.context.period", description="Time of service that is being documented", type="date" )
public static final String SP_PERIOD = "period";
/**
* <b>Fluent Client</b> search parameter constant for <b>period</b>
@ -2821,7 +2831,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.context.related.identifier</b><br>
* </p>
*/
@SearchParamDefinition(name="related-id", path="DocumentReference.context.related.identifier", description="Identifier of related objects or events", type="token", target={} )
@SearchParamDefinition(name="related-id", path="DocumentReference.context.related.identifier", description="Identifier of related objects or events", type="token" )
public static final String SP_RELATED_ID = "related-id";
/**
* <b>Fluent Client</b> search parameter constant for <b>related-id</b>
@ -2841,7 +2851,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.custodian</b><br>
* </p>
*/
@SearchParamDefinition(name="custodian", path="DocumentReference.custodian", description="Organization which maintains the document", type="reference", target={Organization.class} )
@SearchParamDefinition(name="custodian", path="DocumentReference.custodian", description="Organization which maintains the document", type="reference" )
public static final String SP_CUSTODIAN = "custodian";
/**
* <b>Fluent Client</b> search parameter constant for <b>custodian</b>
@ -2867,7 +2877,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.indexed</b><br>
* </p>
*/
@SearchParamDefinition(name="indexed", path="DocumentReference.indexed", description="When this document reference created", type="date", target={} )
@SearchParamDefinition(name="indexed", path="DocumentReference.indexed", description="When this document reference created", type="date" )
public static final String SP_INDEXED = "indexed";
/**
* <b>Fluent Client</b> search parameter constant for <b>indexed</b>
@ -2887,7 +2897,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.author</b><br>
* </p>
*/
@SearchParamDefinition(name="author", path="DocumentReference.author", description="Who and/or what authored the document", type="reference", target={Practitioner.class, Organization.class, Device.class, Patient.class, RelatedPerson.class}, providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
@SearchParamDefinition(name="author", path="DocumentReference.author", description="Who and/or what authored the document", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="RelatedPerson") } )
public static final String SP_AUTHOR = "author";
/**
* <b>Fluent Client</b> search parameter constant for <b>author</b>
@ -2913,7 +2923,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.created</b><br>
* </p>
*/
@SearchParamDefinition(name="created", path="DocumentReference.created", description="Document creation time", type="date", target={} )
@SearchParamDefinition(name="created", path="DocumentReference.created", description="Document creation time", type="date" )
public static final String SP_CREATED = "created";
/**
* <b>Fluent Client</b> search parameter constant for <b>created</b>
@ -2933,7 +2943,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.content.format</b><br>
* </p>
*/
@SearchParamDefinition(name="format", path="DocumentReference.content.format", description="Format/content rules for the document", type="token", target={} )
@SearchParamDefinition(name="format", path="DocumentReference.content.format", description="Format/content rules for the document", type="token" )
public static final String SP_FORMAT = "format";
/**
* <b>Fluent Client</b> search parameter constant for <b>format</b>
@ -2953,7 +2963,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.context.encounter</b><br>
* </p>
*/
@SearchParamDefinition(name="encounter", path="DocumentReference.context.encounter", description="Context of the document content", type="reference", target={Encounter.class} )
@SearchParamDefinition(name="encounter", path="DocumentReference.context.encounter", description="Context of the document content", type="reference" )
public static final String SP_ENCOUNTER = "encounter";
/**
* <b>Fluent Client</b> search parameter constant for <b>encounter</b>
@ -3005,7 +3015,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.content.attachment.url</b><br>
* </p>
*/
@SearchParamDefinition(name="location", path="DocumentReference.content.attachment.url", description="Uri where the data can be found", type="uri", target={} )
@SearchParamDefinition(name="location", path="DocumentReference.content.attachment.url", description="Uri where the data can be found", type="uri" )
public static final String SP_LOCATION = "location";
/**
* <b>Fluent Client</b> search parameter constant for <b>location</b>
@ -3025,7 +3035,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.relatesTo.target</b><br>
* </p>
*/
@SearchParamDefinition(name="relatesto", path="DocumentReference.relatesTo.target", description="Target of the relationship", type="reference", target={DocumentReference.class} )
@SearchParamDefinition(name="relatesto", path="DocumentReference.relatesTo.target", description="Target of the relationship", type="reference" )
public static final String SP_RELATESTO = "relatesto";
/**
* <b>Fluent Client</b> search parameter constant for <b>relatesto</b>
@ -3051,7 +3061,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.context.facilityType</b><br>
* </p>
*/
@SearchParamDefinition(name="facility", path="DocumentReference.context.facilityType", description="Kind of facility where patient was seen", type="token", target={} )
@SearchParamDefinition(name="facility", path="DocumentReference.context.facilityType", description="Kind of facility where patient was seen", type="token" )
public static final String SP_FACILITY = "facility";
/**
* <b>Fluent Client</b> search parameter constant for <b>facility</b>
@ -3071,7 +3081,7 @@ public class DocumentReference extends DomainResource {
* Path: <b>DocumentReference.status</b><br>
* </p>
*/
@SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superseded | entered-in-error", type="token", target={} )
@SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superseded | entered-in-error", type="token" )
public static final String SP_STATUS = "status";
/**
* <b>Fluent Client</b> search parameter constant for <b>status</b>

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;

View File

@ -29,7 +29,7 @@ package org.hl7.fhir.dstu3.model;
*/
// Generated on Sat, May 28, 2016 10:02-0400 for FHIR v1.4.0
// Generated on Fri, Jul 1, 2016 14:13-0400 for FHIR v1.4.0
import java.util.*;
@ -622,6 +622,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "rules", type = {CodeType.class}, order=4, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="closed | open | openAtEnd", formalDefinition="Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-slicing-rules")
protected Enumeration<SlicingRules> rules;
private static final long serialVersionUID = 233544215L;
@ -1272,6 +1273,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="Name of Data type or Resource", formalDefinition="Name of Data type or Resource that is a(or the) type used for this element." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/defined-types")
protected CodeType code;
/**
@ -1286,6 +1288,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "aggregation", type = {CodeType.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="contained | referenced | bundled - how aggregated", formalDefinition="If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-aggregation-mode")
protected List<Enumeration<AggregationMode>> aggregation;
/**
@ -1293,6 +1296,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "versioning", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=true)
@Description(shortDefinition="either | independent | specific", formalDefinition="Whether this reference needs to be version specific or version independent, or whetehr either can be used." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/reference-version-rules")
protected Enumeration<ReferenceVersionRules> versioning;
private static final long serialVersionUID = -829583924L;
@ -1685,6 +1689,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "severity", type = {CodeType.class}, order=3, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="error | warning", formalDefinition="Identifies the impact constraint violation has on the conformance of the instance." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/constraint-severity")
protected Enumeration<ConstraintSeverity> severity;
/**
@ -2167,6 +2172,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "strength", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
@Description(shortDefinition="required | extensible | preferred | example", formalDefinition="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/binding-strength")
protected Enumeration<BindingStrength> strength;
/**
@ -2768,6 +2774,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "representation", type = {CodeType.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="xmlAttr | xmlText | typeAttr | cdaText | xhtml", formalDefinition="Codes that define how this element is represented in instances, when the deviation varies from the normal case." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/property-representation")
protected List<Enumeration<PropertyRepresentation>> representation;
/**
@ -2789,6 +2796,7 @@ public class ElementDefinition extends Type implements ICompositeType {
*/
@Child(name = "code", type = {Coding.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
@Description(shortDefinition="Defining code", formalDefinition="A code that provides the meaning for the element according to a particular terminology." )
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-codes")
protected List<Coding> code;
/**

Some files were not shown because too many files have changed in this diff Show More